/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #f4f6f9;
    color: #1a2744;
    line-height: 1.7;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===================== COLOURS ===================== */
:root {
    --navy: #1a2744;
    --teal: #2a9d8f;
    --teal-dark: #21867a;
    --white: #ffffff;
    --light: #f4f6f9;
    --mid: #e8edf5;
    --text: #2d3748;
    --muted: #64748b;
}

/* ===================== NAV ===================== */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-logo {
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    padding: 8px 20px;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    flex-wrap: wrap;
}
.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    background: var(--teal);
    color: var(--white);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===================== HERO ===================== */
#hero {
background: linear-gradient(135deg, #1a2744 0%, #0f1d38 60%, #1a3a50 100%);
color: var(--white);
text-align: center;
padding: 90px 2rem 80px;
position: relative;
overflow: hidden;
}
#hero::before {
content: '';
position: absolute;
inset: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232a9d8f' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.4;
}
.hero-logo-placeholder {
    background: rgba(255,255,255,0.08);
    border: 3px dashed rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    width: 240px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0 auto 2.5rem;
}
#hero h1 {
font-size: clamp(2.2rem, 5vw, 3.6rem);
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.2;
}
#hero h1 span { color: var(--teal); }
#hero p {
font-size: clamp(1rem, 2vw, 1.25rem);
color: rgba(255,255,255,0.8);
max-width: 650px;
margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s;
    cursor: pointer;
}
.btn-primary {
    background: var(--teal);
    color: var(--white);
    border: 2px solid var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ===================== SECTION BASE ===================== */
section { padding: 80px 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
    display: inline-block;
    background: var(--teal);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--navy);
    margin-bottom: 1.2rem;
    line-height: 1.25;
}
.section-lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 720px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Image Placeholder */
.img-placeholder {
    background: #dde3ee;
    border: 2px dashed #aab4cc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7a8aaa;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    gap: 8px;
    min-height: 220px;
}
.img-placeholder svg { opacity: 0.4; }

/* ===================== COMPONENT STYLES ===================== */
/* These are all the specific styles for your various sections across all pages */

/* About Elements */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin: 1.5rem 0; }
.about-list li { padding-left: 1.5rem; position: relative; color: var(--text); }
.about-list li::before { content: '▸'; color: var(--teal); position: absolute; left: 0; font-size: 0.9rem; }
.about-aims { background: var(--light); border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0; padding: 1.5rem 1.8rem; margin-top: 1.5rem; }
.about-aims h4 { color: var(--navy); margin-bottom: 0.8rem; font-size: 1rem; }
.founded-box { background: linear-gradient(135deg, var(--navy), #1a3a50); color: white; padding: 2rem; border-radius: 10px; margin-top: 2rem; font-size: 0.95rem; line-height: 1.8; }
.founded-box strong { color: var(--teal); }

/* Philosophy Elements */
#philosophy { background: var(--navy); color: white; }
#philosophy .section-title { color: white; }
#philosophy .section-lead { color: rgba(255,255,255,0.7); }
.philosophy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.philosophy-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 2rem; transition: background 0.2s, transform 0.2s; }
.philosophy-card:hover { background: rgba(42,157,143,0.12); transform: translateY(-3px); }
.philosophy-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.philosophy-card h3 { color: var(--teal); font-size: 1.1rem; margin-bottom: 0.8rem; }
.philosophy-card p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* Crime & Stats Elements */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.stat-box { background: var(--navy); color: white; border-radius: 10px; padding: 2rem 1.5rem; text-align: center; }
.stat-box .stat-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 0.5rem; }
.stat-box .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.4; }
.crime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1rem; }
.crime-alert { background: #fff3cd; border-left: 4px solid #f0a500; border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin-top: 1.5rem; font-size: 0.95rem; color: #5a4000; }

/* Self Defence & Quotes */
.selfdefence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.quote-block { background: var(--teal); color: white; border-radius: 10px; padding: 2rem 2.5rem; font-size: 1.15rem; font-style: italic; font-family: 'Playfair Display', serif; line-height: 1.7; margin: 2rem 0; position: relative; }
.quote-block::before { content: '"'; font-size: 5rem; color: rgba(255,255,255,0.2); position: absolute; top: -10px; left: 15px; font-family: Georgia, serif; line-height: 1; }
.research-stat { display: flex; align-items: center; gap: 1.2rem; background: var(--light); border-radius: 10px; padding: 1.2rem 1.5rem; margin-bottom: 1rem; }
.research-stat .rs-num { font-size: 2.2rem; font-weight: 700; color: var(--teal); font-family: 'Playfair Display', serif; min-width: 70px; text-align: center; }
.research-stat .rs-text { font-size: 0.9rem; color: var(--text); }
.programme-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.5rem; }
.prog-item { background: var(--light); border-radius: 6px; padding: 0.8rem 1rem; font-size: 0.88rem; display: flex; align-items: center; gap: 0.6rem; color: var(--text); }
.prog-item::before { content: '✓'; color: var(--teal); font-weight: 700; }

