/* General Styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #2D2D2D;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}

.navbar-links {
  display: flex;
  gap: 1.5em;
}
.btn {
  background: #112794;
  text-decoration: none;
  color: #fff;
  padding: 0.5em 2em;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}


.navbar img {
  height: 80px;
  transition: transform 0.3s ease;
}

.navbar a, .dropbtn {
  text-decoration: none; /* This removes the underline */
  color: #2D2D2D;
  font-weight: 700;
  position: relative;
  transition: color 0.3s;
}


.navbar a::after, .dropbtn::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #112794;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.navbar a:hover, .dropbtn:hover {
  color: #112794;
}

.navbar a:hover::after, .dropbtn:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown-content a {
  color: #2D2D2D;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* About Us Page Styles */
.about-section {
  padding: 4em 2em;
  background-color: #F0F0F0;
  margin-top: 80px; /* To account for fixed header */
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.about-content {
  flex: 2;
  min-width: 300px;
}

.about-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.about-content p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1em;
}

.about-content .btn {
  background: #112794;
  color: #fff;
  padding: 0.5em 1em;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}



/* Footer */
footer {
  background: #2D2D2D;
  color: #fff;
  text-align: center;
  padding: 2em;
}

footer a {
  color: #112794;
  text-decoration: none;
}

/* Media Queries */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-links {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .navbar-links a, .dropbtn {
    padding: 0.5em 0;
  }

  .about-container {
    flex-direction: column;
  }

  .about-image, .about-content {
    width: 100%;
  }

  .about-content h3 {
    font-size: 1.5em;
  }

  .about-content p {
    font-size: 1em;
  }

  .about-content .btn {
    padding: 0.5em 1em;
  }
}

@media (max-width: 480px) {
  .navbar img {
    width: 80px;
  }

  .about-content h3 {
    font-size: 1.2em;
  }

  .about-content p {
    font-size: 0.9em;
  }

  .about-content .btn {
    font-size: 0.9em;
  }
}

/* Mobile Menu Button */
/* Mobile Navbar */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 1em;
  right: 1em;
}

.menu-line {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: transform 0.3s;
}

.mobile-navbar-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 20px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.mobile-navbar-links a {
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.mobile-navbar-links a:hover {
  background: #f0f0f0;
}

.mobile-navbar-links.open {
  display: flex;
  max-height: 500px;
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }
}
