:root {
    --pyq-green: #20b486;
    --pyq-dark: #101828;
    --pyq-ink: #344054;
    --pyq-muted: #667085;
    --pyq-soft: #f4fbf8;
    --pyq-line: #e4eee9
}

.home-page {
    overflow: hidden
}

    .home-page .container-fluid {
        max-width: 1440px;
        padding-left: 64px;
        padding-right: 64px
    }

.home-hero {
    min-height: 760px;
    height: auto;
    padding: 120px 0 42px;
    background: linear-gradient(135deg,#f5fffb 0%,#fff 50%,#f7fbff 100%)
}

    .home-hero .slider-content {
        width: auto;
        max-width: 650px
    }

.hero-kicker, .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #168562;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.home-hero .sub-title {
    font-size: 64px;
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 18px 0 20px
}

.home-hero .slider-content p {
    font-size: 18px;
    line-height: 1.75;
    max-width: 620px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

    .hero-actions .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border-radius: 9px;
        padding: 0 25px
    }

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    color: #475467;
    font-size: 13px;
    font-weight: 600
}

    .hero-benefits i {
        color: var(--pyq-green);
        margin-right: 5px
    }

.home-hero-art {
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.hero-image-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: linear-gradient(145deg,#d9f8ec,#a9e8d4);
    right: 7%;
    bottom: 2%;
    box-shadow: inset 0 0 0 28px rgba(255,255,255,.38)
}

.slider-images img.hero-student {
    position: relative;
    width: min(78%,470px);
    z-index: 2;
    filter: drop-shadow(0 28px 25px rgba(21,84,64,.18))
}

.hero-stat {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #dceae5;
    border-radius: 14px;
    padding: 13px 17px;
    box-shadow: 0 18px 42px rgba(16,24,40,.14);
    text-align: left
}

    .hero-stat .tutors-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #ebfbf5;
        display: grid;
        place-items: center
    }

        .hero-stat .tutors-icon img {
            width: 24px
        }

    .hero-stat strong, .hero-stat span {
        display: block
    }

    .hero-stat strong {
        font: 800 21px/1.1 Montserrat,sans-serif;
        color: var(--pyq-dark)
    }

    .hero-stat span {
        font-size: 12px;
        color: var(--pyq-muted);
        margin-top: 3px
    }

.hero-stat-exams {
    left: 1%;
    top: 18%
}

.hero-stat-categories {
    right: 0;
    top: 40%
}

.hero-stat-score {
    left: 9%;
    bottom: 4%
}

.hero-trust-row {
    display: grid;
    grid-template-columns: 1.35fr repeat(4,1fr);
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding: 20px 26px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--pyq-line);
    border-radius: 16px;
    box-shadow: 0 12px 38px rgba(16,24,40,.06)
}

    .hero-trust-row > div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        color: #475467;
        font-weight: 600;
        font-size: 13px
    }

    .hero-trust-row i {
        font-size: 20px;
        color: var(--pyq-green)
    }

    .hero-trust-row .trust-intro {
        display: block;
        border-right: 1px solid var(--pyq-line);
        text-align: left
    }

.trust-intro strong, .trust-intro span {
    display: block
}

.trust-intro strong {
    color: var(--pyq-dark);
    font-size: 15px
}

.trust-intro span {
    font-size: 12px;
    color: var(--pyq-muted);
    margin-top: 3px
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 30px
}

    .section-heading-row.compact {
        align-items: center;
        margin-bottom: 22px
    }

    .section-heading-row .page-head p {
        margin: 7px 0 0
    }

.section-link {
    white-space: nowrap;
    color: #168562;
    font-weight: 700;
    font-size: 14px
}

    .section-link i {
        margin-left: 6px;
        transition: .2s
    }

    .section-link:hover i {
        transform: translateX(4px)
    }

.category-content {
    margin-top: 32px
}

.category-exam-link {
    display: block;
    height: 100%
}

.category-content .course-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    height: 100%;
    padding: 22px
}

    .category-content .course-card h3 {
        font-size: 17px;
        margin: 0 0 5px;
        color: var(--pyq-dark)
    }

    .category-content .course-card p {
        min-height: 36px;
        margin-bottom: 9px
    }

    .category-content .course-card span {
        font-size: 12px;
        color: #168562;
        font-weight: 700
    }

.empty-home-state {
    border: 1px dashed #a7d7c7;
    border-radius: 14px;
    padding: 36px;
    text-align: center;
    color: var(--pyq-muted)
}

.home-exams-section {
    padding: 80px 0;
    background: #f7f9f8
}

