:root {
    --primary: #335963;
    --secondary: #79A2AD;
    --highlight: #E0AC00;
    --light: #F4F8F9;
    --white: #ffffff;
    --dark: #1A2C32;
    
    --font-main: 'Lato', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--secondary); 
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--highlight); 
}

.btn {
    display: inline-block;
    background: var(--highlight);
    color: var(--dark);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}

.btn:hover {
    background: #c99a00;
    color: var(--white);
}

footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 5px solid var(--highlight);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    margin-left: auto;
}

.hero-section {
    text-align: center;
    padding: 12rem 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('/assets/img/Caldew Lea Drama Workshops-55.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    color: #ffffff;
}

.hero-section .section-title {
    color: #ffffff; 
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.hero-section p {
    color: #f0f0f0;
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-section .section-title::after {
    background: var(--highlight);
}

.hero-logo {
    max-height: 280px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--highlight); 
    margin: 15px auto 0;
    border-radius: 2px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.mission-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}


.mask-speech-bubble {

    -webkit-mask-image: url('/assets/img/speech-bubble.svg');
    mask-image: url('/assets/img/speech-bubble.svg');

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    -webkit-mask-position: center;
    mask-position: center;

    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mask-container {
    width: 260px;
    height: 220px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.mask-container img {
    max-width: 100%;
    height: 100%;
}

.mission-card:hover .mask-container {
    transform: scale(1.05);
}

.quote-section {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 20px;
}

.quote-mark {
    font-size: 5rem;
    color: #e0e0e0;
    line-height: 1;
    display: block;
    font-family: serif;
}

.quote-text {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.6;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
}

.split-text { flex: 1; }
.split-image { flex: 1; display: flex; justify-content: center; }

.circle-frame {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: black;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.contact-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1100px;
        margin: 50px auto;
        padding: 0 20px;
        gap: 50px;
    }

    .contact-info {
        flex: 1;
        min-width: 300px;
    }
    
    .contact-info h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #333;
    }
    
    .contact-info p {
        line-height: 1.6;
        color: #666;
        margin-bottom: 30px;
    }

    .info-item {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        background-color: #f0f0f0;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 15px;
        font-size: 1.2rem;
    }

    .contact-form-card {
        flex: 1;
        min-width: 300px;
        background: #ffffff;
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #333;
    }

.form-group input, 
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        transition: border-color 0.3s;
        font-family: inherit;
    }

    .form-group input:focus, 
    .form-group textarea:focus {
        border-color: --primary;
        outline: none;
    }

    .btn-submit {
        background-color: #335963;
        color: white;
        padding: 12px 30px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;
        transition: background 0.3s;
    }

    .btn-submit:hover {
        background-color: --primary;
    }

@media (max-width: 768px) {
    
    .header-inner {
        flex-wrap: wrap; 
    }

    .mobile-toggle {
        display: block;
        margin-left: auto; 
    }

    .main-nav {
        width: 100%;
        order: 3; 
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--light);
        padding: 1rem 0;
        border-top: 2px solid var(--secondary);
    }

    .main-nav.active ul {
        display: flex;
    }

    .main-nav li {
        text-align: center;
        margin: 15px 0;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }

    .split-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .circle-frame { 
        width: 300px; 
        height: 300px; 
        margin-bottom: 2rem; 
        }
}