/* CSS Reset & Variables */
:root {
    --primary-navy: #0a1b3f;
    --secondary-navy: #132858;
    --accent-orange: #f58a27;
    --accent-yellow: #f8c922;
    --accent-teal: #22b8b0;
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #ffffff;
    --border-color: #e5e7eb;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #e07b1f;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-teal {
    background-color: var(--accent-teal);
    color: var(--text-light);
}

.btn-teal:hover {
    background-color: #1a9a93;
}

.section-tag {
    color: var(--accent-teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.icon {
    width: 24px;
    height: 24px;
}

/* Top Banner */
.top-banner {
    background-color: var(--bg-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-banner-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.top-banner-text strong {
    color: var(--primary-navy);
}

.top-banner-btn {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation */
.navbar {
    background-color: var(--text-light);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 18px;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 16px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-text span {
    font-size: 10px;
    color: var(--text-gray);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-orange);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-navy);
    cursor: pointer;
}

.mobile-only-btn {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 27, 63, 0.9), rgba(10, 27, 63, 0.2)), url('https://images.unsplash.com/photo-1544717305-2782549b5136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    color: var(--accent-yellow);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent-yellow);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Floating Drive Banner */
.drive-banner-wrapper {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.drive-banner {
    background-color: #fef3d9;
    border-radius: var(--border-radius-md);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.drive-banner-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.drive-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary-navy);
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1;
}

.drive-logo > div {
    display: flex;
    flex-direction: column;
}

.drive-logo-bars {
    display: flex;
    gap: 4px;
}

.drive-logo-bars span {
    width: 6px;
    height: 24px;
    border-radius: 2px;
}

.drive-logo-bars span:nth-child(1) { background-color: var(--primary-navy); }
.drive-logo-bars span:nth-child(2) { background-color: var(--accent-orange); }
.drive-logo-bars span:nth-child(3) { background-color: var(--accent-teal); }
.drive-logo-bars span:nth-child(4) { background-color: var(--primary-navy); }

.drive-text h4 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.drive-text p {
    font-size: 14px;
    color: var(--text-gray);
    max-width: 400px;
}

.drive-banner-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.every-county-badge {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-quote {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-style: italic;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
    color: var(--primary-navy);
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-content p.highlight {
    font-weight: 700;
    color: var(--primary-navy);
    border-left: 4px solid var(--accent-teal);
    padding-left: 16px;
    margin: 32px 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-box {
    background-color: #f0f7f7;
    padding: 32px;
    border-radius: var(--border-radius-md);
}

.feature-box-icon {
    width: 40px;
    height: 40px;
    background-color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent-teal);
}

.feature-box h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-gray);
}

/* What We Do Section */
.what-we-do {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.what-we-do .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--text-light);
    padding: 40px 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.service-card:nth-child(1) .service-icon { background-color: #fef3d9; color: var(--accent-orange); }
.service-card:nth-child(2) .service-icon { background-color: #e6f7f6; color: var(--accent-teal); }
.service-card:nth-child(3) .service-icon { background-color: #eef2fc; color: #4a7cfa; }
.service-card:nth-child(4) .service-icon { background-color: #fce8e8; color: #e55e5e; }

.service-card h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-image {
    height: 100%;
    min-height: 400px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-books-accepted {
    background-color: var(--text-light);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-books-accepted h3 {
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 24px;
}

.books-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.books-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-gray);
}

.books-list li svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

.drop-off-note {
    background-color: #f0f7f7;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--primary-navy);
    font-weight: 500;
}

/* How it Works */
.how-it-works {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.how-it-works .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-step {
    background-color: var(--text-light);
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--accent-teal);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 24px;
}

.process-step h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-gray);
}

/* Get Involved */
.get-involved {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 100px 0;
}

.get-involved-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.involved-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.involved-content h2 span {
    color: var(--accent-yellow);
}

.involved-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 90%;
}

.involved-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.option-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: var(--border-radius-md);
    transition: background-color 0.3s ease;
}

.option-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.option-card .num {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.option-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.option-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Footer Top */
.footer-top {
    background-color: var(--secondary-navy);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.footer-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(19, 40, 88, 0.8), transparent);
    pointer-events: none;
}

.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.footer-cta-content {
    max-width: 600px;
}

.footer-cta-content .section-tag {
    color: var(--accent-yellow);
}

.footer-cta-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 0;
}

.footer-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 280px;
}

.footer-cta-buttons .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .nav-logo {
    color: var(--text-light);
    margin-bottom: 24px;
}

.footer-brand .nav-logo-icon {
    background-color: var(--text-light);
    color: var(--primary-navy);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 24px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--accent-orange);
}

.footer-links-col h4 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--text-light);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero::before { width: 100%; mask-image: none; -webkit-mask-image: none; opacity: 0.3; }
    .hero-title { font-size: 48px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrapper { max-width: 400px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { grid-template-columns: 1fr; }
    .cta-image { min-height: 300px; }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .get-involved-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-top .container { flex-direction: column; align-items: flex-start; gap: 40px; }
    .footer-cta-buttons { flex-direction: row; width: 100%; }
    .footer-cta-buttons .btn { flex: 1; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text-light);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .desktop-only-btn {
        display: none;
    }

    .mobile-only-btn {
        display: block;
        width: 100%;
        margin-top: 16px;
    }

    .drive-banner { flex-direction: column; text-align: center; }
    .drive-banner-left { flex-direction: column; }
    .drive-banner-right { flex-direction: column; width: 100%; }
    .drive-banner-right .btn, .drive-banner-right .every-county-badge { width: 100%; }
    .hero-title { font-size: 36px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .section-title { font-size: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .involved-options { grid-template-columns: 1fr; }
    .footer-cta-content h2 { font-size: 32px; }
    .footer-cta-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-copyright { flex-direction: column; gap: 16px; text-align: center; }
}

/* ---- oscar-fixes additions ---- */
.text-center { text-align: center; }

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary-navy);
    border: 1px solid var(--primary-navy);
}
.btn-outline-dark:hover {
    background-color: var(--primary-navy);
    color: var(--text-light);
}

.nav-links a:not(.btn).active { color: var(--accent-orange); }

.form-error {
    background-color: #fce8e8;
    color: #b42318;
    border: 1px solid #e55e5e;
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}
.form-error a { text-decoration: underline; font-weight: 600; }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
