.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow:visible;
  padding: 60px 10%;
  gap: 60px;
  flex-wrap: wrap; /* mobile friendly */
}

.home-hero-content {
  flex: 1;
  min-width: 320px;
}

.home-hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.home-hero h1{
  font-family: 'Mansfield', serif;
  /* font-family: "Poppins", sans-serif; */
  font-size: 3.918rem;
  line-height: 1.33;
  /* margin-bottom: 20px; */
  font-weight: 600;
}

.home-hero h1 .gradient-text {
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255,255,255,0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: inherit; /* inherit font size from h1 */
    line-height: inherit; /* optional: match h1's line height */
}

.home-hero h1 .highlight {
  color: #E3F919;
}

.home-hero p {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 40px;
  font-weight: 400;
   /* text-transform: capitalize; */
}
.home-hero h2 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 600;
  color: #E3F919;
  margin-bottom: 20px;
  white-space: nowrap; /* keep typing effect consistent */
  overflow: hidden;
  display: inline-block;
  animation: typing 4s steps(30, end) forwards, blink 0.75s step-end infinite;
}
.bg-gradient {
  position: absolute;
  width: 257.24px;
  height: 65.66px;
  left: 50%;
  bottom: 0; /* Stick to bottom of the man */
  transform: translateX(-50%); /* Center horizontally */
  background: linear-gradient(0deg, #0F0F0F 0%, rgba(15, 15, 15, 0) 100%);
  z-index: 0; /* Behind the man */
}

/* Base image (the man) */
.base-img {
  position: relative;
  z-index: 1; /* Above the gradient */
  display: block;
}
/* Typing animation - fixed for dynamic width */
@keyframes typing {
  from { width: 0; }
  to { width: 31ch; } /* Adjust ch count to match your text length */
}

/* Cursor blink */
@keyframes blink {
  50% { border-color: transparent; }
}

/* Remove cursor after typing ends */
.home-hero h2.done {
  border-right: none;
}


.home-hero-buttons {
  display: flex;
  gap: 20px;
}
.home-hero-image img {
  max-width: 500px;
}

/*  */
.image-video-section {
  display: flex;
  align-items: center;
  justify-content: center; /* keeps it centered */
  position: relative;
}

.image-wrapper {
  position: relative;
  z-index: 2; /* make sure man.png is above */
}

.image-wrapper img {
  max-width: 320px; /* slightly larger */
  height: auto;
}

.overlay-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;   /* same size as base */
  height: 100%;  /* same size as base */
  object-fit: cover;
  pointer-events: none; /* so clicks pass through */
  z-index: 2;
}
.video-wrapper {

  display: flex;

  flex-direction: column;

  gap: 80px;

  margin-left: -40px; /* overlap man.png */

  position: relative;

  z-index: 1; /* send videos a bit behind */

}
.video-card {
  width: 220px;
  height: 140px;
  border-radius: 16px;
  border: 1px solid rgba(200, 200, 200, 0.6);

  /* border-color: #c5dc15; */
  /* Remove the background gradient */
  /* background: linear-gradient(180deg, #202020 0%, rgba(32,32,32,0.3) 100%); */
  
  /* Remove flex properties */
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */

  /* Add grid properties to stack and center items */
  display: grid;
  place-items: center; /* This centers the icon */

  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* Ensures the image respects the border-radius */
  position: relative; /* Good practice for stacking */
}
@media (min-width: 769px) {
.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  
  /* Tell the image to be in the first grid cell */
  grid-area: 1 / 1; 
}

.play-icon {
  width: 50px;
  height: 50px;
  
  /* Tell the icon to be in the SAME grid cell */
  grid-area: 1 / 1; 
  z-index: 2; /* Ensure the icon is on top of the image */
}
/*  */

