     :root {
            --primary-color: #ff4800;
            --secondary-color: #0f172a;
            --accent-color: #10b981;
            --text-light: #6b7280;
            --bg-light: #f9fafb;
            --border-color: #e5e7eb;
        }
    /* ===== Global Styles ===== */
    body {
      overflow-x: hidden !important;
      background-color: #fffdfa !important;
    }
    body {
  font-family: 'Outfit', Arial, sans-serif !important;
}
html {
  scroll-behavior: smooth !important;
}
/* *{
  outline: 1px solid red;
} */

h1, h2, h3, h4, h5, h6 {
  font-weight: 500 !important;
}
p{
  font-size: 21px !important;
}
.dental-heading {
  font-size: 50px !important;
}
.dental-headingtwo {
  font-size: 61px  ;
  font-weight: 500 !important;
  text-align: justify;
  position: relative;
}

@media (max-width : 768px) {
  .dental-heading {
    font-size: 27px !important;
  }
  .dental-headingtwo {
  font-size: 27px !important;
  font-weight: 500 !important;
  text-align: center;
}
  p{
    font-size: 16px !important;
  }
            html{
     overflow-x: hidden !important;
}
}

/* Large Tablets / Small Laptops */
@media (max-width: 1245px) {
  .dental-headingtwo {
            font-size: 39px !important;
        font-weight: 500 !important;
        text-align: justify;
        position: relative;
  }
   
}


/* Standard Tablets */
@media (max-width: 991px) {
  .dental-headingtwo {
    font-size: 45px !important; /* Slightly smaller for better fit */
    font-weight: 500 !important;
    text-align: justify;
  }
}

/* Mobile Devices */
@media (max-width: 767px) {
  .dental-headingtwo {
    font-size: 38px !important; 
    font-weight: 600 !important;
    text-align: justify;
  }
}
.button-group {
  display: flex;
  justify-content: flex-start; /* Aligns items to the left */
  gap: 7px;                  /* Adds space between the buttons */
  flex-wrap: wrap;            /* Allows buttons to stack on very small screens */
  margin-top: 20px;           /* Optional: spacing from content above */
}

/* Ensure buttons don't have unnecessary margins that break alignment */
.btn {
  margin: 0;
}
.scroll-top-btn {
    position: fixed;
    bottom: 50px;
    right: 25px;
    background: #000; /* inner color */
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: 3px solid transparent;
    background-clip: padding-box;
}

/* Gradient border using pseudo element */
.scroll-top-btn::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    bottom: -3px;
    right: -3px;
    border-radius: 50%;
    border: 1px solid #ff1500;
    background: black;
    z-index: -1;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: #141414; /* dark hover */
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
        background-color: antiquewhite !important;
    border-radius: 20px !important;
}

.footer-link {
  color: white !important;
}