.exam-spotlight-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dce5e1;
    border-radius: 16px;
    padding: 24px;
    transition: .25s;
    box-shadow: 0 4px 15px rgba(16,24,40,.035)
}

    .exam-spotlight-card:hover {
        transform: translateY(-5px);
        border-color: #61caa9;
        box-shadow: 0 16px 38px rgba(16,24,40,.09)
    }

.exam-card-top, .exam-card-actions, .exam-meta {
    display: flex;
    align-items: center
}

.exam-card-top {
    justify-content: space-between;
    margin-bottom: 20px
}

.exam-category-badge, .featured-badge, .paper-year, .free-badge {
    font-size: 11px;
    font-weight: 800;
    border-radius: 20px;
    padding: 5px 10px
}

.exam-category-badge {
    color: #157b5c;
    background: #e8f8f2
}

.featured-badge {
    color: #9a6700;
    background: #fff5d6
}

.exam-spotlight-card h3 {
    font-size: 21px;
    color: var(--pyq-dark);
    margin-bottom: 10px
}

.exam-spotlight-card > p {
    color: var(--pyq-muted);
    line-height: 1.65;
    min-height: 78px
}

.exam-meta {
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0
}

    .exam-meta span {
        font-size: 12px;
        color: #475467;
        background: #f6f8f7;
        padding: 7px 9px;
        border-radius: 7px
    }

    .exam-meta i {
        color: #168562;
        margin-right: 5px
    }

.exam-card-actions {
    justify-content: space-between
}

    .exam-card-actions .btn {
        border-radius: 8px;
        padding: 9px 17px;
        height: auto;
        line-height: 1.5
    }

.paper-link {
    font-size: 13px;
    color: #168562;
    font-weight: 700
}

.home-papers-section {
    padding: 80px 0;
    background: #fff
}

.paper-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--pyq-line);
    border-radius: 13px;
    padding: 16px;
    background: #fff;
    transition: .2s
}

    .paper-card:hover {
        border-color: #66c8aa;
        box-shadow: 0 10px 25px rgba(16,24,40,.07)
    }

.paper-icon {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #fff0ee;
    color: #db4b3f;
    font-size: 22px;
    flex: 0 0 auto
}

.paper-copy {
    min-width: 0;
    flex: 1
}

    .paper-copy h3 {
        font-size: 14px;
        color: var(--pyq-dark);
        margin: 6px 0 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .paper-copy p {
        font-size: 12px;
        color: var(--pyq-muted);
        margin: 0
    }

.paper-year {
    background: #eef4f1;
    color: #475467;
    padding: 3px 7px
}

.free-badge {
    background: #e9f9f2;
    color: #137657;
    padding: 3px 7px;
    margin-left: 5px
}

.paper-card > a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eaf8f3;
    display: grid;
    place-items: center;
    color: #168562;
    flex: 0 0 auto
}

.why-choose {
    padding: 85px 0;
    background: #f1fbf7
}

    .why-choose .page-head {
        margin-bottom: 34px
    }

    .why-choose .container-fluid {
        max-width: 1440px;
        padding-left: 64px;
        padding-right: 64px
    }

.why-box {
    height: 100%;
    background: #fff;
    border: 1px solid #def0e9;
    border-radius: 16px;
    padding: 26px;
    text-align: left
}

    .why-box .why-icon {
        width: 58px;
        height: 58px;
        border-radius: 13px;
        background: #033f2a;
        display: grid;
        place-items: center;
        margin-bottom: 18px
    }

        .why-box .why-icon img {
            max-width: 34px;
            max-height: 34px
        }

    .why-box h3 {
        font-size: 18px;
        color: var(--pyq-dark);
        margin-bottom: 9px
    }

    .why-box p {
        font-size: 14px;
        line-height: 1.65;
        margin: 0
    }

.home-updates-section {
    padding: 85px 0
}

.notification-list {
    display: grid;
    gap: 12px
}

    .notification-list article {
        display: flex;
        align-items: center;
        gap: 16px;
        border: 1px solid var(--pyq-line);
        border-radius: 13px;
        padding: 15px
    }

.notice-date {
    width: 52px;
    height: 54px;
    border-radius: 10px;
    background: #eaf9f3;
    display: grid;
    place-content: center;
    text-align: center;
    flex: 0 0 auto
}

    .notice-date strong {
        font-size: 20px;
        line-height: 1;
        color: #14795b
    }

    .notice-date span {
        font-size: 10px;
        text-transform: uppercase;
        color: #667085
    }

.notification-list article > div:nth-child(2) {
    flex: 1;
    min-width: 0
}

.notice-exam {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #168562;
    font-weight: 800
}

.notification-list h3 {
    font-size: 15px;
    margin: 3px 0
}

