.images-wrapper {
    position: relative;
}

.images-wrapper img {
    height: 500px;
    border-radius: 40px;
}

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

.vision-slide {
    display: none;
    /* hide all by default */
    position: relative;
    text-align: center;
    /* centers inline content */

}

.vision-slide.active {
    display: block;
    /* show only active one */
}

.vision-video,
.images-wrapper {
    overflow: hidden;
    /* prevents scrollbar flash */
}

.vision-slide .support-features,
.vision-slide .small-card-feature {
    text-align: left;
}

.outro-slide {
    /* background: #000; */
    color: #1313131A;
    height: 500px;
    border-radius: 40px;
    display: none;
    /* hidden until active */
    justify-content: center;
    align-items: center;
}

.outro-slide.active {
    display: flex;
}

.outro-text h3 {
    font-size: 104px;
    animation: fadeInOut 1s ease-in-out;
    font-weight: 700;
}

.main-support-card {
    top: 100px;
    left: 0rem;
}

.small-info-card {
    right: 0rem;
    bottom: 10rem;
}

.vision-slider {
    position: relative;
    width: 100%;
    height: 500px;
    /* adjust as needed */
    overflow: hidden;
    border-radius: 20px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    animation: fadeIn 1s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Base styles for the interactive section */
.makerspace-interactive-section {
    font-family: 'Work Sans', sans-serif;
    /* Default font for the section */
    /* background-color: #f1f5f9; */
    /* padding: 3rem 1rem; */
}

.interactive-container {
    /* max-width: 1680px; */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Header styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Styles for the upper heading */
.main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 44px;
    line-height: 58px;
    color: #131313;
}

/* Styles for the text below the heading */
.main-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #131313;
}

/* Content card styles */
.content-card {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 2rem;
}

@media (min-width: 768px) {
    .content-card {
        /* padding: 3rem; */
    }
}

.content-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 7rem; */
}

.content-text-column {
    width: 686px;
    padding: 0 80px 0 40px;
    gap: 24px;
    transition: opacity 0.4s ease-in-out;
    min-height: 235px;
}



/* .content-text-column,
.content-image-column {
    flex: 1 1 100%;
} */

/* @media (min-width: 992px) {
    .content-text-column {
       flex-basis: 40%;
    }
    .content-image-column {
       flex-basis: 60%;
    }
} */


/* Styles for the side content heading */
.content-title-style {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #131313;
}

/* Styles for the side content paragraph */
.content-description-style {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
    margin-top: 1rem;
    color: #495057;
    width: 90%;
}

/* Styles for the image */
.main-image-style {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 36px;
    transition: opacity 0.4s ease-in-out;
}

.is-transparent {
    opacity: 0.3;
}



/* Thumbnail Gallery Styles */

.thumbnail-gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 1rem; */
    margin-top: 1rem;
}

.thumbnail-gallery-style {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    /* margin-top: 3rem; */
    /* width: 670px; */
    /* height: 106px; */
    opacity: 1;
    border-radius: 24px;
    border-width: 4px;
    background-color: #ffffff;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.thumbnail-container {
    position: relative;
    cursor: pointer;
    padding: 10px;
    background-color: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.thumbnail-container.active-thumbnail {
    opacity: 0.2;
    background-color: #f7f7f7;
}

.thumbnail-container img {
    width: 8.06rem;
    height: 4.63rem;
    object-fit: cover;
    border-radius: 12px;
}

.thumbnail-container.active-thumbnail img {
    width: 113px;
    height: 58px;
}

/* Vertical line between thumbnails */
.thumbnail-container:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    background-color: #d1d5db;
}




/* Creates the HORIZONTAL gradient underline, initially hidden */
.thumbnail-container::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #022640, #5786AB);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

/* Expands the underline to full width on hover */
.thumbnail-container:hover::after {
    transform: scaleX(1);
}


/*
===================================
-- ADVANTAGE SECTION STYLES --
===================================
*/

.advantage-section {
    /* background-color: #ffffff;  */
    padding: 0rem 1rem;
    margin-bottom: 7rem;
}

.advantage-grid {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 500px;

}

/* Left Column: Navigation */
.advantage-nav {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 540px;
}

.advantage-nav-item {
    position: relative;
    padding-left: 1.5rem;
    cursor: pointer;
    transition: all 0.9s ease;
}

.advantage-item-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #131313;
    font-family: Work Sans;
    line-height: 30px;

}

.advantage-item-desc {
    font-family: 'Work Sans';
    color: #4C4C4C;
    max-height: 0;
    opacity: 0.2;
    overflow: hidden;
    transition:  0.8s ease, opacity 0.8s ease;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;

}

