
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    --teal: #0c3b34;
    --deep-teal: #082f29;
    --yellow: #f6c453;
    --white: #ffffff;
    --text: #18312c;
    --muted: #65736e;
    --border: #e2e9e5;
    --soft: #f5f8f6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.main-header {
    position: relative;
    z-index: 100;
    min-height: 68px;
    background: var(--teal);
    color: var(--white);
}

.header-inner {
    width: min(1184px, 92%);
    min-height: 68px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-yellow {
    color: var(--yellow);
}

.guild-label {
    margin-left: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 23px;
    min-height: 68px;
    font-size: 12px;
    font-weight: 700;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-dropdown > a span {
    margin-left: 5px;
    color: #c7d8d3;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -14px;
    min-width: 205px;
    padding: 9px;
    border-radius: 0 0 10px 10px;
    background: white;
    color: var(--teal);
    box-shadow: 0 15px 35px #001c1720;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    border-radius: 6px;
}

.dropdown-menu a:hover {
    background: #edf5f1;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tool-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    font-size: 22px;
}

.help-icon {
    width: 17px;
    height: 17px;
    border: 1.5px solid #d4e1dc;
    border-radius: 50%;
    font-size: 11px;
}

.sign-in {
    white-space: nowrap;
}

.book-button,
.yellow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 21px;
    border: 0;
    border-radius: 30px;
    background: var(--yellow);
    color: #17352d;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s, transform .2s;
}

.book-button:hover,
.yellow-button:hover {
    background: #ffda79;
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 27px;
    cursor: pointer;
}

/* HERO */

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: white;
    background: var(--teal);
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg,
            rgba(7, 53, 45, .98) 0%,
            rgba(7, 53, 45, .92) 36%,
            rgba(7, 53, 45, .68) 65%,
            rgba(7, 53, 45, .25) 100%),
        url('https://images.hostinger.com/b9d86afd-a2cf-4974-9089-3cb3d3c663ad.png');
    background-size: cover;
    background-position: center;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1184px, 92%);
    margin: auto;
    padding: 58px 0 55px;
}

.hero-copy {
    width: 570px;
    max-width: 100%;
}

.eyebrow {
    margin-bottom: 12px;
    color: #b28a30;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f9d780;
}

