/* Modern, Clean Design System for BAAL Memorial Trust */
:root {
    --primary-color: #3b4096; /* Deep Blue from Logo */
    --secondary-color: #e31e24; /* Red from Logo border */
    --accent-color: #f8f9fa;
    --text-color: #2c3e50;
    --text-light: #5d6d7e;
    --bg-color: #ffffff;
    --footer-bg: #1a1b3a;
    --footer-text: #d5d8dc;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
    padding: 0.5rem 0;
}

.nav-item > a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

.nav-item:hover > a {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    padding-left: 1.8rem;
}

/* Hero Section - 2 Column Layout */
.main-content {
    padding: 4rem 0;
}

.main-heading {
    text-align: center;
    color: #880e4f; /* Magenta/Dark Red from screenshot */
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.hero-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.hero-text p {
    margin-bottom: 2rem;
}

.hero-img-box {
    text-align: center;
}

.hero-img-box img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.img-caption {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #777;
    font-weight: 500;
}

/* Footer */
footer {
    background: #0d121f; /* Darker Blue/Black from screenshot */
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 1.1rem;
}

.scroll-up {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: var(--transition);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item:hover .dropdown-content {
        max-height: 500px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* About Page Specific */
.about-heading {
    color: #5ebbe3; /* Light Blue from screenshot */
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.founder-section {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.founder-left img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
}

.founder-caption {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
    text-align: center;
}

.founder-right p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.vm-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.vm-section p {
    color: #666;
    margin-bottom: 2rem;
}

/* Contact Page Specific */
.contact-main {
    padding: 5rem 0;
}

.contact-heading {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5rem;
}

.contact-grid-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.contact-col-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-col-icon h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-col-icon p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-grid-icons {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}
