
:root {
    --navy: #101d35;
    --navy-light: #1b2d4c;
    --gold: #d8bc7a;
    --gold-dark: #b99a55;
    --cream: #faf9f6;
    --text: #263248;
    --muted: #657087;
    --border: #e2e6ed;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--navy);
    background: white;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 4px;
}

/* Navigation */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 7%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 9px;
    background: var(--navy);
    color: var(--gold);
    font-size: 28px;
    font-weight: bold;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-size: 16px;
    letter-spacing: 1px;
}

.brand-text small {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
}

.nav-links > a:not(.nav-button):hover,
.footer-links a:hover {
    color: var(--gold-dark);
}

.nav-button {
    padding: 12px 18px;
    border-radius: 7px;
    color: white;
    background: var(--navy);
}

.nav-button:hover {
    background: var(--navy-light);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 27px;
    cursor: pointer;
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
    padding: 100px 9%;
    color: white;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(216, 188, 122, 0.12),
            transparent 32%
        ),
        var(--navy);
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.hero .eyebrow {
    color: var(--gold);
}

.hero h1 {
    margin: 20px 0;
    max-width: 650px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.12;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-description {
    max-width: 580px;
    color: #d1d9e6;
    font-size: 17px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s ease;
}

.button-gold {
    color: var(--navy);
    background: var(--gold);
}

.button-gold:hover {
    background: #e6d19e;
    transform: translateY(-2px);
}

.button-outline {
    color: white;
    border-color: #59667d;
}

.button-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
    color: #d1d9e6;
    font-size: 12px;
}

.hero-panel {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-panel .eyebrow {
    margin-bottom: 25px;
}

.journey-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.journey-step > span {
    color: var(--gold);
    font-size: 22px;
    font-weight: 700;
}

.journey-step h3 {
    margin: 0;
    font-size: 17px;
}

.journey-step p {
    margin: 5px 0 0;
    color: #c7d0df;
    font-size: 13px;
}

/* General sections */

.section {
    padding: 90px 8%;
}

.subjects-section {
    background: var(--cream);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-heading h2,
.about-content h2,
.booking-section h2 {
    margin: 12px 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-heading > p:last-child,
.about-content > p:last-child {
    color: var(--muted);
    line-height: 1.9;
}

.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

/* Subject cards */

.subject-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.subject-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
    transition: transform 0.25s, box-shadow 0.25s,
                border-color 0.25s;
}

.subject-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(16, 29, 53, 0.07);
}

.subject-number {
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 700;
}

.subject-level {
    align-self: flex-start;
    margin-top: 16px;
    padding: 5px 9px;
    border-radius: 5px;
    background: #f5f0e5;
    color: #80662f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.subject-card h3 {
    margin: 17px 0 8px;
    font-size: 21px;
    line-height: 1.35;
}

.subject-card > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 20px 0;
}

.tags span {
    padding: 5px 9px;
    border-radius: 5px;
    background: #f0f2f5;
    color: #536078;
    font-size: 11px;
}

.subject-card > a {
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    font-weight: 700;
}

.subject-card > a:hover {
    color: var(--gold-dark);
}

/* How it works */

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-grid article {
    text-align: center;
}

.process-number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: auto;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-size: 17px;
    font-weight: 700;
}

.process-grid h3 {
    margin-top: 22px;
    font-size: 19px;
}