.hero h1 {
    margin-bottom: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(42px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-description {
    max-width: 480px;
    margin-bottom: 25px;
    color: #eef5f1;
    font-size: 16px;
    line-height: 1.7;
}

.hero .yellow-button {
    margin-bottom: 30px;
}

.destination-panel {
    padding: 22px;
    border: 1px solid #ffffff35;
    border-radius: 17px;
    background: #e1eee51a;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.destination-panel h2 {
    margin-bottom: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.destination-panel > p {
    margin-bottom: 17px;
    color: #d5e3dc;
    font-size: 12px;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.country-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 43px;
    padding: 0 13px;
    border: 1px solid #ffffff2e;
    border-radius: 9px;
    background: #e3f0ea20;
    font-size: 12px;
    font-weight: 600;
    transition: background .2s;
}

.country-option span {
    color: #d2e5dc;
    font-size: 22px;
}

.country-option:hover {
    background: #ffffff30;
}

/* SHARED SECTIONS */

.section-padding {
    padding: 85px 0;
}

.section-container {
    width: min(1184px, 90%);
    margin: auto;
}

.section-heading {
    max-width: 690px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2,
.preparation-copy h2,
.newsletter-copy h2,
.final-cta h2 {
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 3.3vw, 39px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.center-action {
    margin-top: 35px;
    text-align: center;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 23px;
    border: 1px solid var(--teal);
    border-radius: 30px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    transition: background .2s, color .2s;
}

.outline-button:hover {
    background: var(--teal);
    color: white;
}

.text-link {
    display: inline-block;
    color: #08715a;
    font-size: 12px;
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
}

/* BENEFITS */

.benefits {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.benefit-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #e9f4ef;
    color: var(--teal);
    font-size: 25px;
    font-weight: 700;
}

.benefit-card h3 {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.4;
}

.benefit-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* TEST CARDS */

.test-types {
    background: var(--soft);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.test-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
    transition: transform .2s, box-shadow .2s;
}

.test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px #143d3410;
}

.test-card > img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 15px;
    background: #edf4f0;
}

.test-card-content {
    padding: 21px 19px 23px;
}

.test-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: #28745f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
}

.test-card h3 {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.4;
}

.test-card p {
    min-height: 105px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* PREPARATION */

.preparation-section {
    background: white;
}

.preparation-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.preparation-image img {
    width: 100%;
    max-height: 470px;
    border-radius: 18px;
    object-fit: cover;
}

.preparation-copy h2 {
    max-width: 490px;
}

.preparation-copy > p:not(.eyebrow) {
    margin-bottom: 21px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.check-list {
    display: grid;
    gap: 13px;
    margin-bottom: 26px;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}

.check-list li span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #e4f3e9;
    color: #16734f;
    font-size: 12px;
}

.dark-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 30px;
    background: var(--teal);
    color: white;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s;
}

.dark-button:hover {
    background: #14564a;
}

/* TESTIMONIALS */

.testimonials-section {
    background: var(--teal);
    color: white;
}

.light-heading > p:last-child {
    color: #d1dfd9;
}

.light-heading .eyebrow {
    color: var(--yellow);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
}

.testimonial-card {
    padding: 28px;
    border-radius: 13px;
    background: white;
    color: var(--text);
}

.quote-mark {
    height: 38px;
    color: #d9ad3c;
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;
}

.testimonial-card > p {
    min-height: 105px;
    margin-bottom: 22px;
    color: #52625b;
    font-size: 13px;
    line-height: 1.8;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}

.reviewer-avatar {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: #e9f1ed;
    color: var(--teal);
    font-weight: 800;
}

.reviewer strong,
.reviewer span {
    display: block;
}

.reviewer strong {
    font-size: 12px;
}

.reviewer span {
    color: var(--muted);
    font-size: 10px;
}

.testimonial-note {
    margin-top: 20px;
    color: #d1dfd9;
    font-size: 10px;
    text-align: center;
}

/* TRUST CARDS */

.trust-section {
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.trust-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
}

.trust-card > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #edf4f0;
}

.trust-card-copy {
    padding: 25px;
}

.trust-card-copy h3 {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    line-height: 1.4;
}

.trust-card-copy > p:not(.eyebrow) {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* NEWSLETTER */

.newsletter-section {
    background: var(--soft);
}

.newsletter-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 65px;
}

.newsletter-copy > p:not(.eyebrow) {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.newsletter-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}

.newsletter-input-row {
    display: flex;
    gap: 9px;
}

.newsletter-input-row input {
    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 0 14px;
    border: 1px solid #d7e1da;
    border-radius: 7px;
    background: white;
    outline: none;
}

.newsletter-input-row input:focus {
    border-color: #33826d;
    box-shadow: 0 0 0 3px #33826d20;
}

.newsletter-form small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 10px;
}

.form-message {
    margin-top: 8px;
    color: var(--teal);
    font-size: 12px;
}

.newsletter-image img {
    width: 100%;
    max-height: 360px;
    border-radius: 16px;
    object-fit: cover;
}

/* FINAL CTA */

.final-cta {
    padding: 58px 0;
    background: #10483d;
    color: white;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.final-cta .eyebrow {
    color: var(--yellow);
}

.final-cta h2 {
    margin-bottom: 9px;
    font-size: clamp(27px, 3vw, 35px);
}

.final-cta-inner > div:first-child > p:last-child {
    color: #d5e5dd;
    font-size: 13px;
}

.final-cta-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 17px;
}

.cta-secondary {
    color: white;
    font-size: 12px;
    font-weight: 700;
}

/* CHAT SHORTCUT */

.chat-button {
    position: fixed;
    z-index: 110;
    right: 23px;
    bottom: 23px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--teal);
    box-shadow: 0 4px 15px #0002;
    transition: transform .2s;
}

.chat-button:hover {
    transform: translateY(-3px);
}

.chat-button span {
    font-size: 25px;
}

/* FOOTER */

