/* Reset and Base */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Merriweather', sans-serif;
  background: #fff;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  height: 80px;
  box-sizing: border-box;
}

.logo {
  height: 80px;
  max-width: 100%;
}

/* Nav Links */
.nav-links {
  display: flex;
}

.nav-links a {
  margin-left: 30px;
  text-decoration: none;
  color: #010022;
  font-weight: 700;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: -6px;
  left: 0;
  background-color: #053d00;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #053d00;
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #010022;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.4s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  gap: 30px;
  transition: right 0.4s ease;
  z-index: 1000;
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu a {
  text-decoration: none;
  color: #010022;
  font-weight: 700;
  font-size: 20px;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #053d00;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Contact Hero Section */
.contact-hero {
  position: relative;
  background: url('Images/contactus-banner.jpg') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.6);
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.contact-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .contact-hero {
    height: 50vh;
  }

  .contact-hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .contact-hero-content h1 {
    font-size: 1.8rem;
  }
}


/* Contact Section */
.contact-details {
  padding: 60px 20px;
  text-align: center;
}

.contact-details h2 {
  font-size: 32px;
  color: black;
  margin-bottom: 10px;
}

.contact-details p {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  color: black;
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-boxes {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.box {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-family: 'Akatab', sans-serif;
  box-sizing: border-box;
}

.box.green {
  background-color: #014d00;
  margin-top: 45px; /* Align with dark box */
  text-align: center;
  height: 300px;
}

.box.green .box-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: brightness(0) invert(1);
}

.box.dark {
  background-color: #070410;
  text-align: left;
  height: 390px;
  padding: 40px 30px;
  margin-top: -10px;
  margin-bottom: -10px;
  z-index: 1;
  position: relative;
}

.box.dark h3,
.box.dark p,
.box.dark span,
.box.dark a {
  color: white;
  line-height: 1.6;
  text-decoration: none;
  text-align: left; /* Ensure all text stays left aligned */
}

.box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.box .number {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
  color: white;
}

.box a button {
  padding: 10px 24px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  margin-top: 15px;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Merriweather', sans-serif;
}

.box a button:hover {
  background: #ddd;
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-boxes {
    flex-direction: column;
  }

  .box {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .box.green {
    text-align: center;
    padding: 30px 20px;
  }

  .box.dark {
    padding: 30px 20px;
    text-align: left; 
  }

  .box.dark h3,
  .box.dark p,
  .box.dark span,
  .box.dark a {
    text-align: left !important; 
  }
}


/* Keep in Touch Section */
.keep-in-touch {
  background: #e9e9e9;
  padding: 60px 20px;
  text-align: center;
}

.keep-in-touch h2 {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  color: #0c1e3a;
  margin-bottom: 10px;
}

.keep-in-touch p {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  color: #0c1e3a;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-form-section .form-heading {
  font-size: 32px;
  font-family: 'Merriweathe', sans-serif;
  margin-bottom: 30px;
  color: #0c1e3a;
}

/* Form layout */
.form-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
}

.form-left,
.form-right {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 480px;
  box-sizing: border-box;
}

.form-left input,
.form-left textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Akatab', sans-serif;
  box-sizing: border-box;
}

.form-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Buttons */
.form-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.form-buttons button {
  padding: 10px 30px;
  border: none;
  border-radius: 25px;
  background-color: #0c1e3a;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Akatab', sans-serif;
  transition: background-color 0.3s ease;
}

.form-buttons button:hover {
  background-color: #1e3966;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
    align-items: center;
  }

  .form-left,
  .form-right {
    max-width: 100%;
    margin: 0;
  }

  .form-right img {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .contact-form-section .form-heading {
    font-size: 26px;
  }

  .form-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .form-buttons button {
    width: 100%;
    max-width: 280px;
  }
}


/* Location Map Section */
.location-map {
  padding: 40px 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.location-map h2 {
  font-family: 'Akatab', sans-serif;
  font-size: 32px;
  color: #0c1e3a;
  margin-bottom: 20px;
}

.map-container {
  width: 100%;
  height: 400px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 0 0 4px #0c1e3a; 
}


.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 700px) {
  .form-container {
    flex-direction: column;
  }

  .form-left,
  .form-right {
    max-width: 100%;
    margin-left: 0;
    order: initial;
  }
}

.footer {
  background-color: #050a1f;
  padding: 1.5rem;
  color: #c0c0c0;
  font-size: 0.9rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-links a,
.social-icons a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover,
.social-icons a:hover {
  color: #ffd700;
}

.social-icons i {
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}