   @keyframes fadeOutUp {
       from {
           opacity: 1;
           transform: translateY(0);
       }

       to {
           opacity: 0;
           transform: translateY(-20px);
       }
   }

   @keyframes fadeInUp {
       from {
           opacity: 0;
           transform: translateY(20px);
       }

       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   .carousel-timers {
       position: absolute;
       right: 60px;
       top: 50%;
       transform: translateY(-50%);
       display: flex;
       flex-direction: column;
       gap: 12px;
       z-index: 10;
   }

   .timer-bar {
       width: 6px;
       height: 30px;
       /* small inactive size */
       background: rgba(255, 255, 255, 0.3);
       border-radius: 4px;
       position: relative;
       overflow: hidden;
       transition: all 0.3s ease;
   }

   .timer-bar::after {
       content: "";
       position: absolute;
       left: 0;
       top: 0;
       height: 0%;
       width: 100%;
       background: #fff;
   }

   .timer-bar.active {
       height: 60px;
       width: 8px;
   }

   .timer-bar.active::after {
       height: 100%;
       transition: height 11s linear;
   }


   #makerspaceCarousel {
       height: 100vh;
       position: relative;
       overflow: hidden;
   }

   #makerspaceCarousel .carousel-item {
       height: 100vh;
   }

   #makerspaceCarousel video {
       object-fit: cover;
       width: 100%;
       height: 100%;
   }

   .carousel-caption.custom-caption {
       bottom: 40px;
       left: 40px;
       right: auto;
       text-align: left;
   }

   .carousel-caption.custom-caption h2 {
       /* font-size: 44px; */
       font-size: 33px;
       line-height: 58px;
       font-weight: 600;
       color: #fff;
       font-family: "Montserrat", sans-serif;
   }

   .carousel-container {
       width: 100%;
       border-radius: 0;
       transition: all 0.6s ease;
   }

   .carousel-container.shrink {
       width: 90%;
       border-radius: 0 0 80px 80px;
       margin: 0 auto;
       overflow: hidden;
   }

   /* Outer container box fixed */
   .card-box {
       position: absolute;
       top: auto;
       right: 5%;
       /* bottom: 0; */
       bottom: 32px;
       width: 436px;
       z-index: 999;
       /* height: auto; */
       border-radius: 16px;
       padding: 15px;
       display: flex;
       flex-direction: column;
       transform: translateX(120%);
       opacity: 0 ;
       /* visibility: hidden; */
       /* transition: transform 0.8s ease, opacity 0.8s ease; */
       transition: transform 1.8s ease-in-out, opacity 1.8s ease-in-out;
       cursor: pointer;
   }

    .card-box.show {
        opacity: 1; 
        /* visibility: visible; */
        /* transform: translateX(0); */
    }

    @keyframes fadeOutLeft {
        from {
            opacity: 1;
            transform: translateX(0);
        }
        to {
            opacity: 0;
            transform: translateX(-100%);
        }
    }

    .animate-fade-out-left {
        animation-name: fadeOutLeft;
        animation-duration: 1s;
        animation-fill-mode: forwards; 
    }

    

   .card {
       position: relative;
       overflow: hidden;
       border-radius: 36px;
       background: rgba(255, 255, 255, 0.24);
       backdrop-filter: blur(15px) saturate(120%);
       -webkit-backdrop-filter: blur(15px) saturate(120%);
       border: 1px solid rgba(255, 255, 255, 0.35);
       box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
       transition: all .3s ease;
       color: #000;
       padding: 6px;
   }

   /* When visible */
   .card-box.visible {
       /* transform: translateX(0); */
       /* opacity: 1 !important; */
   }

   /* Scrollable stack */
   .card-stack {
       /* overflow-y: auto; */
       /* display: flex; */
       /* flex-direction: column;
       gap: 12px;
       height: 680px;
       overflow-y: auto; */
   }

   .card-stack::-webkit-scrollbar {
       /* display: none; */
       /* Chrome, Safari and Opera */
   }

   /* Expanded card */
   .card.expanded {
       /* background: rgba(255, 255, 255, 0.25);
     border-radius: 22px; */
       transition: all 0.4s ease;
       width: 410px;
   }

   .card.expanded img.card-img-top {
       height: 200.25px;
       object-fit: cover;
       border-radius: 24px;
       margin: 0px auto 10px auto;
       display: block;
   }

   .card.expanded .card-body {
       display: block;
       padding: 16px;
       background: #F5F5F566;
       border-radius: 32px;
   }

   .card.expanded .card-title {
       font-weight: 600;
       margin-bottom: 8px;
       font-size: 17px;
       font-family: "Work Sans", sans-serif;

   }

   /* Collapsed card */
   .card.collapsed {
       display: flex;
       align-items: center;
       gap: 16px;
       background: rgb(255 255 255 / 60%);
       border-radius: 16px;
       padding: 7px 8px;
       cursor: pointer;
       height: 96px;
       opacity: 0.7;
       /* transition: opacity 0.3s ease, background 0.3s ease; */

       /* Glass effect */
       background: rgba(255, 255, 255, 0.24);
       backdrop-filter: blur(15px) saturate(120%);
       -webkit-backdrop-filter: blur(15px) saturate(120%);
       border: 1px solid rgba(255, 255, 255, 0.35);
       box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
   }

   .card.collapsed:hover {
       opacity: 1;
       background: rgba(255, 255, 255, 0.25);
   }

   /* Collapsed card thumbnail */
   .card.collapsed img.card-img-top {
       width: 142px;
       height: 80px;
       border-radius: 12px;
       object-fit: cover;
       flex-shrink: 0;
   }

   /* Collapsed card title */
   .card.collapsed .card-title {
       font-size: 16px;
       font-weight: 600;
       font-family: "Work Sans", sans-serif;
       color: #000;
       margin: 0;
       flex: 1;
       display: flex;
       align-items: center;
       height: 100%;
   }

   /* Hide body in collapsed */
   .card.collapsed .card-body {
       display: none;
   }

   .card-points {
       margin-top: 12px;
       display: flex;
       flex-direction: column;
       gap: 10px;
   }

   .card-points .point {
       background: #F5F5F599;
       border-radius: 16px;
       padding: 10px 14px;
       font-size: 15px;
       font-weight: 500;
       line-height: 28px;
       color: #000;
       font-family: "Work Sans", sans-serif;
       box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   }

   /* Collapsed card row layout */
   .card.collapsed .collapsed-view {
       display: flex;
       align-items: center;
       gap: 12px;
       width: 100%;
       justify-content: left;
       background: #F5F5F566;
       border-radius: 12px;
   }

   .card.collapsed .collapsed-view img {
       width: 150px;
       height: 80px;
       border-radius: 10px;
       object-fit: cover;
       flex-shrink: 0;
       padding: 8px;
       border-radius: 16px;
   }

   .card.collapsed .collapsed-title {
       font-size: 18px;
       font-weight: 600;
       color: #000;
       line-height: 28px;
       font-family: "Work Sans", sans-serif;
   }

   .card.collapsed .card-body {
       display: none;
   }

   .card.expanded .collapsed-view {
       display: none;
   }

   .card.expanded .card-body {
       display: block;
   }


   /* ======================== */

   #makerspaceCarousel .carousel-inner {
       position: relative;
       width: 100%;
       height: 100%;
       background: #000;
       /* fallback so no white shows if both are transparent */
       overflow: hidden;
   }

   #makerspaceCarousel .carousel-item {
       position: absolute;
       inset: 0;
       display: block !important;
       opacity: 0;
       pointer-events: none;
       transform: scale(1.02);
       transition:
           opacity 1.0s ease,
           transform 1.0s ease;
       z-index: 0;
       will-change: opacity, transform;
       background: #000;
       /* prevents any flash while loading video */
   }

   #makerspaceCarousel .carousel-item.active {
       position: relative;
       opacity: 1;
       pointer-events: auto;
       transform: scale(1);
       z-index: 2;
   }

   #makerspaceCarousel .carousel-item-next,
   #makerspaceCarousel .carousel-item-prev,
   #makerspaceCarousel .carousel-item.active.carousel-item-start,
   #makerspaceCarousel .carousel-item.active.carousel-item-end {
       transform: none !important;
   }

   #makerspaceCarousel {
       position: relative;
   }


   .global-cards .card-box {
       /* transform: none !important; */
       opacity: 1 !important;
       right: auto;
   }

   .global-cards .card {
       transition: opacity 0.6s ease, transform 0.6s ease;
   }

   .global-cards .card[style*="display: none"] {
       opacity: 0;
       transform: scale(0.9);
       pointer-events: none;
   }

   .global-cards .card[style*="display: block"] {
       opacity: 1;
       transform: scale(1);
       pointer-events: auto;
   }

   .global-cards .card {
       transition: opacity .45s ease, transform .35s ease;
       opacity: 1;
       pointer-events: auto;
    
   }

   .global-cards .card.hidden-card {
       opacity: 0;
       display: none;
       transform: scale(.98);
       pointer-events: none;
   }

   .global-cards .card.collapsed {
       max-height: 84px;
       overflow: hidden;
   }

   .global-cards .card.expanded {
       max-height: 480px;
   }

   /* ================================================================== */

   /* .card-stack {
            transform: translateX(120%);  
            opacity: 0;
            transition: transform 0.8s ease, opacity 0.8s ease;

            display: flex;
            flex-direction: column;
            gap: 12px;
            height: 660px;
            overflow-y: scroll;
        } */

   /* .global-cards{
            height: 690px !important;
        } */

   .card-stack {
       max-height: 638px !important;
       overflow-y: scroll;
       overflow-x: hidden;
       padding-top: 0px;
       scrollbar-width: none;
       -ms-overflow-style: none;
   }

   .card-stack::-webkit-scrollbar {
       display: none;
       /* Chrome, Safari */
   }

   .card-stack::-webkit-scrollbar {
       width: 6px;
   }

   .card-stack::-webkit-scrollbar-thumb {
       background-color: rgba(0, 0, 0, 0.3);
       border-radius: 10px;
   }

   .card-stack.visible {
       opacity: 1;
   }

   /* --- Grid Pattern Containers --- */

   .grid-pattern-top,
   .grid-pattern-bottom {
       position: absolute;
       width: 444px;
       height: 444px;
       z-index: 0;
       opacity: 0.5;
       background-size: 88.8px 88.8px;
       /* 444px / 5 squares */
       background-image:
           linear-gradient(to right, rgba(128, 128, 128, 0.5) 1px, transparent 1px),
           linear-gradient(to bottom, rgba(128, 128, 128, 0.5) 1px, transparent 1px);
       mask-image: radial-gradient(ellipse at center, white 20%, transparent 70%);
       -webkit-mask-image: radial-gradient(ellipse at center, white 20%, transparent 70%);
   }

   .grid-pattern-top {
       top: -48px;
       right: 0;
   }

   .grid-pattern-bottom {
       bottom: -48px;
       left: 0;
   }


   /* --- Icon Grid Containers (Overlay) --- */
   .icon-grid-container-top,
   .icon-grid-container-bottom {
       position: absolute;
       width: 444px;
       height: 444px;
       z-index: 1;
       /* Above grid patterns */
       pointer-events: none;
       /* Decorative only */
   }

   .icon-grid-container-top {
       top: 2px;
       right: 2px;
   }

   .icon-grid-container-bottom {
       bottom: 2px;
       left: 2px;
   }

   /* --- Individual Icons & Styling --- */
   .grid-icon {
       position: absolute;
       width: 88.8px;
       height: 88.8px;
       display: flex;
       align-items: center;
       justify-content: center;
       opacity: 0;
       /* Start hidden */
       transition: opacity 3s ease-in-out;
   }

   .grid-icon img {
       width: 50px;
       height: auto;
       filter: grayscale(100%);
   }

   /* --- Icon Active State (fade in/out) --- */
   .grid-icon.active {
       opacity: 1;
   }

   /* --- Icon Positioning (central 3x3 area) --- */
   .pos-0-0 {
       top: 88.8px;
       left: 88.8px;
   }

   /* Row 2, Col 2 */
   .pos-1-1 {
       top: 177.6px;
       left: 177.6px;
   }

   /* Row 3, Col 3 */
   .pos-0-2 {
       top: 88.8px;
       left: 266.4px;
   }

   /* Row 2, Col 4 */
   .pos-2-2 {
       top: 266.4px;
       left: 266.4px;
   }

   /* Row 4, Col 4 */
   .pos-1-0 {
       top: 177.6px;
       left: 88.8px;
   }

   /* Row 3, Col 2 */

   /* ======
    
    onsive */

   @media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {

       .carousel-container {
           height: 77%;
       }

       .carousel-caption.custom-caption h2 {
           font-size: var(--fs-xl) !important;
       }

       .carousel-timers {
           /* display: none; */
           padding-left: 5px !important;
       }

       #makerspaceCarousel .carousel-item {
           height: 80vh;
       }

       #makerspaceCarousel .carousel-inner {
           height: 77%;
       }

       .card-box {
           bottom: 24%;
       }

       .card-stack {
           max-height: 638px !important;
       }

       .section-head-wrapper {
           margin-top: 45px !important;
           margin-bottom: 45px !important;
       }

       .section-head h2,
       .section-headings h2 {
           font-size: var(--fs-4xl) !important;
       }

       .section-para p {
           font-size: 16px !important;
           line-height: 25px !important;
       }

       .counter-row {
           width: 78% !important;
       }

       .counter-box h2 {
           font-size: var(--fs-2xl) !important;
       }


       .masters-tab-title {
           font-size: 16px !important;
       }

       .schools-right h3 {
           font-size: var(--fs-2xl) !important;
       }

       .schools-right p {
           font-size: 15px !important;
       }

       .feature-item {
           font-size: 14px !important;
       }

       .section-headings p {
           font-size: var(--fs-md);
       }

       .masters-tab-sub {
           font-size: 14px !important;
       }

       .tab-arrow {
           width: 25px;
           height: 25px;
       }

       .main-support-card-wrap {
           width: 260px;
       }

       .worksans {
           font-size: 18px;
       }

       .main-support-card {
           width: 276px !important;
           height: 176px !important;
       }

       .card-feature,
       .small-card-feature {
           font-size: 13px !important;
       }

       .schools-left img {
           width: 290px;
       }

       .stats-text p,
       ul li {
           font-size: 15px !important;
       }

       .image-side {
           height: 25vh ;
       }

       .text-side section {
           min-height: 50vh !important;
           padding: 2rem 1rem 0rem 1rem !important;
           margin-bottom: 0 !important;

           
       }

       .testimonials h2 {
           font-size: var(--fs-2xl) !important;
       }

       .testimonials p {
           font-size: 16px !important;
       }

       .faq-tab-btn {
           font-size: 16px !important;
       }

       .faq-question {
           font-size: 1rem !important;
       }

       .faq-answer {
           font-size: 0.938rem !important;
       }

       .faq-plus {
           font-size: 1.5rem !important;
       }

       .black-btn {
           font-size: 14px !important;
       }

       .contact-btn {
           width: 204px !important;
       }


       .left-innovation-modules h3 {
           font-size: 28px;
       }

       .left-innovation-modules .nav-link {
           font-size: 19px !important
       }

       .left-innovation-modules h3 {
           font-size: 28px !important;
       }

    
   }


   /*  */


   /* second section css  */

   /* Corner videos */
   .changing-text {
       position: relative;
       min-height: 220px;
       perspective: 1000px;
   }

   .content-block {
       position: absolute;
       top: 0;
       left: 50%;
       transform: translateX(-50%) translateY(0) scale(1);
       width: 100%;
       opacity: 0;
       z-index: 0;
       transition: all 0.8s ease;
   }

   .content-block.active {
       opacity: 1;
       z-index: 2;
       transform: translateX(-50%) translateY(0) scale(1);
   }

   .content-block.exit {
       opacity: 0;
       z-index: 1;
       transform: translateX(-50%) translateY(20px) scale(0.95);
   }

   .counter-row {
       width: 100%;
       max-width: 1000px;
       margin: 0 auto;
   }

   .red-counter:hover h2
    {
       color: #FC3E33;
       /* Red */
   }

   .green-counter:hover h2
    {
       color: #56C623;
       /* Green */
   }

   .blue-counter:hover h2
   {
       color: #5679FD;
       /* Blue */
   }

   .counter-box h2,
   .counter-box p {
       transition: color 0.3s ease;
   }

   .counter-box h2 {
       font-size: 36px;
       font-weight: 600;
       font-family: "Work Sans", sans-serif;
       margin: 0;
       color: #848484;

   }

   .counter-box p {
       margin-top: 8px;
       font-size: 18px;
       font-weight: 500;
       font-family: "Work Sans", sans-serif;
       opacity: 0.8;
   }

   .section-head-wrapper {
       opacity: 0;
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       transition: opacity 0.1s ease, transform 0.6s ease;
       transform: translateY(10px);
       margin-top: 100px;
       margin-bottom: 100px;
   }

   .section-head-wrapper.active {
       opacity: 1;
       transform: translateY(0);
       /* position: relative; */
   }

   .changing-sections {
       position: relative;
       min-height: 500px;
       margin-bottom: 3rem;
       /* ensure stable height */
   }

   .section-head h2 {
       font-size: var(--fs-4xl);
       font-weight: 700;
       line-height: 58px;
       background: linear-gradient(to right, #022640, #5786AB);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       /* For Firefox */
       background-clip: text;
       color: transparent;
   }

   .section-head p {
       font-size: var(--fs-xl);
       font-weight: 500;
       line-height: 30px;
   }

   .section-para p {
       width: 60%;
       font-size: 18px;
       line-height: 28px;
       font-weight: 500;
       font-family: "Work Sans", sans-serif;
       color: #4C4C4C;
   }

   .learn-more-btn {
       height: 44px;
       width: 152px;
       min-width: 152px;
   }

   .masters-learn-more-btn {
       height: 44px;
       width: 152px;
       min-width: 152px;
       background-color: #F5F5F5 !important;
       color: #131313 !important;

   }

   .mission-section-head h2 {
       font-size: 44px;
       font-weight: 600;
       line-height: 58px;
   }

   .mission-section-head p {
       font-size: 18px;
       font-weight: 500;
       line-height: 30px;
   }


   /* Tabs container in a row */
   .masters-tabs {
       display: flex;
       /* gap: 50px; */
       justify-content: center;
       flex-wrap: wrap;
   }

   /* Base Tab with Glass Effect */
   .masters-tab {
       display: flex;
       justify-content: space-between;
       align-items: center;

       /* min-height: 12vh; */
       height: 7rem;
       padding: 1rem 0rem 1rem 1rem;
       border-radius: 32px;
       font-weight: 600;
       font-family: "Montserrat", sans-serif;
       text-decoration: none;
       transition: 0.3s;
       position: relative;
       overflow: visible;

       /* Glassmorphism effect */
       background: #1313131a;
       border: 2px solid rgba(255, 255, 255, 0.3);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       box-shadow: #1313130D 0px 0px 0px 9px;
       color: #333;
   }

   .masters-tab-title {
       font-size: 24px;
       text-align: left;
       color: black;
   }

   .masters-tab-sub {
       font-size: 16px;
       text-align: left;
       color: #131313;
       font-weight: 500;
   }

   .masters-tab.active .tab-arrow {
       /* transform: translate(6px, -6px); */
       background: #4C4C4C;

   }

   .masters-tab .tab-arrow .arrow-ico {
       transform: rotate(45deg);
       /* horizontal pointing right */
       transition: transform 0.3s ease;
   }

   /* Arrow icon points down (vertical) for active tab */
   .masters-tab.active .tab-arrow .arrow-ico {
       transform: rotate(0deg);
       /* vertical pointing down */
   }


   /* === GREEN THEME === */
   .is-green:hover {
       background: rgba(146, 229, 108, 0.3);
       box-shadow: rgba(146, 229, 108, 0.2) 0px 0px 2px 9px;
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #2e7d32;
   }

   .is-green.active {
       background: rgba(146, 229, 108, 0.5);
       box-shadow: rgba(146, 229, 108, 0.2) 0px 0px 2px 9px;
       border: 2px solid rgba(255, 255, 255, 0.3);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #92E56C33;
   }



   /* === PINK THEME === */
   .is-pink:hover {
       background: rgba(252, 62, 51, 0.2);
       box-shadow: rgba(252, 62, 51, 0.1) 0px 0px 2px 9px;
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #FC3E331A;
   }

   .is-pink.active {
       background: rgba(252, 62, 51, 0.3);
       box-shadow: rgba(252, 62, 51, 0.1) 0px 0px 2px 9px;
       border: 2px solid rgba(255, 255, 255, 0.3);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #FC3E331A;
   }

   /* === BLUE THEME === */
   .is-blue:hover {
       background: rgba(86, 121, 253, 0.2);
       box-shadow: rgba(86, 121, 253, 0.1) 0px 0px 2px 9px;
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #fd695633;
   }

   .is-blue.active {
       background: rgba(86, 121, 253, 0.3);
       box-shadow: rgba(86, 121, 253, 0.1) 0px 0px 2px 9px;
       border: 2px solid rgba(255, 255, 255, 0.3);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #5679FD33;
   }

   /* === GREY THEME === */
   .is-grey:hover {
       background: rgba(19, 19, 19, 0.2);
       box-shadow: rgba(19, 19, 19, 0.1) 0px 0px 2px 9px;
       border: 2px solid rgba(255, 255, 255, 0.3);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #1313131A;
   }

   .is-grey.active {
       background: rgba(19, 19, 19, 0.3);
       box-shadow: rgba(19, 19, 19, 0.1) 0px 0px 2px 9px;
       border: 2px solid rgba(255, 255, 255, 0.3);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       color: #13131333;
   }



   .bottom-tab-content {
       display: none;
       animation: fadeIn 0.4s ease;
   }

   .bottom-tab-content.active {
       display: block;
   }

   .missions-tab-content {
       height: 409px;
   }

   .schools-left img {
       height: 380px;
       border-radius: 40px !important;
   }

   /* Base style for animated card - initially hidden */
   .animated-card {
       opacity: 0;
       /* Keep elements hidden initially */
   }

   /* Fade right animation */
   @keyframes fadeRight {
       0% {
           opacity: 0;
           transform: translateX(-50px);
       }

       100% {
           opacity: 1;
           transform: translateX(0);
       }
   }

   .fade-right.show {
       animation: fadeRight 0.6s ease forwards;
   }

   /* Fade up animation */
   @keyframes fadeUp {
       0% {
           opacity: 0;
           transform: translateY(50px);
       }

       100% {
           opacity: 1;
           transform: translateY(0);
       }
   }

   .fade-up.show {
       animation: fadeUp 0.6s ease forwards;
   }


   .schools-right h3 {
       font-family: "Montserrat", sans-serif;
       font-size: var(--fs-2xl);
       line-height: 40px;
       font-weight: 600;
   }

   .schools-right p {
       font-family: "Work Sans", sans-serif;
       font-size: 18px;
       line-height: 28px;
       font-weight: 500;
       color: #4C4C4C;
   }

   .features {
       display: grid;
       grid-template-columns: 1fr 1fr;
       /* 2-column layout */
       gap: 12px 40px;
       /* row gap | column gap */
       max-width: 600px;
   }

   .feature-item {
       display: flex;
       align-items: center;
       font-size: 18px;
       color: #4C4C4C;
       font-weight: 500;
       font-family: "Work Sans", sans-serif;
   }

   .feature-item .icon {
       width: 18px;
       height: 18px;
       margin-right: 8px;
   }



   /* innovation modules  */

   .tab-pane .row {
       display: flex;
       flex-wrap: nowrap;
       overflow-x: auto;
       gap: 1rem;
       padding: 0rem 0rem 1rem 0rem;
       margin: 0;
       scroll-behavior: smooth;
   }

   .tab-pane .row {
       -ms-overflow-style: none;
       scrollbar-width: none;
   }

   .tab-pane .row::-webkit-scrollbar {
       display: none;
   }

   /* ===== Columns adjustments ===== */
   .tab-pane .col-md-4 {
       flex: 0 0 auto;
       padding: 0;
   }

   .innovation-modules {
       /* height: 615px;  */
       /* height: 60vh;  */
       display: flex;
       justify-content: center;
       padding: 6rem 0rem;

   }

   .left-innovation-modules h3 {
       font-family: "work sans", sans-serif;
       font-size: 32px;
       line-height: 58px;
       font-weight: 500;
       color: #131313;
   }

   .left-innovation-modules ul li {
       font-family: "work sans", sans-serif;
       font-size: 20px;
       line-height: 36px;
       font-weight: 600;
       /* background: #ffffff; */
       margin: 3px;
       border-top-left-radius: 16px;
       border-bottom-left-radius: 16px;
   }

   .left-innovation-modules .nav-link {
       font-family: "work sans", sans-serif;
       font-size: 20px;
       line-height: 36px;
       font-weight: 600;
       color: #333;
       /* default text color */
       /* background-color: #ffffff; */
       /* default background */
       /* margin: 3px 0; */
       border-top-left-radius: 16px;
       border-bottom-left-radius: 16px;
       border-top-right-radius: 0;
       border-bottom-right-radius: 0;
       transition: all 0.3s ease;
       width: 100%;
       text-align: left;


   }

   .left-innovation-modules .nav-link:hover {
       background-color: #eaeaea;
       background: linear-gradient(to right, #022640, #5786AB);
       -webkit-background-clip: text;
       background-clip: text;
       color: transparent;
   }

   .left-innovation-modules .nav-link.active {
       color: #F5F5F5;
       background-color: transparent !important;
   }

   .left-innovation-modules .nav-link {
       position: relative;
       overflow: hidden;
   }

   .left-innovation-modules .nav-link::after {
       content: "";
       position: absolute;
       top: 0;
       right: 10px;
       width: 4px;
       height: 100%;
       border-radius: 2px;
       opacity: 0;
       transform: translateX(-100%);
       transition: transform 0.6s ease, background-color 0.6s ease, opacity 0.4s ease;
   }

   .left-innovation-modules .nav-link.active::after {
       left: auto;
       right: 0px;
       transform: translateX(0);
       opacity: 1;
   }

   .right-innovation-modules {
       border: 2px solid var(--Colors-Neutral-Alpha-10-B, #1313131A);
       border-radius: 24px;
       /* height: 600px; */
       position: relative;
       min-height: 34rem;
   }

   #modules-tabContent {
       padding: 0.5rem 0rem 0rem 0rem;
       /* padding: 2.5rem 0rem 1rem 0rem; */
   }

   .module-card {
       /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); */
       background: #e9e9e9aa;
       border-radius: 24px;
       margin: 1rem 0rem;
       width: 100%;
   }




   .module-detail-card {
       /* height: 516px; */
       /* width: 300px; */
       background: #e9e9e9;
       position: relative;
       overflow: visible;
       box-shadow: none;
       border-radius: 24px;
       transition: transform 0.3s ease, box-shadow 0.3s ease;
       cursor: pointer;
       overflow: visible !important;
   }

   .module-detail-card img {
       border-radius: 20px;
       /* height: 60%; */
       height: 270px;
       object-fit: fill;
   }

   .module-inner-card h5 {
       font-family: "Work Sans", sans-serif;
       font-size: 22px;
       line-height: 30px;
       font-weight: 500;
       text-align: left;
   }

   .module-inner-card ul li {
       font-family: "Work Sans", sans-serif;
       font-size: 16px;
       line-height: 28px;
       font-weight: 500;
       color: #4C4C4C !important;
   }

   .module-inner-card ul {
       background: #F5F5F5;
       border-radius: 16px;
       padding: 0.2rem 1rem 0.2rem 2rem;
       ;
       margin-bottom: 0;
       text-align: left;
   }

   .module-detail-card:hover {
       transform: scaleX(0.95) scaleY(0.96);
       box-shadow: inset 0 6px 15px rgba(189, 188, 188, 0.2);
   }

   /* innovation modules  */



   .connect-video {
       /* height: 547px; */
       width: 998px;
   }

   /* dashboard-section */

   .masters-connect {
       /* padding: 1rem 0rem 7rem 0rem; */
       /* background: linear-gradient(to right, #022640, #2D5676,  #5786AB); */
       background: linear-gradient(to right, #0e212e, #1f3444);
       position: relative;

   }


   .connect-heading {
       background: linear-gradient(to right, #F5F5F5, #DFE9F0, #F4C7B1) !important;
       -webkit-background-clip: text !important;
       background-clip: text !important;
       color: black !important;
       -webkit-text-fill-color: transparent !important;
       margin-top: 65px;
   }

   .connect-para {
       color: #BDBDBD !important;
   }

   .stats-dashboard {
       display: flex;
       justify-content: center;
       align-items: center;
   }
   


   .text-side {
       flex: 1;
       padding: 1%;

       /* height: 70vh; 
       overflow-y: auto;
       scrollbar-width: none;  
       -ms-overflow-style: none;  */
   }

    /* .text-side::-webkit-scrollbar {
        display: none; 
    } */


   .text-side section {
       min-height: 60vh;
       display: flex;
       flex-direction: column;
       justify-content: start;
       /* border-bottom: 1px solid #eee; */
       /* padding: 10rem 1rem 0rem 1rem; */
       padding: 4rem 1rem 0rem 0rem;
       margin-bottom: 5rem;
   }

   .text-side h1 {
       font-size: 2.5rem;
       margin-bottom: 16px;
   }

   .text-side ul {
       margin: 16px 0;
       padding-top: 16px;
       padding-bottom: 16px;
       padding-right: 16px;
       border-radius: 16px;
       width: fit-content;
       color: white;
       cursor: pointer;
       border: 2px solid transparent;
       background: 
       linear-gradient(#1c2e3b, #1c2e3b) padding-box, 
       linear-gradient(90deg, #022640, #5786AB) border-box;
   }

   .stats-text h2 {
       font-family: "Montserrat", sans-serif;
       font-size: var(--fs-2xl);
       line-height: 58px;
       font-weight: 600;
       color: #F5F5F5;
   }

   /* .stats-text {
       width: 580px;
   } */

   .stats-text p,
   ul li {
       font-family: "Work Sans", sans-serif;
       font-size: 18px;
       line-height: 28px;
       font-weight: 500;
       /* color: #4C4C4C; */
              color: #BDBDBD !important;

   }

   .image-side {
       position: sticky;
       top: 45vh;
       /* top: 25vh; */
       /* height: 60vh; */
       display: flex;
       align-items: center;
       justify-content: center;
       border-radius: 40px;
       background: #fff;
       overflow: hidden;
       width: 710px;
       height: 410px;
   }

   .image-wrapper {
       position: relative;
       width: 100%;
       height: 100%;
   }

   .image-wrapper img {
       position: absolute;
       inset: 0;
       width: 100%;
       height: 100%;
       object-fit: cover;
       clip-path: inset(100% 0 0 0);
       transition: clip-path 0.4s ease-out;
       /* z-index: 1;
        top: 0;
        left: 0;
        opacity: 0; */
   }

   .image-wrapper img.active {
       clip-path: inset(0 0 0 0);
       /* fully revealed */
       z-index: 2;
   }

   .projects-image img {
       height: 549px;
   }

   .image-wrapper img.active {
       opacity: 1;
    }

   /* dashboard-section */

   /* news and insights section css   */

   .news-insights-section {
       padding: 7rem 0rem !important;
   }

   .news-section-wrapper{
    display: flex;
    justify-content: center;
   }
   .blogs-cards img {
       height: 320px;
       border-radius: 40px;
   }

   .blog-text {
       padding: 2px 10px;
       width: 85%;
   }

   .blog-text h5 {
       font-family: "Work Sans", sans-serif;
       font-size: 18px;
       line-height: 25px;
       font-weight: 600;
       text-align: left;
       margin-top: 10px;
   }

   .blog-text p {
       font-family: "Work Sans", sans-serif;
       font-size: 16px;
       line-height: 26px;
       font-weight: 500;
       text-align: left;
       color: #4C4C4C;
       margin: 0;
           padding-bottom: 10px;

   }

   .blogs-cards {
       padding: 15px;
       border-radius: 24px;
       background: #d9d9d954;
       overflow: hidden;
       position: relative;
       height: 490px;
       box-shadow: none;
   }

   .card-inner {
       height: 100%;
       display: flex;
       flex-direction: column;
       justify-content: flex-end;
       transition: transform 0.4s ease;
       transform: scale(1.05);
       /* slightly zoomed in initially */
       transform-origin: center;
       /* lock top + sides */
   }

   /* Visual section */
   .card-visual {
       height: 380px;
       overflow: hidden;
   }

   .card-visual img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       border-radius: 24px;
       display: block;
   }

   /* Paragraph hidden initially */
   .card-desc {
       opacity: 0;
       max-height: 0;
       overflow: hidden;
       transition: opacity 0.4s ease, max-height 0.4s ease;
   }

   .blogs-cards:hover .card-desc {
       opacity: 1;
       max-height: 70px;
       /* text reveals inside same fixed card */
   }

   .blog-tab-arrow {
       width: 50px;
       height: 50px;
       border-radius: 50%;
       background: #000000;
       display: flex;
       align-items: center;
       justify-content: center;
       transform: rotate(45deg);
       /* default rotation */
       transition: transform 0.3s ease;
       /* smooth animation on hover */
   }

   .blogs-cards:hover .blog-tab-arrow {
       transform: rotate(0deg);
       /* rotation on hover */
   }

   /* news and insights section css   */


   .testimonials-section {

       padding: 6rem 0rem;
   }


   .testimonials {
       background: #1313130D;
       height: 450px;
       /* width: 1100px !important; */
       border-radius: 50px;
       padding: 0px 2rem 1rem 2rem !important
   }

   #rotating-testimonial-word {
       display: inline-block;
       min-width: 350px;
       /* optional */
       text-align: left;
       background: linear-gradient(to right, #406C8E, #5786AB);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
       /* fallback for some browsers */
       color: transparent;
       /* fallback */
       /* keeps shorter words centered */
   }

   .testimonial-heading h2 {
       font-size: 44px;
       line-height: 58px;
       font-weight: 600;
       color: #131313;
       font-family: "Montserrat", sans-serif;
       width: 850px;
   }

   .testimonials-left img {
       height: 306px;
   }

   .testimonials-right {
       padding: 0px 0px 0px 30px;
   }

   .testimonials-right img {
       /* width: 222px; */
       height: 78px;
   }

   .testimonials h2 {
       font-size: var(--fs-xl);
       line-height: 30px;
       font-weight: 600;
       text-align: left;
   }

   .testimonials p {
       font-size: 18px;
       line-height: 28px;
       font-weight: 500;
       text-align: left;
       color: #4C4C4C;

   }




   .faq-section {
       min-height: 55rem;
       align-content: baseline;

   }

   .faq-tab-btn {
       /* background: #fff; */
       border: 2px solid #bbb;
       border-radius: 12px;
       padding: 4px 12px;
       font-weight: 500;
       font-size: 18px;
       color: #4C4C4C;
       transition: background 0.2s, color 0.2s;
       cursor: pointer;
   }

   .faq-tab-btn.active {
       background: #222;
       color: #fff;
       border-color: #222;
   }

   .faq-accordion {
       display: none;
       /* max-width: 800px; */
       margin: 0 auto;
   }

   .faq-accordion.active {
       display: block;
   }

   .faq-item {
       /* background: #fafafa; */
       border-radius: 24px;
       margin-bottom: 16px;
       box-shadow: 0px 3px 0px #0000000d;
       overflow: hidden;
   }

   .faq-question {
       width: 100%;
       text-align: left;
       background: none;
       border: none;
       outline: none;
       font-size: 1.3rem;
       font-weight: 500;
       padding: 15px 32px;
       cursor: pointer;
       display: flex;
       justify-content: space-between;
       align-items: center;
       transition: background 0.2s;
       font-family: "Work Sans", sans-serif;
   }

   .faq-question:hover {
       background: #f0f0f0;
   }

   .faq-plus {
       font-size: 2rem;
       font-weight: 700;
       color: #00000096;
       margin-left: 12px;
       transition: transform 0.2s;
   }

   .faq-item.open {
       background: #3030300d;
   }

   .faq-item.open .faq-plus {
       transform: rotate(45deg);
   }

   .faq-answer {
       font-family: "Work Sans", sans-serif;
       max-height: 0;
       overflow: hidden;
       padding: 0 32px;
       font-size: 1.1rem;
       color: #4C4C4C;
       font-weight: 400;
       line-height: 28px;
       width: 90%;
       text-align: left;
       transition:
           max-height 0.4s cubic-bezier(0.6, 0.2, 0.1, 1),
           padding 0.4s cubic-bezier(0.6, 0.2, 0.1, 1);
   }

   .faq-item.open .faq-answer {
       max-height: 500px;
       /* must be high enough for any answer */
       padding: 0 32px 15px 32px;
   }

   .faq-item.open .faq-answer {
       display: block;
   }
    .faq-answer ul li {
       color: #4C4C4C !important;
              font-weight: 400 !important;

   }



   /* contact modal css  */


   /* contact modal css  */

   swiper-container {
       width: 100%;
       height: 100%;
   }

   swiper-slide {
       text-align: center;
       font-size: 18px;
       /* background: #444; */
       display: flex;
       justify-content: center;
       align-items: center;
       margin-right: 15px !important;
   }

   swiper-slide img {
       display: block;
       width: 100%;
       height: 100%;
       object-fit: cover;
   }

   .swiper-pagination-bullet-active {
       opacity: var(--swiper-pagination-bullet-opacity, 1);
       background: #56C623;
   }


   /* master grid */

   /* master grid */

   .masters-grid-pattern-top,
   .masters-grid-pattern-bottom {
       position: absolute;
       width: 400px;
       height: 300px;
       z-index: 15;
       opacity: 1.5;
       background-size: 88.8px 88.8px;
       /* 444px / 5 squares */
       background-image:
           linear-gradient(to right, rgba(128, 128, 128, 0.5) 1px, transparent 1px),
           linear-gradient(to bottom, rgba(128, 128, 128, 0.5) 1px, transparent 1px);
       mask-image: radial-gradient(ellipse at center, white 20%, transparent 70%);
       -webkit-mask-image: radial-gradient(ellipse at center, white 20%, transparent 70%);
       overflow: hidden;
   }

   .masters-grid-pattern-top {
       top: -90;
       right: 0;
   }

   .masters-grid-pattern-bottom {
       top: -90;
       left: 0;
   }


   .masters-connect-wrapper {
        position: sticky ;
        top: 120px !important;
        z-index: 10 !important; 
        background: linear-gradient(to right, #0e212e, #1f3444) ;
        transition: all 0.4s ease-in-out; 
        padding-bottom: 75px;
    }

    @media (max-width: 1366px) {

        .connect-heading{
            margin-top: 30px !important;
        }

        .section-headings h2{
            /* font-size: var(--fs-4xl); */
        }

        .section-headings p{
            font-size: 15px;
        }

         .stats-text p, ul li {
            font-size: 13px
        }

        .masters-learn-more-btn {
            height: 32px;
            width: 127px !important;
            min-width: 127px !important;
            font-size: 12px !important;
        }

        .text-side section{
            min-height: 53vh !important;
            padding: 0 1rem 0 1rem !important;
        }

        /* .masters-grid-pattern-top,
        .masters-grid-pattern-bottom {
            width: 380px;
            height: 244px;
        } */

        .masters-connect-wrapper {
            top: 127px !important;
            padding-bottom: 30px;
        }

    }

    @media (max-width: 1024px) {
        .image-side{
            width: 440px;
            height: 340px ;
        }

        .stats-text h2{
            font-size: 18px !important;
        }

        .stats-text p, ul li {
            font-size: 12px !important;
        }

        /* .section-headings p{
            font-size: 13px;
        } */
    }


    @media only screen and (min-width: 992px) and (max-width: 1365px) {

         
        .card-box {
           bottom: 24% !important;
           right: 1.5% !important;
       }

        .grid-pattern-top {
            top: -87px;
            right: 0;
        }

        .grid-pattern-bottom {
            bottom: -85px;
            left: 0;
        }
            

        .grid-pattern-top, .grid-pattern-bottom{
            opacity: 0.3;
            width: 350px;
        } 

        .schools-left img{
            height: 350px;
        }

        .worksans{
            font-size: 16px;
        }

        .left-innovation-modules h3{
            font-size: 24px !important;
        }

        .left-innovation-modules .nav-link{
            font-size: 16px !important;
        }

        .module-inner-card h5{
            font-size: 16px;
        }

        .changing-sections {
            min-height: 335px !important;
        }

        .image-wrapper img{
            object-fit: fill !important;
        }

        .text-side section{
            min-height: 48vh !important;
        }

        .masters-grid-pattern-top,
        .masters-grid-pattern-bottom {
            width: 280px;
        }
    }


    @media only screen and (min-width: 1200px) and (max-width: 1400px) {

        .carousel-timers {
            right: 40px;
        }

        .card.expanded, .card.collapsed{
            width: 345px !important;
        }

        .card.collapsed{
            height: 70px;
        }

        .card.expanded{
            height: 335px;
        }

        .card.expanded img.card-img-top {
            height: 125px !important;
            width: 290px !important;
        }

        .card-points .point {
            font-size: 9px !important;
            height: 40px;
            padding: 4px 8px;
        }
 
        .image-side {
            top: 50vh !important;
            width: 555px !important;
            height: 360px !important;
        }

        .card.expanded .card-title{
             font-size: 14px;
        }

        .card.collapsed .collapsed-title{
            font-size: 14px;
            
        }

        .card.collapsed .collapsed-view img {
            width: 120px !important;
            height: 60px !important;
        }

        .card-box{
            width: 400px;
            height: 500px;
            right: 0% !important;
            top: 100px !important;
        }

        .faq-section {
            min-height: 50rem;
        }

        .faq-tab-btn {
           font-size: 14px ;
       }

       .faq-question{
            font-size: 1.125rem ;
       }

       .faq-answer, .faq-answer ul li {
            font-size: 1rem ;
       }

       .innovation-modules, .news-insights-section, .testimonials-section {
            padding: 3rem 0rem !important;
       }

       .section-headings p {
            font-size: 19px !important;
       }

       .schools-right p, .feature-item {
            font-size: 16px !important;
       }

       .tab-arrow {
            width: 35px;
            height: 35px;
       }

       .masters-tab-sub {
            font-size: 14px;
       }

       .small-card-feature, .card-feature {
            font-size: 13px;
       }

       .contact-model-left ul li {
            font-size: 16px !important;
       }

        .masters-connect-wrapper {
            top: 112px !important;
        }


       
    }


    
@media only screen and (min-width: 350px) and (max-width: 600px) {
    
    .counter-box h2 {
       font-size: 28px;
    }

    .section-para p {
        width: 100%;
    }

    .masters-tab-title {
        font-size: 15px;
    }

    .masters-tab-sub {
        display: none;
    }

    .masters-tab {
        height: 4rem;
        padding: 1rem 2rem 1rem 1rem;
        border-radius: 20px;
    }

    .schools-left {
        /* justify-content: flex-end !important; */
        padding-top: 145px;
    }

    .schools-left img {
        height: 250px;
        border-radius: 16px !important;
        position: absolute;
        left: 160px;
        top: -60px;
    }

    .schools-right p, .features {
        display: none;
    }

    .main-support-card {
        top: -25px;
        left: 3px;
        height: 153px;
        width: 202px;
    }

     .worksans {
        font-size: 16px;
    }

    .right-innovation-modules {
        display: none;
    }

    .masters-connect .wrapper {
        display: none !important;
    }

    .master-connect-mobile {
        display: block !important;
    }

    .connect-mobile-img-wrapper {
        width: 400px;
        height: 230px;
    }

    .connect-mobile-img-wrapper img {
        /* width: 100%; */
        height: 100%;
    }


   

    .blogs-cards {
        height: 274px !important;
    }

    .blog-text h5 {
        font-size: 10px !important;
    }

    .blog-text p {
        display: none;
    }

    .blog-tab-arrow {
       width: 35px;
       height: 35px;
    }

    #rotating-testimonial-word {
       display: flex;
       justify-content: center;
       align-items: center;
    }


    .testimonials {
        height: 630px;
        margin: 15px;
    }

    .testimonials p {
        font-size: 14px;
    }

    .faq-question {
        font-size: 1rem !important;
    }

    .faq-answer {
        font-size: 0.938rem !important;
    }

    .footer-heading h2 {
        font-size: 22px;
        /* display: flex;
        justify-content: center;
        align-items: center; */
    }

    .rotating-word {
        display: flex  !important;
        justify-content: flex-end;
        align-items: center;
    }

    .grid-pattern-top, .grid-pattern-bottom {
        display: none;
    }

    .masters-grid-pattern-top, .masters-grid-pattern-bottom {
        display: none;
    }






    
}
    