.bg-grad{
background-image: linear-gradient(90deg, rgb(238, 16, 5), #ff4d00, rgb(225 45 35)) !important;
color: white;
font-size: 15px !important;
}

@media (max-width: 768px) {
    .display-5 {
        font-size: 1.5rem !important;
    }
}
@media (max-width: 576px) {
  section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    height: auto !important; /* keeps height flexible */
  }
  .panorama-section {
    height: 45vh !important;
    position: relative;
    overflow: hidden;
}
}
      /* ===== Navbar Styles ===== */
      .custom-navbar {
        background-color: #f9f9f9;
        border-radius: 20px;
        padding: 8px 20px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
      }
      
      .navbar-brand span {
        font-weight: bold;
        color: #ff6600;
      }
      
      .navbar-brand {
        font-weight: 700;
        font-size: 18px;
        color: #222;
      }
      
      .nav-link {
        color: #222 !important;
        font-weight: 500;
        margin-right: 10px;
        font-size: 14px;
      }
      
      .nav-link:hover {
        color: #ff6600 !important;
      }
      .gradient-text {
    background: linear-gradient(90deg, rgb(238, 16, 5), #ff4d00, rgb(225 45 35));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s linear infinite;
    font-weight: 500;
        letter-spacing: -1px;

  }
  .dropdown-item.active, .dropdown-item:active {
      color: black !important;
  }
  
  header a {
    color: white !important;
  }


  @keyframes gradientMove {
    0% {
      background-position: 0% center;
    }
    100% {
      background-position: 200% center;
    }
  }

  @media (max-width: 768px) {
    .gradient-text {
      letter-spacing: 0px;
      font-size: 2.5rem !important;
    }
  }
  @media (max-width: 1400px) {
    .nav-link {
        color: #222 !important;
        font-weight: 500;
        margin-right: 0px !important;
        font-size: 14px;
      }
  }


  .contact-btn {
    transition: all 0.3s ease-in-out;
    background-color: #000000 !important; /* Bootstrap danger color */
    color: #fff !important;
  }

  .contact-btn:hover {
    background-color: #000000 !important; /* Bootstrap danger color */
    color: #fff !important;
    box-shadow: 0 0 10px rgba(220, 206, 53, 0.923);
  }


      .icon-btn {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
        margin-left: 8px;
        cursor: pointer;
      }

      /* Submenu container */
  /* Default (mobile): click behavior */
  .dropdown-submenu > .dropdown-menu {
    display: none;
    left: 100%;
    top: 0;
    margin-left: .1rem;
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }

  /* Desktop hover starting from 1200px */
  @media (min-width: 1200px) {
    /* Show first-level dropdown on hover */
    .dropdown:hover > .dropdown-menu {
      display: block !important;
      opacity: 1;
      visibility: visible;
    }

    /* Show submenu on hover */
    .dropdown-submenu:hover > .dropdown-menu {
      display: block !important;
      left: 100%;
      top: 0;
    }

    /* Disable show class behavior on desktop */
    .dropdown-submenu.show > .dropdown-menu {
      display: block !important;
    }
  }
  @media (min-width: 1200px) {
    @media (min-width: 1200px) {
    .dental-headingtwo {
        font-size: 58px;
        font-weight: 600 !important;
        text-align: justify;
        letter-spacing: -1.6px;
        line-height:1;
    }
}
}

  /* Mobile/tablet default (0–1199px) */
  .dropdown-submenu > .dropdown-menu {
    display: none;
  }
  .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }




    /* ===== Hero Section - Reduced Size ===== */
    .hero-wrapper {
      overflow: hidden;
      position: relative;
      max-width: none;
      margin: 0 auto;
    }
    
    .hero-section {
      padding: 50px 0 0px 0;
      display: flex;
      align-items: flex-start;
      position: relative;
    }

    /* Hero Content Left Column */
    .hero-content-left {
      padding-top: 0;
      margin-top: 0;
    }

    .hero-heading {
         font-size: 47px !important;
    font-weight: 400;
    line-height: 1;
    color: #222;
    margin-top: 0;
    }

    .highlight {
      position: relative;
      display: inline-block;
    }

    .highlight::after {
      content: '';
      position: absolute;
      left: -8px;
      bottom: -2px;
      width: calc(100% + 16px);
      height: 38px;
      border: 2.5px solid #ff6600;
      border-radius: 50%;
      z-index: -1;
    }

    .subtext {
      color: #444;
      font-size: 0.95rem;
      margin-top: 12px;
    }

    .subtext span {
      color: #ff6600;
      font-style: italic;
    }

    .btn-apply {
      background-color: #ff6600;
      color: #fff;
      border-radius: 50px;
      padding: 8px 25px;
      font-weight: 600;
      margin-top: 18px;
      transition: all 0.3s ease;
      font-size: 14px;
    }
    .btn-red {
    background:linear-gradient(90deg, red, var(--primary-color)) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 25px !important;
    font-weight: 600 !important;
    margin-top: 0px !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    }
    .btn-red:hover {
      background-color: #000000 !important;
      color: #fff;
    }

    .btn-apply:hover {
      background-color: #000000;
      color: #fff;
    }

    /* Hero Image */
    .hero-image-wrapper {
      text-align: right;
      padding-left: 30px;
    }

    .hero-img {
      width: 100%;
      max-width: 350px;
      position: relative;
      z-index: 2;
      margin-left: auto;
    }
    
    /* ===== Doodle SVG Animation Styles ===== */
    .doodle {
      position: absolute;
      z-index: 0;
      pointer-events: none;
    }
    
    /* Desktop Doodle - Only for screens above 992px */
    .doodle.desktop {
      display: block;
      right: -50px;
      top: -40px;
      width: 600px;
      height: auto;
      opacity: 0;
      max-width: 55vw;
    }
    
    /* Mobile/Tablet Doodle - For screens below 992px */
    .doodle.mobile {
      display: none;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      top: -80px;
      width: 450px;
      height: auto;
      opacity: 0;
      z-index: -1;
      max-width: 90vw;
    }

    .doodle path {
      stroke-dasharray: 4000;
      stroke-dashoffset: 4000;
      fill: none;
    }

    .doodle.animate {
      animation: fadeIn 0.3s ease-out forwards;
    }

    .doodle.animate path {
      animation: drawPath 1.5s ease-out 0.2s forwards;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

    @keyframes drawPath {
      to {
        stroke-dashoffset: 0;
      }
    }
   section{
    padding-top: 75px ;
    padding-bottom: 75px ;
   }
    /* ===== Auto Scrolling Cards - Increased Size & Better Positioning ===== */
  /* 1. Base Styles (shared across all screen sizes) */
.cards-scroller-wrapper {
  position: absolute;
  padding: 5px;
  bottom: 50px; /* Default starting position */
  left: 0;
  width: calc(100% + 100px);
  max-width: 1105px;
  overflow: hidden;
  z-index: 1;
}

/* 2. Combined Media Query */
/* This covers almost all screens except for the small 15px gap between 1211px and 1227px */
@media (max-width: 1211px), (min-width: 1227px) {
  .cards-scroller-wrapper {
    bottom: 6px !important;
  }
}

/* 3. Animation Styles */
.cards-scroller {
  display: flex;
  /* margin-top: 40px;   */
  gap: 20px;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}

.cards-scroller:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
    /* ===== Course Cards - 50% Bigger ===== */
    .course-card {
      border: 1px solid #eee;
      border-radius: 15px;
      text-align: center;
      padding: 12px;
      transition: 0.3s;
      background-color: #fff;
      width: 195px;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .course-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      transform: translateY(-5px);
    }

    .course-card img {
      width: 100%;
      border-radius: 9px;
      height: 135px;
      object-fit: cover;
    }

    .course-card p {
      font-weight: 600;
      margin-top: 10px;
      margin-bottom: 5px;
      color: #222;
      font-size: 12px !important;
    }
/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    height: 38vh;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex; /* Added for alignment */
    flex-direction: column; /* Added for alignment */
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-card-image {
    background-size: cover !important;
    background-position: center !important;
    color: white !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 17, 0, 0.83), #ff57223d 70%);
    border-radius: 20px;
    z-index: 0;
}

