/* ===========================================================
   COLOUR PALETTE — STORMY MORNING
=========================================================== */
:root {
    --stormy-1: #6A89A7;
    --stormy-2: #BDDDFC;
    --stormy-3: #88BDF2;
    --stormy-4: #384959;
    --marian-blue: #2B4593;

    --accent-orange: #E35336;
    --accent-blue: #00008B;

    --text-dark: #2c2c2c;
    --text-light: #ffffff;

    --bg-light: #f7f9fb;
    --bg-soft: #eef3f7;
}

/* ===========================================================
   GLOBAL BASE + TEXTURED BACKGROUND
=========================================================== */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--marian-blue);
    font-size: 18px;
    line-height: 1.75;
    position: relative;
}

/* Subtle linen texture */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    opacity: 0.24;
    pointer-events: none;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.05) 50%, transparent 50%),
        linear-gradient(rgba(255,255,255,.05) 50%, transparent 50%);
    background-size: 3px 3px;
}

/* Soft radial depth */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.25) 100%);
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--stormy-4);
}

p {
    margin-bottom: 18px;
}

a {
    color: var(--stormy-1);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===========================================================
   HEADER — MISTY GRADIENT + FLOATING LOGO + LINES
=========================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;

    height: 130px;
    padding: 14px 40px;

    display: flex;
    align-items: center;
    gap: 40px;

    background: linear-gradient(to bottom, #BDDDFC, #6A89A7);
    border-bottom: 8px solid var(--accent-blue);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);

    z-index: 1000;
    overflow: visible;
}

/* Mist layer */
.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
}

/* ORANGE LINE */
.navbar::after {
    content: "";
    position: absolute;
    left: 240px;
    bottom: 12px;
    width: calc(100% - 300px);
    height: 4px;
    background: var(--accent-orange);
    z-index: 6;
}

/* FLOATING LOGO */
.logo-badge {
    position: relative;
}

.logo-badge img {
    position: absolute;
    left: 40px;
    bottom: -160px;
    height: 210px;
    padding: 6px;

    background: white;
    border-radius: 70%;
    border-bottom: 4px solid var(--accent-blue);

    z-index: 9999;
    box-shadow:
        0 0 12px rgba(0,0,0,0.4),
        0 0 18px rgba(227, 83, 54, 0.4),
        0 0 28px rgba(227, 83, 54, 0.25);
}

/* NAV LINKS */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0 0 0 260px;
    padding: 0;
    z-index: 10;
}

.navbar a {
    color: white;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    background: rgba(255,255,255,0.2);
    color: var(--accent-orange);
}

/* ===========================================================
   BANNER / HERO
=========================================================== */
.banner {
    margin-top: 130px;
    height: 65vh;
    max-height: 720px;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 20px;

    background-size: cover;
    background-position: center;
    border: 10px solid var(--accent-orange);
    border-radius: 20px;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(81,120,145,0.25);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 0 3px 6px rgba(0,0,0,0.35);
}

.banner-tagline {
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
    margin-top: 10px;
}

/* ===========================================================
   UNIVERSAL CONTENT SECTIONS
=========================================================== */
main section,
.content,
.walking-therapy,
.play-therapy-schools,
.fees-content,
.faq-content {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;

    background-image: url('blue bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    border-radius: 14px;
    box-shadow: 0 0 14px rgba(0,0,0,0.15);
}

main section::before,
.content::before,
.walking-therapy::before,
.play-therapy-schools::before,
.fees-content::before,
.faq-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.35);
    border-radius: inherit;
    z-index: 0;
}

main section > *,
.content > *,
.walking-therapy > *,
.play-therapy-schools > *,
.fees-content > *,
.faq-content > * {
    position: relative;
    z-index: 1;
}

/* TEXT BOX */
.text-box {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  line-height: 1.6;
  color: #222;
  max-width: 900px;
  width: 100%;
}

/* ===========================================================
   FAQ HEADING FIX
=========================================================== */
.faq-content h2 {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* ===========================================================
   IMAGES
=========================================================== */
.page-image img {
    width: 100%;
    max-width: 260px;
    padding: 6px;
    border-radius: 12px;
    border: 3px solid var(--stormy-1);
    background: rgba(255,255,255,0.2);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.25),
        0 0 12px rgba(227,83,54,0.3);
    margin: 25px auto;
    display: block;
}

/* ===========================================================
   BUTTONS
=========================================================== */
.button,
.cta-button {
    display: inline-block;
    background: var(--stormy-1);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.button:hover,
.cta-button:hover {
    background: var(--stormy-4);
}

/* ===========================================================
   CONTACT FORM
=========================================================== */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px;
    border-radius: 6px;
    border: 1px solid var(--stormy-4);
    background: white;
    color: var(--stormy-4);
}

/* ===========================================================
   FOOTER (YOUR ORIGINAL — UNCHANGED)
=========================================================== */
.site-footer {
    margin-top: 40px;
    padding: 15px 20px;

    background: linear-gradient(to bottom, #BDDDFC, #6A89A7);
    border-top: 6px solid var(--accent-blue);

    color: white;
    text-align: center;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.site-footer a {
    color: #ffffff;
    font-weight: 600;
}

.footer-content,
.footer-bottom {
    margin: 0;
    padding: 0;
}

/* ---------- ONLY ADDITIONS (safe footer tidy) ---------- */

.footer-section {
    margin-bottom: 18px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 12px 0;
}

.footer-section li {
    margin-bottom: 4px;
}

.pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 6px;
}

.pill-tc {
    background-color: var(--accent-orange);
    color: white;
}

.pill-tc:hover {
    background-color: #c9442b;
}

/* ===========================================================
   SCHOOL WELLBEING PACKAGES
=========================================================== */

.school-packages {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    text-align: center;
}

.packages-intro {
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.package-pill {
    background: linear-gradient(to bottom, #dceaf7, #bdddfc);
    color: var(--stormy-4);
    padding: 22px 24px;
    margin-bottom: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    text-align: left;
}

/* FIXED: removed stray bracket */

.package-pill h3 {
    margin-top: 0;
    color: var(--marian-blue);
}

.package-pill ul {
    padding-left: 18px;
    margin: 12px 0;
}

.package-pill li {
    margin-bottom: 6px;
}

.package-pill strong {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.small-note {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .package-pill {
        padding: 18px;
    }
}

/* ===========================================================
   RESPONSIVE — MOBILE FIXES
=========================================================== */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 12px;
        text-align: center;
    }

    .navbar::after { display: none; }

    .logo-badge img {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 0 auto;
        height: 130px;
        display: block;
    }

    .navbar ul {
        margin: 0;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .navbar a {
        padding: 6px 10px;
        font-size: 0.95rem;
    }

    .banner {
        height: auto;
        min-height: 45vh;
        margin-top: 160px;
        padding: 20px 10px;
    }

    .banner-content h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .banner-tagline {
        font-size: 1.2rem;
    }

    main section,
    .content,
    .walking-therapy,
    .play-therapy-schools,
    .fees-content,
    .faq-content {
        margin: 20px 12px;
        padding: 18px;
    }

    .page-image img {
        max-width: 180px;
    }

    .site-footer {
        font-size: 0.85rem;
        padding: 12px;
    }
}
