* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
}

/* --- HEADER & DESKTOP MENU --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: #1e3d59;
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.header .logo img {
    height: 60px;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover,
.menu .active {
    color: #f5b041;
}

/* --- VIDEO BANNER --- */
.video-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 20px 30px;
    border-radius: 8px;
    color: #fff;
}

.banner-overlay h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.banner-overlay p {
    font-size: 18px;
}

/* --- ABOUT SECTION --- */
.about-section {
    display: flex;
    gap: 40px;
    padding: 40px 8%;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
    margin: 30px 8%;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #1e3d59;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
}

/* --- CARDS & GRID --- */
.mission-values {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 8%;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.card h3 {
    color: #1e3d59;
    margin-bottom: 10px;
}

.team {
    padding: 40px 8%;
    text-align: center;
}

.team h2 {
    color: #1e3d59;
    margin-bottom: 25px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.team-member {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.team-member h4 {
    color: #1e3d59;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 14px;
}

/* --- CTA & FOOTER --- */
.cta {
    text-align: center;
    margin: 40px 0;
}

.cta .btn {
    text-decoration: none;
    padding: 12px 30px;
    background: #1e3d59;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.cta .btn:hover {
    background: #f5b041;
}

.footer {
    background: #1e3d59;
    color: #fff;
    text-align: center;
    padding: 30px 8%;
}

.footer img {
    height: 40px;
    margin: 0 5px;
}

.footer p {
    margin-top: 15px;
    font-size: 14px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .banner-overlay h1 { font-size: 28px; }
    .banner-overlay p { font-size: 16px; }
    .about-section { flex-direction: column; padding: 30px 5%; }
    .mission-values { flex-direction: column; gap: 15px; }
    .team-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* =========================================
   MOBILE MENU FIX (KEEPING DARK BACKGROUND)
   ========================================= */
@media (max-width: 768px) {
    .header {
        flex-direction: column !important;
        padding: 10px 0 !important;
        align-items: center !important;
        height: auto !important;
        background: #1e3d59 !important; /* MATCHES BIG SCREEN */
    }

    .header .logo img {
        height: 40px !important;
        margin-bottom: 8px !important;
    }

    .menu {
        width: 100% !important;
        background: #1e3d59 !important; /* MATCHES BIG SCREEN */
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }

    .menu ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 10px 15px !important;
        list-style: none !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
    }

    .menu ul::-webkit-scrollbar {
        display: none !important;
    }

    .menu li {
        display: inline-block !important;
    }

    .menu a {
        font-size: 0.75rem !important;
        padding: 6px 14px !important;
        background: rgba(255,255,255,0.1) !important; /* Semi-transparent pill */
        border-radius: 20px !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        color: #fff !important; /* White text for contrast */
        text-decoration: none !important;
        font-weight: 600 !important;
    }

    .menu a.active, .menu a:hover {
        background: #f5b041 !important; /* Accent color for active state */
        color: #1e3d59 !important; /* Dark text on gold button */
    }

    .banner-overlay h1 { font-size: 22px; }
    .banner-overlay p { font-size: 14px; }
    .team-member img { height: 180px; }
}