.glow {
            position: absolute;
            width: 80px;
            height: 80px;
            opacity: 0.15;
            mix-blend-mode: soft-light;
            border-radius: 50%;
            /* Using a CSS gradient is more efficient than an image file */
            background: radial-gradient(circle, rgba(216, 255, 0, 1) 0%, rgba(216, 255, 0, 0) 70%);
            transition: all 0.4s ease-out;
        }

        /* Default desktop glow positions */
        .glow-neck {
            top: 14%;
            left: 22%;
        }

        .glow-hand {
            bottom: 7%;
            left: 28%;
            z-index: 3;
            opacity: 1;
        }
        .glow-feet {
            /* bottom: 1%; */
            left: 43%;
        }
        .glow-video-1 {
            top:20%;
            left: 20%;
        }
        .glow-video-2 {
            bottom: 7%;
            left: 50%;
        }

/*  */


/* .video-card {
  width: 260px;
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #202020 0%, rgba(32, 32, 32, 0.3) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}
.video-card:hover {
  transform: scale(1.05);
}

.play-icon {
  width: 50px;
  height: 50px;
} */

/*  */
/* Modal */
.modal {
  display: flex;              /* keep flex for centering */
  justify-content: center;
  align-items: center;
  
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  
  background: rgba(0,0,0,0.8);
  
  opacity: 0;                 /* start hidden */
  pointer-events: none;       /* prevent clicks when hidden */
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;       /* allow clicks when visible */
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

video {
  width: 100%;
  height: 100%;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10; 
}
.close {
  pointer-events: auto;  /* ensures it can be clicked */
}
@media (max-width: 768px) {
    .video-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }

  .video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
.video-card img,
  .video-card .play-icon {
    transition: opacity 0.3s ease;
  }

  .video-card:last-child {
    display: grid;
  }
  /* 1. Ensure the modal overlay itself is hidden on small screens */
    #videoModal {
        display: none !important; /* Hide the modal container completely */
    }

    /* 2. Make the card container ready to hold the video */
    .timeline-item.video {
        position: relative; /* Needed for absolute positioning if you change elements */
        overflow: hidden;
    }

    /* 3. Style the video player when it's placed inside the card for mobile */
    /* .video-card .mobile-inline-video {
        width: 100%;
        height: auto;
        display: block;
    } */

    /* 4. Hide the thumbnail and play icon once the video is playing */
    .mobile-inline-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute; /* keep layout stable */
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
   
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
  max-width: 1100px;  /* flexible upper bound */
  width: 100%;        /* takes full available width */
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(10, 13, 23, 0.05);
  backdrop-filter: blur(190px);
  border-radius: 20px;
  margin: 0 auto;
  height: auto;       /* let content decide height */
}


    .contact-wrapper {
  margin: 0 auto; /* centers it horizontally */
}

    /* Left form */
    .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  /* min-width: 280px; */
  padding: 40px;
}

    .form-heading h2 {
      font-family: 'Mansfield', serif;
      font-size: 30px;
      font-weight: 600;
      background: linear-gradient(90deg, #FFFFFF 0%, rgba(255,255,255,0) 50%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .form-heading p {
      font-size: 16px;
      opacity: 0.8;
    }

    .form-group {
      display: flex;
      gap: 14px;
    }

    input, textarea {
      flex: 1;
      padding: 12px 14px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 5px;
      color: white;
      font-size: 14px;
    }

    textarea {
      height: 100px;
      resize: none;
    }

    .submit-btn {
      background: #E3F919;
      color: #000;
      font-weight: 500;
      border: none;
      border-radius: 5px;
      padding: 12px;
      cursor: pointer;
      transition: 0.2s;
    }
    .submit-btn:hover {
      background: #c5dc15;
    }

    /* Right card */
    .contact-info {
  position: relative;
  flex: 1;
  /* min-width: 280px; */
  background: linear-gradient(180deg, #202020 0%, rgba(32,32,32,0.1) 100%);
  border-radius: 40px;
  padding: 40px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.contact-info h3 {
  font-family: 'Mansfield', serif;
  font-size: 24px;
  margin-bottom: 20px;
}

    .contact-info p {
      font-size: 18px;
      margin: 15px 0;
    }
    
    .contact-info {
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}


.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #181818;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 18px;  /* adjust based on your icons */
  height: auto;
  filter: brightness(0) invert(1); /* makes icons white if they're black */
}

.map-wrapper {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(227, 249, 25, 0.1);
  margin-top: 25px;
}

@media (max-width: 768px) {
  .image-video-section {
    justify-content: center;
  }

  .video-wrapper {
    margin-left: 0; /* remove overlap */
  }

  /* 1. Activate this block to make the hero a column */
  .home-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 5%;
  }

  /* 2. This is the magic: it makes h1, h2, and .home-hero-buttons
     act as direct children of .home-hero for ordering purposes. */
  .home-hero-content {
    display: contents;
  }

  /* 3. Now, we just assign the new order */
  
  /* Text comes first */
  .home-hero h1 {
    order: 1;
    text-align: left;
  }

  /* Sub-text comes second */
  .home-hero h2 {
    order: 2;
    display: none;
    margin-bottom: 30px; /* Add space before videos */
    text-align: left;
    /* Fixes for typewriter effect on small screens */
    white-space: normal; /* Allow wrapping */
    width: auto;         /* Don't force width */
    animation: none;     /* Disable typing animation */
    border-right: none;  /* Remove cursor */
  }

  /* Videos come third */
  .home-hero-image {
    order: 3;
    margin-bottom: 30px; /* Add space before buttons */
  }

  /* Buttons come last */
  .home-hero-buttons {
    order: 4;
            flex-direction: column;
        align-items: stretch;
        width: 100%;
        border-radius: 100rem;
  }

  /* Your existing styles below */
  .image-wrapper {
    display: none;
  }

  .video-card {
    width: 260px; /* slightly wider on mobile */
    height: 150px;
  }
}

@media (max-width: 768px) {
  /* 1. Activate column layout */
  .home-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 5%;
    gap: 0px;
  }

  /* 2. Promote content items for ordering */
  .home-hero-content {
    display: contents;
  }

  /* 3. Assign the new order and REDUCE gaps */
  .home-hero h1 {
    order: 1;
  }
  .home-hero p {
    order: 2;
    text-align: left;
    font-size: 16px;
  }

  .home-hero h2 {
    order: 2;
    margin-bottom: 0px; /* <-- Reduced gap */
    
    /* Fixes for typewriter effect */
    white-space: normal;
    width: auto;
    animation: none;
    border-right: none;
  }

  .home-hero-image {
    order: 4;
    margin-bottom: 25px; /* <-- Reduced gap */
  }

  .home-hero-buttons {
    order: 3;
    justify-content: center; /* Center the buttons */
    margin-bottom: 20px;
  }

  /* 4. Hide the desktop image */
  .image-wrapper {
    display: none;
  }

  /* 5. Adjust video wrapper */
  .video-wrapper {
    margin-left: 0; /* Remove desktop overlap */
    gap: 0;          /* Remove desktop gap */
  }
  
  /* 6. NEW: Hide the second video card */
  .video-card:last-child {
    display: none;
  }

  /* 7. Your existing style for the remaining card */
  .video-card {
    width: 260px; 
    height: 150px;
  }
}
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-form, .contact-info {
    width: 100%;
    padding: 20px;
  }

  .form-group {
    flex-direction: column;
    gap: 10px;
  }

  /* Center align contact info on mobile */
  .contact-info {
    text-align: center;
  }

  .contact-item {
    justify-content: center; /* centers icon + text */
  }
}

