/* General Styles */
header {
  

  padding: 0 2rem;
  overflow: auto;
  overflow-x: hidden;
}

/* Nav Styles */
nav {
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__logo img {
  width: 70px;
  height: auto;
}

/* Logo Text */
.logo-text {
  text-align: center;
  margin-left: 20px;
}

.logo-text p {
  margin: 0;
  padding: 0;
  font-size: 40px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  line-height: 1;
}
.logo-text .tagline {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: normal;
  color: #666;
  text-transform: capitalize;
}

/* Links */
.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link a {
  font-weight: 600;
  color: var(--text-light);
  transition: 0.3s;
  font-size: 20px;
}

.link a:hover {
  color: var(--primary-color);
}

/* Language Toggle */
.language-toggle {
  display: flex;
  position: relative;
  width: 180px;
  height: 50px;
  background-color: #f0f0f0;
  border-radius: 25px;
  padding: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Ensures smooth animation */
}

.language-btn {
  flex: 1;
  background-color: transparent;
  color: #555;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding: 10px;
  text-align: center;
  z-index: 2; /* Place the buttons above the toggle background */
  transition: color 0.3s ease;
}
.language-btn:hover a{
  text-decoration: none;
}

.language-btn.active {
  color: #fff; /* Active text color */
}

.language-toggle::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 10px);
  height: calc(100% - 10px);
  background-color: #388e3c;
  border-radius: 25px;
  transition: transform 0.3s ease-in-out;
}

.language-toggle.english::before {
  transform: translateX(0%);
}

.language-toggle.marathi::before {
  transform: translateX(100%);
}
/* Sidebar */
.sidebar {
  position: fixed;
  right: -250px;
  top: 0;
  width: 250px;
  height: 100%;
  background-color: rgba(0, 128, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 2rem 1rem;
  transition: right 0.3s ease;
  z-index: 10;
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 1.5rem;
  margin-top:20px;
}

.sidebar a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.close-sidebar {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  margin-bottom: 2rem;
}

.menu-icon {
  display: none;
}

.login-btn {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.login-btn .button-text {
  background-color: #28a745;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.login-btn .button-text:hover {
  background-color: #218838;
  transform: translateY(-3px);
}

/* Responsive Styles */
/* Base Styles - 320px and above */
@media (min-width: 320px) {
  
  /* Header */
  header {
      padding: 0 1rem;
  }

  /* Navigation */
  nav {
      padding: 0.5rem 0.5rem;
      flex-direction: column;
      align-items: flex-start;
  }

  .nav__logo {
      gap: 0.5rem;
  }

  /* .nav__logo img {
      width: 60px;
  } */

  .logo-text p {
      font-size: 0.9rem;
  }
  .logo-text .tagline {
    font-size: 0.8rem;
  }

  .nav__links {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
  }

  .link a {
      font-size: 16px;
  }

  /* Language Toggle */
  .language-toggle {
      width: 120px;
      height: 40px;
  }

  .language-btn {
      font-size: 14px;
      padding: 8px;
  }

  /* Sidebar */
  .sidebar {
      width: 200px;
  }

  .sidebar a {
      font-size: 1rem;
  }

  /* Buttons */
  .login-btn .button-text {
      padding: 8px 15px;
      font-size: 14px;
  }
}

/* 480px and above */
@media (min-width: 480px) {

  /* Navigation */
  nav {
      padding: 1rem;
      flex-direction: row;
      align-items: center;
  }

  .logo-text p {
      font-size: 0.9rem;
  }
  .logo-text .tagline {
    font-size: 0.8rem;
  }

  .nav__links {
      flex-direction: row;
      gap: 1.5rem;
  }

  /* Language Toggle */
  .language-toggle {
      width: 150px;
      height: 45px;
  }

  .language-btn {
      font-size: 15px;
      padding: 10px;
  }
}

/* 600px and above */
@media (min-width: 600px) {

  /* Logo Text */
  .logo-text p {
      font-size: 30px;
  }

  /* Language Toggle */
  .language-toggle {
      width: 160px;
      height: 48px;
  }

  .language-btn {
      font-size: 16px;
      padding: 12px;
  }
}

/* 768px and above */
@media (min-width: 768px) {

  /* Navigation */
  nav {
      padding: 1rem 2rem;
      flex-direction: row;
      justify-content: space-between;
  }

  .logo-text p {
      font-size: 32px;
  }

  .nav__links {
      gap: 1.5rem;
  }

  .link a {
      font-size: 18px;
  }
  .nav__logo img {
    width: 70px;
  }
  /* Sidebar */
  .sidebar {
      width: 220px;
  }

  .sidebar a {
      font-size: 1.1rem;
  }

  /* Buttons */
  .login-btn .button-text {
      font-size: 16px;
      padding: 10px 18px;
  }
}

/* 1024px and above */
@media (min-width: 1024px) {

  /* Header */
  header {
      padding: 0 3rem;
  }
  .nav__logo img {
    width: 70px;
  }
  /* Logo Text */
  .logo-text p {
      font-size: 34px;
  }

  /* Navigation Links */
  .nav__links {
      gap: 2 rem;
  }

  .link a {
      font-size: 20px;
  }

  /* Language Toggle */
  .language-toggle {
      width: 180px;
      height: 50px;
  }

  .language-btn {
      font-size: 16px;
  }

  /* Buttons */
  .login-btn .button-text {
      font-size: 18px;
      padding: 12px 22px;
  }
}

/* 1280px and above */
@media (min-width: 1280px) {

  /* Logo Text */
  .logo-text p {
      font-size: 36px;
  }
  .nav__logo img {
    width: 70px;
  }
  .logo-text .tagline {
    font-size: 1.1rem;
  }
  /* Language Toggle */
  .language-toggle {
      width: 200px;
      height: 55px;
  }


  /* Buttons */
  .login-btn .button-text {
      font-size: 20px;
      padding: 14px 24px;
  }
}

.profile-section {
  text-align: center;
  margin-bottom: 20px;
}

.profile-name {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}
.profile-contact {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

