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

/* --- Variables --- */
:root {
    --primary-color: #003366; /* Deep Navy Blue - Trust, Science */
    --secondary-color: #4CAF50; /* Green - Biology, Growth (Use sparingly) */
    --accent-color: #DAA520; /* Goldenrod - Innovation, Avian (Yolk) */
    --text-color: #333333;
    --bg-light: #f4f7f6;
    --bg-white: #FFFFFF;
    --font-primary: 'IBM Plex Sans', sans-serif;
    --font-secondary: 'Merriweather', serif;
}

/* --- Base Styles --- */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

h1, h2, h3 {
    font-family: var(--font-secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

.section-header h2 {
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* --- Header/Navigation --- */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
}

nav ul li a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- Hero Section --- */
#hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    text-align: left;
    overflow: hidden;
}

/* Video Background */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

/* Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

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

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

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

/* --- Avian Advantage (Icons) --- */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.advantage-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.advantage-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

/* --- Feature Spotlight --- */
#spotlight {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f8f9fa 100%);
    position: relative;
}

#spotlight .section-header {
    margin-bottom: 80px;
}

#spotlight .section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 15px;
}

.spotlight-content {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
}

.spotlight-text {
    flex: 1;
}

.spotlight-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.spotlight-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

.spotlight-text p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.spotlight-image {
    flex: 1.3;
    position: relative;
    min-width: 500px;
}

.spotlight-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.spotlight-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    object-fit: cover;
    display: block;
}

.spotlight-video:hover {
    transform: translateY(-5px);
}

/* --- Impact Section (Stats) --- */
#impact {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

#impact h2 {
    color: var(--bg-white);
    border-bottom-color: var(--bg-white);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 40px;
}

.stat-item {
    max-width: 300px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

/* --- CTA Section --- */
#contact {
    text-align: center;
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: var(--bg-white);
    padding: 50px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

footer a {
    color: var(--bg-light);
}

footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 20px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .spotlight-content {
        flex-direction: column;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}