.mobile-trial-form-section {
    display: none;
}

.box3 {
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    gap: 369px;
    margin-top: 66px;
}

.box1 {
    margin-left: 0%;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.head-1 {
    font-family: Montserrat;
    font-size: 28.69px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    margin-right: 0px !important;
}

.text-box {
    position: absolute;
    width: 163px;
    height: 43px;
    background: #5db5b500;
    font-family: Montserrat;
    font-size: 10px;
    font-weight: 500;
    line-height: 11.94px;
    text-align: center;
    color: #000000;
    border: 1.9px solid #000000;
    border-radius: 32px;
    outline: 1px #000;
    display: flex;
    align-items: center;
    left: 100px !important;
    margin-left: 79%;
    top: 325px;
}

#rgt-icon {
    position: absolute;
    right: 364px !important;
}

.aplus1 {
    position: absolute;
    border: 1.9px solid #000000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 10px;
    font-family: Montserrat;
    font-size: 10px;
    font-weight: 500;
    line-height: 11.94px;
    text-align: center;
    color: #000000;

    display: flex;
    align-items: center;
    margin-right: 135px;
    left: 110px;
    top: 126px;
}

.aplus {
    border: 1.9px solid #000000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 10px;
    margin-right: 135px;
}

.aplus1 {
    position: absolute;
    border: 1.9px solid #000000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 10px;
    font-family: Montserrat;
    font-size: 10px;
    font-weight: 500;
    line-height: 11.94px;
    text-align: center;
    color: #000000;
    display: flex;
    align-items: center;
    margin-right: 135px;
    left: 82px;
    top: 325px;
}

.h-sub p {
    font-size: 18px;
}

.b-ftxt {
    font: size 18px;
    font-family: Montserrat;
    padding-left: 30px;
}

.img-box {
    display: flex;
    justify-content: center;
    gap: 140px;
    width: 95%;
}

.adv-para {
    padding: 0px 160px;
    margin-bottom: 40px;
    font-size: 18px;
    font-family: 'Montserrat';
}

.advantage-section {
    background: #fff;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}

.advantage-section h2 {
    font-size: 26px;
    font-weight: 500;
    color: #111;
    margin-bottom: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
    /* Firefox */
}

.advantage-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.advantage-card {
    flex: 0 0 auto;
    width: 218px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.advantage-card.teal {
    width: 190px;
    height: 230px;

    background: #0cb4b2;
    color: #fff;
    padding: 25px 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.advantage-card.teal p {
    padding: 0px 10px;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
    }

    .form-container {
        padding: 30px 20px;
        margin-top: 40px;
    }
}

/* Entrance Exam Slider Specifics */
.entrance-exam-wrapper {
    position: relative;
    max-width: 960px;
    /* Wider than slider to hold buttons */
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 30px;
    /* Space for buttons on mobile/tablet if needed */
}

.entrance-exam-slider {
    padding-bottom: 50px;
    /* Space for pagination */
    overflow: hidden;
    /* Ensure no scrollbar */
    max-width: 820px;
    /* Constrain width to bring 368px cards closer */
    margin: 0 auto;
    /* Center the slider */

}

.entrance-exam-slider .swiper-wrapper {
    align-items: stretch;
    /* Ensure equal height if needed */
}

.entrance-exam-slider .swiper-slide {
    height: auto;
    /* Allow card to define height */
    /* Removed width: auto !important to let Swiper control width via slidesPerView: 2 */
    display: flex;
    justify-content: center;
}

.entrance-exam-slider .course-card {
    width: 368px !important;
    /* Fixed width as requested */
    max-width: 95vw;
    /* Responsive constraint for very small screens */
    margin: 0 auto;
    /* Ensure height consistency if needed */
    display: flex;
    flex-direction: column;
}

/* Position buttons relative to the wrapper, outside the slider */
.entrance-exam-wrapper .swiper-button-next,
.entrance-exam-wrapper .swiper-button-prev {
    color: #089E9E;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    margin-top: -25px;
    /* Adjust for padding presence if any */
}

.entrance-exam-wrapper .swiper-button-next {
    right: 0;
}

.entrance-exam-wrapper .swiper-button-prev {
    left: 0;
}

.entrance-exam-wrapper .swiper-button-next:after,
.entrance-exam-wrapper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.entrance-exam-slider .swiper-pagination-bullet-active {
    background-color: #089E9E;
}

.entrance-exam-slider .swiper-slide {
    display: flex;
    /* Ensure centering */
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    height: auto;
    /* Allow Swiper to calculate height */
}

/* Adjust swiper-wrapper to allow equal height slides if needed */
.entrance-exam-slider .swiper-wrapper {
    align-items: stretch;
    padding-bottom: 25px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: transform .25s, background .25s;
}

.slider-dots .dot.active {
    background: #008080;
    transform: scale(1.3);
}

.tut-sec {
    padding-top: 0px;
}

.review-con {
    padding-top: 90px;
}

.advantage-section {
    padding: 15px 20px 45px 20px;
}

.four-boxes {
    padding-top: 40px;
}

.frm-box {
    margin-top: 84px;
}

#hed-3 {
    padding: 0px;
    padding-bottom: 14px;
}

.callus a {
    align-items: flex-end;
}

.text-section h2 {
    margin-top: 0px;
}

.subjects-container2 {
    display: flex;
    justify-content: center;
    padding: 20px;
    padding-bottom: 0px;
    gap: 55px;
}

.subjects-container2 a {
    text-decoration: none;
}

.big-con {
    display: flex;
    justify-content: center;
    width: 100%
}

.text-con {
    display: flex;
    justify-content: center;
    width: 90%;
    margin-left: 0px;
}


/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    width: 367px;
    height: 535px;
    background: var(--white);
    border-radius: 75px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #089E9E;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 5px 5px #074242be;
    border-color: #074242be;
}