/* Active State Styles */
/* .advantage-nav-item.active .advantage-item-title {
    background: linear-gradient(to right, #022640, #5786AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */

/* .advantage-nav-item.active .advantage-item-desc {
    max-height: 200px;
    opacity: 1;
} */


.advantage-nav-item.active::before {
    height: 100px;
}

.advantage-image-wrapper {
    flex: 2;
}

.advantage-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    display: block;
    transition: opacity 0.9s ease-in-out;
}


/* Responsive adjustments for the new section */
/* @media (max-width: 992px) {
    .advantage-grid {
        flex-direction: column;
    }
} */


/* Active State Styles */
.advantage-nav-item.active .advantage-item-title {
    background: linear-gradient(to right, #022640, #5786AB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.advantage-nav-item.active .advantage-item-desc {
    max-height: 200px;
    opacity: 1;
}

.advantage-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 70%;
    background-color: #e2e8f0;
    border-radius: 2px;
    transition: height 0.3s ease;
}


.advantage-nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    /* height: 0;  */
    background: linear-gradient(to right, #022640, #5786AB) !important;
    border-radius: 2px;
}

.advantage-nav-item.active::after {
    animation: fill-bar 7s linear forwards;
    background: linear-gradient(to right, #022640, #5786AB);
}


@keyframes fill-bar {
    from {
        height: 0%;
    }

    to {
        height: 70%;
    }
}


/* interdisciplinary module */

.interdisciplinary-module {
    background: linear-gradient(to right, #0e212e, #1f3444);
}

.interdisciplinary-module .inner-section-headings h2 {
    background: linear-gradient(to right, #F5F5F5, #F5F5F5, #F5F5F5) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: black !important;
    -webkit-text-fill-color: transparent !important;
}


.interdisciplinary-module .inner-section-headings p {
    color: #F5F5F5;
}

.module-tabs {
    margin-bottom: 40px;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}



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

.module-tabs {
    position: relative;
    display: flex;
    align-items: center;
}

.scroll-btn {
    width: 35px;
    height: 35px;
    z-index: 2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-btn {
    margin-right: 15px;
}

.right-btn {
    margin-left: 15px;
}

#pills-tab {
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
}

#pills-tab::-webkit-scrollbar {
    display: none; /* hide scrollbar */
}


.module-tabs .nav-link {
    /* background-color: #F5F5F5; */
    color: #BDBDBD;
    border: 1px solid #BDBDBD;
    border-radius: 16px;
    margin-right: 10px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: var(--fs-md);
    font-family: "work sans", sans-serif;
}

.nav-link.active {
    background-color: #F5F5F5;
    color: #131313;
}

.module-content{
    position: relative;
}

.module-content .interdisciplinary-card {
    cursor: pointer;
    border-radius: 35px;
    padding: 20px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid transparent;
    background: linear-gradient(#1c2e3b, #1c2e3b) padding-box,
        linear-gradient(90deg, #022640, #5786AB) border-box;

}

.module-content .card-img-left {
    /* background-color: #2d3748; */
    border-radius: 40px;
    /* padding: 20px; */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: transparent;
    position: relative;

}

.module-content .card-img-left img {
    border-radius: 40px;
    object-fit: cover;
    width: 402px;
    height: 450px;
    opacity: 0.7;
}

.card-body-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* position: relative; */
}

.interdisciplinary-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0px;
    font-family: "Work Sans", sans-serif;
    font-size: 20px;
    line-height: 36px;
    font-weight: 600;
    color: #F5F5F5 !important;
}

.card-img-left .main-card-title {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 26px;
    line-height: 40px;
    letter-spacing: 0px;
    vertical-align: bottom;
    color: #F5F5F5;
}

.interdisciplinary-card p {
    flex-grow: 1;
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    color: #BDBDBD !important;
    width: 85%;
    margin-bottom: 0;
}

.image-content {
    position: absolute;
    bottom: 60px;
    /* left: 40px; */
    padding: 10px 25px;
}

.card-img-left .main-card-text {
    font-family: "Work Sans";
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0px;
    vertical-align: bottom;
    color: #F5F5F5;
}

.interdisciplinary-card .add-icon {
    background-color: #F5F5F5;
    color: #131313;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

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

.card .add-icon:hover {
    /* background-color: #718096; */
}

.tab-pane {
    /* display: none; */
}

.tab-pane.active {
    /* display: block; */
}

.tab-pane.fade {
    opacity: 0.1;
    /* transform: translateY(15px);  */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    /* Smoother, slightly longer transition */
}

.tab-pane.fade.show {
    opacity: 1;
    /* transform: translateY(0);  */
}





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

/* Section Wrapper */
.industry-section {
    /* width: 100%;
    margin: 40px auto;
    padding: 40px 20px; */
    display: flex;
    justify-content: center;

}

/* Headings */


.inner-section-headings h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.inner-section-headings p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 8px;
}

/* Grid for Software Categories */
.software-grid {
    padding: 0 15px;
    /* Add some padding to align with container */
}


/* Individual Category Box */
.software-category {
    position: relative;
    /* Set positioning context for the heading */
    /* max-width: fit-content; */
    border: 2px dashed #BDBDBD;
    border-radius: 30px;
    /* padding: 24px;  */
    text-align: center;
    gap: 56px;
}


.software-category h3 {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    /* center horizontally */

    background-color: #f5f5f5;
    /* applies only behind text */
    display: inline-block;
    /* shrink to text size */
    padding: 0 10px;
    margin: 0;

    font-size: 18px;
    color: #4C4C4C;
    font-weight: 500;
    line-height: 30px;
    white-space: nowrap;
    /* prevents text breaking into 2 lines */
}


/* Container for Icons */
/* Container */
.icons-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* gap: 18px; */
    padding: 35px 0px;
    /* margin-top: 1rem; */
}

/* Icon */
.icon-item img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Label */
.icon-item {
    position: relative;
    /* so label can position inside */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.icon-label {
    position: absolute;
    bottom: -5px;
    /* adjust upward/downward */
    font-size: 16px;
    font-family: "work sans", sans-serif;
    font-weight: 500;
    color: #4C4C4C;
    background: #F5F5F5;
    opacity: 0;
    transform: translateY(5px) scale(0.95);
    transition: all 0.3s ease;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
    /* if you want single line always */
}

.icon-item span {

    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
    /* shadow below text */
    padding: 2px 6px;
    border-radius: 4px;
    background: #F5F5F5;
    /* white background so shadow is visible */
}

/* Hover effect: shrink icon, reveal label */
.icon-item:hover img {
    transform: scale(0.8);
    /* shrink icon */
}

.icon-item:hover .icon-label {
    opacity: 1;
    transform: translateY(0) scale(1);
    /* label grows visible */
}


/* experience-connect-section */
.experience-connect-grid {
    background-color: #FC3E331A;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 56px 150px 8px 180px; */
    padding: 30px;
}

.experience-image-wrapper {
    /* margin: 55px 60px 45px 120px; */
    /* padding: 2rem; */
}

.experience-image-wrapper img {
    object-fit: contain;
    border-radius: 24px;
    width: 80%;

}

.experience-content-wrapper {
    padding: 1rem 3rem;
    position: relative;
}

.experience-content-wrapper h3 {
    color: #131313;
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
    font-family: 'Work Sans';
}

.experience-content-wrapper p {
    color: #4C4C4C;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    font-family: 'Work Sans';
}

.experience-tab-container {
    justify-content: space-between;
    display: flex;
}

.experience-tab-content {
    /* margin-right: 24px ;
    margin-bottom: 24px; */
    border-radius: 24px;
    padding: 24px;
    border: #1313130D;
    /* margin: 24px; */
    background-color: #1313130D;
    width: 245px;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 1rem;
    /* min-height: 104px; */
}

.experience-tab-content .tab-point {
    font-size: 14px;
    color: #4C4C4C;
    line-height: 28px;
    font-weight: 500;
    font-family: 'Work Sans';
    margin-left: 8px;

}

.outer-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 0;
}

.outer-tab button {
    color: #4C4C4C;
    font-family: 'Work Sans';
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    line-height: 28px;
    border: 1px solid #4C4C4C;
    padding: 8px 16px;
    border-radius: 16px;
}

.outer-tab button.active {
    background-color: #131313;
    color: #F5F5F5;
    transition: all 0.3s ease;
}


/* .outer-tab span.active {
    background-color: #FC3E331A;
    width: 101px;
    height: 88px;
    border-radius: 0 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
} */

.experience-connect-section {
    --active-tab-bg-color: #f6e2e1;
}

.outer-tab {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    margin-top: -5px;
}

.tab-button-container.active {
    position: relative;
    background-color: var(--active-tab-bg-color);
    padding: 10px;
    border-radius: 0 0 18px 18px;
}

.tab-button-container.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 16px;
    box-shadow: 0 -10px 0 0 var(--active-tab-bg-color);
}

