.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: 20%;
    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;
    }
}


/* Section */


.community-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 100px 40px;
  background: #1313130D;
  border-radius: 32px;
  min-height: 430px;
}

/* Center */
.center-content {
  position: absolute;
  inset: 0;
  margin: auto;
  height: fit-content;
  text-align: center;
}

.center-content h2 {
  font-size: 25px;
  margin: 0;
  font-weight: 700;
}

.center-content p {
  margin-top: 10px;
  font-size: 15px;
  color: #555;
}

/* Person */
.person {
  position: absolute;
  text-align: center;
}

.person img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.person span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* Top row */
.p1 { top: 40px; left: 80px; }
.p2 { top: 40px; left: 40%; transform: translateX(-50%); }
.p3 { top: 40px; right: 80px; }

/* Middle row */
.p4 { top: 50%; left: 20%; transform: translateY(-50%); }
.p5 { top: 50%; right: 20%; transform: translateY(-50%); }

/* Bottom row */
.p6 { bottom: 40px; left: 80px; }
.p7 { bottom: 40px; left: 40%; transform: translateX(-50%); }
.p8 { bottom: 40px; left: 65%; transform: translateX(-50%); }
.p9 { bottom: 40px; right: 10%; }

/* Extra top-middle */
.p10 { top: 40px; right: 30%; }

/* Tablet */
@media (max-width: 992px) {
  .person img {
    width: 60px;
    height: 60px;
  }

  .center-content h2 {
    font-size: 36px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .community-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    min-height: auto;
  }

  .center-content {
    position: static;
    width: 100%;
    margin-bottom: 24px;
  }

  .person {
    position: static;
    margin: 14px;
  }
}






      /* Grid */
        .people-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            padding: 24px;
        }

        /* Staggered effect */
        .people-grid.staggered .person-card:nth-child(even) {
            transform: translateY(10%);
        }

        /* Card */
        .person-card {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            aspect-ratio: 3 / 4;
            background: #eee;
            transition: transform 0.3s ease;
        }

        /* Image */
        .person-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Status badge */
        .status {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 999px;
            background: white;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .person-card.live .status::before {
            content: "";
            width: 6px;
            height: 6px;
            background: red;
            border-radius: 50%;
        }

        .person-card.away .status::before {
            content: "";
            width: 6px;
            height: 6px;
            background: blue;
            border-radius: 50%;
        }

        /* Info overlay */
        .info {
            position: absolute;
            bottom: 12px;
            left: 12px;
            right: 12px;
            background: rgba(255, 255, 255, 0.85);
            border-radius: 16px;
            padding: 12px 14px;
        }

        .info h4 {
            margin: 0;
            font-size: 14px;
            font-weight: 600;
        }

        .info p {
            margin: 2px 0 0;
            font-size: 12px;
            color: #555;
        }

        /* Tablet */
        @media (max-width: 1024px) {
            .people-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Mobile */
        @media (max-width: 600px) {
            .people-grid {
                grid-template-columns: 1fr;
            }

            /* Disable stagger on mobile */
            .people-grid.staggered .person-card {
                transform: none;
            }
        } 
        /* Basic Card Styling */
.team-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    height: 28.125rem;
    /* 450px */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.team-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Overlay text */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem 2rem;
    background: #D9D9D9;
    color: #4C4C4C;
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-family: "work-sans", sans-serif;
    border-radius: 1rem;
}

/* Hover zoom + overlay */
.team-card:hover img {
    transform: scale(1.05);
}

.team-card:hover .card-overlay {
    opacity: 0.8;
}

/* Card body (bottom info) */
.vision-card-body {
    padding: 0.6rem;
    position: absolute;
    bottom: 0;
    background-color: #F5F5F599;
    text-align: left;
    font-family: "work-sans", sans-serif;
    margin: 1rem;
    border-radius: 24px;
    width: 90%;
}

.vision-card-body h5 {
    font-weight: 600;
    font-size: var(--fs-md);
    line-height: 38px;
    background: #F5F5F5;
    padding: 1px 10px;
    border-radius: 16px;
    margin: 0;
    width: fit-content;
}

.vision-card-body p {
    font-weight: 500;
    font-size: var(--fs-sm);
    line-height: 28px;
    color: #131313;
    padding: 2px 5px;
    margin: 0;
}

/* Scroll animation base */
.scroll-animate {
    transition: transform 0.3s ease-out;
    transform: translateY(0);
}

/* Evens start lower (50px down) */
.scroll-animate:nth-child(even) {
    transform: translateY(50px);
}

/* Extra parallax helpers */
.card-animate {
    transition: transform 0.8s ease-out;
}

.card-animate.up {
    transform: translateY(-20px);
}

.card-animate.down {
    transform: translateY(70px);
}

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

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

}

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