.course-image {
    width: 100%;
    max-height: 255px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 32px;
    max-height: 220px;
    height: 100%;
}

.course-title {
    color: #089E9E;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.course-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;

    font-family: Montserrat;
    font-weight: 400;
    max-width: 990px;
    margin: 0 auto 30px;
    color: var(--text-light);
    text-align: center;
}

.section-title {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 29px;
    text-align: center;
}

.testimonial-text {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 12.85px !important;
    color: #000000;
    line-height: 1.4;
}

@media (max-width: 2200px) and (min-width: 1440px) {
    .box1 {

        padding-top: 35px;
    }

    .aplus1 {
        margin-right: 0px;
        top: 470px;
        left: 240px;
    }

    .box3 {

        margin-top: 151px;
    }

    .text-box {
        top: 460px;
    }
}

@media (max-width: 1450px) {
    .para1 {
        font-family: Montserrat;
        font-size: 19.74px;
        padding: 0px 126px;
        text-align: center;
        margin: 0px;
    }

    .t-box {
        max-width: 1920px;
        width: 100%;
        height: 44px;
        margin-top: 70px !important;
        display: inherit;
        gap: 87px;
        justify-content: center;
        padding: 20px;
        background-color: #FAF9F9;
    }

    .r-box {
        margin-top: 30px !important;
    }
}


@media (max-width: 900px) and (min-width: 600px) {
    .hero-sec {

        margin-bottom: 80px;
    }

    .box3 {
        display: none;
    }

    .aplus1 {
        display: none;
    }

    .swiper-horizontal {
        touch-action: pan-y;
        width: 400px !important;
    }

    #rgt-icon {
        display: none;
    }

    .head-1 {
        font-family: Montserrat;
        font-size: 24.69px;
    }

    .box1 {
        height: 33px;
    }

    .para1 {
        font-family: Montserrat;
        font-size: 18px;
    }

    .h-r h2 {
        font-size: 22px;
    }

    .t-box {
        margin-top: 80px;
    }

    .review-con {
        padding-top: 42px;
    }

    .testimonial-slider {
        margin: 39px auto 15px auto;
    }

    .adv-para {
        font-size: 18px;
        padding: 0px 69px;
    }

    .advantage-section h2 {
        font-size: 22px;
    }

    .h-sub h2 {
        font-size: 22px;
    }

    .h-sub p {
        font-size: 18px;
        padding: 0px 67px;
    }

    .bx1 {
        width: 150px;
        height: 225px;
        padding: 9px;
    }

    #bx4-im {
        width: 55px !important;
        height: 55px !important;
    }

    .subject-name {
        font-size: 14px;
    }

    .subject-card {
        width: 140px;
        height: 100px;
    }

    .subjects-container {
        display: flex;
        justify-content: center;
        padding: 20px;
        gap: 20px;
    }

    .shaded-box h2 {
        font-size: 22px;
        text-align: center;
        margin-left: 0px;
    }

    .shaded-box h2 br {
        display: none;
    }
}

