:root {
    --primary-blue: #2a3854;
    --accent-red: #af2932;
    --text-dark: #1c2437;
    --text-muted: #5a6474;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --section-spacing: 100px;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Typography Helpers */
.text-center { text-align: center; }
.section-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent-red);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    gap: 10px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white);
    border: 2px solid var(--accent-red);
}

.btn-primary:hover {
    background-color: #8a1f26;
    border-color: #8a1f26;
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--accent-red);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('https://thevanleuvencompany.com/wp-content/uploads/2026/01/phoenixteam-1-scaled.jpg');
    background-size: cover;
    background-position: top center; /* Focus on top of image to avoid cutting heads */
    background-color: var(--primary-blue); /* Fallback */
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 56, 84, 0.85); /* Dark blue overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text .eyebrow {
    display: block;
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.justify-center {
    justify-content: center;
}

/* Alert Banner */
.alert-banner {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 16px 0;
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.alert-icon {
    font-size: 1.2rem;
}

.alert-text {
    font-size: 1.05rem;
}

/* Content Sections */
.content-section {
    padding: var(--section-spacing) 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .reverse-desktop .split-image-container {
        order: 2;
    }
    
    .reverse-desktop .split-text-container {
        order: 1;
    }
}

.split-image-container img {
    width: 100%;
    height: auto;
}

.rounded-shadow {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.split-text-container h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

/* CTA Strip */
.cta-strip {
    background-color: var(--primary-blue);
    padding: 60px 0;
    color: var(--white);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .cta-text {
        max-width: 70%;
    }
}

.cta-text h2 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 2rem;
}

.cta-text p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.header-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
    margin: 20px auto 0;
}

.header-underline.white {
    background-color: var(--white);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 250px; /* Fixed width for flex items to maintain grid-like appearance */
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-img-wrapper {
    height: 300px;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
}

.team-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

/* Mission Section */
.mission-section {
    position: relative;
    padding: 120px 0;
    background-image: url('https://owcptennessee.com/wp-content/uploads/2025/08/owcp_tennessee_dol_owcp_fed_comp.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 56, 84, 0.92);
    z-index: 1;
}

.mission-content {
    position: relative;
    z-index: 2;
}

.mission-content h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.mission-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 900px;
    margin: 40px auto 0;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light-bg);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-intro {
    background-color: var(--primary-blue);
    padding: 40px;
    text-align: center;
    color: var(--white);
}

.form-logo {
    height: 50px; /* Smaller logo for form header */
    margin: 0 auto 20px;
    filter: brightness(0) invert(1); /* Make logo white if transparent */
    background: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 4px;
}

.form-intro h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.form-intro p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.form-embed {
    padding: 40px;
}

/* Footer */
.site-footer {
    background-color: #1a2436; /* Darker than primary */
    color: rgba(255,255,255,0.5);
    padding: 60px 0;
    font-size: 0.85rem;
    text-align: center;
}

.disclaimer {
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .form-embed {
        padding: 20px;
    }
    
    .team-img-wrapper {
        height: 250px;
    }

    .team-grid {
        flex-direction: column;
    }

    .team-card {
        width: 100% !important;
        max-width: none !important;
        flex: auto;
    }

    .team-img-wrapper {
        height: 350px; /* Taller on mobile for better portrait view */
    }
}
