/* =========================================================
   AASTHA HOMEPAGE MOBILE OPTIMIZATION V2
   Isolated overrides only.
   ========================================================= */


/* ---------- Mobile Footer Accordion ---------- */

@media (max-width: 767.98px) {

    .aastha-gradient-footer
    .aastha-mobile-accordion {
        border-top:
            1px solid
            rgba(255,255,255,.17);
    }

    .aastha-gradient-footer
    .aastha-mobile-accordion
    > .aastha-gradient-title {
        position: relative;
        margin: 0 !important;
        padding: 14px 34px 14px 0;
        cursor: pointer;
    }

    .aastha-gradient-footer
    .aastha-mobile-accordion
    > .aastha-gradient-title::after {
        content: "+";
        position: absolute;
        right: 3px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        line-height: 1;
    }

    .aastha-gradient-footer
    .aastha-mobile-accordion.is-open
    > .aastha-gradient-title::after {
        content: "−";
    }

    .aastha-gradient-footer
    .aastha-mobile-accordion
    > .aastha-mobile-footer-panel {
        display: none !important;
    }

    .aastha-gradient-footer
    .aastha-mobile-accordion.is-open
    > .aastha-mobile-footer-panel {
        display: block !important;
    }

}


/* =========================================================
   MOBILE SPACING / PAGE LENGTH
   ========================================================= */