.benefit-card-image > * {
    position: relative;
    z-index: 1;
}

/* --- YEH HAI NAYA CSS ARROW BUTTON KE LIYE --- */
.btn-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Gol (circular) button banata hai */
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto; /* Isse button hamesha card ke neeche rahega */
    align-self: flex-start; /* Isse button left mein align hoga */
}

.btn-arrow:hover {
    background-color: var(--primary-color); /* Apne primary color ka variable istemal karein */
    color: white;
    transform: translateX(5px);
}

/* Text cards ke liye arrow button ka style */
.benefit-card:not(.benefit-card-image) .btn-arrow {
    background-color: #e9ecef;
    color: #333;
}

.benefit-card:not(.benefit-card-image) .btn-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}


/* --- READ MORE BUTTON KO PILL SHAPE DENE KE LIYE --- */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.8rem 2.2rem; /* Padding thodi adjust ki hai */
    font-weight: 600;
    border-radius: 50px; /* Yeh ise pill shape deta hai */
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #ff4800;
    transform: translateY(-2px);
}
/* --- Image Scroller Styles --- */

    /* ===== Responsive Styles ===== */
    
    /* Extra Large Devices (1400px and up) */
    @media (min-width: 1400px) {
      .hero-heading {
        font-size: 2.8rem;
      }
      .hero-img {
        max-width: 420px;
      }
      .doodle.desktop {
        width: 650px;
      }
    }

    /* Large Devices (992px to 1399px) */
    @media (max-width: 1399px) and (min-width: 992px) {
      .hero-heading {
        font-size: 2.5rem;
      }
      .hero-img {
        max-width: 380px;
      }
      .course-card {
        width: 180px;
      }
          .course-card img {
        height: 78px;
    }
    }

    /* Medium Devices / Tablets (768px to 991px) - TABLET SPECIFIC */
    @media (max-width: 991px) {
      /* Hide desktop doodle, show mobile doodle for tablets */
      .doodle.desktop {
        display: none !important;
      }
      
      .doodle.mobile {
        display: block !important;
      }
    }
    
    @media (max-width: 991px) and (min-width: 768px) {
      .hero-section {
        padding: 30px 0;
        text-align: center;
        flex-direction: column;
      }
      
      .hero-heading {
        font-size: 2rem;
        position: relative;
        z-index: 1;
      }
      
      .hero-image-wrapper {
        padding-left: 0;
        text-align: center;
        margin-top: 30px;
      }
      
      .hero-img {
        max-width: 320px;
        margin: 0 auto;
      }
      
      .cards-scroller-wrapper {
        position: relative;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin-top: -22%;
        z-index: 3;
        margin-bottom: 20px;
      }
      
      .course-card {
        width: 165px;
      }
      
      .course-card img {
        height: 115px;
      }
      
      /* Tablet specific doodle positioning */
      .doodle.mobile {
        width: 550px;
        max-width: 85vw;
        left: 50%;
        transform: translateX(-50%);
        top: -70px;
      }
    }
  .parallax-section {
  background-image: url('./media/herosectionbanner.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}


.card-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.card-text {
  font-size: 1.05rem !important;
  font-weight: 600;
  color: #222;
  margin-top: 0.5rem;
}


@media (max-width: 991px) {
  .card-icon {
    width: 44px;
    height: 44px;
  }
  .glass-card {
    min-height: 140px;
    border-radius: 22px;
    padding: 1.2rem 0.5rem;
  }
}

@media (max-width: 575px) {
  .glass-card {
    min-height: 110px;
    border-radius: 16px;
    padding: 0.8rem 0.2rem;
  }
  .card-icon {
    width: 36px !important;
    height: 36px;
  }
  .card-text {
    font-size: 0.95rem;
  }
}
    /* Small Devices / Mobile Landscape (576px to 767px) */
    @media (max-width: 767px) and (min-width: 576px) {
      .hero-section {
        text-align: center;
        padding-top: 60px;
        flex-direction: column;
      }
      
      .hero-heading {
        font-size: 1.8rem;
        position: relative;
        z-index: 1;
      }
      
      .hero-image-wrapper {
        padding-left: 0;
        text-align: center;
        margin-top: 20px;
      }
      
      .hero-img {
        max-width: 280px;
        margin: 0 auto;
      }
      
      .cards-scroller-wrapper {
        position: relative;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin-top: -25%;
        z-index: 3;
        margin-bottom: 15px;
      }
      
      .course-card {
        width: 150px;
      }
      
      .course-card img {
        height: 105px;
      }
      
      /* Mobile landscape doodle positioning */
      .doodle.mobile {
        width: 100vw;
        max-width: none;
        left: 0;
        transform: none;
        top: -60px;
      }
    }
    /* ===== Healix Section Styles ===== */

.healix-section {
    background-color: #ffffff; /* White background */
}

/* Styling for the large heading on the left */
.healix-heading {
    font-size: 3rem; /* Large font size */
    font-weight: 700; /* Bold text */
    color: #212529; /* Dark color for text */
    line-height: 1.2; /* Adjusts spacing between lines */
}

/* Styling for the paragraph on the right */
.healix-text {
    font-size: 1.1rem;
    color: #6c757d; /* Lighter gray color for text */
    margin-bottom: 2rem; /* Space between text and button */
}

/* Styling for the "Get Started" button */
.healix-btn {
    background-color: #000000 !important; /* Black background */
    color: #ffffff !important; /* White text */
    border: none;
    border-radius: 50px; /* Makes the button pill-shaped */
    padding: 12px 35px; /* Adds space inside the button */
    font-weight: 600; /* Semi-bold text */
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
/* Hover effect for the button */
.healix-btn:hover {
    background-color: #333333 !important; /* Slightly lighter black on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for smaller screens (tablets and mobiles) */
@media (max-width: 991.98px) {
    .healix-heading {
        font-size: 2.5rem; /* Reduce heading size on smaller screens */
        text-align: center; /* Center the heading */
    }
    .healix-text {
        text-align: center; /* Center the text */
    }
    .col-lg-6 {
        text-align: center; /* Center the button container */
    }
}

@media (max-width: 575.98px) {
    .healix-heading {
        font-size: 2rem; /* Further reduce heading size for mobile */
    }
}

    /* Extra Small Devices / Mobile Portrait (below 576px) */
    @media (max-width: 575px) {
      .container {
        padding: 0 15px;
      }
      
      .custom-navbar {
        padding: 6px 12px;
        border-radius: 15px;
      }
      
      .navbar-brand {
        font-size: 16px;
      }
      
      .navbar-brand img {
        width: 230px !important;
        height: auto;
      }
      
      .nav-link {
        font-size: 13px;
        margin-right: 5px;
      }
      
      .icon-btn {
        width: 30px;
        height: 30px;
        margin-left: 5px;
      }
      
      .hero-section {
        text-align: center;
        padding-top: 50px !important;
        flex-direction: column;
        padding-bottom: 20px;
      }
      
      .mobile-heading {
        position: relative;
      }
      
      .hero-heading {
        font-size: 1.5rem;
        position: relative;
        z-index: 1;
      }
      
      .highlight::after {
        height: 32px;
        left: -5px;
        width: calc(100% + 10px);
      }
      
      .subtext {
        font-size: 0.85rem;
        margin-top: 10px;
      }
      
      .btn-apply {
        padding: 7px 20px;
        font-size: 13px;
        margin-top: 15px;
      }

      .hero-image-wrapper {
        padding-left: 0;
        text-align: center;
        margin-top: 20px;
        position: relative;
      }
      
      .hero-img {
        margin-top: 0;
        margin-left: 0;
        max-width: 240px;
      }
      
      /* Mobile portrait doodle positioning */
      .doodle.mobile {
        width: 100vw;
        max-width: none;
        left: 0;
        transform: none;
        top: -77px;
      }

      .cards-scroller-wrapper {
        position: relative;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin-top: -20%;
        z-index: 3;
        margin-bottom: 10px;
      }
      
      .cards-scroller {
        gap: 15px;
        margin-top: 30px;
      }

      .course-card {
        width: 135px;
        padding: 10px;
      }

      .course-card img {
        height: 95px;
        border-radius: 10px;
      }
      
      .course-card p {
        font-size: 0.8rem;
        margin-top: 8px;
      }

      
    .gradient-text {
        font-size: 27px !important;
    
        .hosbox{
      background-image: url(./media/about/1.webp);
    background-size: cover;
    background-position: center;
    height: 34vh !important;
}

}
    }

    /* Extra Extra Small Devices (below 400px) */
    @media (max-width: 399px) {
      .hero-heading {
        font-size: 1.3rem;
      }
      
      .hero-img {
        max-width: 200px;
      }
      
      .course-card {
        width: 160px;
      }
      
      .course-card img {
        height: 85px;
      }
      
      .course-card p {
        font-size: 0.75rem;
      }
      
      .doodle.mobile {
        width: 100vw;
        max-width: none;
        left: 0;
        transform: none;
        top: -60px;
      }
    }

    #cardsContainer::-webkit-scrollbar { display: none; }
        #cardsContainer { -ms-overflow-style: none; scrollbar-width: none; }

        /* Fade-in Animation */
        @keyframes fadeIn {
            0% { opacity: 0; transform: translateY(-30px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        .fade-in-heading { animation: fadeIn 1.5s ease-in-out; }

        /* Card Styling */
        .service-card {
           min-width: 300px !important;
    max-width: 300px !important;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
        }
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        .service-card img {
            height: 200px !important;
            width: 100% !important;
            object-fit: cover;
        }

        /* Navigation Dots */
        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #dee2e6;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-block;
            margin: 0 4px;
        }
        .dot.active {
            background: #ff4800;
            transform: scale(1.3);
        }
        .dot:hover {
            background: #6c757d;
        }

        /* Navigation Buttons */
        .nav-arrow {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background:#ffff;
            border: 2px solid #dee2e6;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        .nav-arrow:hover {
            background: #ff4800;
            border-color: #ff4800;
            color: white;
            transform: scale(1.1);
        }

        /* Auto-scroll Badge */
        .auto-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(13,110,253,0.9);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            animation: blink 2s infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .service-card {
                min-width: 85%;
                max-width: 85%;
            }
            .dots-desktop { display: none !important; }
            .dots-mobile { display: flex !important; }
        }
        @media (min-width: 769px) {
            .dots-desktop { display: flex !important; }
            .dots-mobile { display: none !important; }
        }

/* Custom CSS for the new Insights Section */

.insight-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: left; /* Desktop default */
}

.insight-header h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 100;
}

/* Base Container (Desktop First - uses aspect ratio trick) */
.insight-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 0;
    padding-bottom: 40%; /* Desktop Aspect Ratio (e.g., 16:6.4) */
    background-image: url('./media/research.webp');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Desktop Positioning (Default) */
.insight-card {
    position: absolute;
    bottom: 5%;
    left: 2%;
    width: 380px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

/* Floating Tags (Desktop/Default) - Glass Effect */
.insight-tags {
    position: absolute;
    top: 10%;
    right: 4%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    z-index: 10;
}

.tag-float {
    /* Glass Effect Base */
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px; /* Pill Shape */
    font-size: 0.9rem;
    font-weight: 500;
    color: #000 !important; /* Force black text over 'text-white' in HTML */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tag-float:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}


/* --- Responsive adjustments --- */

/* 1. Tablet/Medium Desktops (1200px) */
@media (max-width: 1200px) {
    .insight-container {
        padding-bottom: 50%; /* Slightly taller container to prevent overlap */
    }
    .insight-header h2 {
        font-size: 2.5rem;
    }
    /* Ensure the card shrinks slightly but stays in position */
    .insight-card {
        width: 340px; 
    }
}

/* 2. Small Laptops / Large Tablets (1024px) - Critical new breakpoint to prevent merging */
@media (max-width: 1024px) {
    .insight-container {
        padding-bottom: 60%; /* Taller aspect ratio for limited space */
    }
    .insight-card {
        /* Keep card anchored to bottom-left but let it use a bit more relative width */
        width: 45%; 
        max-width: 320px; /* Cap size */
        left: 3%;
        bottom: 3%;
        padding: 1.5rem;
    }
    .insight-card h4 {
        font-size: 1.15rem;
    }
    .insight-tags {
        top: 5%;
        right: 3%;
        gap: 8px;
    }
}


/* 3. Small Tablets and Mobile Devices (768px and below) - Portrait Mode */
@media (max-width: 768px) {
    .insight-section {
        padding: 4rem 0;
    }

    /* Responsive Header Adjustments */
    .insight-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    .insight-header h2 {
        font-size: 1.8rem;
    }

    /* FIX: Set a much taller aspect ratio for mobile portrait mode */
    .insight-container {
        /* Use a consistent, tall aspect ratio like 16:15 */
        height: 0;
        padding-bottom: 150%; 
        padding-top: 0; /* Clear previous padding */
        width: 100%;
        border-radius: 30px;
    }

    /* REPOSITION TAGS: Center them at the top */
    .insight-tags {
        top: 5%;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
        gap: 8px;
    }

    /* Mobile Tag Styling - Better contrast */
    .tag-float {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        background: rgba(0, 0, 0, 0.4); /* Darker background for contrast on light images */
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        color: white !important; /* Ensure white text */
    }

    /* REPOSITION CARD: Place it at the bottom-center */
    .insight-card {
        position: absolute;
        top: auto; /* Clear top positioning */
        bottom: 5%; /* Anchor to the bottom */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: none;
        padding: 1.5rem;
    }

    .insight-card h4 {
        font-size: 1.2rem;
    }

    .insight-card p {
        font-size: 0.9rem;
    }

    .insight-card .percentage {
        font-size: 1rem;
    }
    
    /* Removed the unrelated section styles here */
}

/* Very Small Mobile adjustments (576px) */
@media (max-width: 576px) {
    .insight-header h2 {
        font-size: 1.6rem;
    }
    .insight-tags {
        gap: 5px;
    }
    .insight-tags .tag-float {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }
    .insight-card h4 {
        font-size: 1.05rem;
    }
    .insight-card {
        padding: 1.2rem;
    }
     .cta-section h2 {
            font-size: 1.5rem !important;
            margin-bottom: 2rem;
        }
        .fee{
        font-size: 15px !important;
      }
}

/* CTA Section */
        .cta-section {
    background: linear-gradient(135deg, #ff1200, #ffc107);
    color: white;
    padding: 80px 0;
    text-align: center;
}

        .cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
        }

        .btn-outline-light {
            border: 2px solid white;
            color: white;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-outline-light:hover {
            background: white;
            color: var(--primary-color);
        }
 .footer {
            background: #000000;
            color: white;
            padding: 60px 0 30px;
        }

        .footer-link {
            color: #9ca3af;
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            margin-bottom: 0.5rem;
        }

        .footer-link:hover {
            color: white;
        }
   /* ===== Scroll To Top Button ===== */





   /* =====================================
   GLOBAL RESET & OVERFLOW SAFETY
   ===================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  /* overflow-x: hidden; */
}

/* =====================================
   ROOT VARIABLES (MERGED & CLEAN)
   ===================================== */

:root {
  --primary-orange: #FF4500;
  --light-orange: #FFF5F2;
  --secondary-bg: #F8F9FA;
  --primary-dark: #0B0B0B;
  --deep-dark: #0B0B0B;
  --dark-bg: #000000;
}

/* =====================================
   HIGHLIGHT ACTION CAPSULE
   ===================================== */

.highlight-section {
  background: var(--secondary-bg);
  overflow: hidden;
}

.action-capsule {
  background: #fff;
  border-radius: 100px;
  padding: 15px 30px;
  max-width: 1100px;
  width: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capsule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  color: var(--primary-dark);
  font-weight: 500;
  border-radius: 50px;
  transition: 0.3s;
  text-decoration: none;
}

.icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--light-orange);
  color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capsule-item:hover {
  background: var(--primary-orange);
  color: #fff;
  transform: translateY(-3px);
}

.capsule-item:hover .icon-wrap {
  background: #fff;
  color: var(--primary-orange);
}

.divider {
  width: 1px;
  height: 60px;
  background: rgba(0,0,0,0.08);
}

/* Mobile Capsule */
@media (max-width: 575px) {
  .action-capsule {
    border-radius: 25px;
    padding: 20px;
    flex-direction: column;
  }
  .divider {
    display: none;
  }
}

/* =====================================
   DEPARTMENTS LIST
   ===================================== */

.dept-vertical-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 767px) {
  .dept-vertical-list {
    grid-template-columns: 1fr;
  }
}

.dept-list-item {
  display: flex;
  align-items: center;
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  padding: 14px 18px;
  border-radius: 12px;
  transition: 0.3s;
  max-width: 100%;
}

.list-icon {
  width: 34px;
  height: 34px;
  background: var(--light-orange);
  color: var(--primary-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.list-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.dept-list-item:hover {
  border-color: var(--primary-orange);
  transform: translateX(5px);
  box-shadow: 0 6px 18px rgba(255,69,0,0.08);
}

/* =====================================
   TECH DISCOVERY (FIXED OVERFLOW)
   ===================================== */

.tech-discovery-premium {
  background: linear-gradient(to bottom, #fff, var(--secondary-bg));
  position: relative;
  overflow: hidden;
}

.tech-discovery-premium::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: var(--light-orange);
  border-radius: 50%;
}

@media (max-width: 575px) {
  .tech-discovery-premium::before {
    display: none;
  }
}

.tech-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 25px;
  max-width: 100%;
}

/* =====================================
   STATS GLASS SLIVER (NO OVERFLOW)
   ===================================== */

.stats-glass-sliver {
  background: var(--deep-dark);
  color: #fff;
  border-radius: 20px;
  padding: 15px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.sliver-item {
  padding: 15px;
  flex: 1 1 120px;
  text-align: center;
}

.sliver-line {
  display: none;
}

.sliver-num {
  font-size: 1.8rem;
  font-weight: 800;
}

.sliver-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
}

/* =====================================
   BOOKING SECTION
   ===================================== */

.booking-premium-section {
  background: #fff;
  position: relative;
  padding-bottom: 140px;
  overflow: hidden;
}

.appointment-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  max-width: 100%;
}

/* SVG Divider FIX */
.sharp-divider {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.sharp-divider svg {
  width: 100%;
  height: 120px;
  display: block;
}
.list-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(37%) sepia(96%) saturate(2124%) hue-rotate(2deg) brightness(104%) contrast(101%);
}

.emergency-item .list-icon {
  background: #ffe5e0;
}
.dept-list-item:hover .list-icon img {
  transform: scale(1.15);
  transition: 0.3s ease;
}

/* =====================================
   TECH BLUEPRINT SECTION
   ===================================== */

.tech-blueprint-section {
  background: var(--dark-bg);
  overflow: hidden;
}

.tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 15px;
  transition: 0.3s;
}

.tech-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-orange);
}

