@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

:root {
  --primary-color: #2C2C54;
  --secondary-color: #c62828;
  --accent-color: #ffc107;
  --light-color: #f5f5f5;
  --dark-color: #212121;
  --text-color: #333333;
  --hover-transition: all 0.3s ease;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

/* Header */
header {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 15px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.logo-text p {
  font-size: 14px;
  color: var(--primary-color);
  margin: 0;
}

.top-right {
  display: flex;
  align-items: center;
}

.language-switcher {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.language-switcher button {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0;
  border: none;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: var(--hover-transition);
  cursor: pointer;
}

.language-switcher button:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Main Navigation */
.main-nav {
  background-color: var(--primary-color);
  padding: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.nav-links li {
  margin: 0;
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 15px 20px;
  display: block;
  transition: var(--hover-transition);
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
}

.nav-links a.active {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Login Section */
.login-section {
  padding: 60px 0;
  background: linear-gradient(to right, rgba(255, 153, 51, 0.2), rgba(255, 255, 255, 0.5), rgba(19, 136, 8, 0.2));
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-container {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.login-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: var(--hover-transition);
}

.form-group input:hover {
  border-color: var(--primary-color);
}

.form-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.2);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--hover-transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #b71c1c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer-column p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bdbdbd;
  text-decoration: none;
  transition: var(--hover-transition);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--hover-transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.social-links i {
  color: white;
  font-size: 18px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #bdbdbd;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--hover-transition);
}

.footer-bottom a:hover {
  text-decoration: underline;
}