/* ========================================
   Lionheart Tutoring — Stylesheet
   Teal + navy palette, warm & inviting
   ======================================== */

:root {
    --teal-900: #0d4f4f;
    --teal-800: #115e5e;
    --teal-700: #177070;
    --teal-600: #1a8585;
    --teal-500: #1e9e9e;
    --teal-400: #2bb5b5;
    --teal-300: #5ccfcf;
    --teal-200: #99e0e0;
    --teal-100: #ccf0f0;
    --teal-50:  #eaf8f8;
    --navy-900: #111827;
    --navy-800: #1f2937;
    --navy-700: #374151;
    --warm-100: #fdf8f0;
    --white: #ffffff;
    --grey-50: #f9fafb;
    --grey-100: #f3f4f6;
    --grey-200: #e5e7eb;
    --grey-500: #6b7280;
    --grey-600: #4b5563;
    --grey-700: #374151;
    --grey-800: #1f2937;
    --grey-900: #111827;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--grey-800); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--teal-500); }
ul { list-style: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* --- Navigation (dark navy) --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--navy-900);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center; height: 70px;
}
.nav-logo {
    font-family: var(--font-display); font-size: 1.35rem; color: var(--teal-300);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-logo:hover { color: var(--teal-200); }
.nav-lion { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    font-size: 0.95rem; font-weight: 500; color: #d1d5db;
    text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-300); }
.nav-cta {
    background: var(--teal-600); color: var(--white) !important;
    padding: 8px 20px; border-radius: var(--radius-sm); font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-500) !important; color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 30px; height: 24px; position: relative; z-index: 1001;
}
.nav-toggle span {
    display: block; width: 100%; height: 2px; background: #d1d5db;
    border-radius: 2px; position: absolute; left: 0; transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--warm-100) 40%, #e8f4f0 70%, var(--teal-100) 100%);
    padding: 140px 24px 80px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(30,158,158,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,237,224,0.5) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--teal-900); line-height: 1.2; margin-bottom: 16px; }
.hero-subtitle { font-size: 1.2rem; color: var(--grey-600); font-weight: 300; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 1rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s ease; cursor: pointer;
}
.btn-primary { background: var(--teal-600); color: var(--white); }
.btn-primary:hover { background: var(--teal-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--teal-700); border: 2px solid var(--teal-300); }
.btn-outline:hover { background: var(--teal-50); color: var(--teal-800); border-color: var(--teal-500); }

/* --- Sections --- */
.section { padding: 80px 0; }
.section-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.2rem); color: var(--teal-900); margin-bottom: 32px; }

/* --- Subjects --- */
.subjects { background: var(--white); }
.subjects .section-title { text-align: center; }
.subjects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.subject-card {
    background: var(--teal-50); border: 1px solid var(--teal-100);
    border-radius: var(--radius-md); padding: 28px 24px; text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.subject-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.subject-icon { font-size: 2rem; margin-bottom: 12px; }
.subject-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-800); margin-bottom: 6px; }
.subject-card p { font-size: 0.9rem; color: var(--grey-600); line-height: 1.5; }

/* --- About --- */
.about { background: var(--grey-50); }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; }
.about-text p { margin-bottom: 16px; color: var(--grey-700); }
.about-text ul { margin: 0 0 16px 0; padding-left: 20px; list-style: disc; }
.about-text li { margin-bottom: 6px; color: var(--grey-700); font-size: 0.95rem; }
.text-link { color: var(--teal-600); font-weight: 600; border-bottom: 2px solid var(--teal-200); transition: border-color 0.2s ease; }
.text-link:hover { border-color: var(--teal-500); color: var(--teal-700); }

/* --- Stats Band (navy) --- */
.stats-band {
    background: var(--navy-900); padding: 28px 24px;
    display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal-300); }
.stat-label { font-size: 0.8rem; color: #9ca3af; font-weight: 500; margin-top: 2px; }
.stat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--navy-700); }