/* =====================================
   INDUSTRY PARTNER
   ===================================== */

.industry-partner .row {
  flex-wrap: wrap;
  overflow: hidden;
}

/* =====================================
   NEGATIVE MARGIN KILL SWITCH
   ===================================== */

@media (max-width: 767px) {
  [class*="ms-n"] {
    margin-left: 0 !important;
  }
}

    /***********************
     booking-section
     ************************/
    :root {
    --primary-orange: #FF4500;
    --light-bg: #FDFDFD;
    --dark-text: #1A1A1A;
}

.booking-premium-section {
    position: relative;
    background: #ffffff;
    padding: 50px 0 160px; /* Space for the bottom divider */
}

/* Floating Label Logic */
.floating-group {
    position: relative;
}

.clean-input {
    width: 100%;
    padding: 15px 5px;
    border: none;
    border-bottom: 2px solid #eee;
    background: transparent;
    outline: none;
    transition: 0.3s;
    font-weight: 500;
}

.floating-group label {
    position: absolute;
    left: 5px;
    top: 15px;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Label floats up when input has text or focus */
.clean-input:focus ~ label,
.clean-input:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 12px;
    color: var(--primary-orange);
    font-weight: 700;
}

.clean-input:focus {
    border-color: var(--primary-orange);
}

