/* ==========================================================
   SDIA - Clean Water for Life
   Author: SDIA
========================================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#ffffff;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ======================================
HEADER
====================================== */

.header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:999;
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo img{
    height:65px;
}

nav ul{
    display:flex;
    align-items:center;
    gap:25px;
}

nav a{
    color:#003366;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#00AEEF;
}

.donate-btn{
    background:#00AEEF;
    color:#fff;
    padding:12px 25px;
    border-radius:50px;
    transition:.3s;
}

.donate-btn:hover{
    background:#0077aa;
}

/* ======================================
HERO
====================================== */

.hero{
    position:relative;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;
}

.hero-image{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,70,120,.55);
}

.hero-content{
    position:relative;
    z-index:10;
    color:#fff;
    max-width:850px;
    padding:20px;
}

.hero-content h4{
    color:#9fe6ff;
    letter-spacing:2px;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:64px;
    margin-bottom:20px;
    font-weight:700;
}

.hero-content p{
    font-size:22px;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary{
    background:#00AEEF;
    color:#fff;
    padding:16px 35px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.btn-primary:hover{
    background:#0079b8;
}

.btn-secondary{
    border:2px solid #fff;
    color:#fff;
    padding:16px 35px;
    border-radius:40px;
}

.btn-secondary:hover{
    background:#fff;
    color:#003366;
}

/* ======================================
ALERT
====================================== */

.alert{
    background:#EAF8FF;
    padding:80px 0;
}

.alert-box{
    text-align:center;
}

.alert-box h2{
    color:#005d91;
    margin-bottom:20px;
}

.alert-box p{
    max-width:850px;
    margin:auto;
}

/* ======================================
SECTION TITLE
====================================== */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:42px;
    color:#004B7A;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
}

/* ======================================
ABOUT
====================================== */

#about{
    padding:100px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-image img{
    border-radius:15px;
}

.about-content h3{
    font-size:32px;
    color:#004B7A;
    margin-bottom:20px;
}

.about-content p{
    margin-bottom:25px;
}

.about-content ul li{
    margin-bottom:15px;
}

.about-content i{
    color:#00AEEF;
    margin-right:10px;
}

/* ======================================
PROJECTS
====================================== */

#projects{
    padding:100px 0;
    background:#F7FCFF;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    text-align:center;
    transition:.4s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:55px;
    color:#00AEEF;
    margin-bottom:20px;
}

.card h3{
    color:#004B7A;
    margin-bottom:15px;
}

/* ======================================
BUTTONS
====================================== */

.button{
    display:inline-block;
    padding:15px 30px;
    background:#00AEEF;
    color:#fff;
    border-radius:40px;
}

/* ======================================
FOOTER
====================================== */

footer{
    background:#003366;
    color:#fff;
    padding:60px 0;
    text-align:center;
}

footer h3{
    margin-bottom:20px;
}

footer p{
    opacity:.85;
}

/* ======================================
RESPONSIVE
====================================== */

@media(max-width:992px){

.hero-content h1{
    font-size:46px;
}

.about-grid{
    grid-template-columns:1fr;
}

nav ul{
    gap:15px;
}

}

@media(max-width:768px){

.header .container{
    flex-direction:column;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    margin-top:15px;
}

.hero{
    height:90vh;
}

.hero-content h1{
    font-size:36px;
}

.hero-content p{
    font-size:18px;
}

.section-title h2{
    font-size:30px;
}

.hero-buttons{
    flex-direction:column;
}

.btn-primary,
.btn-secondary{
    width:220px;
    margin:auto;
    text-align:center;
}

}

@media(max-width:576px){

.logo img{
    height:50px;
}

.hero-content h1{
    font-size:30px;
}

.hero-content h4{
    font-size:14px;
}

.hero-content p{
    font-size:16px;
}

.card{
    padding:30px;
}

}