*{
margin:0;
padding: 2;;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f5f8ff;
color:#5f87e6;
}

.header {
  background: linear-gradient(90deg, #03153d, #062a63);
  padding: 10px 5%;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* FLEX CONTAINER */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.logo {
  background: #03153d;   /* match header */
  padding: 5px 10px;
  border-radius: 6px;
  position: relative;
  z-index: 10000;
}


.logo a {
  display: inline-block;
}
.logo img {
  height: 65px;
  width: auto;
  display: block;

  /* Clean professional look */
  filter: drop-shadow(0 0 6px rgba(0,150,255,0.5));
}

.nav {
  display: flex;
  gap: 35px;
  margin-left: 20px;
}

.nav a {
  color: #dbe7ff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: 0.3s;
}

.nav a:hover {
  color: #4db8ff;
}
.right-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.join-btn {
  background: linear-gradient(45deg, #1da1f2, #007bff);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.search {
  font-size: 18px;
  color: white;
  cursor: pointer;
}





.menu ul li a:hover {
    background-color: #0d8ae6;
}

/* HOVER EFFECT */
.menu ul li a:hover {
    background-color: #1da1f2;
    color: #fff;
}


.hero{
height:700px;
background:
linear-gradient(rgba(0,10,40,0.75), rgba(0,10,40,0.85)),
url('hero.jpeg');
background-size:cover;
background-position:center;
display:flex;
align-items:center;
padding:0 8%;
color:white;
}

.hero-content{
max-width:700px;
}

.hero-content h1{
font-size:70px;
line-height:1.1;
margin-bottom:20px;
}

.hero-content p{
font-size:24px;
margin-bottom:30px;
color:#dbe7ff;
}

.btn{
display:inline-block;
padding:16px 35px;
background:#0d6efd;
color:white;
text-decoration:none;
border-radius:10px;
margin-right:15px;
font-weight:600;
}

.stats{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
padding:40px 8%;
margin-top:0px;
}

.stat-card{
background:#06225f;
color:white;
padding:30px;
border-radius:15px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.stat-card h2{
font-size:42px;
margin-bottom:10px;
}

section{
padding:0px 0%;
}

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title h2{
font-size:48px;
margin-bottom:15px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:25px;
}

.card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.card:hover{
transform:translateY(-8px);
}

.card h3{
margin-bottom:15px;
font-size:24px;
color:#0b2a4a;
}

.card p{
line-height:1.7;
color:#5b6b8d;
}

.footer{
background:#03153d;
color:white;
padding:60px 8%;
text-align:center;
margin-top:50px;
}

@media(max-width:900px){

.hero-content h1{
font-size:42px;
}

.stats{
grid-template-columns:repeat(2,1fr);
}

nav ul{
display:none;
}
}

@media(max-width:600px){

.stats{
grid-template-columns:1fr;
}
}
/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* DEFAULT (DESKTOP) */
.slide img {
  width: 100%;
  height: 100%;
  
 
}

/* CONTENT FIX */
.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 600px;
}

/* MOBILE FIX */
@media (max-width: 768px) {

 .slider {
    height: 20vh;   /* reduce height */
  }

  .slide img {
    object-fit: cover;  /* 🔥 prevents zoom/crop issue */
  }

  .slide-content {
    top: auto;
    bottom: 10%;
    left: 5%;
    transform: none;
    max-width: 90%;
  }

  .slide-content h1 {
    font-size: 20px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .prev, .next {
    font-size: 18px;
    padding: 6px;
  }

/* Overlay content */
.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 600px;
}

.slide-content h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 20px;
}
}
/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  margin-right: 10px;
  background: #1da1ff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }
.nav a.active {
  color: #00eaff;
  border-bottom: 2px solid #00eaff;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

@media (max-width: 1300px) {



  /* MOBILE MENU */
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #062a63;
    
    padding: 5px 0;          /* 🔽 reduce top/bottom space */
    text-align: top;
    gap: 0;                  /* 🔥 remove flex gap if any */
  }

  .nav.active {
    display: flex;
  }

  /* MENU ITEMS */
  .nav a {
    display: block;
    padding: 8px 0;          /* 🔽 reduce spacing */
    margin: 0;               /* 🔥 remove extra gaps */
    line-height: 1.2;        /* 🔽 tighter text */
    font-size: 14px;         /* optional: fit more items */
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* REMOVE LAST BORDER */
  .nav a:last-child {
    border-bottom: none;
  }

   .header {
    padding: 15px 20px;   /* 🔼 increased height */
  }

  /* FLEX LAYOUT */
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* 1️⃣ MENU (LEFT) */
 .menu-toggle {
  display: block;
  order: 1;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  width: 40px;
  z-index: 1000;
}

  /* 2️⃣ LOGO (CENTER) */
  .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  .logo img {
    height: 45px;   /* 🔼 bigger logo */
    object-fit: contain;
  }

  /* 3️⃣ DONATE (RIGHT) */
  .right-section {
    order: 3;
    width: 80px;   /* keeps alignment balanced */
    display: flex;
    justify-content: flex-end;
  }

  .donate-btn {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 6px;
    background: linear-gradient(45deg, #00c3ff, #007bff);
    color: #000;
    font-weight: 600;
    text-decoration: none;
  }

  /* REMOVE ANY OLD POSITIONING */
  .right-section {
    position: static;
  }
}