/* ===== SHARED STYLES - Kids Writing Consult ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0a1428;
    --gold: #ffd54f;
    --gold-light: #ffe082;
    --green: #25D366;
    --light-bg: #f8f6f2;
    --text: #333;
    --text-light: #777;
    --border: #eee;
    --white: #fff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 76px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 20, 40, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s;
}
.navbar.scrolled {
    background: rgba(10, 20, 40, 0.99);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 76px;
    gap: 32px;
}
.nav-logo img { height: 46px; width: auto; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s;
}
.nav-links a:hover, .nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.nav-links a.active { color: var(--gold); }
.nav-cta {
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .nav-links {
        position: absolute;
        top: 76px; left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-bottom: 2px solid var(--gold);
    }
    .nav-links.open { max-height: 340px; padding: 16px 0; }
    .nav-links a { display: block; padding: 12px 28px; border-radius: 0; }
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 16px; }
.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding: 0 20px;
}
.section-tag::before, .section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px; height: 1px;
    background: var(--gold);
    opacity: 0.5;
}
.section-tag::before { right: 100%; }
.section-tag::after { left: 100%; }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-sub {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s;
}
.btn-dark:hover { background: #1a2a48; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,20,40,0.25); }
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.3s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,213,79,0.3); }
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s;
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, rgba(10,20,40,0.88) 0%, rgba(13,36,56,0.92) 100%), url('images/slider/1.jpg') center/cover no-repeat;
    padding: 90px 0 80px;
    min-height: 340px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero .container {
    width: 100%;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,213,79,0.08) 0%, transparent 70%);
    top: -100px; right: -50px;
    border-radius: 50%;
}
.page-hero-tag {
    display: inline-block;
    background: rgba(255,213,79,0.15);
    border: 1px solid rgba(255,213,79,0.4);
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.page-hero p {
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.02rem;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ===== FOOTER ===== */
.footer {
    background: #060e1c;
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col img { margin-bottom: 16px; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; color: rgba(255,255,255,0.55); }
.footer-col h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-col ul li a i { width: 16px; color: rgba(255,255,255,0.35); }
.footer-gbp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.3s;
}
.footer-gbp:hover { opacity: 0.8; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}
.social-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: var(--gold); text-decoration: none; }
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 550px) {
    .footer-grid { grid-template-columns: 1fr; }
}
/* ===== PAGE HERO RESPONSIVE ===== */
@media (max-width: 900px) {
    .page-hero {
        padding: 70px 0 60px;
        min-height: 280px;
    }
    .page-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2.4rem);
    }
    .page-hero p {
        font-size: 0.92rem;
        padding: 0 16px;
    }
}
@media (max-width: 600px) {
    .page-hero {
        padding: 54px 0 44px;
        min-height: 220px;
    }
    .page-hero h1 {
        font-size: clamp(1.25rem, 6vw, 1.9rem);
        margin-bottom: 10px;
    }
    .page-hero p {
        font-size: 0.88rem;
        display: none;
    }
    .page-hero-tag {
        font-size: 0.68rem;
        padding: 5px 14px;
        margin-bottom: 12px;
    }
    .breadcrumb { margin-top: 12px; font-size: 0.78rem; }
}