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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
}

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

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #000000; /* Set black background */
    transition: background-color 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.nav-list a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Ensures video doesn't overflow */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mimics background-size: cover */
    z-index: -1; /* Places video behind content */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Retains your overlay */
    z-index: 0; /* Above video, below content */
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensures content is above overlay */
    padding: 40px;
    animation: fadeIn 1s ease-in;
}

.hero-content h1 {
    font-size: 48px; /* Sets size for "PIII Defense Consulting" */
}

.hero-content p {
    font-size: 24px; /* Sets size for "Strength Through Strategy" */
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.btn:hover {
    background: #000000;
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
    padding: 80px 0;
    background: #fff;
}

.section-alt {
    background: #f5f6f5;
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #000000;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-content img {
    width: 50%;
    height: auto;
    border-radius: 8px;
}

.section-content p {
    font-size: 18px;
    flex: 1;
    margin-bottom: 20px; /* Adds line skip after the paragraph */
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.member-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-card p {
    font-size: 16px;
}

/* Footer */
.footer {
    background: #000000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-logo {
    display: block;
    margin: 0 auto 20px;
    height: 50px;
}

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

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.footer-social a:hover img {
    opacity: 0.8;
}

.footer-copy {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #000000;
        padding: 20px;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-content {
        flex-direction: column;
        gap: 20px;
    }

    .section-content img {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}