/* Appointment Wrapper */
.appointment-wrapper {
    background: #ffffff;
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.btn-modern-submit {
    width: 100%;
    background: var(--dark-text);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 15px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s;
}

.btn-modern-submit:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.2);
}

/* Feature Box */
.feature-box {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-sq {
    width: 50px;
    height: 50px;
    background: #FFF5F2;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pill .dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* THE SHARP DIVIDER - Bridges to Black Section */
.sharp-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.sharp-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.sharp-divider .shape-fill {
    fill: #000000; /* Matches your next section's black color exactly */
}


/* ==========================================
   1. EXTRA SMALL (Mobile - Up to 575px)
   ========================================== */
@media (max-width: 575.98px) {
    .booking-premium-section {
        padding: 50px 0 100px; /* Reduced space for smaller screens */
    }

    .booking-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .display-5 {
        font-size: 2.2rem;
    }

    .status-pill {
        margin: 0 auto 20px;
    }

    .feature-box {
        justify-content: center;
        text-align: left;
    }

    .appointment-wrapper {
        padding: 25px 20px;
        border-radius: 25px; /* Softer corners for mobile */
    }

    .btn-modern-submit {
        padding: 15px;
        font-size: 0.9rem;
    }

    .sharp-divider svg {
        height: 60px; /* Shallow triangle for mobile */
    }
}

/* ==========================================
   2. SMALL DEVICES (Landscape Phones - 576px to 767px)
   ========================================== */
@media (min-width: 576px) and (max-width: 767.98px) {
    .booking-content {
        text-align: center;
        max-width: 500px;
        margin: 0 auto 50px;
    }

    .feature-box {
        justify-content: center;
    }

    .appointment-wrapper {
        padding: 40px;
    }

    .sharp-divider svg {
        height: 80px;
    }
}

/******************************
 tech-blueprint-section 
 ******************************/


:root {
    --primary-orange: #FF4500;
    --dark-bg: black;
}

.tech-blueprint-section {
    background: var(--dark-bg);
    overflow: hidden;
}

.blueprint-title {
    /* font-weight: 800; */
    letter-spacing: -1px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin-top: 15px;
    border-radius: 2px;
}

/* Tech Card Logic */
.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    height: 100%;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.tech-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-10px);
    background: rgba(255, 69, 0, 0.05);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
}

