/* ─────────────────────────────────────────────────────────────────────────────
   English Driving School — Global CSS
   Shared by all public pages. Page-specific styles stay in each PHP file.
───────────────────────────────────────────────────────────────────────────── */

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

/* ── Variables ────────────────────────────────────────────────────────────── */
:root {
    --primary:       #355c7d;
    --primary-light: #5b84a0;
    --primary-dark:  #1e3d57;
    --primary-50:    #eef3f7;
    --bg-white:      #FFFFFF;
    --bg-gray:       #F8FAFC;
    --bg-dark:       #0F172A;
    --text-primary:  #1E293B;
    --text-secondary:#64748B;
    --text-light:    #94A3B8;
    --border:        #E2E8F0;
    --success:       #22C55E;
    --warning:       #F59E0B;
    --error:         #EF4444;
    --shadow-sm:     0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow:        0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg:     0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl:     0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius:        12px;
    --radius-lg:     16px;
    --radius-xl:     24px;
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Page header (used on all internal pages) ─────────────────────────────── */
.page-header {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--bg-white) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ── CTA section (blog, faq, information, testimonials) ───────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 1rem;
    opacity: 0.88;
    margin-bottom: 1.5rem;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