.process-grid p {
    max-width: 310px;
    margin: auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* About */

.about-section {
    background: var(--cream);
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: auto;
}

/* Booking */

.booking-section {
    margin: 30px 8%;
    padding: 65px 25px;
    border-radius: 15px;
    background: var(--navy);
    color: white;
    text-align: center;
}

.booking-section h2 {
    max-width: 650px;
    margin: 15px auto;
}

.booking-section > p:not(.eyebrow) {
    max-width: 560px;
    margin: 18px auto 28px;
    color: #d1d9e6;
}

/* Footer */

.footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    padding: 38px 8%;
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-brand span {
    color: var(--gold-dark);
}

.footer > div:first-child p {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    font-size: 13px;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

/* Mobile layout */

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 75px 7%;
    }

    .hero-panel {
        max-width: 600px;
    }

    .subject-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .navbar {
        padding: 14px 5%;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .brand-symbol {
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 5% 20px;
        border-bottom: 1px solid var(--border);
        background: white;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a {
        padding: 14px 10px;
    }

    .nav-links .nav-button {
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        padding: 65px 6%;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-features {
        flex-direction: column;
        gap: 9px;
    }

    .section {
        padding: 65px 6%;
    }

    .subject-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        gap: 38px;
    }

    .booking-section {
        margin: 20px 5%;
        padding: 50px 20px;
    }

    .footer {
        grid-template-columns: 1fr;
        padding: 32px 6%;
    }

    .footer-links {
        gap: 16px;
    }

    .copyright {
        grid-column: auto;
    }
}


/* ==============================
   CREDIBILITY HIGHLIGHTS
   ============================== */

.credibility-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #e4e8ed;
    border-top: 1px solid #e4e8ed;
    border-bottom: 1px solid #e4e8ed;
}

.credibility-item {
    background: #ffffff;
    padding: 30px 16px;
    text-align: center;
}

.credibility-item strong {
    display: block;
    color: #b18b45;
    font-size: 1.65rem;
    margin-bottom: 7px;
}

.credibility-item span {
    color: #586477;
    font-size: 0.88rem;
}

/* ==============================
   TUTOR PROFILE
   ============================== */

.tutor-section {
    background: #f7f8fa;
}

.tutor-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.tutor-photo-wrapper {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
}

.tutor-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    background: #e4e8ed;
}

.tutor-content h2 {
    margin-bottom: 22px;
}

.tutor-content h3 {
    margin-bottom: 6px;
    color: #14243a;
    font-size: 1.5rem;
}

.tutor-role {
    color: #9a7739;
    font-weight: 600;
    margin-bottom: 24px;
}

.tutor-content > p:not(.eyebrow):not(.tutor-role) {
    line-height: 1.85;
    color: #586477;
    margin-bottom: 16px;
}

.tutor-content .button {
    display: inline-flex;
    margin-top: 12px;
}

/* ==============================
   ACADEMIC ACHIEVEMENTS
   ============================== */

.achievements-section {
    background: #ffffff;
}

.achievement-block {
    margin-top: 42px;
}