.card-image-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tech-card:hover img {
    transform: scale(1.1);
}

/* Scanner Animation Overlay (Moved to cards) */
/* .portal-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-orange);
    box-shadow: 0 0 10px var(--primary-orange);
    animation: scanning 2.5s infinite linear;
    z-index: 2;
    opacity: 0; /* Only shows on hover */
    /* transition: opacity 0.3s;
}

.tech-card:hover .portal-scanner {
    opacity: 1;
} */

/* @keyframes scanning {
    0% { top: 0%; }
    100% { top: 100%; }
} */ 

.card-body-tech h6 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.tech-card:hover h6 {
    color: var(--primary-orange);
}

.card-body-tech p {
    color: #8892b0;
    font-size: 16px !important;
    margin: 0;
}

/* --- Responsive Manifest --- */

@media (max-width: 575.98px) {
    .blueprint-title { font-size: 1.8rem; }
    .tech-card { padding: 12px; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .card-body-tech h6 { font-size: 0.9rem; }
}

@media (min-width: 1400px) {
    .blueprint-title { font-size: 3.5rem; }
    .card-body-tech h6 { font-size: 1.1rem; }
}



/*****************************
 industry-partner 
 ****************************/

    .industry-partner h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.industry-partner .row div {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.industry-partner h4 {
    font-weight: 700;
    margin: 0;
    cursor: default;
    filter: grayscale(1); /* Keeps it professional */
    transition: 0.3s;
}

.industry-partner .row div:hover h4 {
    filter: grayscale(0);
    color: var(--primary-orange);
    transform: translateY(-5px);
}

/* 1. Mobile (Portrait Phones) */
@media (max-width: 575.98px) {
    .industry-partner { padding: 40px 0; }
    .industry-partner h5 { margin-bottom: 30px !important; }
    
    /* 3 logos per row on very small screens */
    .industry-partner .col-4 {
        padding: 10px;
    }
    .industry-partner h4 {
        font-size: 0.9rem;
    }
}

/* 2. Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .industry-partner h4 {
        font-size: 1.1rem;
    }
    .industry-partner .row {
        justify-content: center;
    }
}

/* 3. Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .industry-partner h4 {
        font-size: 1.2rem;
    }
    .industry-partner .row {
        row-gap: 2rem !important; /* Space between rows if they wrap */
    }
}

