/* =========================================
   YADI NIGERIA - GLOBAL DESIGN SYSTEM
   ========================================= */

/* RESET */
:root {
    --color-primary: #0F8843;
    --color-primary-deep: #075C31;
    --color-emergency: #D92D4C;
    --color-warning: #F28C28;
    --color-bg: #F7F9F8;
    --color-card: #FFFFFF;
    --color-border: #E3E8E4;
    --color-text: #1C1C1C;
    --color-muted: #6B7280;
    --color-soft-green: #E9F5EE;
    --color-soft-red: #FDEBEC;
    --color-soft-blue: #EAF3FF;
    --shadow-soft: 0 16px 40px rgba(7, 92, 49, 0.08);
    --shadow-nav: 0 12px 32px rgba(7, 92, 49, 0.12);
    --mobile-menu-bg-image: url("../images/logo/yadi-logo.png.png");
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY BASE */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}

/* CONTAINER SYSTEM */
.container {
    width: min(1120px, calc(100% - 48px));
    margin: auto;
}

/* =========================================
   TYPOGRAPHY SYSTEM
   ========================================= */

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text);
    letter-spacing: 0;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 700;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

h4 {
    font-size: 22px;
    font-weight: 600;
}

p {
    font-size: 16px;
    color: var(--color-muted);
}

/* =========================================
   SPACING SYSTEM (UTILITY STYLE)
   ========================================= */

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

/* =========================================
   GRID SYSTEM
   ========================================= */

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* =========================================
   BUTTON BASE SYSTEM
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* PRIMARY (DONATE) */
.btn-primary {
    background-color: var(--color-emergency);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 45, 76, 0.3);
}

/* SECONDARY (VOLUNTEER) */
.btn-secondary {
    background-color: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 136, 67, 0.3);
}

/* OUTLINE BUTTON */
.btn-outline {
    border: 1px solid var(--color-border);
    color: var(--color-primary-deep);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

/* =========================================
   IMAGE STYLING
   ========================================= */

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   SECTION WRAPPER
   ========================================= */

section {
    padding: 80px 0;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 992px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 32px;
    }

    section {
        padding: 50px 0;
    }
}