@media (max-width: 480px) {
  .form-heading h2 {
    font-size: 24px;
  }
  .form-heading p {
    font-size: 14px;
  }
  input, textarea {
    font-size: 13px;
  }
  .contact-info h3 {
    font-size: 20px;
  }
  .contact-info p {
    font-size: 15px;
  }
}

.icon-circle img {
  width: 18px;  /* adjust based on your icons */
  height: auto;
  filter: brightness(0) invert(1); /* makes icons white if they're black */
}
.mySwiper {
  width: 100%;
  padding: 50px 0;
}
.testimonials {
  text-align: center;
  padding: 50px 20px;
  background: #121212;
  color: white;
}

.swiper-slide {
  background: #1c1c1c;
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  text-align: center;
  color: #fff;
}

.swiper-slide .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.swiper-slide h3 {
  margin: 5px 0;
  font-size: 1.2rem;
}

.swiper-slide .role {
  color: #E3F919;
  margin-bottom: 10px;
}

.swiper-slide .stars {
  color: gold;
  margin-bottom: 15px;
}


.swiper {
  padding: 40px 0;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-pagination-bullet {
  background: #fff;
}
* { box-sizing: border-box; }
:root {
  --primary-color: #E3F919;
  --text-color: #e9eef0;
  --muted-text-color: #bfc8c8;

  /* Default card sizing */
  --card-width: clamp(280px, 60vw, 600px);
  --card-height: 380px;
}
/* .testimonials {
  text-align: center;
  padding: 50px 20px;
  background: #121212;
  color: white;
} */

.testimonials-container {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    margin-top: 200px;
  }

  .testimonials-title {
    
font-family: 'Mansfield', serif;
      font-weight: 600;
      font-size: 36px;
      background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.19) 93%, rgba(255, 255, 255, 0) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 20px;
}
  

  .testimonial-carousel {
    position: relative;
    height: var(--card-height);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-btn {
    background: rgba(255, 255, 255, 0.04);
     border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width:44px;
    height:44px;
    border-radius: 8px;
    cursor:pointer;
    z-index: 100;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.1rem;
    backdrop-filter: blur(5px);
    user-select:none;
  }

  .nav-btn:active { transform: scale(0.98); }

  .card-stack {
    position: relative;
    width: var(--card-width);
    height: 100%;
    perspective: 1200px;
    margin: 0 16px;
  }

  /* --- STACKED CARD STYLING (Desktop - default) --- */
  .card-testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 32px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);

    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.4s ease-out;
    will-change: transform, opacity;

    opacity: 0;
    transform: scale(0.7);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .card-testimonial.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    z-index: 10;
    pointer-events: auto;
  }

  .card-testimonial.prev,
  .card-testimonial.next {
    opacity: 0.4;
    pointer-events: auto;
    cursor: pointer;
    z-index: 9;
  }

  .card-testimonial.prev {
    transform: translateX(-60%) scale(0.85);
  }

  .card-testimonial.next {
    transform: translateX(60%) scale(0.85);
  }

  /* --- CARD CONTENT --- */
  .card-testimonial .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    flex-shrink:0;
  }

  .card-testimonial .name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
  }

  .card-testimonial .role {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 6px 0 12px 0;
  }

  .card-testimonial .stars {
    color: gold;
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
  }

  .card-testimonial .quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-text-color);
    margin: 0;
    max-width: 80%;
  }

  /* Dots */
  .dots {
    margin-top: 18px;
    display:flex;
    gap:8px;
    justify-content:center;
  }

  .dots button {
    width:10px;
    height:10px;
    border-radius:50%;
    background: rgba(255,255,255,0.08);
    border:none;
    cursor:pointer;
    padding:0;
  }

  .dots button.active {
    width:28px;
    border-radius:999px;
    background: rgba(255,255,255,0.14);
    transition: width 0.25s;
  }

  /* ==================== RESPONSIVE ==================== */

  /* Tablet */
  @media (max-width: 900px) {
    :root {
      --card-width: clamp(250px, 70vw, 500px);
      --card-height: 360px;
    }

    .testimonials-title {
      font-size: 2rem;
    }

    .card-testimonial {
      padding: 24px;
    }

    .card-testimonial.prev {
      transform: translateX(-50%) scale(0.85);
    }
    .card-testimonial.next {
      transform: translateX(50%) scale(0.85);
    }
  }

  /* Mobile: switch to a horizontal flex slider to avoid clipping and preserve content flow */
  @media (max-width: 600px) {
    :root {
      --card-width: 90vw;
      --card-height: auto;
    }

    .testimonials-title {
      font-size: 1.75rem;
      margin-bottom: 14px;
    }

    .testimonial-carousel {
      height: auto;
      min-height: 320px;
      overflow: hidden;
      padding: 0 10px;
    }

    .card-stack {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch; /* 🔹 makes all cards equal height */
  transition: transform 0.6s ease;
  will-change: transform;
}

    .card-testimonial {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-height: 380px; /* 🔹 ensures consistent height */
  display: flex;     /* 🔹 allows inner spacing control */
  flex-direction: column;
  justify-content: space-between; /* keeps layout balanced */
  transform: none;
  opacity: 1;
  z-index: 1;
  margin: 0 0 20px 0;
  padding: 22px;
  border-radius: 16px;
}


    .card-testimonial .quote {
      font-size: 0.95rem;
      line-height: 1.55;
      margin-top: 8px;
      max-width: 100%;
    }

    /* reduce nav button size on mobile */
    .nav-btn {
      width:40px;
      height:40px;
    }

    /* hide the prev/next peek effects (desktop classes won't be used) */
    .card-testimonial.prev,
    .card-testimonial.next {
      transform: none;
      opacity: 1;
      cursor: default;
    }
  }
