/* Background Video */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Basic Reset */
body {
  margin: 0;
  padding: 0;
}

/* Reusable input field style */
.input-field {
  width: 50%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #ccc;
  color: #000;
}

/* Submit button style */
.submit-button {
  background-color: #facc15; /* yellow-500 */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #fbbf24; /* yellow-400 */
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animated Word Container (Fixed Width) */
#animated-word-container {
  display: inline-block;
  width: 550px; /* Prevent layout shift */
  overflow: hidden;
  position: relative;
}

/* Animated Word */
#animated-word {
  white-space: nowrap;
  position: relative;
  font-family: Impact ;
  display: inline-block;
}

/* Typing underline effect */
#animated-word::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 200%;
  background-color: #00e0ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#animated-word.typing::after {
  transform: scaleX(1);
}

/* Character animation */
#animated-word span {
  opacity: 0;
  transform: translateY(10px);
  display: inline-block;
  animation: highlight 0.4s ease forwards;
}

/* Highlight animation */
@keyframes highlight {
  0% {
    opacity: 0;
    transform: translateY(10px);
    color: #888;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    color: white;
	  -webkit-text-stroke: 0.01px black; /* White border */
  font-weight: bold;
  }
}


.fixed-word {
  white-space: nowrap;
}
.glitch {
  position: relative;
  color: #fff;
  font-weight: bold;
  font-size: 5rem;
  letter-spacing: 1px;
  display: inline-block;
  line-height: 1;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: #fff;
  background: transparent;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.glitch::before {
  text-shadow: -5px 0 red;
  animation: glitchTop 1.5s infinite linear alternate-reverse;
}

.glitch::after {
  text-shadow: -5px 0 blue;
  animation: glitchBottom 1.5s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(10px, 9999px, 25px, 0); }
  20% { clip: rect(20px, 9999px, 40px, 0); }
  30% { clip: rect(15px, 9999px, 35px, 0); }
  40% { clip: rect(0px, 9999px, 20px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

@keyframes glitchBottom {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(35px, 9999px, 55px, 0); }
  20% { clip: rect(45px, 9999px, 65px, 0); }
  30% { clip: rect(25px, 9999px, 45px, 0); }
  40% { clip: rect(15px, 9999px, 35px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}


.faq-section {
  max-width: 100%;
  margin: 60px auto;
  padding: 100px;
  font-family: 'Fira Code', monospace;
  background-color: white;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 2px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1em;
  padding: 10px 25px; /* Combined padding */
  cursor: pointer;
  position: relative;
  color: white;
  font-weight: 700; /* <-- Makes it bold */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 10px;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 10px 15px;
  color:white;
  line-height: 1.6;
  transition: background-color 0.3s ease;

}

.faq-question:hover {
  background-color: #eab308; /* Tailwind's yellow-600 */
  transform: scale(1.10);
}


.learnMoreBtn {
  margin-left: 1rem; /* ml-4 */
  background-color: #facc15; /* Tailwind's yellow-500 */
  color: white;
  font-weight: 600;
  padding: 0.25rem 1rem; /* py-1 px-4 */
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.learnMoreBtn:hover {
  background-color: #eab308; /* Tailwind's yellow-600 */
  transform: scale(1.10);
}


.serviceHeading {
  font-size: 1.25rem; /* text-2xl */
  font-weight: 600;  /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
  display: flex; /* flex */
  align-items: center; /* items-center */
  justify-content: space-between; /* justify-between */
  transition: color 0.3s ease; /* transition duration-300 */
}

.serviceHeading:hover {
  color: #eab308; /* Tailwind's yellow-500 */
}



.serviceImages {
  width: 50%;                /* w-full */
  height: 16rem;              /* h-64 (64 × 0.25rem = 16rem) */
  object-fit: cover;          /* object-cover */
  border-radius: 0.5rem;      /* rounded-lg */
  margin-bottom: 1rem;        /* mb-4 */
}


  @media (max-width: 640px) {
    #main {
      padding: 2rem;
      height: auto;
    }

    #main h2.text-7xl {
      font-size: 2rem !important;
      margin-bottom: 1rem !important;
      flex-direction: column !important;
      gap: 0.5rem !important;
    align-items: center !important; /* Center children in column mode */
    text-align: center !important;
    }

    #main .glitch {
      font-size: 1.8rem !important;
	  display: inline-block;
      white-space: normal !important;
      word-break: break-word;
    }

    #main h1.text-5xl {
      font-size: 1.5rem !important;
      margin-bottom: 1rem !important;
    }

    #main p.text-lg {
      font-size: 1rem !important;
    }

    #animated-word-container {
      width: 100% !important;
    }
  }




