/* --- 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. SIDEBAR & DROPDOWNS --- */

#sidebarToggle {
    display: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.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);
    margin: 0;
}

.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;
}


/* =========================
   About Page – Professional Layout
   ========================= */


/* PAGE HEADER */


/* Page header with humanitarian image */

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/about-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 5%;
    text-align: center;
    position: relative;
}

.page-header h1 {
    position: relative;
    font-size: 3rem;
    font-weight: bold;
    max-width: 1000px;
    margin: auto;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-header h1 {
    position: relative;
    font-size: 3rem;
    font-weight: bold;
    max-width: 1000px;
    margin: auto;
    line-height: 1.2;
}


/* ABOUT GRID */

.about-overview {
    padding: 80px 5%;
    background: #f4f4f4;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}


/* MISSION & VISION GRID */

.mission-vision {
    padding: 80px 5%;
    background: white;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.mv-card {
    background: var(--primary);
    color: white;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.mv-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ff9d9d;
}

.mv-card h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.mv-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.mv-card:hover {
    transform: translateY(-5px);
}


/* RESPONSIVE */

@media screen and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    .about-overview {
        padding: 50px 3%;
    }
    .mission-vision {
        padding: 50px 3%;
    }
}


/* Reduce header height on tablets & mobiles */

@media screen and (max-width: 1024px) {
    .page-header {
        padding: 100px 5%;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 80px 5%;
    }
    .page-header h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .page-header {
        padding: 60px 3%;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
}