/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #5BA3D0;
    --secondary-blue: #E8F4F8;
    --accent-blue: #2D7A9B;
    --bg-light: #F8FAFB;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --white: #FFFFFF;
    --light-grey: #E5EFF3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Typography */
h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; color: var(--accent-blue); }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.cta-button {
    background: var(--accent-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--primary-blue);
}

.menu-toggle {
    display: none;
    background: var(--white);
    border: 2px solid var(--accent-blue);
    font-size: 1.5rem;
    color: var(--accent-blue);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: var(--accent-blue);
    color: var(--white);
}

/* Container & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 4rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 122, 155, 0.92), rgba(91, 163, 208, 0.88)), url('Children Running in Park.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero h1 {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto 1rem;
}

.hero-subhead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--white);
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--white);
    color: var(--accent-blue);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s, color 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--accent-blue);
}

.trust-chips {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.chip {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.profile-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bio-content h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.experience-list {
    list-style: none;
    margin: 1.5rem 0;
}

.experience-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.experience-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

.credentials {
    background: var(--light-grey);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* Support Areas */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: var(--accent-blue);
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.locations {
    background: var(--light-grey);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.locations h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.location-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-tag {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
}

/* Safeguards */
.safeguards {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.safeguard-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-grey);
}

.safeguard-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.safeguard-item h3 {
    color: var(--accent-blue);
}

.safeguard-item ul,
.safeguard-item ol {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.emergency-notice {
    background: #FFE5E5;
    border-left: 4px solid #DC3545;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    color: #721C24;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-mark {
    font-size: 3rem;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-blue);
}

/* Contact Section */
.contact-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-blue);
}

.abn-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-grey);
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #7CB9E8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Legal Pages Styling */
.legal-page {
    min-height: 60vh;
}

.legal-page h1 {
    color: var(--accent-blue);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        max-height: 500px;
        border-bottom: 2px solid var(--light-grey);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    nav {
        padding: 0.75rem 1rem;
    }
    
    .logo img {
        height: 70px;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .services-grid,
    .steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