@media (max-width: 767.98px) {

    /* Why Choose Admission Guidance */

    .benefits {
        padding-top: 27px !important;
        padding-bottom: 29px !important;
    }

    .benefits .aastha-benefit-box {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .aastha-benefit-heading {
        margin-bottom: 19px !important;
    }

    .aastha-benefit-heading h2 {
        margin-bottom: 8px !important;
        line-height: 1.25 !important;
    }

    .aastha-benefit-heading p {
        margin-bottom: 0 !important;
        line-height: 1.5 !important;
    }

    .benefit-visual {
        margin-bottom: 18px !important;
    }

    .benefit-main-image {
        max-width: 235px !important;
        margin: 0 auto 12px !important;
    }

    .benefits .benefit-list li {
        margin-bottom: 13px !important;
    }

    .benefits .benefit-list li:last-child {
        margin-bottom: 0 !important;
    }

    .benefit-copy h3 {
        margin-bottom: 3px !important;
        line-height: 1.27 !important;
    }

    .benefit-copy p {
        margin-bottom: 0 !important;
        line-height: 1.46 !important;
    }


    /* Popular Courses - spacing only, Slick untouched */

    .our-courses {
        padding-top: 31px !important;
        padding-bottom: 36px !important;
    }

    .our-courses > .container > h2 {
        margin-bottom: 9px !important;
    }

    .courses-slider {
        margin-top: 17px !important;
    }


    /* Ph.D. section */

    .aastha-phd-support {
        padding-top: 33px !important;
        padding-bottom: 34px !important;
    }

    .aastha-phd-support
    .phd-support-heading {
        margin-bottom: 23px !important;
    }

    .aastha-phd-support
    .phd-support-heading h2 {
        margin-bottom: 7px !important;
        line-height: 1.25 !important;
    }

    .aastha-phd-support
    .phd-support-heading p {
        margin-top: 11px !important;
        line-height: 1.5 !important;
    }

    .aastha-phd-support
    .phd-service-item {
        margin-bottom: 12px !important;
    }

    .aastha-phd-support
    .phd-service-copy h3,
    .aastha-phd-support
    .phd-service-copy h5 {
        margin-bottom: 3px !important;
        line-height: 1.26 !important;
    }

    .aastha-phd-support
    .phd-service-copy p {
        margin-bottom: 0 !important;
        line-height: 1.45 !important;
    }

    .aastha-phd-support
    .phd-support-visual {
        margin-top: 14px !important;
        margin-bottom: 14px !important;
    }

    .aastha-phd-support
    .phd-support-cta {
        margin-top: 17px !important;
    }


    /* Second Why Choose */

    .juniorcode {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .juniorcode
    > .container
    > h2 {
        margin-bottom: 8px !important;
        line-height: 1.25 !important;
    }

    .juniorcode
    > .container
    > p {
        margin-bottom: 20px !important;
        line-height: 1.48 !important;
    }

    .juniorcode
    .junior-box {
        margin-bottom: 13px !important;
        padding-top: 17px !important;
        padding-bottom: 17px !important;
    }

    .juniorcode
    .junior-box img {
        max-height: 62px;
        margin-bottom: 9px !important;
    }

    .juniorcode
    .junior-box h3 {
        margin-bottom: 4px !important;
        line-height: 1.26 !important;
    }

    .juniorcode
    .junior-box p {
        margin-bottom: 0 !important;
        line-height: 1.46 !important;
    }


    /* Meet Aastha */

    .aastha-home-about {
        padding-top: 31px !important;
        padding-bottom: 32px !important;
    }

    .aastha-home-about h2 {
        margin-bottom: 11px !important;
        line-height: 1.25 !important;
    }

    .aastha-home-about p {
        margin-bottom: 8px !important;
        line-height: 1.5 !important;
    }

    .aastha-home-about
    .meet-cta-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px !important;
    }

    .aastha-home-about
    .meet-cta {
        margin: 0 !important;
        padding: 9px 12px !important;
        font-size: 12px !important;
    }

    .aastha-home-about
    .meet-cta-primary {
        order: -1;
        flex: 1 1 100%;
    }


    /* FAQ */

    .faq-section {
        margin-top: 27px !important;
        margin-bottom: 29px !important;
    }

    .faq-section > h2 {
        margin-bottom: 15px !important;
        line-height: 1.27 !important;
    }

    .aastha-faq > details {
        margin-bottom: 6px !important;
    }

    .aastha-faq > details > summary {
        padding:
            12px
            42px
            12px
            14px !important;

        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .aastha-faq .faq-answer {
        padding: 13px 14px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }


    /* Footer */

    .aastha-gradient-footer-main {
        padding-top: 24px !important;
        padding-bottom: 21px !important;
    }

    .aastha-gradient-footer
    .first-column {
        margin-bottom: 15px !important;
    }

    .aastha-gradient-description {
        margin-bottom: 11px !important;
        line-height: 1.44 !important;
    }

}


/* AASTHA MERGED WHY CHOOSE START */


/* =========================================================
   OUTER SECTION
   ========================================================= */

.aastha-why-merged {
    padding:
        52px
        0 !important;

    background:
        #f8fafc;
}


.aastha-why-card {
    position: relative;

    padding:
        34px
        38px
        34px;

    background:
        #ffffff;

    border:
        1px solid
        #eef1f3;

    border-radius:
        20px;

    box-shadow:
        0 12px 34px
        rgba(27, 62, 86, .08);
}


/* =========================================================
   HEADING
   ========================================================= */

.aastha-why-heading {
    max-width:
        920px;

    margin:
        0 auto
        34px;

    text-align:
        center;
}


.aastha-why-accent {
    display:
        block;

    width:
        62px;

    height:
        4px;

    margin:
        0 auto
        17px;

    border-radius:
        999px;

    background:
        #ff5722;
}


.aastha-why-heading h2 {
    margin:
        0;

    color:
        #072f5f;

    font-size:
        31px;

    font-weight:
        750;

    line-height:
        1.22;
}


.aastha-why-heading h2 span {
    color:
        #ff4f1f;
}


.aastha-why-heading p {
    max-width:
        820px;

    margin:
        16px auto
        0;

    color:
        #48647b;

    font-size:
        15px;

    line-height:
        1.65;
}


/* =========================================================
   DESKTOP LAYOUT
   ========================================================= */

.aastha-why-layout {
    display:
        grid;

    grid-template-columns:
        minmax(280px, .85fr)
        minmax(0, 1.55fr);

    gap:
        44px;

    align-items:
        center;
}


/* =========================================================
   ILLUSTRATION
   ========================================================= */

.aastha-why-visual {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;
}


.aastha-why-main-image {
    display:
        block;

    width:
        100%;

    max-width:
        350px;

    height:
        auto;

    margin:
        0 auto;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.aastha-why-grid {
    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap:
        30px;

    row-gap:
        28px;
}


.aastha-why-item {
    display:
        grid;

    grid-template-columns:
        58px
        minmax(0, 1fr);

    gap:
        14px;

    align-items:
        start;

    margin:
        0;

    padding:
        0;
}


.aastha-why-icon {
    width:
        58px;

    height:
        58px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        14px;
}


.aastha-why-icon svg {
    width:
        29px;

    height:
        29px;
}


.aastha-icon-blue {
    color:
        #1489e8;

    background:
        #e8f5ff;
}


.aastha-icon-green {
    color:
        #14a735;

    background:
        #e8f8e9;
}


.aastha-icon-orange {
    color:
        #f47719;

    background:
        #fff1e5;
}


.aastha-icon-purple {
    color:
        #7547d8;

    background:
        #f1eaff;
}


.aastha-icon-pink {
    color:
        #ed3f6d;

    background:
        #ffe9f0;
}


.aastha-icon-teal {
    color:
        #079e79;

    background:
        #e3f8f2;
}


.aastha-why-item h3 {
    margin:
        2px
        0
        6px;

    color:
        #092f60;

    font-size:
        16px;

    font-weight:
        750;

    line-height:
        1.3;
}


.aastha-why-item p {
    margin:
        0;

    color:
        #46647c;

    font-size:
        13.5px;

    line-height:
        1.52;
}


/* =========================================================
   CTA
   ========================================================= */

.aastha-why-cta {
    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

    min-height:
        48px;

    border-radius:
        999px;

    font-size:
        13px;

    font-weight:
        750;

    text-decoration:
        none !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.aastha-why-cta-desktop {
    display:
        inline-flex;

    margin-top:
        24px;

    padding:
        10px
        19px;

    border:
        1.5px solid
        #ff5722;

    background:
        #ffffff;

    color:
        #f14e1c;
}


.aastha-why-cta-desktop span {
    width:
        27px;

    height:
        27px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        #ff5722;

    color:
        #ffffff;

    font-size:
        16px;
}


.aastha-why-cta-desktop:hover {
    color:
        #e74413;

    transform:
        translateY(-1px);

    box-shadow:
        0 7px 18px
        rgba(255,87,34,.14);
}


.aastha-why-cta-mobile {
    display:
        none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .aastha-why-merged {
        padding:
            36px
            0 !important;
    }


    .aastha-why-card {
        padding:
            30px
            26px;
    }


    .aastha-why-layout {
        grid-template-columns:
            1fr;

        gap:
            27px;
    }


    .aastha-why-main-image {
        max-width:
            270px;
    }


    .aastha-why-cta-desktop {
        display:
            none;
    }


    .aastha-why-cta-mobile {
        display:
            flex;

        width:
            100%;

        margin-top:
            25px;

        padding:
            12px
            20px;

        background:
            #ff5722;

        color:
            #ffffff;

        box-shadow:
            0 8px 20px
            rgba(255,87,34,.18);
    }


    .aastha-why-cta-mobile:hover {
        color:
            #ffffff;

        background:
            #ee4d19;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .aastha-why-merged {
        padding:
            26px
            0 !important;

        background:
            #f7f9fb;
    }


    .aastha-why-card {
        padding:
            22px
            17px
            18px;

        border-radius:
            16px;
    }


    .aastha-why-heading {
        margin-bottom:
            19px;
    }


    .aastha-why-accent {
        width:
            46px;

        height:
            3px;

        margin-bottom:
            13px;
    }


    .aastha-why-heading h2 {
        font-size:
            22px;

        line-height:
            1.23;
    }


    .aastha-why-heading p {
        margin-top:
            11px;

        font-size:
            13px;

        line-height:
            1.5;
    }


    .aastha-why-layout {
        gap:
            18px;
    }


    .aastha-why-main-image {
        max-width:
            225px;
    }


    .aastha-why-grid {
        grid-template-columns:
            1fr;

        gap:
            0;
    }


    .aastha-why-item {
        grid-template-columns:
            48px
            minmax(0, 1fr);

        gap:
            12px;

        padding:
            13px
            0;

        border-bottom:
            1px solid
            #edf0f2;
    }


    .aastha-why-item:first-child {
        padding-top:
            4px;
    }


    .aastha-why-item:last-child {
        padding-bottom:
            4px;

        border-bottom:
            0;
    }


    .aastha-why-icon {
        width:
            48px;

        height:
            48px;

        border-radius:
            12px;
    }


    .aastha-why-icon svg {
        width:
            25px;

        height:
            25px;
    }


    .aastha-why-item h3 {
        margin:
            1px
            0
            3px;

        font-size:
            14px;

        line-height:
            1.25;
    }


    .aastha-why-item p {
        font-size:
            12px;

        line-height:
            1.45;
    }


    .aastha-why-cta-mobile {
        min-height:
            45px;

        margin-top:
            18px;

        font-size:
            12px;
    }

}


/* AASTHA MERGED WHY CHOOSE END */






/* AASTHA MERGED HEADING DECORATION CLEANUP START */

/*
 * New merged section already uses .aastha-why-accent.
 * Suppress legacy/template heading decorations.
 */

.aastha-why-merged
.aastha-why-heading h2::before,
.aastha-why-merged
.aastha-why-heading h2::after,
.aastha-why-merged
.aastha-why-heading p::before,
.aastha-why-merged
.aastha-why-heading p::after {

    content: none !important;

    display: none !important;

    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;

    border: 0 !important;

    background: none !important;

    background-image: none !important;
}


/*
 * Keep a clean gap between heading and description.
 */

.aastha-why-merged
.aastha-why-heading h2 {

    margin-bottom:
        0 !important;
}


.aastha-why-merged
.aastha-why-heading p {

    margin-top:
        16px !important;
}


@media (max-width: 767.98px) {

    .aastha-why-merged
    .aastha-why-heading p {

        margin-top:
            11px !important;
    }

}

/* AASTHA MERGED HEADING DECORATION CLEANUP END */


/* AASTHA HOMEPAGE PRIMARY CTA START */

/*
 * Primary conversion CTA
 * Normal = orange
 * Hover / focus = white with orange text
 */

.aastha-why-merged
.aastha-why-cta-desktop,

.aastha-why-merged
.aastha-why-cta-mobile,

.aastha-phd-support
.phd-support-cta
.btn-outline-danger,

.aastha-home-about
.meet-cta-primary {

    background:
        #ff5a21 !important;

    border:
        1.5px solid
        #ff5a21 !important;

    color:
        #ffffff !important;

    box-shadow:
        0 7px 18px
        rgba(255,90,33,.18);

    text-decoration:
        none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* WHITE HOVER */

.aastha-why-merged
.aastha-why-cta-desktop:hover,

.aastha-why-merged
.aastha-why-cta-desktop:focus,

.aastha-why-merged
.aastha-why-cta-mobile:hover,

.aastha-why-merged
.aastha-why-cta-mobile:focus,

.aastha-phd-support
.phd-support-cta
.btn-outline-danger:hover,

.aastha-phd-support
.phd-support-cta
.btn-outline-danger:focus,

.aastha-home-about
.meet-cta-primary:hover,

.aastha-home-about
.meet-cta-primary:focus {

    background:
        #ffffff !important;

    border-color:
        #ff5a21 !important;

    color:
        #ff5a21 !important;

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(255,90,33,.14);

    text-decoration:
        none !important;
}


/*
 * Merged CTA arrow:
 * normal = white circle/orange arrow
 */

.aastha-why-merged
.aastha-why-cta
span {

    background:
        #ffffff !important;

    color:
        #ff5a21 !important;
}


/*
 * Hover = orange circle/white arrow
 */

.aastha-why-merged
.aastha-why-cta:hover
span,

.aastha-why-merged
.aastha-why-cta:focus
span {

    background:
        #ff5a21 !important;

    color:
        #ffffff !important;
}


/* Keyboard accessibility */

.aastha-why-merged
.aastha-why-cta:focus-visible,

.aastha-phd-support
.phd-support-cta
.btn-outline-danger:focus-visible,

.aastha-home-about
.meet-cta-primary:focus-visible {

    outline:
        3px solid
        rgba(255,90,33,.22);

    outline-offset:
        3px;
}

/* AASTHA HOMEPAGE PRIMARY CTA END */


/* AASTHA DESKTOP SECTION RHYTHM START */

/*
 * Desktop only.
 * Tightens large vertical gaps between homepage sections.
 * Tablet/mobile rules remain untouched.
 */

@media (min-width: 992px) {

    /* -----------------------------------------
       Course Finder
       ----------------------------------------- */

    .aastha-home-course-finder {
        padding-top:
            34px !important;

        padding-bottom:
            28px !important;
    }

    .home-course-finder-inner {
        padding-top:
            30px !important;

        padding-bottom:
            30px !important;
    }


    /* -----------------------------------------
       Popular Courses
       ----------------------------------------- */

    .our-courses {
        padding-top:
            38px !important;

        padding-bottom:
            30px !important;
    }

    .our-courses
    > .container
    > h2 {
        margin-top:
            0 !important;

        margin-bottom:
            10px !important;
    }

    .courses-slider {
        margin-top:
            16px !important;
    }


    /* -----------------------------------------
       Ph.D. Guidance
       ----------------------------------------- */

    .aastha-phd-support {
        padding-top:
            34px !important;

        padding-bottom:
            30px !important;
    }

    .aastha-phd-support
    .phd-support-heading {
        margin-bottom:
            27px !important;
    }

    .aastha-phd-support
    .phd-support-cta {
        margin-top:
            17px !important;
    }


    /* -----------------------------------------
       Meet Aastha
       ----------------------------------------- */

    .aastha-home-about,
    .meetour.aastha-home-about {
        padding-top:
            32px !important;

        padding-bottom:
            30px !important;
    }


    /* -----------------------------------------
       Google Reviews
       ----------------------------------------- */

    .aastha-home-reviews {
        padding-top:
            38px !important;

        padding-bottom:
            38px !important;
    }

    .aastha-reviews-heading {
        margin-bottom:
            22px !important;
    }

    .aastha-reviews-view-all {
        margin-top:
            13px !important;

        margin-bottom:
            0 !important;
    }


    /* -----------------------------------------
       Latest Guides
       ----------------------------------------- */

    .aastha-home-guides {
        padding-top:
            40px !important;

        padding-bottom:
            40px !important;
    }

    .aastha-guides-heading,
    .aastha-home-guides
    .text-center.mb-4 {
        margin-bottom:
            22px !important;
    }

    .aastha-guides-view-all,
    .aastha-home-guides
    .mt-4 {
        margin-top:
            22px !important;

        margin-bottom:
            0 !important;
    }


    /* -----------------------------------------
       FAQ
       ----------------------------------------- */

    .faq-section {
        margin-top:
            28px !important;

        margin-bottom:
            32px !important;
    }

    .faq-section
    > h2 {
        margin-top:
            0 !important;

        margin-bottom:
            22px !important;
    }


    /* -----------------------------------------
       Prevent stacked margins between sections
       ----------------------------------------- */

    .aastha-home-course-finder
    + .our-courses,

    .our-courses
    + .aastha-phd-support,

    .aastha-phd-support
    + .aastha-home-about,

    .aastha-home-about
    + .aastha-home-reviews,

    .aastha-home-reviews
    + .aastha-home-guides,

    .aastha-home-guides
    + .faq-section {

        margin-top:
            0 !important;
    }

}

/* AASTHA DESKTOP SECTION RHYTHM END */
