:root {
    --primary-blue: #0A2647;
    --secondary-blue: #144272;
    --accent-gold: #FFC107;
    --accent-red: #D32F2F;
    --text-dark: #333333;
    --text-light: #F5F5F5;
    --white: #FFFFFF;
    --gray-light: #F4F4F4;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--accent-red);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-blue);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-red);
}

.btn-donate-nav {
    background-color: var(--accent-red);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-donate-nav:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--gray-light);
}

.btn-white {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-white:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 38, 71, 0.85);
    /* Blue overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-logo-large img {
    height: 100px;
    width: auto;
    margin: 0 auto 1.5rem;
}

.hero h2 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* Founder Section */
.founder {
    background-color: var(--gray-light);
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.founder-image .img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #888;
}

.founder-image .img-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.founder-info h3 {
    color: var(--accent-red);
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.founder-info h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.quote-box {
    position: relative;
    padding: 2rem;
    background-color: #fafafa;
    border-left: 5px solid var(--accent-gold);
    border-radius: 0 10px 10px 0;
}

.quote-box i {
    color: var(--accent-gold);
    font-size: 1.5rem;
    opacity: 0.5;
}

.quote-box p {
    font-style: italic;
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #555;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-red);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-blue);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Donate Section */
.donate {
    background: linear-gradient(rgba(211, 47, 47, 0.9), rgba(183, 28, 28, 0.9)), url('https://images.unsplash.com/photo-1593113598332-cd288d649433?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    text-align: center;
}

.donate h2 {
    color: var(--white);
}

.donate-content {
    max-width: 800px;
    margin: 0 auto;
}

.donate-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-item a {
    color: #555;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.map-container {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Gallery Section */
.gallery {
    background-color: var(--gray-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 38, 71, 0.9), transparent);
    padding: 2rem 1rem 1rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

/* Responsive */
@media (max-width: 900px) {
    .founder-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .quote-box {
        border-left: none;
        border-top: 5px solid var(--accent-gold);
        border-radius: 0 0 10px 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        flex-direction: column;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .logo-text h1 {
        display: none;
        /* Simplify logo on mobile if needed or adjust font size */
    }

    .logo-text h1 {
        display: block;
        font-size: 1rem;
    }
}