.achievement-block h3 {
    color: #14243a;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.achievement-intro {
    color: #687386;
    margin-bottom: 22px;
    line-height: 1.7;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.academic-card {
    border: 1px solid #e2e7ed;
    border-radius: 10px;
    padding: 22px 18px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.academic-card > span {
    color: #9a7739;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.academic-card h4 {
    color: #14243a;
    font-size: 1rem;
    line-height: 1.5;
    margin: 12px 0 18px;
}

.academic-card strong {
    color: #14243a;
    font-size: 1.8rem;
    margin-top: auto;
}

.matric-block {
    padding: 30px;
    background: #f7f8fa;
    border-radius: 12px;
}

.matric-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.matric-results > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e1e5eb;
}

.matric-results span {
    color: #465367;
    line-height: 1.5;
}

.matric-results strong {
    color: #9a7739;
    white-space: nowrap;
}

.awards-heading {
    margin: 28px 0 16px;
    color: #14243a;
    font-size: 1.05rem;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.achievement-note {
    color: #687386;
    font-size: 0.83rem;
    line-height: 1.7;
    margin-top: 24px;
}

/* ==============================
   RESPONSIVE LAYOUT
   ============================== */

@media (max-width: 900px) {
    .academic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tutor-layout {
        grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .credibility-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credibility-item {
        padding: 22px 10px;
    }

    .credibility-item strong {
        font-size: 1.4rem;
    }

    .tutor-layout {
        grid-template-columns: 1fr;
    }

    .tutor-photo-wrapper {
        max-width: 300px;
    }

    .academic-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .academic-card {
        padding: 16px 13px;
    }

    .matric-block {
        padding: 22px 16px;
    }

    .matric-results {
        grid-template-columns: 1fr;
    }
}


/* ==============================
   CONTACT PAGE
   ============================== */

.contact-hero {
    padding: clamp(60px, 9vw, 110px) 24px;
    background: #10243a;
    color: #ffffff;
    text-align: center;
}

.contact-hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.contact-hero .eyebrow {
    color: #d8bc83;
}

.contact-hero h1 {
    color: #ffffff;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.15;
    margin: 18px 0;
}

.contact-hero h1 span {
    display: block;
    color: #d8bc83;
}

.contact-hero-content > p:last-child {
    max-width: 620px;
    margin: 0 auto;
    color: #dce3ed;
    line-height: 1.8;
}

.contact-main {
    background: #f7f8fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.contact-info {
    padding-top: 14px;
}

.contact-info h2,
.contact-form-card h2 {
    color: #14243a;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 12px 0 16px;
}

.contact-info > p:not(.eyebrow) {
    color: #586477;
    line-height: 1.8;
}

.contact-detail {
    padding: 22px 0;
    border-bottom: 1px solid #e0e5eb;
}

.contact-detail-label {
    display: block;
    color: #9a7739;
    font-weight: 700;
    font-size: 0.83rem;
    margin-bottom: 8px;
}

.contact-detail p,
.contact-detail a {
    color: #26364b;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-detail a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-note {
    margin-top: 28px;
    padding: 24px;
    border-radius: 10px;
    background: #10243a;
    color: #ffffff;
}

.contact-note strong {
    color: #d8bc83;
}

.contact-note p {
    color: #e0e7ef;
    line-height: 1.7;
    margin: 10px 0 16px;
}

.text-link {
    color: #f0d49a;
    font-weight: 600;
}

.contact-form-card {
    padding: clamp(24px, 4vw, 42px);
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(16, 36, 58, 0.05);
}

.contact-form-intro {
    color: #687386;
    line-height: 1.7;
    margin-bottom: 28px;
}

#contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 21px;
}

#contact-form label {
    color: #26364b;
    font-size: 0.92rem;
    font-weight: 600;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    color: #17243b;
    background: #ffffff;
    border: 1px solid #d5dce5;
    border-radius: 7px;
    font: inherit;
    font-size: 0.95rem;
}

#contact-form input,
#contact-form select {
    min-height: 48px;
}

#contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    outline: 2px solid #b18b45;
    outline-offset: 2px;
    border-color: #b18b45;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    cursor: pointer;
    border: none;
    font: inherit;
    font-weight: 700;
}

.contact-status {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-status:empty {
    display: none;
}

.privacy-note {
    margin-top: 16px;
    color: #687386;
    font-size: 0.78rem;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 24px 18px;
    }
}


.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* Pricing section */
.pricing-section {
    padding: 80px 6%;
    background: #f7f8fb;
}

.pricing-section .section-heading {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.pricing-section .eyebrow {
    color: #a78035;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.pricing-section .section-heading h2 {
    margin: 12px 0;
    color: #14233b;
}

.pricing-section .section-heading p {
    color: #667085;
    line-height: 1.7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 35, 59, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pricing-card h3 {
    margin: 0 0 8px;
    color: #14233b;
    font-size: 1.15rem;
}

.pricing-description {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
}

.pricing-card .price {
    margin: 24px 0;
    color: #14233b;
    font-size: 2rem;
    font-weight: 750;
}

.pricing-card .price span {
    margin-left: 4px;
    color: #667085;
    font-size: 0.95rem;
    font-weight: 400;
}

.pricing-link {
    margin-top: auto;
    color: #14233b;
    font-weight: 650;
    text-decoration: none;
}

.pricing-link:hover {
    color: #a78035;
}

.pricing-note {
    max-width: 700px;
    margin: 28px auto 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 850px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .pricing-section {
        padding: 60px 5%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