/* Schools */
.schools-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.school-card { background: white; border-radius: 10px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-top: 4px solid var(--teal); transition: transform 0.2s, box-shadow 0.2s; }
.school-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.school-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 1rem; }
.school-card p { font-size: 0.92rem; color: var(--text); margin-bottom: 0.8rem; }
.school-card ul { list-style: none; padding: 0; }
.school-card ul li { font-size: 0.88rem; color: var(--muted); padding: 4px 0 4px 1.2rem; position: relative; }
.school-card ul li::before { content: '→'; color: var(--teal); position: absolute; left: 0; }

/* Courses */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.course-card { background: var(--light); border: 1px solid var(--mid); border-radius: 8px; padding: 1.2rem; font-size: 0.88rem; color: var(--text); font-weight: 500; display: flex; align-items: flex-start; gap: 0.6rem; transition: background 0.2s; }
.course-card:hover { background: #e2f4f2; }
.course-card::before { content: '◆'; color: var(--teal); font-size: 0.6rem; margin-top: 4px; flex-shrink: 0; }
.format-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.format-box { background: var(--navy); color: white; border-radius: 10px; padding: 2rem; }
.format-box h3 { color: var(--teal); margin-bottom: 1rem; font-size: 1.05rem; }
.format-box ul { list-style: none; padding: 0; }
.format-box ul li { color: rgba(255,255,255,0.8); font-size: 0.9rem; padding: 5px 0 5px 1.4rem; position: relative; }
.format-box ul li::before { content: '✓'; color: var(--teal); position: absolute; left: 0; }

/* Health & Community */
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.health-highlight { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: white; border-radius: 12px; padding: 2.5rem; margin-top: 1.5rem; }
.health-highlight h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.health-highlight p { font-size: 0.95rem; opacity: 0.9; line-height: 1.8; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.comm-card { background: var(--navy); color: white; border-radius: 10px; padding: 2rem; }
.comm-card h3 { color: var(--teal); font-size: 1.1rem; margin-bottom: 1rem; }
.comm-card p { font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.two-way { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.two-way-card { background: var(--light); border-radius: 10px; padding: 1.8rem; border-top: 3px solid var(--teal); }
.two-way-card h4 { color: var(--navy); margin-bottom: 0.8rem; }
.two-way-card p { font-size: 0.92rem; color: var(--text); }

/* Respectful Connections */
.respectful-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.respect-block { margin-bottom: 2rem; }
.respect-block h3 { color: var(--teal); font-size: 1.15rem; margin-bottom: 0.8rem; }
.respect-block p { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.8; }
.culture-banner { grid-column: 1 / -1; background: rgba(42,157,143,0.15); border: 1px solid rgba(42,157,143,0.3); border-radius: 10px; padding: 2rem 2.5rem; text-align: center; margin-top: 1rem; }
.culture-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; font-style: italic; font-family: 'Playfair Display', serif; line-height: 1.7; }

/* Contact Form */
#contact { min-height: calc(100vh - 70px - 200px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; line-height: 1.8; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.contact-detail .cd-icon { background: var(--teal); color: white; width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-detail .cd-text strong { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 2px; }
.contact-detail .cd-text span { font-size: 0.92rem; color: var(--navy); }
.contact-form { background: var(--light); border-radius: 12px; padding: 2.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid #d0d8e8; border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--navy); background: white; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,157,143,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit { background: var(--teal); color: white; border: none; padding: 14px 36px; border-radius: 6px; font-size: 0.95rem; font-weight: 600; cursor: pointer; width: 100%; transition: background 0.2s, transform 0.2s; }
.btn-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ===================== FOOTER ===================== */
footer {
    background: #0f1d38;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.88rem;
}
footer strong { color: rgba(255,255,255,0.9); }
footer a { color: var(--teal); transition: opacity 0.2s; }
footer a:hover { opacity: 0.8; }
.footer-links { margin-top: 0.6rem; display: flex; justify-content: center; gap: 1.5rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .about-grid, .crime-grid, .selfdefence-grid, .format-flex, .health-grid, .community-grid, .two-way, .respectful-grid, .contact-grid { grid-template-columns: 1fr; }
    .philosophy-grid, .schools-tabs, .course-grid, .stats-row { grid-template-columns: 1fr 1fr; }
    .culture-banner { grid-column: 1; }
}
@media (max-width: 700px) {
    .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1rem 2rem 1.5rem; gap: 0; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .hamburger { display: flex; }
    .philosophy-grid, .stats-row, .schools-tabs, .course-grid, .programme-items { grid-template-columns: 1fr; }
}
