/* Landing Page CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #F8F9FA; /* Light gray */
  color: #333333; /* Dark gray for text */
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Standardized Navbar CSS */
.navbar {
  background-color: #003366; /* Darker blue */
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

#navbar__logo {
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF; /* White */
  text-decoration: none;
  transition: opacity 0.3s ease;
}

#navbar__logo:hover {
  opacity: 0.8;
}

.navbar__menu {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar__item {
  margin: 0 10px;
}

.navbar__links {
  text-decoration: none;
  color: #FFFFFF; /* White */
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  font-size: 16px;
  padding: 20px;
  display: block;
}

.navbar__links::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #FFFFFF; /* White */
  transition: width 0.3s ease;
}

.navbar__links:hover::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
}

.bar {
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background: #FFFFFF; /* White */
}

/* Rest of the Landing Page CSS */
.hero {
  background-color: #003366; /* Darker blue */
  color: #FFFFFF; /* White */
  padding: 80px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-text {
  max-width: 50%;
}

.hero .photo-carousel {
  max-width: 40%;
}

h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-button {
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: #F8F9FA; /* Light gray */
  color: #003366; /* Darker blue */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #E0E0E0; /* Slightly darker shade of light gray */
}

.who-we-are, .what-we-do {
  display: flex;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
}

.image-content, .text-content {
  flex: 1;
}

.image-content img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

h2 {
  color: #003366; /* Darker blue */
  margin-bottom: 20px;
  font-size: 2em;
}

.read-more, .learn-more {
  padding: 0px 0px;
  
  color: #000000; /* Black */
  border: none;
  border-radius: 0px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 60px;
}

.read-more:hover, .learn-more:hover {
  background-color: #FFFFFF; /* White */
}

.hero .photo-carousel {
  max-width: 90%;
  border-radius: 15px;
}

.photo-carousel {
  max-width: 90%;
  margin: 0 0 0 50px; /* Move it right by adding margin-left */
  border-radius: 15px;
  overflow: hidden;
}

.testimonials {
  margin-bottom: 60px;
  text-align: center;
  border-radius: 15px;
}

.carousel-container, .testimonial-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track, .testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide, .testimonial-slide {
  flex: 0 0 100%;
  max-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 600px; 
  object-fit: cover;
  border-radius: 15px; 
}

.carousel-control-prev, .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 1;
}

.testimonial-button {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.testimonial-button.prev {
  left: 0px;
}

.testimonial-button.next {
  right: 0px;
}

.testimonial-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

.testimonial-image {
  width: 130px;
  height: 130px;
  border-radius: 25%;
  margin-bottom: 40px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 10px;
  font-size: 20px;
}

.testimonial-author {
  font-weight: bold;
}

.footer {
  background-color: #003366; /* Darker blue */
  color: #FFFFFF; /* White */
  text-align: center;
  padding: 20px 0;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: zoom-out;
}

.zoomed-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.img-zoom {
  cursor: zoom-in;
}

@media (max-width: 960px) {
  .navbar__container {
    max-width: 100%;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    width: 100%; /* Ensure the dropdown covers the full width */
    position: absolute;
    top: -1000px;
    opacity: 1;
    transition: all 0.5s ease;
    height: 50vh;
    z-index: -1;
    padding: 0; /* Remove any padding */
    margin: 0; /* Remove any margin */
  }
  
  .navbar__menu.active {
    background: #003366; /* Darker blue */
    top: 100%;
    opacity: 1;
    z-index: 99;
    height: 60vh;
    font-size: 1.6rem;
    width: 100%; /* Ensure the dropdown covers the full width */
    left: 0; /* Align the dropdown to the left edge */
    padding: 0; /* Remove any padding */
    margin: 0; /* Remove any margin */
  }
  
  .navbar__toggle {
    display: block;
  }
  
  .navbar__item {
    width: 100%;
    margin: 0;
  }
  
  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }
  
  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }
  

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .who-we-are, .what-we-do {
    flex-direction: column;
  }

  .hero {
    flex-direction: column;
    padding: 60px 20px;
  }

  .hero-text, .hero .photo-carousel {
    max-width: 100%;
  }

  h1 {
    font-size: 2.5em;
  }

  .testimonial-container {
    padding: 0 30px;
  }

  .testimonial-button {
    padding: 5px 5px;
    font-size: 14px;
  }

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

  .hero .photo-carousel {
    order: 2;
    margin: 20px 0;
  }
}
