/* 1. The Alpine/Forest Color Palette */
:root {
    --pine-deep: #1b3022;      /* Deep Forest */
    --pine-mist: #2d4a36;      /* Lighter Pine */
    --mountain-slate: #3d5a80; /* Blue-Grey Rock */
    --birch: #f4f1de;         /* Off-white Bark */
    --snow: #ffffff;
    --board-orange: #e07a5f;   /* Safety Orange pop */
    --text-main: #2c3e50;
}

/* 2. Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--snow);
    color: var(--text-main);
    margin: 0;
    line-height: 1.4; /* Tightened from 1.6 */
}

/* 3. Hero Section - More Compact */
.hero {
    background: linear-gradient(135deg, var(--pine-deep) 0%, var(--mountain-slate) 100%);
    color: white;
    text-align: center;
    padding: 60px 20px; /* Reduced from 120px */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

/* 4. Features Grid - Centered & Tight */
.features {
    max-width: 1000px; /* Keeps cards from drifting too far apart */
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: var(--birch);
    padding: 25px;
    border-radius: 4px;
    border-bottom: 4px solid var(--pine-mist);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content inside card */
    justify-content: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* 5. About Section - Centered */
.about {
    padding: 50px 20px;
}

.about-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

/* 6. Join Us Section - Centered & Narrowed */
.cta-section {
    background: var(--pine-deep);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.intake-form {
    max-width: 450px; /* Narrower form looks better centered */
    margin: 30px auto 0;
    text-align: center; /* Centers the labels */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    box-sizing: border-box; /* Fixes width issues */
}

/* Centering the Radio Buttons */
.radio-options {
    display: flex;
    justify-content: center; /* This is the fix for centering radios */
    gap: 10px;
    margin-top: 10px;
}

.radio-label {
    flex: 1;
    border: 2px solid white;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + .radio-label {
    background: var(--snow);
    color: var(--pine-deep);
}

/* 7. Buttons */
.cta-btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--board-orange);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid white;
}

.cta-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* 8. Footer */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 40px;
}