/* --- 1. CORE VARIABLES --- */

:root {
    --primary: #b11226;
    --secondary: #7a0c18;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text-dark);
    transition: var(--transition);
    overflow-x: hidden;
}


/* --- 2. DARK MODE --- */

body.dark-mode {
    background: #121212;
    color: var(--text-light);
}

body.dark-mode .vmg-section,
body.dark-mode .cta-section {
    background: #1e1e1e;
}

body.dark-mode .paecho-btn.outline {
    color: white;
    border-color: white;
}


/* --- 3. HEADER & NAVIGATION --- */

.top-bar {
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px 5%;
    font-size: 14px;
    align-items: center;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.social-icons {
    display: inline-block;
    margin-left: 15px;
}

.main-header {
    background: var(--secondary);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: #ff9d9d;
}


/* --- 4. DROPDOWNS --- */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--secondary);
    min-width: 180px;
    top: 100%;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* --- 5. MOBILE SIDEBAR MENU --- */

#sidebarToggle {
    display: none;
    color: rgb(126, 76, 76);
    font-size: 1.8rem;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--secondary);
    z-index: 2001;
    transition: 0.4s;
    padding: 25px;
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

#closeMenu {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.side-nav-links a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 15px;
}


/* --- 6. MOBILE DROPDOWNS --- */

.mobile-dropdown>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    padding-left: 10px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: flex;
}

.mobile-dropdown-content a {
    padding: 8px 0;
    font-size: 0.95rem;
}

.mobile-dropdown-content a:hover {
    color: var(--primary);
    padding-left: 5px;
}


/* --- 7. MOBILE RESPONSIVENESS --- */

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    #sidebarToggle {
        display: block;
    }
    .top-bar {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding: 8px 2%;
    }
    .top-right {
        font-size: 12px;
    }
    .side-menu {
        width: 80%;
        max-width: 300px;
        padding: 25px 20px;
    }
}


/* =========================
   Mission Page
========================= */

.mission-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/1.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 10%;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 46px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
}


/* Mission Section */

.mission-section {
    padding: 80px 10%;
    background: #f7f7f7;
}


/* Container */

.mission-container {
    max-width: 900px;
    margin: auto;
}


/* Card */

.mission-card {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


/* Icon */

.mission-icon {
    font-size: 40px;
    color: #c8102e;
    margin-bottom: 20px;
}

.mission-card h2 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #222;
}

.mission-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}


/* Mobile */


/* =========================
   Mobile Styling for Mission Page
   ========================= */

@media (max-width: 768px) {
    /* Mission Hero */
    .mission-hero {
        padding: 50px 15px;
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/1.jpg');
        background-size: cover;
        background-position: center;
        color: white;
    }
    .mission-hero h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .mission-hero p {
        font-size: 15px;
        line-height: 1.4;
        color: #f0f0f0;
    }
    /* Mission Section */
    .mission-section {
        padding: 30px 10px;
        background: #f7f7f7;
    }
    .mission-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: auto;
    }
    .mission-card {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    .mission-card h2 {
        font-size: 18px;
        margin: 10px 0 8px 0;
        line-height: 1.3;
    }
    .mission-card p {
        font-size: 14px;
        line-height: 1.5;
        color: #333;
        margin-bottom: 8px;
    }
    .mission-icon {
        font-size: 36px;
        color: #c8102e;
        margin-bottom: 10px;
        text-align: center;
    }
}