:root {
    --green-900: #1a4d2e;
    --green-800: #1f5c36;
    --green-700: #2d6a4f;
    --green-600: #40916c;
    --green-500: #52b788;
    --green-100: #d8f3dc;
    --green-50: #edf7f0;
    --mint-bg: #eef8f1;
    --navy: #1a2332;
    --text-muted: #64748b;
    --footer-bg: #0f1419;
}

* {
    scroll-behavior: smooth;
}

body.landing-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--navy);
    background: #fff;
    overflow-x: hidden;
}

/* ── Navigation ── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.landing-nav .navbar {
    padding: 1rem 0;
}

.landing-nav--overlay {
    background: transparent;
}

.landing-nav--overlay .landing-brand,
.landing-nav--overlay .landing-nav-links .nav-link,
.landing-nav--overlay .landing-nav-user {
    color: #fff;
}

.landing-nav--overlay .btn-landing-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.landing-nav--overlay .btn-landing-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

.landing-nav--overlay .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.landing-nav--overlay .navbar-toggler-icon {
    filter: invert(1);
}

.landing-nav--solid {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}

.landing-nav--solid .landing-brand {
    color: var(--green-800);
}

.landing-nav--solid .landing-nav-links .nav-link {
    color: #334155;
}

.landing-nav--solid .landing-nav-links .nav-link:hover {
    color: var(--green-700);
}

.landing-nav--solid .landing-nav-user {
    color: var(--text-muted);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
}

.landing-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--green-700);
    color: #fff;
    border-radius: 8px;
    font-size: 1.1rem;
}

.landing-brand-icon--sm {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

/* Real centre logo, used in the nav and the footer */
.landing-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.landing-brand-logo--sm {
    width: 34px;
    height: 34px;
}

.landing-nav-links .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.landing-nav--overlay .landing-nav-links .nav-link:hover {
    color: var(--green-100);
}

.landing-nav-user {
    font-size: 0.875rem;
    margin-right: 0.25rem;
}

.btn-landing-primary {
    background: var(--green-800);
    color: #fff;
    border: 2px solid var(--green-800);
    border-radius: 8px;
    padding: 0.45rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
}

.btn-landing-primary:hover {
    background: var(--green-900);
    border-color: var(--green-900);
    color: #fff;
}

.btn-landing-outline {
    background: transparent;
    color: var(--green-800);
    border: 2px solid var(--green-800);
    border-radius: 8px;
    padding: 0.45rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.btn-landing-outline:hover {
    background: var(--green-50);
    color: var(--green-800);
    border-color: var(--green-800);
}

@media (max-width: 991.98px) {
    .landing-nav--overlay .navbar-collapse {
        background: rgba(26, 77, 46, 0.97);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .landing-nav--solid .navbar-collapse {
        background: #fff;
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .landing-nav-actions {
        flex-direction: column;
        align-items: stretch !important;
        margin-top: 0.75rem;
    }
}

/* ── Hero ── */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    /* Centre photo behind the copy, tinted green so the text stays readable. */
    background:
        radial-gradient(ellipse at 20% 80%, rgba(82, 183, 136, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, rgba(26, 77, 46, 0.92) 0%, rgba(45, 106, 79, 0.85) 45%, rgba(31, 92, 54, 0.93) 100%),
        url('../landingpage1.jpeg') center / cover no-repeat;
    padding: 7rem 1rem 4rem;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.landing-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.landing-trust-badge i {
    color: var(--green-500);
}

.landing-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.landing-hero-title .highlight {
    color: var(--green-500);
}

.landing-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.landing-hero-desc {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.btn-hero-primary {
    background: #fff;
    color: var(--green-800);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
    background: var(--green-50);
    color: var(--green-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, border-color 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 760px;
    margin: 0 auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-stat-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.landing-stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 767.98px) {
    .landing-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Section shared ── */
.landing-section {
    padding: 5rem 0;
}

.landing-section-label {
    color: var(--green-700);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.landing-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.landing-section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ── About ── */
.landing-about {
    background: #fff;
}

.landing-about-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.landing-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin: 1.75rem 0 2rem;
    list-style: none;
    padding: 0;
}

.landing-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.925rem;
    color: #334155;
}

.landing-checklist i {
    color: var(--green-600);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.landing-about-image-wrap {
    position: relative;
}

.landing-about-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.landing-years-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--green-800);
    color: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 77, 46, 0.3);
}

.landing-years-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.landing-years-badge .label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.landing-rating-badge {
    position: absolute;
    top: 1rem;
    right: -0.5rem;
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-rating-badge .stars {
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.95rem;
}

.landing-rating-badge .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .landing-about-image-wrap {
        margin-top: 2.5rem;
    }

    .landing-years-badge {
        left: 0;
    }

    .landing-rating-badge {
        right: 0;
    }
}

@media (max-width: 575.98px) {
    .landing-checklist {
        grid-template-columns: 1fr;
    }
}

/* ── Services ── */
.landing-services {
    background: var(--mint-bg);
    text-align: center;
}

.landing-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: left;
    height: 100%;
    border: 1px solid rgba(45, 106, 79, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(45, 106, 79, 0.1);
}

.landing-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.landing-service-icon--green {
    background: var(--green-50);
    color: var(--green-700);
}

.landing-service-icon--pink {
    background: #fce7f3;
    color: #db2777;
}

.landing-service-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.landing-service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ── Teachers ── */
.landing-teachers {
    background: #fff;
    text-align: center;
}

.landing-teacher-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-align: left;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.landing-teacher-photo {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.landing-teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-teacher-rating {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.landing-teacher-rating i {
    color: #f59e0b;
}

.landing-teacher-body {
    padding: 1.25rem;
}

.landing-teacher-body h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.landing-teacher-subject {
    color: var(--green-700);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.landing-teacher-exp {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.landing-teacher-body p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.landing-teachers-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.landing-teachers-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-teachers-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.landing-teachers-dots .dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--green-700);
}

.landing-teachers-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    color: #334155;
}

.landing-teachers-arrow:hover {
    background: var(--green-50);
    border-color: var(--green-600);
    color: var(--green-700);
}

/* ── Contact ── */
.landing-contact {
    background: #fff;
    text-align: center;
}

.landing-contact-info {
    text-align: left;
}

.landing-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.landing-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.landing-contact-item h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.landing-contact-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.landing-contact-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 16/10;
    margin-top: 0.5rem;
}

.landing-contact-form-wrap {
    background: var(--mint-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
}

.landing-contact-form-wrap .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy);
}

.landing-contact-form-wrap .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 0.875rem;
}

.landing-contact-form-wrap .form-control:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

/* ── Footer ── */
.landing-footer {
    background: var(--footer-bg);
    color: #94a3b8;
    padding: 4rem 0 0;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.landing-footer-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.landing-footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 260px;
}

.landing-footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.landing-footer-links,
.landing-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer-links li,
.landing-footer-contact li {
    margin-bottom: 0.6rem;
}

.landing-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.landing-footer-links a:hover {
    color: var(--green-500);
}

.landing-footer-contact li {
    font-size: 0.875rem;
    line-height: 1.5;
}

.landing-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
}

.landing-footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}
