/* ================= GLOBAL ================= */
body{
  margin:0;
  font-family:'Montserrat',sans-serif;
  background:#fafafa;
  color:#222;
}
/* ================= HEADER ================= */
.header{
    position:sticky;
    top:0;
    z-index:1000;

    background:#ffffff;
    box-shadow:0 2px 15px rgba(0,0,0,0.06);
}

/* ================= CONTAINER ================= */
.container{
    width:90%;
    max-width:1200px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 0;
}

/* ================= LOGO ================= */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
  width:60px;
}


.logo h1{
    font-size:20px;
    font-weight:900;
    letter-spacing:1px;
    color:#111;
}

/* ================= NAV ================= */
nav ul{
    display:flex;
    gap:20px;
    list-style:none;
    align-items:center;
}

/* LINKS */
nav a{
    text-decoration:none;
    color:#222;
    font-weight:500;

    padding:8px 14px;
    border-radius:25px;

    transition:all 0.3s ease;
}

/* HOVER */
nav a:hover{
    background:rgba(128,0,0,0.08);
    color:#800000;
}

/* ================= VOLUNTEERS ACTIVE ================= */
.volunteer-active{
    background:linear-gradient(135deg,#222,#800000);
    color:white !important;

    padding:8px 18px;
    border-radius:25px;

    font-weight:600;

    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    transition:0.3s;
}

.volunteer-active:hover{
    background:linear-gradient(135deg,#800000,#000);
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(128,0,0,0.3);
}

/* ================= DONATE BUTTON ================= */
.donate-btn{
    background:#800000;
    color:#fff !important;

    padding:8px 18px;
    border-radius:25px;

    font-weight:600;

    box-shadow:0 8px 20px rgba(128,0,0,0.25);
    transition:0.3s;
}

.donate-btn:hover{
    background:#5c0000;
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(128,0,0,0.35);
}

/* ================= RESPONSIVE ================= */
@media(max-width:900px){

    .container{
        flex-direction:column;
        gap:10px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    nav a{
        font-size:14px;
    }

}

.impact-timeline{
    padding:100px 8%;
    background:#f8f8f8;
}

.section-header{
    text-align:center;
    max-width:800px;
    margin:auto;
    margin-bottom:70px;
}

.section-header span{
    color:#7A0019;
    font-weight:700;
    letter-spacing:2px;
}

.section-header h2{
    font-size:42px;
    color:#111;
    margin:15px 0;
}

.section-header p{
    color:#666;
    line-height:1.8;
}

.timeline{
    position:relative;
    max-width:1200px;
    margin:auto;
}

.timeline::before{
    content:'';
    position:absolute;
    left:50%;
    top:0;
    width:4px;
    height:100%;
    background:#7A0019;
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    padding:20px 40px;
    position:relative;
}

.timeline-item:nth-child(odd){
    left:0;
}

.timeline-item:nth-child(even){
    left:50%;
}

.timeline-date{
    font-weight:700;
    color:#7A0019;
    margin-bottom:12px;
}

.timeline-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.timeline-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.event-type{
    display:inline-block;
    margin:20px;
    background:#7A0019;
    color:white;
    padding:6px 14px;
    border-radius:20px;
    font-size:13px;
}

.timeline-card h3{
    margin:0 20px;
    color:#111;
}

.timeline-card p{
    margin:15px 20px 25px;
    color:#666;
    line-height:1.7;
}

@media(max-width:768px){

.timeline::before{
    left:20px;
}

.timeline-item{
    width:100%;
    left:0 !important;
    padding-left:60px;
    padding-right:10px;
}

}

/* ================= MOBILE NAV UPGRADE ================= */

/* HAMBURGER */
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.menu-toggle span{
  width:26px;
  height:3px;
  background:#111;
  border-radius:3px;
  transition:0.3s;
}

/* ANIMATION TO X */
.menu-toggle.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:rotate(-45deg) translate(5px,-5px);
}

/* MOBILE MENU */
@media(max-width:768px){

  /* SHOW HAMBURGER */
  .menu-toggle{
    display:flex;
  }

  /* HIDE NAV DEFAULT */
  nav{
    position:fixed;
    top:0;
    right:-100%;
    width:75%;
    height:100vh;

    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(15px);

    display:flex;
    align-items:center;
    justify-content:center;

    transition:0.4s ease;
  }

  /* SHOW MENU */
  nav.active{
    right:0;
  }

  nav ul{
    flex-direction:column;
    gap:20px;
  }

  nav a{
    font-size:18px;
    font-weight:600;
  }

}
/* ACTIVE PAGE */
nav a.active{
  background:linear-gradient(135deg,#800000,#000);
  color:white;
}

/* ================= FOOTER ================= */
.footer{
    background:#0f0f0f;
    color:white;
    padding-top:70px;
    margin-top:80px;
    position:relative;
}

/* CONTAINER */
.footer-container{
    width:90%;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;

    padding-bottom:50px;
}

/* FOOTER BOX */
.footer-box h3{
    font-size:22px;
    margin-bottom:20px;
    color:#fff;
    position:relative;
}

/* UNDERLINE */
.footer-box h3::after{
    content:'';
    width:50px;
    height:3px;
    background:#800000;
    position:absolute;
    left:0;
    bottom:-8px;
    border-radius:10px;
}

/* LOGO */
.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}

.footer-logo img{
    width:55px;
}

.footer-logo h2{
    font-size:22px;
    margin:0;
}

.footer-logo span{
    color:#ccc;
    font-size:13px;
}

/* PARAGRAPH */
.footer-box p{
    color:#bbb;
    line-height:1.8;
    font-size:15px;
}

/* LINKS */
.footer-box ul{
    list-style:none;
    padding:0;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    color:#bbb;
    text-decoration:none;
    transition:0.3s;
}

.footer-box ul li a:hover{
    color:#fff;
    padding-left:6px;
}

/* SOCIALS */
.footer-socials{
    margin-top:25px;
    display:flex;
    gap:15px;
}

.footer-socials a{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    background:#1b1b1b;

    color:white;
    text-decoration:none;

    transition:0.3s;
}

.footer-socials a:hover{
    background:#800000;
    transform:translateY(-5px);
}

/* BUTTON */
.footer-btn{
    display:inline-block;
    margin-top:20px;

    background:linear-gradient(135deg,#800000,#5c0000);
    color:white;

    padding:12px 22px;
    border-radius:30px;

    text-decoration:none;
    font-weight:600;

    transition:0.3s;
}

.footer-btn:hover{
    transform:scale(1.05);
}

/* HOURS */
.footer-hours{
    margin-top:20px;
    color:#eee;
}

/* BOTTOM */
.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08);

    padding:25px 10%;
    text-align:center;

    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px;
}

.footer-bottom p{
    color:#aaa;
    font-size:14px;
}

/* CREDIT */
.footer-credit{
    color:#800000;
    font-weight:600;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .footer{
        text-align:center;
    }

    .footer-logo{
        justify-content:center;
    }

    .footer-socials{
        justify-content:center;
    }

    .footer-box h3::after{
        left:50%;
        transform:translateX(-50%);
    }

    .footer-bottom{
        flex-direction:column;
    }

}