html {
    scroll-behavior: smooth;
}

/* --- 1. SETUP & VARIABLES --- */
:root {
    /* Colors (Inverted "Force for Good" Palette) */
    --bg-primary: #F9F9FB;    /* Paper White */
    --bg-secondary: #F0F2F5;  /* Light Grey Section Fill */
    --border-grid: #E2E8F0;   /* Hairline Grey */
    --text-main: #121212;     /* Onyx Black */
    --text-muted: #5F6368;    /* Muted Grey */
    
    /* Pinpoint Vivid Accents */
    --spark-orange: #D15B27;
    --healing-teal: #2D7A7F;
    --success-green: #00A36C;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-md: 40px;
    --spacing-lg: 80px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-weight: 300; 
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. TYPOGRAPHY --- */

h1, .section-label {
    font-family: 'Silkscreen', cursive;
    font-weight: 400;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.section-label {
    /* FIXED: Significantly larger now */
    font-size: 4rem; 
    line-height: 1;
    margin-bottom: 30px; 
    color: var(--text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    line-height: 1.1;
    margin-bottom: 20px;
}

h2, h3, .site-header, button, label, .hero-question {
    font-family: 'Manrope', sans-serif;
}

h2 {
    font-weight: 400; 
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

h3 {
    font-weight: 600; 
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p, input, textarea {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.arabic {
    font-family: 'Arial', sans-serif; 
    font-weight: normal;
    color: var(--text-main);
    font-size: 0.9em;
    margin-left: 5px;
}

/* --- 3. LAYOUT & SECTIONS --- */

/* Header */
.site-header {
    padding: 25px 0;
    border-bottom: 1px solid var(--border-grid);
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.accent-orange { color: var(--spark-orange); }

/* Hero Section */
.hero-section {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--border-grid);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end; 
}
.hero-sub {
    max-width: 90%;
}
.hero-question {
    font-size: 2rem;
    color: var(--spark-orange);
    text-align: right;
    font-weight: 600;
}

/* Values Section (The Source) */
.values-section {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--border-grid);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.value-card {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-grid);
    position: relative;
    transition: all 0.2s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--text-main);
}
.pinpoint {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 38px; 
    left: 15px;
    border-radius: 50%; 
}
.pinpoint.orange { background-color: var(--spark-orange); }
.pinpoint.teal { background-color: var(--healing-teal); }
.pinpoint.green { background-color: var(--success-green); }

.value-card h3 { padding-left: 15px; }
.value-card p { padding-left: 15px; font-size: 1rem; }

/* Manifesto Section */
.manifesto-section {
    padding: var(--spacing-lg) 0;
    text-align: center;
    background: var(--bg-primary);
}
.manifesto-body {
    max-width: 700px;
    margin: 30px auto 0;
}
.manifesto-quote {
    margin-top: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-main);
    border-left: 4px solid var(--spark-orange);
    padding-left: 25px;
    text-align: left;
    line-height: 1.4;
}

/* Form Sections */
.form-section {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-grid);
}
.individual-bg { background-color: #fff; }

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.form-title { margin-bottom: 10px; }
.form-desc { margin-bottom: 40px; }

.styled-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- CHECKBOX FIXED STYLES --- */
.checkbox-wrapper label.checkbox-label {
    display: flex !important;
    flex-direction: row !important; /* Forces side-by-side */
    align-items: center !important;
    justify-content: flex-start;
    gap: 15px; /* Space between box and text */
    text-transform: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

/* Explicitly size the checkbox so it doesn't grow */
.checkbox-wrapper input[type="checkbox"] {
    appearance: auto; /* Uses standard system checkbox */
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    accent-color: var(--spark-orange);
    border: 1px solid var(--border-grid);
    flex-shrink: 0; /* Prevents squashing */
}

.cb-text {
    flex: 1; /* Lets text take up remaining space */
    line-height: 1.3;
}
/* ----------------------------- */

.input-group input:not([type="checkbox"]) {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-grid);
    background: #fff; 
    font-size: 1rem;
    border-radius: 0; 
    transition: border-color 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--spark-orange);
}

/* Hidden Fields */
.hidden-fields {
    display: none; /* JS will toggle this */
    padding-left: 20px;
    border-left: 2px solid var(--border-grid);
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Buttons */
button {
    padding: 18px 30px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
button:hover { opacity: 0.9; }

.btn-main {
    background-color: var(--spark-orange);
    color: #fff;
}

.form-message {
    margin-top: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    min-height: 20px;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-grid);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 4. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-question {
        text-align: left;
        margin-top: 10px;
        font-size: 1.5rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .section-label { 
        font-size: 3rem; /* Still big, but fits mobile */
    } 
    
    .manifesto-quote {
        font-size: 1.2rem;
        padding-left: 15px;
    }
    
    .container {
        padding: 0 25px;
    }
}