.shared-section-bg {
  background-image: url('public/back.jpg'); /* Update to your actual image path */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed; /* Optional: for parallax-like effect */
}



.about-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-color: #1f2937; /* Tailwind's gray-900 */
  color: white;
  font-family: Georgia, serif;
}

@media (min-width: 768px) {
  .about-section {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.about-section .container {
  max-width: 300rem;
  margin-left: 12;
  margin-right: auto;
}

.about-section .section-title {
  font-size: 1.875rem;
  font-weight: 1000;
  color: #f9b91b; /* Tailwind's yellow-400 */
  margin-bottom: 2rem;
  text-align: center;
}

.accordion-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.accordion-item {
  border: 2px solid #e5e7eb; /* light gray border */
  border-radius: 0.0rem;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.accordion-item:hover {
  background-color: #f9fafb; /* very light gray */
  transform: scale(1.02);
}

.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

.accordion-btn:hover {
  background-color: #fef3c7; /* light yellow */
}

.accordion-icon {
  width: 1rem;
  height: 2rem;
  transition: transform 0.3s;
}

.accordion-icon.rotate-180 {
  transform: rotate(180deg);
}

.accordion-content {
  background-color: white;
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 0.95rem;
}

.accordion-content.open {
  max-height: 300px;
  opacity: 1;
}

.accordion-text {
  padding: 1rem 0;
  color: #1f2937;
}

  .slideshow-img {
    transition: all 1s ease;
    opacity: 0;
  }
  .slideshow-img.active {
    z-index: 3;
    opacity: 1;
    transform: scale(0.8);
  }
  .slideshow-img.behind1 {
    z-index: 2;
    opacity: 0.7;
    transform: scale(0.6) translateY(10px);
  }
  .slideshow-img.behind2 {
    z-index: 1;
    opacity: 0.5;
    transform: scale(0.5) translateY(20px);
  }
  
  
  /* Carousel container */
.carousel-container {
    position: relative;            /* ✅ fixes positioning context */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;             /* ✅ wider container for desktop */
    height: 400px;
    margin: 0 auto;                /* center container */
}

/* Base styles for each carousel item */
.product-module {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    max-width: 700px;
    position: absolute;            /* overlay for carousel */
    top: 50%;                      /* vertically centered */
    transform: translateY(-50%);   
    transition: transform 0.8s ease-in-out, 
                filter 0.8s ease-in-out, 
                z-index 0.8s ease-in-out, 
                left 0.8s ease-in-out, 
                right 0.8s ease-in-out;
}

/* Center Card */
.product-module.center {
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    filter: brightness(100%);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Left Card */
.product-module.left {
    left: 10%;  /* ✅ adjusted spacing */
    transform: translate(0, -50%) scale(0.9) rotateY(15deg);
    filter: brightness(60%);
    z-index: 5;
}

/* Right Card */
.product-module.right {
    right: 10%; /* ✅ adjusted spacing */
    transform: translate(0, -50%) scale(0.9) rotateY(-15deg);
    filter: brightness(60%);
    z-index: 5;
}

/* ✅ Mobile view */
@media (max-width: 768px) {
    .carousel-container {
        height: auto;
        flex-direction: column;
        gap: 10px; /* spacing between stacked items */
    }

    .product-module {
        position: static;    /* ✅ no absolute positioning */
        transform: none;     /* reset transforms */
        max-width: 90%;      /* fit inside screen */
        filter: none;        /* normal brightness */
        z-index: auto;
        margin: 0 auto;      /* center horizontally */
    }

    .product-module.center,
    .product-module.left,
    .product-module.right {
        transform: none;
        left: auto;
        right: auto;
        filter: none;
        z-index: auto;
    }
}