.circular-container {
  --container-size: 380px;
    --circle-size: 380px;
  --solution-card-radius: calc(var(--container-size) / 2);
  padding: clamp(1rem, 5vw, 4rem);
  width: var(--container-size);
  height: var(--container-size);
  position: relative;
  margin: 0 auto;
}

.circular-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
   transform: rotate(0deg); /* start drawing from the top */
}

/* Two halves of the circle */
.circular-border span {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

/* Left half */
.circular-border span:first-child {
  left: 0;
}

/* Right half */
.circular-border span:last-child {
  left: 50%;
}

/* The actual stroke segment */
.circular-border span em {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.4);

  border-radius: 999px;
  transform: rotate(0deg);
  transition: transform 0.5s linear;
}

/* Adjust corners so they meet cleanly */
.circular-border span:first-child em {
  left: 100%;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  transform-origin: 0% 50%;
}

.circular-border span:last-child em {
  left: -100%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  transform-origin: 100% 50%;
  transition-delay: 0.25s; /* start later */
}

/* On hover: draw effect */
.circular-container:hover .circular-border span:first-child em {
  transform: rotate(180deg);
  transition: transform 0.5s ease-out;
  transition-delay: 0.25s;
}

.circular-container:hover .circular-border span:last-child em {
  transform: rotate(180deg);
  transition: transform 0.25s linear;
}