.tab-button-container.active::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 16px;
    box-shadow: 0 -10px 0 0 var(--active-tab-bg-color);
}

/* pricing section */

.starter-set {
    border: 2px solid #e3e3e3;
    border-radius: 40px;
    padding: 20px 24px;
    margin-right: 18px;
    position: relative;
}

.core-set {
    border: 2px solid transparent;
    border-radius: 40px;
    background:
        linear-gradient(#f5f5f5, #f5f5f5) padding-box,
        linear-gradient(to right, #022640, #5786AB) border-box;
}

.starter-set h3 {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f5f5f5;
    display: inline-block;
    padding: 0 10px;
    margin: 0;
    /* font-size: 18px; */
    font-size: var(--fs-md);
    color: #4C4C4C;
    font-weight: 500;
    line-height: 28px;
    white-space: nowrap;
}

.core-set {
    position: relative;
    border: 2px solid transparent;
    border-radius: 40px;
    background:
        linear-gradient(#f5f5f5, #f5f5f5) padding-box,
        linear-gradient(to right, #022640, #5786AB) border-box;
}

.core-set::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 20px;
    background-color: #f5f5f5;
    z-index: 1;
}

.core-set h3 {
    z-index: 2;
    background: linear-gradient(to right, #022640, #5786AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.starter-set h2 {
    color: #131313;
    font-family: "montserrat", sans-serif;
    /* font-size: 32px; */
    font-size: var(--fs-2xl);
    line-height: 40px;
    font-weight: 600;
    text-align: center;
}

.starter-set p,
.starter-set ul li {
    color: #4C4C4C;
    font-family: "work sans", sans-serif;
    /* font-size: 18px; */
    font-size: var(--fs-md);
    line-height: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

.starter-set-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.starter-set-btn-container button {
    background-color: #131313;
    color: #F5F5F5;
    /* font-size: 18px; */
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 28px;
    border-radius: 12px;
    padding: 5px 30px;
    border: none;
    outline: none;
    cursor: pointer;

}

/* Includes Section */
.includes-section {
    background-color: #eaeaea;
    border-radius: 24px;
    padding: 1.5rem;
    text-align: left;
}

.includes-section p {
    font-family: 'Work Sans', sans-serif;
    /* font-size: 20px; */
    font-size: var(--fs-lg);
    line-height: 36px;
    font-weight: 600;
    color: #4C4C4C;
}

.include-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.include-tab-box {
    background-color: #F5F5F5;
    border-radius: 16px;
    padding: 6px 10px;
    /* font-size: 18px; */
    display: flex;
    align-items: center;
    /* gap: 0.5rem; */
    /* color: #4C4C4C; */
    flex-basis: calc(50% - 0.25rem);
}

.include-tab-box span {
    color: #4C4C4C;
    /* font-size: 18px; */
    font-size: var(--fs-sm);
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
    line-height: 28px;

}

.include-tab-box span img {
    width: 20px;
    height: 20px;
}



/* testimonials section css  */

.testimonial-text {
    /* background: #1313130D; */
    background: #1313131c;
}

.swiper-slide p {
    font-family: "montserrat", sans-serif;
    font-weight: 600;
    font-size: var(--fs-2xl);
    line-height: 40px;
    color: #131313
}

.swiper-slide-subhead {
    font-family: "work sans", sans-serif;
    font-weight: 500;
    font-size: var(--fs-md);
    line-height: 30px;
    color: #4C4C4C;
    margin-top: 1rem;
}

.slide-wrapper {
    padding: 1rem 7rem;
}

.custom-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #111;
    /* black circle */
    color: #fff;
    /* white arrow text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Positioning */
.swiper-button-prev {
    left: 15px;
}

.swiper-button-next {
    right: 15px;
}

.swiper-button-prev,
.swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
}

/* Hover effect */
.custom-arrow:hover {
    background: #4C4C4C;
    color: #111;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
    /* hides default arrows */
}

/* magic ai section  */
.advantage-media {
    display: none;
    overflow-x: hidden;
    overflow-y: hidden;
}

.advantage-media.active {
    display: block;
    position: relative;
}

.advantage-video {
    width: 80%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.small-info-card,
.main-support-card {
    margin-top: 1rem;
}

.magic-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 36px;
    color: #4C4C4C;
}

.small-magic-support-card {
    right: 0;
    bottom: unset;
    top: 10rem;

}

.magic-support-card {
    right: 0rem;
    left: unset;
    top: 15rem;

}

.magic-nav-item::before {
    /* content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px; */
    height: 100%;
    /* background-color: #e2e8f0;
    border-radius: 2px;
    transition: height 0.3s ease; */
}

.magic-nav-item.active::before {
    height: 100%;
}

.magic-nav-item.active::after {
    animation: fill-bar 5s linear forwards;
    background: linear-gradient(to right, #022640, #5786AB);
}


@keyframes fill-bar {
    from {
        height: 0%;
    }

    to {
        height: 100%;
    }
}



/* beyond classrooms  */
.classroom-stats {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.pink-classroom-card {
    background: #FC3E331A;
    padding: 10px;
    border-radius: 40px;
    border: none;
}

.green-classroom-card {
    border: none;
    background: #92E56C33;
    padding: 10px;
    border-radius: 40px;

}

.blue-classroom-card {
    border: none;
    background: #5679FD1A;
    padding: 10px;
    border-radius: 40px;

}

.grey-classroom-card {
    border: none;
    background: #1313130D;
    padding: 10px;
    border-radius: 40px;

}

.classroom-stats h2 {
    font-family: "montserrat", sans-serif;
    font-weight: 600;
    font-size: var(--fs-3xl);
    line-height: 58px;
    background: linear-gradient(to right, #022640, #5786AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: black;
}

.classroom-stats p {
    font-family: "work sans", sans-serif;
    font-weight: 500;
    font-size: var(--fs-md);
    line-height: 28px;
    width: 70%;
}

.classroom-cards img {
    /* padding: 10px; */
    border-radius: 40px;
    height: 170px;
    object-fit: cover;
}

.classroom-card-body {
    padding: 1.5rem 0.8rem;
    ;
}

.classroom-card-body h5 {
    font-family: "work sans", sans-serif;
    font-size: var(--fs-xl);
    font-weight: 500;
    line-height: 30px;
    color: #131313;
}

.classroom-card-body p {
    font-family: "work sans", sans-serif;
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 28px;
    color: #4C4C4C;
    padding-right: 0;
}

.classroom-plus-icon {
    position: absolute;
    overflow: visible;
    bottom: 2px;
    right: -5px;
}

.classroom-plus-icon span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Outer card wrapper: shrink on hover without affecting neighbors */
.classroom-cards {
  transition: transform 0.3s ease;
  transform-origin: center center; /* shrink from center */
}

.col-md-3:hover .classroom-cards {
  transform: scale(0.96); /* ~4% shrink */
}

/* Inner card: add padding, bg, border-radius smoothly */
.inner-classroom-card {
  box-sizing: border-box; /* padding won't expand outer card */
  transition: padding 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}

.col-md-3:hover .inner-classroom-card {
  padding: 3px; /* small padding increase */
  background: #F5F5F599;
  border-radius: 40px;
}


.col-md-3:hover .inner-classroom-card img {
  padding: 3px; /* adds breathing space */
  border-radius: 40px;}

/* Plus icon rotation */
.classroom-plus-icon i {
  transition: transform 0.3s ease;
  display: inline-block;
}

.col-md-3:hover .classroom-plus-icon i {
  transform: rotate(-45deg);
}

/* Modal overlay */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(25, 27, 31, 0.45); /* semi-transparent overlay */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

/* Modal Content Box */
.custom-modal .modal-content {
    background: #fff;
    border-radius: 28px;
    max-width: 60%;
    width: 90%;
    margin: auto;
    padding: 80px 38px;
    box-shadow: 0 18px 36px rgba(48, 51, 55, 0.18), 0 1.5px 6px rgba(75, 93, 104, 0.08);
    position: relative;
    text-align: center;
    animation: modalFadeIn 0.33s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Fade-in animation */
@keyframes modalFadeIn {
    from { transform: translateY(28px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Modal close button */
.custom-modal .modal-close {
    position: absolute;
    top: 28px;
    right: 38px;
    font-size: 1.8rem;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}
.custom-modal .modal-close:hover {
    color: #FC3E33;
}

/* Modal title and description */
.custom-modal #modal-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1B2128;
}
.custom-modal #modal-description {
    font-family: "Work Sans", sans-serif;
    font-size: 1.12rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Modal sub-cards */
.custom-modal .modal-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    justify-content: center;
    margin-top: 12px;
}
.custom-modal .modal-card {
    flex: 1 1 146px;
    background: #F6F7FA;
    border-radius: 20px;
    padding: 20px 15px;
    box-shadow: 0px 4px 14px rgba(64,74,93,.09);
    text-align: center;
    font-family: "Work Sans", sans-serif;
}
.custom-modal .modal-card h5 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C313A;
}
.custom-modal .modal-card p {
    font-size: 18px;
    font-weight: 500;
    color: #4C4C4C;
}

/* Responsive Modal */
@media (max-width: 600px) {
    .custom-modal .modal-content {
        padding: 22px 8px;
        max-width: 98vw;
    }
    .custom-modal .modal-cards {
        flex-direction: column;
        gap: 16px;
    }
}