@media (max-width: 620px) and (min-width: 520px) {
    .para1 {

        padding: 10px 34px 0px 34px;
    }

    .hero-sec {
        margin-bottom: 50px;
    }

    .h-r h2 {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 20px;
        text-align: center;
    }

    .head-1 {

        font-size: 24.69px;

    }

    .h-sub h2 {

        font-size: 20px;
    }

    .subject-card {

        width: 118px;
        height: 90px;
    }

    .box2 {
        width: 100%;
        height: 220px;
        display: flex;
        justify-content: center;
    }



    .img-box {
        gap: 95px;

    }

    .txt-con p {
        padding: 19px 6px 10px 5px;
    }

    .frm-box {
        width: 1100px;
        margin-top: 82px;
        height: 210px;
        display: flex;
        flex-wrap: wrap;
    }

    .footer-box-mb {
        display: block;
    }

    .footer-box {
        display: none;
    }

    .footer-box-mb .left-lgoos {
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .footer-box-mb .left-iconz {
        display: flex;
        justify-content: center;
        align-items: center;

    }

    #news-frm input {
        padding-left: 20px;
        margin-left: 0%;
    }

    .head-1 {
        width: 100%;
        font-size: 21.69px;
        margin-right: 0px;
    }

    .box1 {
        width: auto;
        padding: 10px 5px 10px 5px;
    }

    .t-box {
        margin-top: 45px;
    }

    .review-con {
        padding-top: 30px;
    }

    .advantage-section {
        padding: 28px 20px 45px 20px;
    }

    .adv-para {
        font-size: 18px;
        padding: 0px 30px;
    }

    .advantage-section h2 {
        font-size: 20px;
    }

    .the-boxes {
        gap: 15px 50px;
    }

    .subject-card {
        width: 118px;
        height: 110px;
    }

    .four-boxes {
        padding-top: 30px;
    }

    .shaded-box {
        width: 580px;
    }

    .advantage-card {

        width: 195px;
    }

    .advantage-card.teal {
        width: 180px;
    }

    .aplus1 {
        display: none;
    }

    #rgt-icon {
        display: none;
    }

    .mobile-trial-form-section {
        display: block;
    }

    .mobile-trial-form-container h2 {
        font-size: 16px;
    }

    .mobile-trial-form-section {
        display: block;
        text-align: center;
        padding: 10px 20px 20px 20px;
        background: #fff;
        margin-top: 10px;
    }

    .mobile-trial-form-container {
        background: #fff;
        border-radius: 15px;
        max-width: 340px;
        margin: 0 auto;
    }

    .mobile-trial-form-container h2 {
        font-size: 18px;
        font-weight: 500;
        font-family: Montserrat;
        margin-bottom: 20px;
        color: #111;
    }

    .mobile-trial-form-container p {
        font-size: 13px;
        font-family: Montserrat;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .mobile-trial-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-left: 0;
    }

    .mobile-trial-input-row {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .mobile-trial-input-row input {
        flex: 1;
        padding: 10px 12px;
        border: 1.5px solid #ccc;
        border-radius: 10px;
        font-size: 0.9rem;
        outline: none;
        width: 100%;
        font-size: 15px;
        font-family: Montserrat;
    }

    .mobile-trial-input-row input:focus {
        border-color: #0cb4b2;
    }

    .mobile-trial-submit-btn {
        max-width: 331px;
        width: 100%;
        height: 34px;
        background-color: #0cb4b2;
        color: #fff;
        border: none;
        border-radius: 30px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.3s ease;
        margin-top: 0px;
    }

    .t-box {

        margin-top: 10px !important;
    }

    .mobile-trial-submit-btn:hover {
        background-color: #099c9a;
    }
}

