/* --- Base Styles & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

/* --- Header & Navigation --- */
header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    z-index: 10;
    background: linear-gradient(rgba(0,0,0,0.6), transparent);
}

.logo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

.btn-donate {
    background-color: #1f5d8e;
    padding: 8px 22px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-donate:hover {
    background-color: #144063;
}

/* --- Hero Section --- */
.hero {
    height: 85vh;
    min-height: 600px;
    background: linear-gradient(rgba(14, 34, 49, 0.45), rgba(14, 34, 49, 0.65)), 
                url('river-background.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h4 {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-weight: 300;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1f5d8e;
    color: #ffffff;
    border: 2px solid #1f5d8e;
}

.btn-primary:hover {
    background-color: #144063;
    border-color: #144063;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #1f5d8e;
}

/* --- Features Section --- */
.features {
    display: flex;
    justify-content: space-between;
    padding: 80px 10%;
    gap: 40px;
    background-color: #ffffff;
}

.feature-box {
    flex: 1;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-box .icon {
    font-size: 45px;
    color: #2c6e7a; 
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #222222;
}

.feature-box p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.color-bar {
    height: 15px;
    width: 100%;
    border-radius: 3px;
    margin-top: auto;
}

.bar-blue { background-color: #2c5985; }
.bar-dark-blue { background-color: #4b5a74; }
.bar-teal { background-color: #6a9b9a; }

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    background-color: #f4f7f9;
    color: #777777;
    font-size: 14px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    nav ul {
        flex-wrap: wrap; /* Allows links to drop to a second line if the screen is very narrow */
        justify-content: center;
        gap: 15px;
    }
    
    /* Pushes the hero text down to clear the taller mobile header */
    .hero-content {
        margin-top: 100px;
    }

    .hero-content h1 {
        font-size: 38px; /* Scales down the title slightly for small screens */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .features {
        flex-direction: column;
        padding: 60px 5%;
    }
}