/* 4. Large Devices (Laptops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .industry-partner h4 {
        font-size: 1.3rem;
    }
}

/* 5. Extra Large Devices (Large Laptops) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .industry-partner h4 {
        font-size: 1.5rem;
    }
}

/* 6. Ultra Large Devices (High Res) */
@media (min-width: 1400px) {
    .industry-partner h4 {
        font-size: 1.8rem;
    }
    .industry-partner .container {
        max-width: 1320px;
    }
}

        .service-item {
            background: white;
            color: black;
            padding: 15px 25px;
            border-radius: 10px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            font-weight: 600;
        }
        .service-item i { margin-right: 15px; color: var(--primary-orange); }

        /* ========================= */
/* IMAGE SIDE */
/* ========================= */

.dept-full-img {
    position: relative;
    height: 100%;
    min-height: 550px;
}

.object-fit-cover {
    object-fit: cover;
}

.img-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.85) 10%,
        rgba(255,255,255,0) 35%);
}
.badge-mini {
    background: var(--light-orange);
    color: var(--primary-orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
 .sliver-num {
            font-size: 2rem;
            font-weight: 800;
            margin: 0;
            line-height: 1;
            align-items: flex-start;
        }

        .sliver-num .plus, .sliver-num .orange {
            color: var(--primary-orange);
            font-size: 1.2rem;
            margin-left: 2px;
        }

        .sliver-label {
            font-size: 0.75rem !important;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 5px 0 0 0;
            color: rgba(255,255,255,0.6);
        }
/* Container and Track Setup */
.happenings-slider-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.happenings-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.happenings-track:hover {
  animation-play-state: paused;
}

/* Individual Card Styling */
.event-card {
  flex: 0 0 350px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.event-card img {
  width: 100%;
  height: 55vh;
  object-fit: cover;
  display: block;
}

/* Overlay Logic: Hidden by default */
.event-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center text vertically on hover */
  align-items: center;
  padding: 25px;
  text-align: center;
  color: #ffffff; /* Forces all text to white for contrast */
  background: rgba(0, 0, 0, 0.75); /* Dark tint on hover */
  
  /* Initial state: Transparent and slightly lower */
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease-in-out;
  pointer-events: none;
}

.event-overlay h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.event-overlay p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Hover State: Reveal Everything */
.event-card:hover .event-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Carousel Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-370px * 5)); } /* Adjust based on card count */
}