@media (max-width: 520px) and (min-width: 460px) {
    .aplus1 {
        display: none;
    }

    .box1 {
        padding-top: 0px;
        margin-bottom: 0px;
    }

    .box3 {
        margin-top: 25px;
    }

    .review-con {
        padding-top: 0px;
    }

    .advantage-section h2 {
        font-size: 18px;
    }

    .adv-para {
        padding: 0px 10px;
    }

    .section-title {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 18px;
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
        font-size: 15px;
        padding: 0px 20px;
    }

    #hed-3 {
        padding: 0px 10px;
    }

    .shaded-box {
        width: 460px;
        height: 536px;
    }

    .img-box {
        gap: 45px;
    }

    .text-con {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .text-con {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-left: 0px;
    }

    .adv-para {
        font-size: 14px;
    }

    .para1 {
        font-size: 14px;
    }

    .h-sub p {
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .head-1 {
        font-size: 18px;

    }

    .para1 {
        font-size: 15px;
        padding: 0px 20px !important;
    }
}

@media (max-width: 460px) and (min-width: 400px) {
    .mobile-trial-form-section {
        display: block;
    }

    .mobile-trial-form-container h2 {
        font-size: 16px;
    }

    .mobile-trial-form-section {
        display: block;
        text-align: center;
        padding: 10px 20px 20px 20px;
        background: #fff;
        margin-top: 10px;
    }

    .mobile-trial-form-container {
        background: #fff;
        border-radius: 15px;
        max-width: 340px;
        margin: 0 auto;
    }

    .mobile-trial-form-container h2 {
        font-size: 18px;
        font-weight: 500;
        font-family: Montserrat;
        margin-bottom: 20px;
        color: #111;
    }

    .mobile-trial-form-container p {
        font-size: 13px;
        font-family: Montserrat;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .mobile-trial-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-left: 0;
    }

    .mobile-trial-input-row {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .mobile-trial-input-row input {
        flex: 1;
        padding: 10px 12px;
        border: 1.5px solid #ccc;
        border-radius: 10px;
        font-size: 0.9rem;
        outline: none;
        width: 100%;
        font-size: 15px;
        font-family: Montserrat;
    }

    .mobile-trial-input-row input:focus {
        border-color: #0cb4b2;
    }

    .mobile-trial-submit-btn {
        max-width: 331px;
        width: 100%;
        height: 34px;
        background-color: #0cb4b2;
        color: #fff;
        border: none;
        border-radius: 30px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.3s ease;
        margin-top: 0px;
    }

    .t-box {

        margin-top: 10px !important;
    }

    .mobile-trial-submit-btn:hover {
        background-color: #099c9a;
    }

    .aplus1 {
        display: none;
    }

    .text-box {
        display: none;
    }

    .cta-book-tp {
        display: none;
    }

    .box3 {
        width: 100%;
        height: 45px;
        display: flex;
        justify-content: center;
        gap: 369px;
        flex-wrap: wrap;
        margin-top: 10px;
        display: none;
    }

    .bx1 {
        width: 138px;
        height: 233px;
    }

    .bx1 img {
        margin-top: 0px;
        align-self: center;
        width: 53px !important;
        height: 53px !important;
    }

    .img-box {
        gap: 40px;
    }

    .head-1 {
        font-size: 18px;
        font-weight: 500;
        padding: 0px 10px !important;
    }

    .para1 {
        font-size: 15px;
        padding: 0px 30px !important;
    }

    .section-title {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 18px;
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
        font-size: 15px;
        padding: 0px 15px;
    }

    .h-r h2 {
        font-size: 16px;
        text-align: center;
    }

    .h-sub p {
        font-size: 15px;
    }

    .text-section p {
        font-size: 15px;
    }

    .review-con {
        padding-top: 0px;
    }

    .advantage-section h2 {
        font-size: 16px;
    }

    .adv-para {
        padding: 0px 10px;
        font-size: 15px;
    }

    .advantage-card {
        width: 150px;
        height: 267px;
    }

    .advantage-card.teal {
        width: 150px;
        height: 220px;
    }

    .subject-name {
        font-size: 14px;
    }

    .shaded-box h2 {
        font-size: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .r-box {
        margin-top: 10px;
    }

    .testimonial-slider {
        margin: 25px auto !important;
    }

    .h-sub h2 {
        font-size: 16px;
        padding: 0px 35px 20px 35px;

    }

    .sub-sec {
        margin-top: 0px;
    }
}

@media (max-width: 400px) and (min-width: 370px) {
    .mobile-trial-form-section {
        display: block;
    }

    .head-1 {
        font-size: 18px;
        padding: 0px 20px !important;
    }

    .para1 {
        font-size: 1px;
        padding: 0px 20px !important;
    }

    .section-title {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 18px;
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
        font-size: 15px;
        padding: 0px 15px;
    }

    .course-content {
        padding: 32px;
        max-height: 290px;
        height: 100%;
    }

    form {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mobile-trial-form-container h2 {
        font-size: 16px;
    }

    .mobile-trial-form-section {
        display: block;
        text-align: center;
        padding: 10px 20px 20px 20px;
        background: #fff;
        margin-top: 10px;
    }

    .mobile-trial-form-container {
        background: #fff;
        border-radius: 15px;
        max-width: 340px;
        margin: 0 auto;
    }

    .mobile-trial-form-container h2 {
        font-size: 18px;
        font-weight: 500;
        font-family: Montserrat;
        margin-bottom: 20px;
        color: #111;
    }

    .mobile-trial-form-container p {
        font-size: 13px;
        font-family: Montserrat;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .mobile-trial-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-left: 0;
    }

    .mobile-trial-input-row {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .mobile-trial-input-row input {
        flex: 1;
        padding: 10px 12px;
        border: 1.5px solid #ccc;
        border-radius: 10px;
        font-size: 0.9rem;
        outline: none;
        width: 100%;
        font-size: 15px;
        font-family: Montserrat;
    }

    .mobile-trial-input-row input:focus {
        border-color: #0cb4b2;
    }

    .mobile-trial-submit-btn {
        max-width: 331px;
        width: 100%;
        height: 34px;
        background-color: #0cb4b2;
        color: #fff;
        border: none;
        border-radius: 30px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        margin-top: 0px;
        transition: background 0.3s ease;
    }

    .t-box {

        margin-top: 10px !important;
    }

    .mobile-trial-submit-btn:hover {
        background-color: #099c9a;
    }

    .aplus1 {
        display: none;
    }

    .text-box {
        display: none;
    }

    .cta-book-tp {
        display: none;
    }

    .box3 {
        width: 100%;
        height: 45px;
        display: flex;
        justify-content: center;
        gap: 369px;
        flex-wrap: wrap;
        margin-top: 10px;
        display: none;
    }

    .review-con {
        padding-top: 0px;
    }

    .r-box {
        margin-top: 13px;
    }

    .bx1 {
        width: 138px;
        height: 233px;
    }

    .bx1 img {
        margin-top: 0px;
        align-self: center;
        width: 53px !important;
        height: 53px !important;
    }

    .next {
        padding-right: 10px;
        z-index: 10;
        background: none;
    }

    .prev {
        padding-left: 10px;
        z-index: 10;
        background: none;
    }

    .cta-book-tp {
        font-size: 15px;
    }

    .h-sub h2 {
        padding: 0px 35px 0px 35px;
        font-size: 16px;
    }

    .h-sub h2 {
        padding: 0px 35px 0px 35px;
        font-size: 16px;
    }

    .shaded-box h2 {
        padding: 15px 20px 15px 20px;
        font-size: 16px;
    }

    #lg-icon {
        display: none;
    }

    .advantage-section h2 {
        font-size: 16px;
        margin-top: 0px;
    }

    .adv-para {
        padding: 0px 10px;
        margin-bottom: 30px;
        font-size: 14px;
    }

    .h-sub p {
        font-size: 14px;
    }

    .para1 {
        font-size: 14px;
    }

    .h-r h2 {
        font-size: 16px;
        padding: 0px 35px;
        text-align: center;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-slider {
        margin: 25px auto !important;
    }

    .subject-name {
        font-size: 14px;
    }

    .img-box {
        gap: 30px;
    }

    .text-section h2 {
        font-size: 16px;
    }

    .text-section p {
        font-size: 14px;
    }

    .pic-wala-box {
        width: 320px;
        height: auto;
        background-color: #FFFFFF;
        border-radius: 32px;
        margin-top: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        position: relative;
        text-align: left;
        margin-bottom: 60px;
    }

    .faq-image {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 70px;
        height: 60px;
    }

    .pic-wala-box h2 {
        padding: 8px;
    }

    .img-con img {
        width: 55px;
        height: 52px;
        align-self: center;
    }

    .img-con {
        width: 70px;
        height: 70px;
    }

    .shaded-box {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .subject-card {
        width: 135px;
        height: 93px;
    }

    .subject-icon {
        margin-bottom: 0px;
    }

    .bx1 {
        width: 130px;
        height: 230px;
        padding: 10px;
        gap: 8px;
    }

    .advantage-card.teal {
        width: 140px;
        height: 176px;
    }

    .advantage-card {
        width: 150px;
        height: 226px;
    }

    .advantage-slider {
        display: flex;
        gap: 17px;
    }

    .sub-sec {
        margin-top: 3px;
    }
}

@media (max-width: 416px) and (min-width: 400px) {

    #ft-logo1 {
        width: 98px;
        height: 54px;
        margin-left: 11px;

    }

    #ft-logo3 {
        width: 116px;
        height: 47px;
        margin-left: 15px;
        padding-bottom: 10px;
    }
}

@media (max-width: 370px) {
    .advantage-slider {
        display: flex;
        gap: 15px;
    }

    .advantage-card.teal {
        width: 140px;
        height: 167px;
        padding: 5px;
    }

    .advantage-card {
        width: 145px;
        height: 177px;
    }

    .course-content {
        padding: 18px;
        max-height: 322px;
        height: 100%;
    }

    .section-title {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 18px;
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
        font-size: 15px;
        padding: 0px 15px;
    }

    #lg-icon {
        display: none;
    }

    .aplus1 {
        display: none;
    }

    .cta-book-tp {
        display: none;
    }

    .box3 {
        display: none;
    }

    .review-con {
        padding-top: 0px;
    }

    .advantage-section h2 {
        font-size: 16px;
    }

    .adv-para {
        padding: 0px 2px;
        margin-bottom: 30px;
        font-size: 14px;
    }

    .para1 {
        padding: 10px 15px;
        margin-bottom: 0px;
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    #hed-3 {
        font-size: 16px;
    }

    .h-sub p {
        font-size: 14px;
    }

    .subjects-container-mb {
        gap: 12px;
    }

    .subject-card {
        width: 122px;
        height: 93px;
    }

    .subject-icon {
        font-size: 34px;
        color: #008080;
        margin-bottom: -5px;
    }

    .subject-name {
        font-size: 12px;
    }

    .bx1 {
        width: 130px;
        height: 230px;
        padding: 10px;
        gap: 8px;
    }

    #bx4-im {
        width: 35px !important;
        height: 35px !important;
        margin-top: 0px;
    }

    .text-section h2 {
        font-size: 16px;
    }

    .text-section p {
        font-size: 14px;
    }

    .faq-image {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 40px;
    }

    .pic-wala-box h2 {
        padding: 6px 6px 12px 6px;
        margin: 0px;
    }

    .pic-wala-box {
        margin-top: 0px;
        padding: 1rem;
    }

    form {
        margin-left: 8px;
    }

    #input2 {

        height: 20px;
    }

    #slect2 {
        height: 38px;
    }
}

/* FAQ Dropdown Styles */
.faq-item {
    cursor: pointer;
    /* border-bottom: 1px solid #eee; */
    /* Optional: visual separation */
    /* padding: 15px 0; */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    opacity: 0;
    /* Fade effect */
}

.faq-answer.show {
    max-height: 500px;
    /* Adjust as needed */
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}