.notification-list p {
    font-size: 12px;
    color: var(--pyq-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 520px
}

.notification-list article > a {
    color: #168562
}

.recommendation-panel {
    height: 100%;
    border-radius: 22px;
    padding: 40px;
    background: linear-gradient(150deg,#0d3f31,#168b68 65%,#20b486);
    color: #fff;
    box-shadow: 0 22px 50px rgba(18,117,87,.22)
}

.panel-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #aef0d9
}

.recommendation-panel h2 {
    color: #fff;
    font-size: 32px;
    margin: 16px 0 12px
}

.recommendation-panel p {
    color: rgba(255,255,255,.76);
    line-height: 1.7
}

.match-preview {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    padding: 15px;
    border-radius: 12px;
    margin: 25px 0
}

    .match-preview > div:first-child {
        display: flex;
        justify-content: space-between
    }

    .match-preview strong {
        font-size: 25px
    }

    .match-preview .progress {
        height: 7px;
        background: rgba(255,255,255,.18);
        margin-top: 10px
    }

    .match-preview .progress-bar {
        background: #9ff0d5
    }

.recommendation-panel .btn {
    height: auto;
    line-height: 1.5;
    padding: 11px 18px;
    color: #126d53
}

.home-testimonials {
    padding: 85px 0;
    background: #f8faf9
}

    .home-testimonials .page-head {
        margin-bottom: 35px
    }

    .home-testimonials blockquote {
        height: 100%;
        background: #fff;
        border: 1px solid var(--pyq-line);
        border-radius: 16px;
        padding: 26px;
        margin: 0
    }

    .home-testimonials .featured-quote {
        border-color: #73d1b3;
        box-shadow: 0 14px 38px rgba(20,121,90,.1)
    }

.quote-stars {
    color: #f5b83d;
    letter-spacing: 3px;
    font-size: 13px
}

.home-testimonials blockquote p {
    font-size: 16px;
    line-height: 1.75;
    color: #344054;
    margin: 16px 0 22px
}

.home-testimonials footer strong, .home-testimonials footer span {
    display: block
}

.home-testimonials footer strong {
    font-size: 14px;
    color: #101828
}

.home-testimonials footer span {
    font-size: 12px;
    color: #667085;
    margin-top: 3px
}

.home-blog-section {
    padding: 85px 0
}

.home-blog-card {
    height: 100%;
    border: 1px solid var(--pyq-line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff
}

    .home-blog-card > img {
        width: 100%;
        height: 210px;
        object-fit: cover
    }

    .home-blog-card > div {
        padding: 23px
    }

    .home-blog-card span {
        font-size: 11px;
        color: #168562;
        font-weight: 700;
        text-transform: uppercase
    }

    .home-blog-card h3 {
        font-size: 20px;
        margin: 10px 0
    }

        .home-blog-card h3 a {
            color: #101828
        }

    .home-blog-card p {
        font-size: 14px;
        color: #667085;
        line-height: 1.6
    }

    .home-blog-card > div > a:last-child {
        font-size: 13px;
        color: #168562;
        font-weight: 700
    }

.home-cta {
    padding: 75px 20px;
    background: #fff
}

    .home-cta .seesion-box {
        max-width: 1190px;
        min-height: 250px;
        border-radius: 22px;
        padding: 46px 55px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 35px;
        text-align: left;
        background: linear-gradient(130deg,#0c3b2e,#168b68 70%,#25b98b);
        position: relative;
        overflow: hidden
    }

        .home-cta .seesion-box:after {
            content: "";
            position: absolute;
            width: 260px;
            height: 260px;
            border: 45px solid rgba(255,255,255,.07);
            border-radius: 50%;
            right: -80px;
            top: -110px
        }

    .home-cta span {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .09em;
        font-weight: 800;
        color: #aef0d9
    }

    .home-cta h2 {
        color: #fff;
        margin: 12px 0;
        font-size: 34px
    }

    .home-cta p {
        color: rgba(255,255,255,.75);
        margin: 0
    }

.cta-actions {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
    flex: 0 0 auto
}

    .cta-actions .btn {
        height: auto;
        line-height: 1.4;
        padding: 13px 20px;
        border-radius: 8px
    }

    .cta-actions .btn-light {
        color: #126d53
    }

@media(max-width:1199px) {
    .home-page .container-fluid, .why-choose .container-fluid {
        padding-left: 36px;
        padding-right: 36px
    }

    .home-hero .sub-title {
        font-size: 52px
    }

    .hero-stat-categories {
        right: -2%
    }

    .hero-trust-row {
        grid-template-columns: 1.2fr repeat(2,1fr)
    }

        .hero-trust-row > div:nth-last-child(-n+2) {
            display: none
        }
}

@media(max-width:991px) {
    .home-hero {
        padding-top: 150px
    }

    .home-hero-art {
        min-height: 500px;
        margin-top: 10px
    }

    .home-hero .slider-content {
        max-width: none
    }

    .hero-trust-row {
        margin-top: 5px
    }

    .home-cta .seesion-box {
        display: block;
        text-align: center
    }

    .cta-actions {
        justify-content: center;
        margin-top: 25px
    }
}

@media(max-width:767px) {
    .home-page .container-fluid, .why-choose .container-fluid {
        padding-left: 20px;
        padding-right: 20px
    }

    .home-hero {
        padding: 125px 0 30px
    }

        .home-hero .sub-title {
            font-size: 42px
        }

        .home-hero .slider-content p {
            font-size: 16px
        }

    .hero-actions {
        display: grid
    }

        .hero-actions .btn {
            justify-content: center;
            margin-top: 0
        }

    .hero-benefits {
        display: grid;
        gap: 8px
    }

    .home-hero-art {
        min-height: 410px;
        width: 100%;
        margin: 0
    }

    .hero-image-ring {
        width: 310px;
        height: 310px;
        right: 7%
    }

    .hero-stat {
        padding: 10px 12px
    }

    .hero-stat-exams {
        left: 0;
        top: 16%
    }

    .hero-stat-categories {
        right: 0
    }

    .hero-stat-score {
        left: 3%
    }

    .hero-trust-row {
        grid-template-columns: 1fr 1fr;
        padding: 17px
    }

        .hero-trust-row .trust-intro {
            grid-column: 1/-1;
            border: 0;
            text-align: center
        }

        .hero-trust-row > div {
            font-size: 12px
        }

    .section-heading-row {
        display: block
    }

    .section-link {
        display: inline-block;
        margin-top: 13px
    }

    .popular-category, .home-exams-section, .home-papers-section, .why-choose, .home-updates-section, .home-testimonials, .home-blog-section {
        padding: 60px 0
    }

    .notification-list p {
        max-width: 250px
    }

    .recommendation-panel {
        padding: 28px
    }

    .home-cta {
        padding: 50px 14px
    }

        .home-cta .seesion-box {
            padding: 36px 22px
        }

        .home-cta h2 {
            font-size: 28px
        }

    .cta-actions {
        display: grid
    }

    .category-wrapper {
        padding-left: 42px;
        padding-right: 42px
    }
}

@media(max-width:480px) {
    .home-hero .sub-title {
        font-size: 36px
    }

    .home-hero-art {
        min-height: 350px
    }

    .hero-image-ring {
        width: 260px;
        height: 260px
    }

    .hero-stat strong {
        font-size: 17px
    }

    .hero-stat span {
        font-size: 10px
    }

    .hero-stat-score {
        bottom: 0
    }

    .hero-trust-row > div:not(.trust-intro) {
        justify-content: flex-start
    }

    .notification-list p {
        max-width: 180px
    }

    .home-cta h2 {
        font-size: 25px
    }
}

.home-pricing-section {
    padding: 85px 0;
    background: #fff
}

.home-plan-card {
    height: 100%;
    position: relative;
    border: 1px solid var(--pyq-line);
    border-radius: 17px;
    padding: 27px;
    background: #fff
}

    .home-plan-card.recommended {
        border: 2px solid var(--pyq-green);
        box-shadow: 0 16px 38px rgba(20,121,90,.11)
    }

.recommended-label {
    position: absolute;
    right: 17px;
    top: 17px;
    padding: 4px 9px;
    border-radius: 20px;
    background: #e7f8f1;
    color: #14795b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.home-plan-card h3 {
    font-size: 20px;
    color: var(--pyq-dark)
}

.home-plan-card > p {
    font-size: 13px;
    color: var(--pyq-muted);
    min-height: 42px
}

.plan-price {
    font: 800 31px Montserrat,sans-serif;
    color: var(--pyq-dark);
    margin: 18px 0
}

    .plan-price small {
        font: 500 11px Inter,sans-serif;
        color: var(--pyq-muted)
    }

.home-plan-card ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none
}

.home-plan-card li {
    font-size: 13px;
    color: #475467;
    margin: 9px 0
}

    .home-plan-card li i {
        color: var(--pyq-green);
        margin-right: 7px
    }

.home-plan-card .btn {
    display: block;
    height: auto;
    line-height: 1.5;
    border-radius: 8px;
    padding: 10px
}

@media(max-width:767px) {
    .home-pricing-section {
        padding: 60px 0
    }
}

