.hero-section {
    height: 80vh;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 0;
}

/* When shrinking */
.hero-section.shrink {
    width: 90%;
    border-radius: 0 0 80px 80px;
    margin: 0 auto;
}

/* Main Background Image */
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Overlay Image */
.hero-gray-overlay {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1.3;
    /* adjust here */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Text Content */
.hero-content {
    position: relative;
    z-index: 3;
    top: 30%;
    transform: translateY(-50%);
    color: #212529;
    max-width: 650px;
    margin: auto;
    padding: 0 15px;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
}

.main-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #000 !important;
}

.join-btn {
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 65vh;
    }

    .main-title {
        font-size: 2rem;
    }

    .main-subtitle {
        font-size: 1rem;
    }
}


/* ---------------------------
   FIX OVERLAPPING ON MOBILE
---------------------------- */
@media (max-width: 768px) {
    .advantage-media {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* VIDEO becomes responsive */
    .advantage-video {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px;
    }

    /* Remove absolute position from small card */
    .small-info-card {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        opacity: 1 !important; /* show normally */
        transform: none !important;
        width: 100%;
    }

    /* Remove absolute from main card */
    .main-support-card {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin-top: 1rem;
        width: 100%;
    }
}





/* advantage card  */

.feature-card {
    background-color: #1313130D;
    border-radius: 40px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    text-align: center;
}



.feature-icon {
    width: 18px;
    height: 20px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-card {
        padding: 30px;
        border-radius: 30px;
    }
    .advantage-image {
     display: none;
}
}

@media (max-width: 576px) {
    .feature-card {
        padding: 25px;
        border-radius: 24px;
    }
}

.images-wrapper {
    position: relative;
}

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

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

.vision-slide {
    display: none;
    position: relative;
    text-align: center;
}

.vision-slide.active {
    display: block;
}

.vision-video,
.images-wrapper {
    overflow: hidden;
}

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

.outro-slide {
    color: #1313131A;
    height: 500px;
    border-radius: 40px;
    display: none;
    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;
    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;
}

.interactive-container {
    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;
}

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

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


/* 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;
    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 {

    padding: 0rem 1rem;
    margin-bottom: 7rem;
}




.advantage-nav {
    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;

}

.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;
}


.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;
    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%;
    }
} */


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



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

}

/* Background setup */
.advantage-bg {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 540px;
}

.advantage-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    opacity: 0.9;
    transition: opacity 0.9s ease-in-out;
    z-index: 1;
}

/* .advantage-overlay {
    z-index: 2;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 35%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 24px;
} */

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

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

/* Active animation bar */
.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;
    z-index: 0;
}

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

.advantage-nav-item.active::after {
    animation: fill-bar 7s linear forwards;
}

/* Text styles */
.advantage-item-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    color: #131313;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

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

/* Active states */
.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;
}

/* Animation */
@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;
}

.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 {
    border-radius: 40px;
    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;
}

.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: 87%;
    margin-bottom: 0;
}

.image-content {
    position: absolute;
    bottom: 60px;
    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-radius: 24px;
    position: relative;
    min-height: 34rem;
}



.tab-pane.fade {
    opacity: 0.1;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.tab-pane.fade.show {
    opacity: 1;
}





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

/* Section Wrapper */
.industry-section {
    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;
}


/* Individual Category Box */
.software-category {
    position: relative;
    border: 2px dashed #BDBDBD;
    border-radius: 30px;
    text-align: center;
    gap: 56px;
}


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

    background-color: #f5f5f5;
    display: inline-block;
    padding: 0 10px;
    margin: 0;

    font-size: 18px;
    color: #4C4C4C;
    font-weight: 500;
    line-height: 30px;
    white-space: nowrap;
}


/* Container for Icons */
/* Container */
.icons-container {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 35px 0px;
}

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

/* Label */
.icon-item {
    position: relative;
    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;
}

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

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


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

.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 {
    border-radius: 24px;
    padding: 24px;
    border: #1313130D;
    background-color: #1313130D;
    width: 205px;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 1rem;
}

.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;
}

.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;
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* .starter-set-arena {
    border: 2px solid #e3e3e3;
    border-radius: 40px;
    padding: 20px 24px;
    margin-right: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height:300;
}
.starter-set-arena > .row {
    flex: 1;
    display: flex;
}

.starter-set-arena .col-12 {
    display: flex;
    flex-direction: column;
    height: 100%;
} */
/* Make row stretch */
.starter-set > .row {
    flex: 1;
    display: flex;
}

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

    display: flex;
    flex-direction: column;
             /* important */
        /* SAME HEIGHT FOR ALL */
}

/* stretch row */
.starter-set-arena > .row {
    flex: 1;
}

/* main column */
.starter-set-arena .col-12 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* content does not stretch */
.starter-set-arena h2,
.starter-set-arena ul {
    flex: 0;
}

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

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

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

.core-set-arena 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-arena h2 {
    color: #131313;
    font-family: "montserrat", sans-serif;
    font-size: var(--fs-2xl);
    line-height: 40px;
    font-weight: 600;
    text-align: center;
}

.starter-set-arena ul {
    margin-bottom: 0;
}

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


.starter-set-btn-container-arena {
    margin-top: auto;       /* pushes button down */
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

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

}

/* THIS is the missing piece */
.starter-set .col-12 {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.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: 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: 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: var(--fs-md);
    line-height: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

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

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

}
/* .starter-set-btn-container-arena {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 20px 0px;
    
} */