/* --- Location --- */
.location { background: var(--white); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.location-text p { margin-bottom: 16px; color: var(--grey-700); }
.town-list {
    font-size: 0.95rem; color: var(--teal-800); font-weight: 500; line-height: 1.9;
    padding: 16px 20px; background: var(--teal-50); border-radius: var(--radius-sm);
    border-left: 4px solid var(--teal-400);
}
.location-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }

/* --- Contact (deep teal) --- */
.contact { background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%); color: var(--white); text-align: center; }
.contact .section-title { color: var(--white); }
.contact-intro { max-width: 600px; margin: -12px auto 40px; color: var(--teal-200); font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 500px; margin: 0 auto; }
.contact-card {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md); padding: 32px 24px; text-decoration: none; color: var(--white);
    transition: background 0.2s ease, transform 0.2s ease;
}
.contact-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); color: var(--white); }
.contact-icon { font-size: 1.8rem; margin-bottom: 12px; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { font-size: 0.9rem; color: var(--teal-200); }

/* --- Footer (navy) --- */
.footer { background: var(--navy-900); color: var(--grey-500); text-align: center; padding: 40px 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo {
    font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-300);
    display: flex; align-items: center; gap: 8px;
}
.footer-lion { width: 24px; height: 24px; }
.footer-text { font-size: 0.9rem; color: var(--grey-500); }
.footer-copy { font-size: 0.8rem; color: var(--grey-600); margin-top: 8px; }

/* --- Page Header (FAQ & Fees) --- */
.page-header {
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--warm-100) 50%, var(--teal-100) 100%);
    padding: 120px 24px 50px; text-align: center;
}
.page-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--teal-900); }
.page-header p { color: var(--grey-600); margin-top: 8px; font-size: 1.1rem; }

/* --- FAQ --- */
.faq-section { padding: 60px 0 80px; }
.faq-item { border-bottom: 1px solid var(--grey-200); padding: 28px 0; }
.faq-item:first-child { border-top: 1px solid var(--grey-200); }
.faq-question {
    font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-800);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    background: none; border: none; width: 100%; text-align: left; padding: 0; line-height: 1.4;
}
.faq-question::after {
    content: '+'; font-family: var(--font-body); font-size: 1.5rem; font-weight: 300;
    color: var(--teal-400); flex-shrink: 0; transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 800px; }
.faq-answer-inner { padding-top: 16px; color: var(--grey-700); line-height: 1.8; }
.faq-answer-inner p { margin-bottom: 12px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* --- Fees --- */
.fees-section { padding: 60px 0 80px; }
.fees-intro { max-width: 700px; margin: 0 auto 40px; text-align: center; color: var(--grey-700); line-height: 1.8; }
.fees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 800px; margin: 0 auto 48px; }
.fee-card {
    background: var(--teal-50); border: 2px solid var(--teal-100);
    border-radius: var(--radius-md); padding: 36px 24px; text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.fee-card:hover { transform: translateY(-3px); border-color: var(--teal-300); }
.fee-card.featured { border-color: var(--teal-400); background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 100%); box-shadow: var(--shadow-md); }
.fee-duration { font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-800); margin-bottom: 12px; }
.fee-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--teal-900); line-height: 1; margin-bottom: 8px; }
.fee-note { font-size: 0.85rem; color: var(--grey-500); }
.fees-details { max-width: 700px; margin: 0 auto; color: var(--grey-700); }
.fees-details p { margin-bottom: 16px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--navy-900); flex-direction: column;
        padding: 100px 32px 32px; gap: 24px; box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1.1rem; }
    .nav-cta { text-align: center; width: 100%; padding: 12px 20px; }
    .hero { padding: 120px 24px 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { padding: 12px 24px; font-size: 0.95rem; width: 100%; max-width: 280px; text-align: center; }
    .subjects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image { max-width: 250px; margin: 0 auto; }
    .location-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .fees-grid { grid-template-columns: 1fr; max-width: 320px; }
    .stats-band { gap: 12px; padding: 24px 16px; }
    .stat-number { font-size: 1.3rem; }
    .stat-dot { display: none; }
}

@media (max-width: 480px) {
    .subjects-grid { grid-template-columns: 1fr; }
    body { font-size: 16px; }
    .section { padding: 60px 0; }
}