/* Optional: center masking */
.circular-border::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: #1a1a1a; /* match your background */
  border-radius: 50%;
}


/* .circular-container {
            --container-size: 380px; 
            --solution-card-radius: calc(var(--container-size) / 2);

            padding: clamp(1rem, 5vw, 4rem); 
            width: var(--container-size);
            height: var(--container-size);
            max-width: 100%; 
            position: relative;
            margin: 0 auto;
        }

      .circular-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(226, 249, 25, 0.12);
  animation: slowRotate 8s linear infinite;
  filter: blur(0.5px);
  box-shadow: none;
  

 
}
@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
} */

      
      
        /* * UPDATED: The ::after pseudo-element is now a "mask".
         * It's a slightly smaller circle with the same color as the body,
         * which covers the center of the gradient, leaving only a
         * thin, glowing ring visible.
        */
        


        /* --- solution-Card Base Styling (UNMODIFIED) --- */
        .solution-card {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 180px; 
            text-align: center;
            color: #FFFFFF;
            padding: 0.5rem 0; 
            /* Keep solution-cards static so they don't rotate */
            animation: none; 
        }

        /* --- solution-Card Content Styling (UNMODIFIED) --- */
        .solution-card-icon {
            width: clamp(50px, 15vw, 70px); 
            height: clamp(50px, 15vw, 70px);
            margin: 0 auto 0.5rem auto; 
            background: #E2F919;
             display: flex;
      align-items: center;
      justify-content: center;
            box-shadow: 0px 90px 40px rgba(226, 249, 25, 0.3);
            border-radius: 15px;
            color: #000000;
        }

        .solution-card-title {
            font-family: 'Georgia', serif;
            font-weight: 600;
            font-size: clamp(0.9rem, 4vw, 1.1rem);
            line-height: 1.3;
            color: #E2F919;
            margin-bottom: 0.25rem;
        }

        .solution-card-description {
            font-family: 'Lato', sans-serif;
            font-weight: 300;
            font-size: clamp(0.75rem, 3vw, 0.9rem); 
            line-height: 1.5;
            max-width: 260px;
            margin: 0 auto;
        }

        /* --- Circular Positioning Logic (UNMODIFIED) --- */
        .step-1 { 
            transform: 
                rotate(0deg) 
                translateY(calc(-1 * var(--solution-card-radius))) 
                rotate(0deg) 
                translate(-50%, -50%);
        }
        .step-2 { 
            transform: 
                rotate(60deg) 
                translateY(calc(-1 * var(--solution-card-radius))) 
                rotate(-60deg) 
                translate(-50%, -50%); 
        }
        .step-3 { 
            transform: 
                rotate(120deg) 
                translateY(calc(-1 * var(--solution-card-radius))) 
                rotate(-120deg) 
                translate(-50%, -50%);
        }
        .step-4 { 
            transform: 
                rotate(180deg) 
                translateY(calc(-1 * var(--solution-card-radius))) 
                rotate(-180deg) 
                translate(-50%, -50%);
        }
        .step-5 { 
            transform: 
                rotate(240deg) 
                translateY(calc(-1 * var(--solution-card-radius))) 
                rotate(-240deg) 
                translate(-50%, -50%);
        }
        .step-6 { 
            transform: 
                rotate(300deg) 
                translateY(calc(-1 * var(--solution-card-radius))) 
                rotate(-300deg) 
                translate(-50%, -50%);
        }

        .overlay-img.circular-grid{
          opacity: 0.1;
        }

       @media (max-width: 768px) {
  .circular-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* space between cards */
  }

  /* Hide the circular border & grid image */
  .circular-border,
  .overlay-img.circular-grid {
    display: none;
  }

  /* Reset solution cards */
  .solution-card {
    position: static;
    transform: none;
    width: 80%;
    max-width: 350px;
    text-align: center;
  }
   .solution-card:not(:last-child)::after {
    content: "";
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(226, 249, 25, 0.2);
    margin: 1.5rem auto 0;
  }
}


        @media (min-width: 1024px) {
            .circular-container {
                --container-size: 525px; 
            }
            /* Adjust mask for thicker line */
            .circular-line::after {
                inset: 12px;
            }
        }