@media screen and (max-width: 770px) {
  .advantage-nav {
    width: 100%;
  }
  .advantage-image-wrapper{
    width: 100%;
  }
}


.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: 400;
    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: 400;
    font-size: var(--fs-md);
    line-height: 25px;

}

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

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



/* 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: 210px;
    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);
}


 .main-image-container img {
        width: 100%;
        height: 360px;
        object-fit: cover;
        border-radius: 14px;
        transition: 0.1s ease-in-out;
    }

    .option-box {
        align-items: center;
        height: 180px;
        padding: 18px;
        background: #f1f1f1;
        border-radius: 40px;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        transition: 0.1s;
        user-select: none;
        border: 2px solid transparent;
    }

    /* Hover effect */
    .option-box:hover {
        background: #1313130D;
        color: #000;
    }

    /* Active State */
    .option-box.active {
        background: #1313130D;
        color: #000;

        transform: translateY(-3px);
    }


    .main-image-container-bg img {
        width: 100%;
        object-fit: cover;
        border-radius: 14px;
        transition: 0.1s ease-in-out;
    }

    .option-box-bg {
        align-items: center; 
        padding: 4px 5px;
        /* background: #f1f1f1; */
        border-radius: 10px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
        transition: 0.1s;
        user-select: none;
        border: 2px solid transparent;
        margin-bottom: 5px;
    }

    /* Hover effect */
    .option-box-bg:hover {
        background: #1313130D;
        color: #000;
    }

    /* .option-box-bg p {
    display: none;
}

.option-box-bg:hover p {
    display: block;
} */

    /* Active State */
    .option-box-bg.active {
        background: #1313130D;
        color: #000;
        transform: translateY(-3px);
    }



    /* 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: 400;
    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: 400;
    font-size: var(--fs-md);
    line-height: 25px;
    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);
}

@media only screen and (min-width: 350px) and (max-width: 600px) {

    .responsive-flex{
        flex-direction: column !important;
        
    }
    .responsive-btn{
        width: 100% !important;
    }


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

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

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

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

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

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

    /* testimonial section  */
}


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


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

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

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

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

.grey-classroom-card {
    border: none;
    background: #1313130D !important; 
    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 {
    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;
    min-height: 400px;
    /* 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);
}


  @media only screen and (min-width: 350px) and (max-width: 600px) {
    

    .explore-creator-innovator-portion{
        padding: 0 1rem !important;
    }
    /* 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;
    }
     .margin-fix{
    margin: auto !important;
}

    /* testimonial section  */
}


@media screen and (max-width: 770px) {
    .experience-connect-grid {
        flex-direction: column;
        border-radius: 15px !important;
        display: flex;
        padding: 30px 15px !important;
    }
}

@media screen and (max-width: 770px) {
    .experience-content-wrapper {
        padding: 1rem 1rem !important;
        position: relative;
    }
}
@media screen and (max-width: 600px) {
    .outer-tab-arena button {
        line-height: 18px;
        font-size: 8px;
        padding: 1px 8px;
        border-radius: 7px;
    }
}


@media screen and (max-width: 600px) {
    .tab-button-container-arena.active {
        position: relative;
        border-radius: 13px 13px 0 0;
        padding: 5px !important;
    }
}