/* STICKY BUTTON */
.sticky-apply-btn{
    position:fixed;
        right: -103px;
    top:50%;
    transform:translateY(-50%) rotate(-90deg);
    background:linear-gradient(90deg,#ff1e00,#ff5e00);
    color:#fff;
    padding:14px 28px;
    font-size:16px;
    font-weight:700;
    border-radius:14px 14px 0 0;
    cursor:pointer;
    z-index:9999;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* FORM PANEL */
.form-popup{
    position:fixed;
    top:0;
    right:-100%;
    width:480px;
    height:100vh;
    background:#f6efea;
    transition:0.5s ease;
    z-index:9998;
    overflow-y:auto;
    padding:40px;
    box-shadow:-10px 0 30px rgba(0,0,0,0.08);
}

.form-popup.active{
    right:0;
}

/* CLOSE */
.close-btn{
    position:absolute;
    top:20px;
    right:20px;
    font-size:28px;
    cursor:pointer;
    color:#111;
}

/* CONTENT */
.form-top-tag{
    color:#ff2b00;
    letter-spacing:4px;
    font-size:10px;
    font-weight:700;
    margin-bottom:14px;
}

.form-heading{
    font-size:30px;
    line-height:1;
    font-weight:800;
    color:#000;
    margin-bottom:10px;
}

.form-sub{
    color:#333;
    font-size:17px !important;
    margin-bottom:28px;
    line-height:1.5;
}

.notice-box{
    border:1px solid #f6b4a8;
    padding:10px;
    border-radius:14px;
    color:#ff2b00;
    font-weight:700;
    margin-bottom:28px;
    background:#fff3f0;
    font-size:15px;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap: 11px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group.full{
    grid-column:span 2;
}

label{
    font-size:13px;
    font-weight:800;
    letter-spacing:1px;
    margin-bottom:10px;
    color:#3c1f00;
}

input,
select{
       width: 100%;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 0 18px;
    font-size: 12px;
    background: #fff;
    outline: none;
}

input:focus,
select:focus{
    border-color:#ff4a00;
}

.checkbox{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:22px;
    margin-bottom:22px;
}

.checkbox input{
    width:18px;
    height:18px;
}

.submit-btn{
    width: 50%;
    height: 42px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #ff1e00, #ff5e00);
    color: #fff;
    font-size: 16px;
    text-align: center;
    /* font-weight: 800; */
    cursor: pointer;
    justify-items: center;
    align-items: center;
}

.bottom-tags{
    margin-top:22px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    font-size:13px;
    color:#5b3c20;
}

/* MOBILE */
@media(max-width:768px){
    .sticky-apply-btn {
        transform: none;
        right: 0;
        top: auto;
        bottom: 0;
        /* border-radius: 14px; */
        padding: 11px 26px;
        /* transform: translateY(-50%) rotate(-90deg); */
        width: 100%;
        text-align: center;
        text-transform: uppercase;
    }

    .form-popup{
        width:100%;
        padding:22px;
    }

    .form-heading{
        font-size:40px;
    }

    .form-grid{
        grid-template-columns:1fr 1fr;
        gap:14px;
    }

    input,
    select{
        height:52px;
        font-size:15px;
    }
}

@media(max-width:520px){

    .form-grid{
        grid-template-columns:1fr;
    }

    .form-group.full{
        grid-column:span 1;
    }

    .form-heading{
        font-size:34px;
    }
}
