/* RESET & GLOBAL */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.85;
}

/* HEADER */
header {
    background: #1d3557;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-bottom: 3px solid #e63946; /* red line under header */
    margin-bottom: 15px; /* white space below header */
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

header .brand {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
}

header .brand img {
    height: 48px;
    margin-right: 10px;
}

/* MENU */
nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

nav a.btn-primary, nav a.btn-secondary {
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
}

nav a.btn-primary {
    background: #e63946;
    color: #fff;
}

nav a.btn-secondary {
    background: #457b9d;
    color: #fff;
}

/* HERO */
.hero {
    color: #fff;
    text-align: center;
    padding: 180px 20px 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero p {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    border-radius: 30px;
    padding: 15px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #d7263d;
}

.btn-secondary:hover {
    background: #386a8e;
}

/* SECTIONS */
.section {
    padding: 80px 20px;
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #0b2545;
    font-weight: 700;
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 20px;
}

/* GRID */
.grid {
    display: grid;
    gap: 40px;
}

/* IMPACT CARDS & NEWS CARDS */
.grid img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.grid div p {
    margin-top: 15px;
}

/* PARTNERS CAROUSEL */
.partners {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 20px 0;
}

.partners div {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 10px;
}

/* FOOTER */
footer {
    background: #1d3557;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

footer a {
    color: #e63946;
}

footer p {
    margin: 10px 0 0;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}