:root {
        --bg: #0a0d11; /* Dark background */
        --panel: rgba(255, 255, 255, 0.03); /* Subtle panel background */
        --box-bg: rgba(255, 255, 255, 0.08); /* Darker box background for contrast */
        --box-border: rgba(255, 255, 255, 0.1);
        --accent: #E2F919; /* Neon yellow/green from the image */
        --text-color: #fff;
        --muted-text: rgba(255, 255, 255, 0.65);
        
    }

.container {
        max-width: 1000px; /* Reduced width slightly for a more compact look */
        margin: 48px auto;
        padding: 28px;
        /* margin-top: 200px; */
    }

    .glass {
        background: var(--panel);
        /* Remove blur/border effects that aren't prominent in the static pic */
        border-radius: 12px;
        padding: 40px;
    }

    /* ... (existing styles like :root, html, body, container) ... */

/* Update the main grid to allow space for lines */
.grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0; /* Important: Remove horizontal gap */
    align-items: start;
}

/* Styles for the Category labels (middle column) */
.col-middle {
    /* Set a fixed width for the middle column to control the line length */
    width: 250px; 
    padding: 50px 0 0 0; /* No side padding needed now */
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    /* REMOVE: border-left: 2px solid rgba(226, 249, 25, 0.3); */
}

/* Style for each connector point and label container */
.connector-group {
    height: 74px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 10px; /* Add some padding to keep the text off the edges */
}
/* Style for the category label text */
.category-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding-bottom: 5px; /* Space above the line */
}

.connector-group::after {
    content: '';
    position: absolute;
    /* Position the line to span the full width of the 'connector-group' */
    left: 0;
    right: 0;
    bottom: 25px; /* Vertically center the line based on the container height */
    height: 1.5px;
    background: var(--box-border); /* Solid yellow/green line */
    /* Add the faint dots at the ends of the line */
   
}

