/* --- Global Styles & Fonts --- */
@font-face {
  font-family: 'BebasNeue-Regular';
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2'),
       url('../fonts/BebasNeue-Regular.woff') format('woff'),
       url('../fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8f9fa; /* A light base color for the whole page */
  font-family: 'BebasNeue-Regular', sans-serif;
  overflow-x: hidden;
}
/* NEW: A global rule to prevent images/videos from overflowing */
img, video {
  max-width: 100%;
  height: auto;
}

/* --- Header & Navigation --- */
.header {
  position: absolute; /* Kept absolute to float over the hero */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  z-index: 10;
}
/* Apply larger padding only on desktop screens */
@media (min-width: 1024px) {
  .header {
    padding: 1.6rem 8rem;
  }
}
.logo a {
  font-size: clamp(2rem, 5vw, 3rem);
  text-decoration: none;
  color: white;
  transition: 0.8s;
}

.logo a:hover {
  color: deeppink;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  height: 100%;


}

.nav a {
  font-size: clamp(1.2rem, 3vw, 2rem);
  display: inline-block;
  padding: 1rem 1rem;
  text-decoration: none;
  color: antiquewhite;
  transition: 0.5s;
  border-radius: 1em;
  transition: 0.5s;

}

.nav a:hover, .nav .active:hover {
  padding: 1rem;
  border-radius: 1rem;
  background-color: darkorange;
}

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* --- Hero Section --- */
.hero-banner {
  position: relative; /* Anchor for the absolute video/overlay */
  height: 100vh; /* Responsive height based on viewport */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: antiquewhite;
  overflow: hidden; /* Contains the video */
}
/* --- Hero Badge Style --- */
.hero-badge {
  color: yellow;
  padding: 0.6rem 2rem;
  border-radius: 1rem;
  font-size: clamp(1rem, 2vw, 2rem);
  display: inline-block; /* Allows it to have padding and a background */
  margin-bottom: 1rem;
  /* Optional: a subtle pulse to draw attention */
  animation: pulse 2s infinite; 
  border: 0.3rem yellow dotted;
  transition: 0.5s;
}

@keyframes pulse {
  0% { transform: scale(1.3); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1.3); }
}

.hero-banner .video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: darkorange;
  mix-blend-mode: multiply;
  opacity: 25%;
  z-index: 2;
}

.hero-banner .content {
  position: relative;
  z-index: 3;
  padding: 1rem;
}

.social_icons {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.social_icons img {
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social_icons img:hover {
  transform: scale(1.1);
}


.content .title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-shadow:2px 2px 7px black;
}

.content .subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-shadow:2px 2px 7px black;

  margin: 1rem 0 2rem;
}

.button {
  display: inline-block;
  padding: 20px 40px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  background-color: transparent;
  border: 2px solid white;
  color: white;
  border-radius: 1.5em;
  transition: 0.5s;
  text-decoration: none;
  text-shadow:2px 2px 5px black;

}

.button:hover {
  background-color: darkorange;
  border-color: darkorange;
}

/* --- General Section Styling --- */
/* A single class to control spacing between all sections */
.section {
    padding: 3rem 2rem;
}
.heading-text{
  flex: 1;
  display: flex;
  justify-content: center;
  padding-bottom: 5rem;
  height: 4rem;
  font-size: clamp(1.5rem, 2vw, 4rem);
  color:#1C3948;  

}

/* --- "How It Works" Steps Section --- */
.steps-hero {
  background-color: blanchedalmond;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card1, .card2, .card3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Aligns content to top */
  text-align: center;
  padding: 2rem;
  background-color: beige;
  border-radius: 1rem;
  border: 1px solid #ddd;
  min-height: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card1:hover, .card2:hover, .card3:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card1 svg, .card2 img, .card3 img {
  height: 80px;
  width: 80px;
  margin-bottom: 1.5rem;
}

.card1 h1, .card2 h1, .card3 h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
}
.card1 p, .card2 p, .card3 p {
    font-size: clamp(1.5rem, 2vw, 1.2rem);
    color: #1C3948;
}

/* --- "About" Section --- */
.about {
  background-color: #ffffff;
}

.about-con {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 3rem;
  max-width: 2500px;
  margin: 0 auto;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #1C3948;
  text-transform: uppercase;
}

.about-des p {
  font-family: sans-serif;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: #555;
}

/* --- "Services" Section --- */
.service {
  background-color: bisque;
  text-align: center;
}

.service h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #1C3948;
  margin-bottom: 2rem;
}

.cards-ser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ser-card {
  background-color: white;
  padding: 2rem 1.5rem;
  border-radius: 15px;
  font-family: sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #444;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.ser-card:hover {
  transform: translateY(-5px);
}
/* --- Footer Styles --- */
.site-footer {
  background-color: #1C3948; /* A dark, professional color */
  color: #f8f9fa;
  padding: 4rem 2rem;
  text-align: center;
}
.footer-content h3 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  font-weight: 100;
}
.footer-content p {
  font-family: sans-serif;
  max-width: 500px;
  margin: 0 auto 1.5rem;
  color: #ddd;
}
.contact-info {
  list-style: none;
  padding: 0;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}