.site-footer {
    padding: 55px 0 20px;
    background: #072e28;
    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    width: min(1184px, 90%);
    margin: auto;
    padding-bottom: 40px;
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-brand-column > p {
    max-width: 250px;
    color: #c5d6ce;
    font-size: 12px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

.footer-column a {
    color: #c5d6ce;
    font-size: 11px;
}

.footer-column a:hover,
.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: min(1184px, 90%);
    margin: auto;
    padding-top: 20px;
    border-top: 1px solid #ffffff20;
    color: #c5d6ce;
    font-size: 10px;
}

/* TABLETS */

@media (max-width: 1050px) {
    .header-inner {
        width: 90%;
    }

    .mobile-menu {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        padding: 22px 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 17px;
        background: var(--teal);
        box-shadow: 0 12px 25px #001c1730;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-dropdown {
        display: block;
        align-self: auto;
    }

    .nav-dropdown > a {
        padding: 5px 0;
    }

    .dropdown-menu {
        display: block;
        position: static;
        margin-top: 7px;
        border-radius: 8px;
        box-shadow: none;
    }

    .nav-tools {
        justify-content: flex-start;
    }

    .book-button {
        align-self: flex-start;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding-top: 48px;
    }

    .tests-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .test-card p {
        min-height: 70px;
    }

    .preparation-layout,
    .newsletter-layout {
        gap: 35px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .section-padding {
        padding: 58px 0;
    }

    .hero-background {
        background-image:
            linear-gradient(90deg, rgba(7, 53, 45, .94), rgba(7, 53, 45, .72)),
            url('https://images.hostinger.com/b9d86afd-a2cf-4974-9089-3cb3d3c663ad.png');
        background-position: center;
    }

    .hero-inner {
        width: 90%;
        padding: 38px 0;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .destination-panel {
        padding: 19px 15px;
    }

    .destination-panel h2 {
        font-size: 19px;
    }

    .country-grid {
        grid-template-columns: 1fr;
    }

    .country-option {
        min-height: 43px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2,
    .preparation-copy h2,
    .newsletter-copy h2 {
        font-size: 28px;
    }

    .benefits-grid,
    .tests-grid,
    .testimonials-grid,
    .trust-grid,
    .preparation-layout,
    .newsletter-layout {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .tests-grid,
    .testimonials-grid,
    .trust-grid {
        gap: 15px;
    }

    .test-card > img {
        height: 190px;
    }

    .test-card p,
    .testimonial-card > p {
        min-height: 0;
    }

    .preparation-layout,
    .newsletter-layout {
        gap: 28px;
    }

    .preparation-image {
        order: 0;
    }

    .preparation-copy {
        order: 1;
    }

    .trust-card > img {
        height: 190px;
    }

    .newsletter-input-row {
        flex-direction: column;
    }

    .newsletter-input-row .dark-button {
        align-self: flex-start;
    }

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .final-cta-actions {
        flex-wrap: wrap;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-button {
        right: 15px;
        bottom: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* PTE ACADEMIC PAGE */

.format-list {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.format-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 27px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.format-number {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.format-item h3 {
    margin: 3px 0 8px;
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

.format-item p {
    margin: 0;
    color: #63716b;
    font-size: 14px;
    line-height: 1.8;
}

.center-action {
    margin-top: 30px;
    text-align: center;
}

.check-list {
    display: grid;
    gap: 13px;
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 29px;
    color: #52625b;
    font-size: 14px;
    line-height: 1.7;
}

.check-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "✓";
    color: var(--teal);
    font-size: 18px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
}

@media (max-width: 650px) {
    .format-item {
        gap: 15px;
        padding: 20px;
    }

    .format-number {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .format-item h3 {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
    }
}


/* PTE ACADEMIC HERO SECTION */
.page-hero {
    position: relative;
    padding: 150px 0 100px;
    background: #0c3b34;
    color: #ffffff;
    overflow: hidden;
}

.page-hero .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-hero .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.page-hero .breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
}

.page-hero .breadcrumbs a:hover {
    color: #f6c453;
}

.page-hero .eyebrow {
    margin-bottom: 18px;
    color: #f6c453;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 800px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.1;
}

.page-hero-description {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.8;
}

.page-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.page-hero .yellow-button,
.page-hero .outline-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-hero .yellow-button {
    border: 1px solid #f6c453;
    background: #f6c453;
    color: #082f29;
}

.page-hero .yellow-button:hover {
    background: #ffda79;
}

.page-hero .outline-button {
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
}

.page-hero .outline-button:hover {
    background: #ffffff;
    color: #0c3b34;
}

@media (max-width: 650px) {
    .page-hero {
        padding: 115px 0 70px;
    }

    .page-hero .section-container {
        padding: 0 22px;
    }

    .page-hero .breadcrumbs {
        gap: 8px;
        margin-bottom: 28px;
        font-size: 12px;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .page-hero-description {
        font-size: 15px;
    }

    .page-hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .page-hero .yellow-button,
    .page-hero .outline-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==============================
   TESTS PAGE
============================== */

.tests-intro {
    background: #ffffff;
}

.test-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 25px;
}

.test-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 12px;
    background: #0c3b34;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.test-label {
    padding: 7px 10px;
    border-radius: 20px;
    background: #f1f5f2;
    color: #45645a;
    font-size: 11px;
    font-weight: 700;
}

.test-card h3 {
    margin: 0 0 14px;
    color: #0c3b34;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
}

.test-card > p {
    color: #63716b;
    font-size: 14px;
    line-height: 1.8;
}

.test-feature-list {
    display: grid;
    gap: 11px;
    margin: 22px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    list-style: none;
}

.test-feature-list li {
    position: relative;
    padding-left: 24px;
    color: #52625b;
    font-size: 13px;
    line-height: 1.6;
}

.test-feature-list li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #0c3b34;
    font-weight: 700;
}

.test-card .text-link {
    display: inline-block;
    margin-top: 4px;
    color: #0c3b34;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.test-card .text-link:hover {
    color: #a7780b;
}

.test-skills-section {
    background: #f5f7f5;
}

.test-skills-section .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.test-skills-section .benefit-card {
    min-width: 0;
}

@media (max-width: 900px) {
    .test-skills-section .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .test-card-top {
        align-items: flex-start;
    }

    .test-label {
        max-width: 150px;
        text-align: center;
    }

    .test-card h3 {
        font-size: 20px;
    }

    .test-skills-section .benefits-grid {
        grid-template-columns: 1fr;
    }
}



/* Center content in the PTE tests section */
.tests-page .trust-section {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    text-align: center;
}

.tests-page .trust-section h2,
.tests-page .trust-section h3,
.tests-page .trust-section p {
    text-align: center;
}

/* PTE SUCCESS GUILD — NAVIGATION FIX */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--teal, #073b3a);
    color: var(--white, #ffffff);
}

.nav-container {
    width: 96%;
    max-width: 1400px;
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}


.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    color: var(--white, #ffffff);
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand > span:first-child {
    display: block;
}

.brand-yellow {
    color: #f4c542;
}

.guild-label {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    color: var(--white, #ffffff);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: #f4c542;
}

.nav-arrow {
    font-size: 12px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 11px 12px;
    color: #173b3a;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
}

.dropdown a:hover {
    background: #f2f6f5;
    color: #0b7770;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.help-link {
    color: var(--white, #ffffff);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.button-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: #f4c542;
    color: #173b3a;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.button-yellow:hover {
    background: #ffda68;
}

.menu-toggle {
    display: none;
    padding: 7px 10px;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .nav-container {
        gap: 14px;
    }

    .desktop-nav {
        gap: 14px;
    }

    .nav-actions {
        gap: 10px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .desktop-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 75vh;
        overflow-y: auto;
        padding: 14px 5%;
        background: var(--teal, #073b3a);
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
    }

    .desktop-nav.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        padding: 13px 0;
    }

    .dropdown {
        display: none;
        position: static;
        min-width: 0;
        padding: 4px 10px;
        background: rgba(255, 255, 255, 0.08);
        border: none;
        border-radius: 5px;
        box-shadow: none;
    }

    .nav-item.open > .dropdown {
        display: block;
    }

    .dropdown a {
        color: #ffffff;
    }

    .dropdown a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #f4c542;
    }
}

@media (max-width: 600px) {
    .brand {
        font-size: 21px;
    }

    .nav-actions {
        gap: 10px;
    }

    .help-link {
        display: none;
    }

    .button-yellow {
        padding: 10px 12px;
        font-size: 12px;
    }

    .nav-container {
        width: 94%;
    }
}

/* Fix homepage logo alignment only */
@media (min-width: 901px) {
    .site-header .brand {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
        white-space: nowrap;
    }

    .site-header .guild-label {
        display: inline;
        margin-top: 0;
       font-size: 12px;
font-weight: 600;
        letter-spacing: normal;
        text-transform: none;
    }
}