/* Includes Section */
.includes-section {
    background-color: #eaeaea;
    border-radius: 24px;
    padding: 20px 9px;
    text-align: left;
    min-height: 300px;     /* same for all */
    max-height: 300px;     /* force equality */
    overflow: hidden;     /* clean look */
}

.includes-section p {
    font-family: 'Work Sans', sans-serif;
    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 5px;
    display: flex;
    align-items: center;
    width: 150px;
    height: 60px;
    /* flex-basis: calc(50% - 0.25rem); */
}

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

}

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




/* testimonials section css  */

.testimonial-text {
    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;
    color: #fff;
    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;
}

/* 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: 8rem;

}

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

}

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

.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;
    white-space: nowrap;
}

.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 {
    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: 25px;
    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;
    min-height: 480px;
    /* 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;
    }
    .advantage-nav {
        width: 100% !important;
    }
}

@media only screen and (min-width: 350px) and (max-width: 600px) {
    .section-wrapper {
        margin-bottom: 1rem;
    }

    .content-section {
        margin-bottom: 1rem;
    }

    .section-headings p {
        line-height: 20px;
    }

    .images-wrapper img {
        object-fit: cover;
        width: 90%;
    }

    .card-feature {
        margin: 0.2rem 0;
        padding: 3px 12px;
        font-size: 12px;
    }

    .main-support-card-wrap {
        width: 180px;
        padding: 8px 8px;
        border-radius: 8px;
    }

    .main-support-card {
        bottom: 10px;
        left: 1rem;
        top: unset;
    }

    .small-card-feature {

        padding: 4px 4px;
        font-size: 12px;
    }

    .small-info-card {
        right: 1rem;
        top: 0rem;
        bottom: unset;
        padding: 6px 6px;
    }

    .outro-text h3 {
        font-size: 60px;
    }

    .content-grid {
        flex-direction: column;
    }

    .content-text-column {
        width: 100%;
        padding: 0;
        min-height: auto;
    }


    .content-title-style {
        font-size: 18px;
        line-height: 25px;
    }

    .content-description-style {
        line-height: 20px;
    }

    .main-image-style {
        height: 300px;
    }

    .thumbnail-container img {
        width: 60px;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }


    .thumbnail-container {
        padding: 5px;
        border-radius: 15px;
    }

    .thumbnail-gallery-style {
        gap: 8px;
        opacity: 1;
        border-radius: 15px;
    }

    .thumbnail-container.active-thumbnail img {
        width: 80px;
        height: auto;
    }

    .advantage-grid {
        flex-direction: column;
    }




    .software-grid {
        padding: 0 0px;
    }

    .icons-container {
        padding: 15px 0px;
    }

    .icon-item img {
        height: 40px;
        width: 40px;
    }

    .experience-connect-grid {
        flex-direction: column;
        row-gap: 15px ;
    }

    .experience-content-wrapper {
        padding: 1rem 1rem;
        width: 100%;
        padding: 0;
    }

    .experience-tab-content {
        border-radius: 15px;
        padding: 10px;
        width: 45%;
    }

    .experience-tab-content .tab-point {
        font-size: 12px;
        color: #4C4C4C;
        line-height: 15px;
        font-weight: 400;
        font-family: 'Work Sans';
        margin-left: 15px;
    }

    .experience-image-wrapper {
        width: 100%;
    }

    .experience-image-wrapper img {
        width: 100%;
    }

    .outer-tab button {
        font-size: 14px;
        line-height: 20px;
        border: 1px solid #4C4C4C;
        padding: 5px 15px;
        border-radius: 12px;
    }


    /* module-set  */
    .cards-wrapper .col-9 {
        flex-direction: column;
        width: 90%;

    }

    .starter-set {
        border: 2px solid #e3e3e3;
        border-radius: 40px;
        padding: 15px 10px;
        margin-right: 0px;
        position: relative;
        width: 100%;
        margin-bottom: 2rem;

    }

    .starter-set p,
    .starter-set ul li {
        line-height: 20px;
        margin-bottom: 6px;
    }

    .starter-set-btn-container {
        padding: 20px 20px;
    }

    .starter-set-btn-container button {
        line-height: 24px;
        border-radius: 12px;
        padding: 8px 30px;
    }

    .include-tab-box {
        background-color: #F5F5F5;
        border-radius: 10px;
        padding: 4px 5px;
    }

    .include-tab-box span {
        line-height: 20px;
        margin-left: 4px;
    }

    /* module-set  */

    /* classroom section  */

    .classrooms-section {
        padding: 0;
    }

    .classrooms-section .col-9 {
        width: 90%;
    }

    .classroom-card-body h5 {
        line-height: 15px;
    }

    .classroom-card-body p {
        line-height: 20px;
    }

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

    /* classroom section  */


    /* testimonial section  */
    .testimonial-section .col-9 {
        width: 90%;
    }

    .slide-wrapper {
        padding: 0rem 3rem !important;
    }

    .swiper-slide p {
        font-family: "montserrat", sans-serif !important;
        font-weight: 500 !important;
        line-height: 28px !important;
        color: #131313 !important;
        font-size: 18px !important;
    }

    .swiper-button-prev {
        left: 0px !important;
    }

    .swiper-button-next {
        right: 0px !important;
    }

    .custom-arrow {
        width: 40px !important; 
        height: 40px !important;
    }

    /* testimonial section  */
}