/* Add a connector dot on the central line */


/* Override the border-left on the last element to prevent the line from extending too far */
.col-middle .connector-group:last-child {
    /* We handle this in the loop below to prevent the line from extending past the last dot */
}
.box {
    /* ... existing box styles ... */
    position: relative; 
}
.list {
        display: flex;
        flex-direction: column;
        gap: 16px; /* Space between boxes */
    }
 .box {
        background: var(--box-bg);
        border: 1px solid var(--box-border);
        border-radius: 8px;
        padding: 14px 18px;
        font-size: 15px;
        line-height: 1.4;
        min-height: 30px; /* Ensure boxes are tall enough */
        display: flex; /* Helps vertically center text */
        align-items: center;
        text-align: left;
    }
    /* Headings */
   .grid h2.title {
        font-size: 24px; /* Slightly larger heading */
        font-weight: 700;
        margin: 0 0 24px;
    }
    .grid h2.title .sub {
        font-weight: 400;
        opacity: 0.7;
    }
    .grid h2.title.right {
        color: var(--accent);
    }

/* Update the existing .col-right .box style */
.col-right .box {
    position: relative; /* Keep this */
    overflow: hidden;   /* Keep this */
    
    /* ⚠️ REMOVE all these lines from previous animation: */
    /* border: solid 2px transparent; */
    /* --main-bg: var(--box-bg); */
    /* --gradient-border: conic-gradient(...); */
    /* background: var(--main-bg) padding-box, var(--gradient-border) border-box, var(--main-bg) border-box; */
    /* background-position: center center; */
    /* animation: bg-spin 3s linear infinite; */
    /* box-shadow: none !important; */
    /* border-color: transparent !important; */

    /* ✅ NEW: Add a subtle, static border for the comet to travel on */
    border: 1px solid rgba(226, 249, 25, 0.3); /* Subtle static border */
    box-shadow: 0 0 8px rgba(226, 249, 25, 0.1); /* Optional: subtle static glow */
    border-radius: 8px; /* Ensure border-radius is set */

    /* Ensure content is visible above the comet */
    z-index: 1; /* Make sure the box content is above the pseudo-element's default z-index */
}
    /* Styles for the Solution boxes (right side) to match the yellow border */
   /* Update the existing .col-right .box style */
/* Custom CSS Property for Animation */

/* Keyframes for the Border Animation */
/* ✅ Rinoware Neon Trail Border Animation */
/* Comet Trail Effect for Right Boxes */
.col-right .box::after {
  content: "";
  position: absolute;
  /* width should be relative to its parent box's container query unit (cqmin) */
  /* If cqmin doesn't work well due to lack of container queries, use vw or a fixed px */
 width: 50px;
aspect-ratio: 4/1;

  background: linear-gradient(
  to left,                          /* <-- direction of tail */
  rgba(226, 249, 25, 0.9) 10%,       /* bright head */
  rgba(226, 249, 25, 0.5) 40%,       /* mid glow */
  rgba(226, 249, 25, 0.2) 70%,       /* soft fade */
  transparent 100%                   /* tail fade out */
);

  filter: blur(2px) drop-shadow(0 0 6px rgba(226, 249, 25, 0.8));

  offset-path: border-box; /* This is the key: tells the element to follow the border */
  offset-distance: 0%; /* Initial position along the path */
  offset-anchor: 100% 50%; /* Anchor point for positioning the comet (tail at the border) */
  animation: cometTrail 6s cubic-bezier(.5,0,.2,1) infinite,cometPulse 0.8s ease-in-out infinite alternate; /* Apply the animation */
  z-index: 2; /* Ensure it's above the box background */
  pointer-events: none; /* Allows clicks to pass through to the box */
}

/* Keyframes for the comet's movement along the border */
@keyframes cometTrail {
  to {
    offset-distance: 100%; /* Move along the entire border path */
  }
}
@keyframes cometPulse {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(1.25); opacity: 1; }
}


    /* Responsive adjustments */
    @media (max-width: 820px) {
        .grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        .col-middle {
            display: none; /* Hide categories on small screens */
        }
    }