.contact-info a {
  color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.contact-info a:hover {
  color: sandybrown;
}
.footer-bottom p {
  font-family: sans-serif;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
/* --- NEW: Overlay for Mobile Menu --- */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 15; /* Should be below nav, but above content */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.overlay-menu.open {
  opacity: 1;
  visibility: visible;
}
.nav-close{
  display: none;

}
  #scrollToTopBtn{
  display: none;

  }


/* --- Mobile Responsive Styles --- */
/* --- Mobile Responsive Styles --- */
/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed; /* Changed to fixed to prevent body scroll */
    top: 0;
    right: 0;
    width: min(70%, 300px);
    height: 100%;
    padding-top: 6rem;
    background-color: #1C3948;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 20; /* Ensure nav is on top */
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  }
  .social_icons {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
  .social_icons img {
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

   #scrollToTopBtn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background-color: #1C3948; /* Dark Blue from your site */
      color: white;
      border: none;
      outline: none;
      cursor: pointer;
      display: none; /* Hidden by default */
      opacity: 0;
      transition: opacity 0.2s, transform 0.3s;
      z-index: 100;
      font-size: 40px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    #scrollToTopBtn.show {
      display: block;
      opacity: 1;
    }

    #scrollToTopBtn:hover {
        background-color: #F97316; /* Orange from your site */
        transform: scale(1.1);
    }
  
  .nav a {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    text-align: center;
  }

  .nav.open {
    transform: translateX(0);
  }

  /* --- NEW: Close Button Style --- */
  .nav-close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
  }
}
/* --- Animation Styles --- */

/* This defines the "fade and slide up" animation */
/* --- Animation Styles --- */

/* This class sets the initial "hidden" state for elements
  that will animate on scroll.
*/
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When JavaScript adds the .is-visible class, the element 
  transitions smoothly to its final state.
*/
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-scope {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #1C3948;
  margin-bottom: 0.5rem;
}
.service-scope-text {
  font-family: sans-serif;
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 3rem; /* Adds space before the cards */
}
/* The outer container for the scroller */
    .testimonial-scroller {
        max-width: 1200px;
        margin: auto;
        /* Hides the content that overflows the container */
        overflow: hidden;
        /* Creates a soft, faded edge on the left and right for a seamless look */
        -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
        mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    }

    /* The inner track that holds the cards */
    .scroller-inner {
        display: flex; /* Lines up the cards in a row */
        gap: 1rem; /* Space between cards */
        width: max-content; /* Ensures the container is wide enough for all cards */
        /* ✨ The Animation Itself */
        animation: scroll 40s linear infinite;
    }

    /* Pause the animation when the user hovers over the scroller */
    .testimonial-scroller:hover .scroller-inner {
        animation-play-state: paused;
    }

    /* Keyframes that define the scrolling animation */
    @keyframes scroll {
        from {
            transform: translateX(0);
        }
        to {
            /* Moves the entire track to the left by the width of one full set of cards */
            transform: translateX(-50%);
        }
    }

    /* Styling for the individual cards */
    .testimonial-card {
        width: 350px; /* A fixed width helps the animation look consistent */
        flex-shrink: 0; /* Prevents cards from shrinking */
        background-color: #ffffff;
        border-radius: 0.75rem;
        padding: 2rem;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        display: flex;
        flex-direction: column;
        transition: 0.5s ease;
    }
    .testimonial-card:hover{
      scale: 1.1;

    }

    .testimonial-rating { color: #F97316; font-size: 1.25rem; margin-bottom: 1rem; }
    .testimonial-text { font-style: italic; color: #4b5563; flex-grow: 1; margin-bottom: 1.5rem; }
    .testimonial-author { font-weight: 600; color: #1C3948; text-align: right; }
/* --- FAQ Section Styles --- */
.faq {
  background-color: #ffffff;
  color: #1C3948;
}
.heading-text{
  padding-bottom: 6rem;
  font-size: clamp(1.5rem, 3vw, 2.6rem);

}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq details {
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  transition: background-color 0.5s ease;
}

.faq details[open] {
  background-color: #f8f9fa;
}

.faq summary {
  font-family: 'BebasNeue-Regular', sans-serif;
  font-size: 1.5rem;
  color: #1C3948;
  cursor: pointer;
  list-style: none; /* Removes default triangle */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary:hover {
  color: darkorange;
}

/* Adds a custom animated + and x icon */
.faq summary::after {
  content: '+';
  font-size: 2rem;
  font-weight: normal;
  transition: transform 0.3s ease-in-out;
}

.faq details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq details p {
  font-family: sans-serif;
  margin-top: 1rem;
  color: #555;
  line-height: 1.6;
}
/* --- Live Map Style --- */
    /* --- Service Area Section Styles --- */
    .service-area-section {
      background-color: #ffffff;
      padding: 5rem 1rem; /* Equivalent to .section and padding */
    }
    .service-area-container {
      max-width: 80rem; /* max-w-7xl */
      margin-left: auto;
      margin-right: auto;
      padding-left: 1rem; /* px-4 */
      padding-right: 1rem;
    }
    .service-area-header {
      text-align: center;
    }
    .service-area-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
 /* text-3xl sm:text-4xl */
      color:#1C3948; /* text-gray-900 */
    }
    .service-area-subtitle {
    margin-top: 1rem; /* mt-4 */
    font-size: clamp(1.4rem, 3vw, 1.8rem);
 /* text-lg */
      color: #4B5563; /* text-gray-600 */
    }
    .map-wrapper {
      margin-top: 3rem; /* mt-12 */
    }
    #map {
      width: 100%;
      height: 24rem; /* h-96 */
      border-radius: 0.75rem; /* rounded-xl */
      box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* shadow-lg */
    }
    .map-caption {
      text-align: center;
      font-size: clamp(1.5rem, 3vw, 1rem);
 /* text-sm */
      color: #6B7280; /* text-gray-500 */
      margin-top: 1rem; /* mt-2 */
    }
    /* Responsive adjustments */
    @media (min-width: 640px) {
      .service-area-container {
        padding-left: 1.5rem; /* sm:px-6 */
        padding-right: 1.5rem;
      }

    }
    @media (min-width: 1024px) {
      .service-area-container {
        padding-left: 2rem; /* lg:px-8 */
        padding-right: 2rem;
      }
    }