* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
  height: fit-content;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Section Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5vh 5vw 0;
  flex-wrap: wrap;
  position: sticky; /* 🧲 Makes it stick */
  top: 0; /* Stick to top */
  z-index: 999; /* Ensure it’s above other content */

  padding: 1rem 5vw;
}

.nav .logo img {
  width: 70px;
}

/* Toggle button (hamburger icon) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  z-index: 1001;
}

.menu-toggle i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-toggle .fa-bars {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 2;
}

.menu-toggle .fa-xmark {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
  z-index: 1;
  pointer-events: none;
}

.menu-toggle.active .fa-bars {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 1;
  pointer-events: none;
}

.menu-toggle.active .fa-xmark {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 2;
  pointer-events: auto;
}

/* Navigation links */
.nav-links {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 3vw;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
  color: #f7941e;
  transform: scale(1.05);
}

/* Intro Section */
.hero-content {
  text-align: center;
  margin-top: 3rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

.intro-card {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.info-card {
  background: white;
  color: #003366;
  padding: 2rem;
  max-width: 500px;
  margin-top: -7rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-top: 4px solid #001ed3;
  border-radius: 10px;
}

.info-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service {
  margin-bottom: 1.5rem;
}

.service h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.service span {
  margin-right: 0.5rem;
}

.stats {
  display: flex;
  margin: 0;
}

.stat-box {
  padding: 1.5rem;
  color: white;
  text-align: center;
  width: fit-content;
  height: fit-content;
}

.stat-box h1 {
  font-size: 2.5rem;
}

.stat-box p {
  margin-top: 0.5rem;
}

.blue {
  background-color: #002d72;
}

.red {
  background-color: #d72638;
}

/* Section About Us */
.about {
  margin: 5vh 10vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.section-title {
  color: #d72638;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #002d72;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-text h4 {
  font-size: 1rem;
  color: #003366;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.learn-more-btn {
  display: inline-block;
  background-color: #d72638;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.learn-more-btn:hover {
  background-color: #b51d2d;
}

.about-images {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
}

.front-img {
  top: -12rem;
  left: 7rem;
  z-index: 1;
}

.back-img {
  top: 0;
  left: 0;
  z-index: 2;
}

/* Testimonials Section */
.testimonials {
  background-color: #f4f4f4f4;
  padding: 4rem 2rem;
  margin-top: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonials-container {
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.testimonials-header {
  margin-bottom: 3rem;
}

.testimonials-header .section-title {
  color: #d72638;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  color: #002d72;
  font-weight: 800;
  margin: 0;
}

.testimonial-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.client-photo {
  flex-shrink: 0;
}

.client-photo img {
  width: 250px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  flex: 1;
  max-width: 500px;
  text-align: left;
  position: relative;
}

.quote-icon {
  width: 50px;
  height: 50px;
  background-color: #001ed3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 5px;
}

.quote-icon::before {
  content: '"';
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.testimonial-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.client-name {
  font-weight: bold;
  color: #002d72;
  font-size: 1.1rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #001ed3;
}

.testimonial-slide {
  display: none;
  animation: fade 0.5s ease-in-out;
}

.testimonial-slide.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Optional fade animation */
@keyframes fade {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* Section Map / Location */
.contact-location {
  margin-top: 17vh;
  padding: 0;
}

.map-background {
  width: 100%;
}

.map-img {
  width: 100%;
  height: auto;
}

.contact-boxes {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: center;
  align-items: center;
}

.contact-card {
  background: white;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 250px;
  margin-top: -7rem;
  border-radius: 10px;
}

.contact-card.address {
  border-top: 4px solid #d72638;
}

.contact-card.phone {
  background: #f8f8f8;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card.email {
  background: #f8f8f8;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #002d72;
  line-height: 1.4;
}

.info-boxes {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.info a {
  color: #007bff;
  text-decoration: none;
}

.info a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.info img {
  width: 40px;
  border-radius: 5px;
}

/* Page Services */
/* Section Services */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5vh;
  padding: 5vh 5vw;
}

.service-box {
  flex: 1 1 45%; /* Two columns on larger screens */
  max-width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2vh;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-box h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #800507;
}

.service-box p {
  text-align: justify;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.button-box {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.button-box a {
  font-size: 1rem;
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  background-color: #10316b;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button-box a:hover {
  background-color: #f7941e;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .service-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .service-box h2 {
    font-size: 1.25rem;
  }

  .service-box p {
    font-size: 0.95rem;
  }

  .button-box a {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

/* Page Projects */
/* Section Carousel */
.projects-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  margin: 5vh 0 5vh;
}

.projects-box h2 {
  color: #10316b;
  font-size: 2rem;
}

/* Carousel */
.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item img {
  width: 100%;
  /* height: 300px; */
  object-fit: cover;
  border-radius: 5px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.445);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Page About */
/* Section About Us */
.about-boxes {
  margin: 10vh 10vw 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10rem;
}

.about-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-direction: column;
}

.about-intro h1 {
  color: #10316b;
  font-size: 2.5rem;
}

.about-intro p {
  font-size: 1.25rem;
  text-align: justify;
}

.about-vision {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 3rem;
}

.about-vision h1 {
  /* text-align: center; */
  color: #10316b;
  font-size: 2rem;
}

.vision {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 2rem;
}

.vision img {
  width: 180px;
  height: 180px;
  padding: 50px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vision p {
  width: 50%;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .about-boxes {
    gap: 5rem;
  }

  .about-intro h1 {
    color: #10316b;
    font-size: 1.5rem;
    text-align: center;
  }

  .about-intro p {
    font-size: 1rem;
    text-align: justify;
  }

  .about-vision h1 {
    font-size: 1.5rem;
  }

  .vision {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1rem;
  }

  .vision img {
    width: 150px;
    height: 150px;
    padding: 25px;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .vision p {
    font-size: 1rem;
    width: 100%;
    text-align: justify;
  }
}

/* Footer Section */
.footer {
  background-color: #1e3a8a;
  color: white;
  padding: 3rem 2rem 2rem;
  margin-top: 10vh;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e7ff;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.link-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-column a {
  color: #e0e7ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.link-column a:hover {
  color: white;
}

.logo-section {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-logo {
  background: linear-gradient(135deg, #144492, #0a2779);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-logo img {
  width: 50px;
  height: auto;
  /* filter: brightness(0) invert(1); */
}

.footer-bottom {
  border-top: 1px solid #3730a3;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright p {
  font-size: 0.8rem;
  color: #c7d2fe;
  margin: 0;
}

.social-media {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  width: 35px;
  height: 35px;
  background-color: #3730a3;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #4338ca;
  transform: translateY(-2px);
}

.social-icon.facebook:hover {
  background-color: #1877f2;
}

.social-icon.whatsapp:hover {
  background-color: #25d366;
}

.social-icon.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-icon.youtube:hover {
  background-color: #ff0000;
}

.social-icon.tiktok:hover {
  background-color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  /* About Section */
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-images {
    display: flex;
    gap: 2rem;
    position: static;
  }

  .about-img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: static;
  }

  /* Contact Section */
  .contact-location {
    margin-top: 10vh;
  }
}

@media (max-width: 900px) {
  /* Contact Section */
  .contact-boxes {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Header Section */
  .hero {
    gap: 2vh;
    height: 70vh;
  }

  /* Navbar Section */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: #222;
    padding: 1rem;
    border-radius: 8px;
    position: absolute; /* Float */
    top: 100%; /* Position right below parent */
    left: 50%; /* Start from center */
    transform: translateX(-50%); /* Center it */
    width: 100%; /* Take full width */
    max-width: 600px; /* Optional: limit max width */
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow */
  }

  .nav-links.show {
    display: flex;
  }

  /* Intro Section */
  .intro-card {
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .info-card {
    margin-top: 2rem;
  }

  .about-images img:last-child {
    display: none;
  }

  .about-img {
    width: 100%;
    max-width: 300px;
    position: static;
  }

  .front-img {
    top: 0;
    left: 0;
  }

  /* Contact Section */
  .contact-location {
    margin-top: 10vh;
  }

  .map-background {
    /* height: 100%; */
  }

  .map-img {
    height: 100%;
  }

  /* Testimonial Section */
  .testimonial-content {
    flex-direction: column;
    gap: 2rem;
  }

  .testimonial-text {
    text-align: center;
  }

  .client-photo img {
    width: 200px;
    height: 240px;
  }

  .testimonials-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  /* Contact Section */
  .contact-boxes {
    flex-direction: column;
    align-items: center;
  }

  .info-boxes {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
}
