*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}
body{
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* container */
.container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* for all section */
.section{
  padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 80px);
}

@media(max-width:768px){
  .section{
    padding:60px 20px;
  }
}

@media (min-width: 1400px){
  .section{
    padding: 100px 120px;
  }
}

p{
  max-width: 700px;
}
/* 🔴 TOP BAR */
.top-bar{
  background:#1a4d8f;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;   /* keeps everything centered */
  padding:8px 8%;
  font-size:14px;
  height:50px;          
  /* 🔥 IMPORTANT */
}

.top-bar .left{
  display:flex;
  align-items:center;
  gap:25px;
  white-space:nowrap;   /* 🔥 prevents line break */
}
.top-bar .left span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  cursor:pointer;
  transition:0.3s;
}

.top-bar .left span i{
  width:26px;
  height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition:all 0.3s ease;
}

/* Hover effect */
.top-bar .left span:hover i{
  background:#0077b5;
  color:#b51217;
}
/* optional icon hover */
.top-bar .left span:hover i{
  color:#fff;
}



/* SOCIAL ICONS FIX */
.top-bar .right{
  display:flex;
  align-items:center;   /* 🔥 THIS FIXES YOUR ISSUE */
  gap:12px;
}

/* Base style */
.top-bar .right i{
  width:32px;
  height:32px;
  background:#fff;
  color:#1877f2;
  display:inline-flex;   /* 🔥 IMPORTANT FIX */
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:14px;
  cursor:pointer;
  transition:all 0.3s ease;
}

.top-bar .right i{
  border:1px solid yellow;
}

/* 🔵 Facebook */
.top-bar .right i.fa-facebook-f:hover{
  background:#1877f2;
  color:#fff;
  transform:translateY(-3px);
}

/* ⚫ Twitter (X) */
.top-bar .right i.fa-x-twitter:hover{
  background:#000;
  color:#fff;
  transform:translateY(-3px);
}

/* 🔴 YouTube */
.top-bar .right i.fa-youtube:hover{
  background:burlywood;
  color:#fff;
  transform:translateY(-3px);
}

/* 🟣 Instagram */
.top-bar .right i.fa-instagram:hover{
  background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);
  color:#fff;
  transform:translateY(-3px);
}

/* 🔵 LinkedIn */
.top-bar .right i.fa-linkedin-in:hover{
  background:#0077b5;
  color:#fff;
  transform:translateY(-3px);
}

.top-bar .right i:hover{
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
}
/* ⚪ NAVBAR */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 8%;
  background:#fff;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(34, 34, 34, 0.05);
  max-width: 1400px;
  margin: 0 auto;
   /* flex-wrap: nowrap; important */
}

.logo{
  flex:0 0 auto;
}

/* LOGO */
.logo img{
  width:100px;
  height:auto;
  margin-left: -10px;
  gap:40px;
  padding-left:0px;
}

/* MENU */
.nav-links{
  list-style:none;
  display:flex;
  gap:40px;
  /* color:#000; */
  font-size:15px;
  font-weight:600;
  letter-spacing:0.5px;
  white-space: nowrap;
  /* padding-top:80px; */
}

.nav-links li{
  cursor:pointer;
  /* color:#1a4d8f; */
  color:#000;
  transition:0.3s;
}

.nav-links li:hover{
  /* background-color: #1a4d8f; */
  color:#1a4d8f;
}

/* RIGHT SIDE */
.nav-right{
  display:flex;
  align-items:center;
  gap:25px;
}

.nav-right i{
  font-size:16px;
  cursor:pointer;
}

/* DONATE BUTTON FIX */
.donate-btn{
  background:#0077b5;
  color:#fff;
  border:none;
  padding:12px 30px;
  border-radius:50px;
  cursor:pointer;
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:600;
  transition:0.3s;
}

.donate-btn:hover{
  background:#8e0d12;
}

/* drop down menu */
/* DROPDOWN PARENT */
.dropdown {
  position: relative;
  /* width:100%;
  height:100% */
}

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  width: 230px;
  background: #f8f8f8;
  border-radius: 6px;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  /* background-color: #1a4d8f; */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* MENU ITEMS */
.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
  /* background-color: #1877f2; */
}
.dropdown-menu li a:hover {
  background: #1a4d8f;   /* red */
  color: #fff;           /* white text */
}

/* 🔴 ACTIVE ITEM (FIRST ONE LIKE "Work with us") */
.dropdown-menu li.active a {
  background: #c41212;
  color: #fff;
}

/* 🔺 ARROW ON TOP */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 25px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #f8f8f8 transparent;
}
.nav-links a,
.dropdown-menu li a {
  text-decoration: none;
}

.nav-links a{
  color:#000;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: #fafafa;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu::before {
    display: none; /* remove arrow on mobile */
    list-style:none;
  }
}
/* HERO */
.hero{
position:relative;
height:80vh;
overflow:hidden;
padding:0;
max-height:700px;
}

/* SLIDES */
.slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:1s;
}

.slide.active{
  opacity:1;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
}

/* DARK OVERLAY */
.slide::after{
content:"";
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
top:0;
left:0;
}

/* TEXT */
.content{
position:absolute;
width:90%;
top:50%;
left:50%;
transform:translate(-50%,-50%);
color:#fff;
text-align:center;
z-index:2;
padding:0 10px;
}

.content h1{
font-size:24px;
line-height:1.2;
margin-bottom:20px;
font-size:clamp(18px,4vw,32px);
text-shadow: 0 4px 8px rgba(0,0,20,0.6);
}

.content button{
background:#e11d2e;
border:none;
padding:12px 30px;
color:#fff;
border-radius:25px;
cursor:pointer;
}

/* ARROWS */
.prev, .next{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:30px;
color:#fff;
cursor:pointer;
padding:10px;
z-index:3;
}

/* button Add Touch-Friendly Buttons */
button{
  min-height:44px;
}


.prev{ left:20px; }
.next{ right:20px; }

/* MOBILE */
/* DESKTOP ONLY */
@media(min-width:769px){
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}


 
/* MOBILE CLICK */
@media(max-width:768px){
  .dropdown.active .dropdown-menu {
    display:block;
  }
}
/* MOBILE MENU FULL SCREEN */
@media(max-width:768px){

  .nav-links{
  position:fixed;
  top:0;
  left:-100%;
  width:100%;
  height:100vh;
  background:#fff;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  transition:0.4s;
}

.nav-links.active{
  left:0;
}

  .nav-links li{
    font-size:18px;
    padding:10px 0;
  }

  .close-menu{
    position:absolute;
    top:20px;
    right:25px;
    font-size:30px;
    cursor:pointer;
  }
}

/* Default → HIDE cross icon */
.close-menu{
  display: none;
}

/* Show only on mobile & tablet */
@media (max-width: 768px){
  .close-menu{
    display: block;
  }
}

@media(max-width:768px){

  .top-bar{
    flex-direction:column;
    height:auto;
    padding:8px 10px;
    gap:6px;
    text-align:center;
  }

  /* contact line */
  .top-bar .left{
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    font-size:12px;
  }

  /* social icons center */
  .top-bar .right{
    justify-content:center;
    width:100%;
  }

  .top-bar .right i{
    width:30px;
    height:30px;
  }
}

/* MOBILE NAVBAR */
.menu-toggle{
  display:none;
  background:#1a4d8f;
  color:#fff;
  padding:10px 12px;
  border-radius:6px;
  font-size:18px;
  cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){

  .navbar{
    padding:10px 15px;
  }

  .logo img{
    width:90px;
  }

  .menu-toggle{
    display:block;
  }

  

  .nav-right{
    display:none; 
    /* hide search icon  */
    gap:10px;
  }

  .donate-btn{
    display:none; /* hide on mobile like screenshot */
  }
}


h1,h2,h3{
  word-wrap:break-word;
}
/* heading automatically adjust on mobile tablet and pc */
h1 {
  font-size: clamp(24px, 5vw, 48px);
}
h2 {
  font-size: clamp(20px, 4vw, 40px);
}
/* Menu section of tablet */
@media (max-width:1024px){
  .nav-links{
    gap:20px;
    font-size:14px;
  }
}
/* Hero Section */
@media(max-width:768px){

  .hero{
    height:60vh;
  }

  .content{
    width:90%;
  }

  .content h1{
    font-size:24px;
    line-height:1.3;
  }

  .content button{
    padding:10px 20px;
    font-size:14px;
  }

  .prev, .next{
    font-size:20px;
  }
}
 /* ABOUT */

.about{
/* padding:80px 30px; */
background:#f6f7f9;
}

.about-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
max-width:1100px;
margin:auto;
align-items:center;
}

.about-text h5{
color:#1a4d8f;
letter-spacing:2px;
margin-bottom:15px;
}

.about-text h2{
font-size:48px;
margin-bottom:20px;
color:#0e1a2b;
}

.about-text p{
font-size:18px;
line-height:1.8;
color:#555;
margin-bottom:20px;
}

.about-image img{
width:100%;
border-radius:20px;
}

.about-image img,
.story-image img {
  transition: 0.4s;
}

.about-image img:hover,
.story-image img:hover {
  transform: scale(1.05);
}
/* ANIMATION */

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}


/* MOBILE */

@media(max-width:768px){

.hero h1{
font-size:40px;
}

.about-container{
grid-template-columns:1fr;
}

}

@media(max-width:768px){

  .about{
    padding:50px 20px;
  }

  .about-text h2{
    font-size:28px;
  }

  .about-text p{
    font-size:15px;
  }

}
/* Mision and vision */
/* SECTION */

.vision-mission{
/* padding:80px 20px; */
background:#f4f6f9;
}

/* CONTAINER */

.vm-container{
max-width:1200px;
margin:auto;

display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}


/* CARD */

.vision-card,
.mission-card{

padding:40px;
border-radius:20px;
transition:0.3s;
}


/* VISION */

.vision-card{
background:#e9ecef;
}


/* MISSION */

.mission-card{
background:#0e3566;
color:white;
}


/* TITLE */

.vm-title{
display:flex;
align-items:center;
gap:15px;
margin-bottom:25px;
}

.vm-title h2{
font-size:28px;
}


/* ICON */

.vm-icon{
width:50px;
height:50px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

background:#dbe3ef;

font-size:22px;
}

.mission-card .vm-icon{
background:#1d4f91;
}


/* LIST */

ul{
list-style:none;
}

ul li{

display:flex;
align-items:flex-start;

gap:12px;

margin-bottom:16px;

font-size:17px;
line-height:1.5;

}


/* CHECK ICON */

ul li::before{

content:none;

color:#1d5aa6;

font-weight:bold;

}

.mission-card ul li::before{
color:#ffffff;
}


/* HOVER ANIMATION */

.vision-card:hover,
.mission-card:hover{

transform:translateY(-8px);
box-shadow:0 10px 30px rgba(0,0,0,0.1);

}


/* RESPONSIVE TABLET */

@media (max-width:900px){

.vm-container{

grid-template-columns:1fr;

}

}


/* RESPONSIVE MOBILE */

@media (max-width:500px){

.vm-title h2{
font-size:22px;
}

ul li{
font-size:15px;
}

}

/* History Section */
/* HISTORY SECTION */

.history{
/* padding:100px 20px; */
background:#f5f7fa;
}

.section-title{
text-align:center;
margin-bottom:70px;
text-align: center;
align-items: center;
}

.section-title p{
color:#1c4c8c;
font-weight:600;
letter-spacing:2px;
margin-bottom:10px;
}

.section-title h2{
font-size:42px;
font-weight:700;

}


/* TIMELINE */

.timeline{
position:relative;
max-width:1200px;
margin:auto;
}

/* CENTER VERTICAL LINE */

.timeline::after{
  content:'';
  position:absolute;
  width:4px;
  background:#d6e0f0;
  top:0;
  bottom:0;
  left:50%;
  transform:translateX(-50%); /* ✅ perfect center */
}


/* TIMELINE ITEM */

.timeline-item{
padding:20px 40px;
position:relative;
width:50%;
margin-bottom:60px;
}


/* LEFT SIDE */

.timeline-item.left{
left:0;
text-align:right;
}

/* RIGHT SIDE */

.timeline-item.right{
left:50%;
}


/* BLUE DOT */
.timeline-item::after{
  content:'';
  position:absolute;
  width:16px;
  display:none;
  height:16px;
  background:#1c4c8c;
  border-radius:50%;
  top:25px;

  left:50%;
  transform:translateX(-50%); /* 🔥 PERFECT CENTER */
  z-index:2;
}

/* DOT POSITION */




/* CONTENT BOX */

.timeline-content{
background:#fff;
padding:25px;
border-radius:15px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.timeline-content:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.timeline-content h3{
color:#1c4c8c;
font-size:28px;
margin-bottom:6px;
}

.timeline-content h4{
font-size:20px;
margin-bottom:10px;
}


/* TABLET */

@media(max-width:900px){

  .timeline::after{
    display:none;
  }

  .timeline-item{
  width:100%;
  padding-left:60px;
  /* padding-right:20px; */
  }

  

  .timeline-item::after{
    left:50%;
    transform:translateX(-50%);
  }

   .timeline-item{
    width:100%;
    padding:20px 15px;
    text-align:center; /* optional for better look */
  }

  /* ✅ Remove left/right split */
  .timeline-item.left,
  .timeline-item.right{
    left:0;
    text-align:center;
  }

}


/* MOBILE */

/* ANDROID / MOBILE TIMELINE */

/* ANDROID / MOBILE TIMELINE */



/* Thermatic area */
/* THEMATIC AREA SECTION */
/* THEMATIC AREA */

/* =========================
   THEMATIC AREA SECTION
========================= */

.thematic{
/* padding:120px 8%; */
background:#f6f8fc;
}

.thematic .container{
max-width:1300px;
margin:auto;
}

/* TITLE */

.thematic .section-title{
text-align:center;
margin-bottom:80px;
}

.thematic .small-title{
color:#2f5bff;
font-size:14px;
letter-spacing:2px;
font-weight:600;
margin-bottom:10px;
}

.thematic .section-title h2{
font-size:48px;
color:#0f172a;
margin-bottom:20px;
}

.thematic .desc{
max-width:650px;
margin:auto;
color:#6b7280;
line-height:1.7;
font-size:18px;
}

/* GRID */

.cards{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
gap:35px;
}

/* CARD */

.card{
background:white;
padding:45px 30px;
border-radius:18px;
text-align:left;
box-shadow:0 15px 40px rgba(0,0,0,0.06);
transition:all 0.35s ease;
position:relative;
overflow:hidden;
}

/* HOVER EFFECT */

.card:hover{
transform:translateY(-12px);
box-shadow:0 25px 55px rgba(0,0,0,0.12);
}

/* ICON */

.icon{
width:70px;
height:70px;
border-radius:50%;
background:#eef2ff;

display:flex;
align-items:center;
justify-content:center;

/* font-size:26px; */
color:#2f5bff;

margin-bottom:22px;

transition:0.35s;
}

.card:hover .icon{
background:#2f5bff;
color:white;
transform:scale(1.1);
}

/* TEXT */

.card h3{
font-size:20px;
margin-bottom:10px;
color:#111827;
}

.card p{
font-size:15px;
color:#6b7280;
line-height:1.6;
}

/* TABLET */

@media (max-width:1024px){

.cards{
grid-template-columns:repeat(2,1fr);
}

.thematic .section-title h2{
font-size:38px;
}

}

/* MOBILE */

@media (max-width:600px){

.cards{
grid-template-columns:1fr;
}

.thematic{
padding:80px 20px;
}

.thematic .section-title h2{
font-size:30px;
}

.thematic .desc{
font-size:16px;
}

}
/* Impact At Glance */
/* =========================
   IMPACT SECTION (FIXED)
========================= */

/* =========================
   IMPACT SECTION
========================= */

.impact{
  background:#0b3a78;
  /* padding:100px 20px; */
  color:#fff;
  text-align:center;
}

.impact-container{
  max-width:1200px;
  margin:auto;
}

/* TITLE */

.impact h2{
  font-size:48px;
  font-weight:700;
  margin-bottom:20px;
}

/* SUBTEXT */

.impact-sub{
  max-width:700px;
  margin:auto;
  color:#c7d6ee;
  font-size:18px;
  line-height:1.6;
}

/* GRID */

.impact-grid{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* ITEM */

.impact-item{
  padding:20px;
  transition:0.3s;
}

.impact-item:hover{
  transform:translateY(-8px);
}

/* NUMBER + SYMBOL ALIGN FIX */

.impact-item h3,
.impact-item span{
  display:inline-block;
  vertical-align:middle;
}

/* NUMBER */

.impact-item h3{
  font-size:42px;
  font-weight:700;
}

/* PLUS / L+ SYMBOL */

.impact-item span{
  font-size:26px;
  margin-left:5px;
}

/* TEXT */

.impact-item p{
  margin-top:12px;
  font-size:14px;
  letter-spacing:1px;
  color:#c7d6ee;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media(max-width:900px){

  .impact h2{
    font-size:38px;
  }

  .impact-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:768px){
  .cards,
  .impact-grid,
  .team-grid,
  .programme-container {
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media(max-width:1024px){
  .impact-grid,
  .cards,
  .team-grid {
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
/* Mobile */
@media(max-width:500px){

  .impact{
    padding:70px 15px;
  }

  .impact h2{
    font-size:28px;
  }

  .impact-sub{
    font-size:15px;
  }

  .impact-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .impact-item h3{
    font-size:32px;
  }

  .impact-item span{
    font-size:20px;
  }

}
/* Award Section */
.awards{
/* padding:80px 8%; */
}

.awards-container{
display:grid;
grid-template-columns:1fr 2fr;
gap:60px;
align-items:center;
}

/* LEFT SIDE */

.tag{
color:#1e4db7;
font-size:14px;
letter-spacing:2px;
margin-bottom:10px;
}

.awards-left h2{
font-size:36px;
margin-bottom:20px;
color:#111;
}

.desc{
color:#555;
line-height:1.6;
max-width:400px;
}


/* RIGHT SIDE GRID */

.awards-right{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

/* CARD */

.award-card{
display:flex;
align-items:center;
gap:12px;
background:white;
padding:18px 20px;
border-radius:10px;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
font-size:15px;
color:#333;
transition:0.3s;
}

.award-card i{
color:#f4b400;
font-size:18px;
}

.award-card:hover{
transform:translateY(-3px);
box-shadow:0 6px 18px rgba(0,0,0,0.08);
border:1px solid #4a7cf3;

}

/* Highlight card */

.highlight{
border:2px solid #4a7cf3;
}

/* TABLET */

@media (max-width:992px){

.awards-container{
grid-template-columns:1fr;
}

.awards-right{
margin-top:30px;
}

}

/* MOBILE */

@media (max-width:600px){

.awards{
padding:60px 6%;
}

.awards-left h2{
font-size:28px;
}

.awards-right{
grid-template-columns:1fr;
}

.award-card{
font-size:14px;
}

}

/* Stories */
.stories{
padding:100px 8%;
}

/* GRID LAYOUT */
.partners .container{
display:flex;
align-items:center;
justify-content:space-between;
gap:50px;
flex-wrap:wrap;
}

/* TEXT */

.story-text{
max-width:350px;
}

.quote{
font-size:22px;
line-height:1.6;
color:#1a2a44;
margin-bottom:25px;
}

.story-text h4{
color:#1a56db;
font-size:18px;
margin-bottom:5px;
}

.story-text span{
color:#6b7280;
font-size:14px;
}

/* IMAGE */

.story-image{
display:flex;
justify-content:center;
}

.story-image img{
width:420px;
height:auto;
max-width: 420px;
object-fit:cover;
border-radius:20px;
box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

/* HEADING */

.story-heading h1{
font-size:clamp(40px, 10vw, 90px);
color:#d8e0ec;
font-weight:700;
letter-spacing:5px;
}

.story-heading h2{
font-size:34px;
margin-top:-25px;
color:#1a2a44;
}

/* REVERSE */

.reverse .story-text{
order:1;
}

.reverse .story-image{
order:2;
}

.reverse .story-heading{
order:3;
}

/* TABLET */

@media(max-width:1000px){

.story-container{
grid-template-columns:1fr;
text-align:center;
}

.story-text{
margin:auto;
}

.story-heading{
margin-top:40px;
}

.story-heading h1{
font-size:70px;
}

.story-image img{
width:80%;
height:auto;
}

}


/* image */
img{
  max-width:100%;
  height:auto;
  display:block;
}

/* MOBILE */

@media(max-width:768px){

  .story-container{
    display:flex;
    flex-direction:column;
    gap:30px;
    text-align:center;
  }

  .story-image img{
    width:100%;
    height:auto;
  }

}

/* Team */
/* TEAM SECTION */



















/* SECTION */
.team{
  padding:80px 20px;
  background:#f6f8fc;
}

.team-container{
  max-width:1200px;
  margin:auto;
}

/* TITLE */
.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  font-size:40px;
}

.subtitle{
  color:#6b7280;
}

/* GRID */
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

/* CARD */
.team-card{
  perspective:1200px;
  height:420px;
}

/* INNER */
.card-inner{
  position:relative;
  width:100%;
  height:100%;
  transition:0.8s ease;
  transform-style:preserve-3d;
}

/* FLIP */
.team-card:hover .card-inner,
.team-card.active .card-inner{
  transform:rotateY(180deg);
}
/* FRONT & BACK */
.card-front,
.card-back{
  position:absolute;
  width:100%;
  height:100%;
  border-radius:20px;
  overflow:hidden;
  backface-visibility:hidden;
}

/* FRONT IMAGE */
.card-front img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}


@media(max-width:600px){
  .card-front img{
    height:260px;
  }
}
/* BACK DESIGN */
.card-back{
  background:#ef3b2d;
  color:#fff;
  transform:rotateY(180deg);

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:25px;
}

/* TEXT STYLE */
.profile-card h2{
  font-size:26px;
  margin-bottom:8px;
}

.profile-card h4{
  font-size:16px;
  margin-bottom:15px;
  opacity:0.9;
}

.profile-card p{
  font-size:14px;
  line-height:1.5;
}

/* IMAGE HOVER ZOOM */
.team-card:hover .card-front img{
  transform:scale(1.1);
}

/* TABLET */
@media(max-width:600px){

  .team-grid{
    grid-template-columns:1fr;
    justify-content: center;
  }

  .team-card{
    width:90%;
    max-width: 300px;         /* prevents too big */
    margin: 0 auto;
    height:350px; /* keep fixed height for flip */
  }

  .card-inner{
    height:100%;
  }

  .card-front,
  .card-back{
    position:absolute; /* KEEP absolute for flip */
    height:100%;
  }

}
/* SECTION */
.team{
  padding:100px 20px;
  background:#f6f8fc;
  text-align:center;
}

.team-container{
  max-width:1200px;
  margin:auto;
}

/* TITLE */
.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:40px;
  margin-bottom:10px;
}

.subtitle{
  /* color:#6b7280; */
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* GRID */
.team-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* CARD */
.team-card{
  perspective:1200px;
  height:400px;
  cursor:pointer;
}

/* INNER */
.card-inner{
  position:relative;
  width:100%;
  height:100%;
  transition:0.7s ease;
  transform-style:preserve-3d;
}

/* HOVER */
.team-card:hover .card-inner{
  transform:rotateY(180deg);
}

/* FRONT + BACK */
.card-front,
.card-back{
  position:absolute;
  width:100%;
  height:100%;
  border-radius:18px;
  overflow:hidden;
  backface-visibility:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

/* FRONT IMAGE */
.card-front img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: top; /* or center */
}

/* BACK */
.card-back{
  background:#ef3b2d;
  color:#fff;
  transform:rotateY(180deg);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* PROFILE */
.profile-card{
  position:relative;
  width:100%;
  height:100%;
  padding:25px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* TEXT */
.text{
  max-width:70%;
}

.text h2{
  font-size:22px;
  margin-bottom:5px;
}

.text h4{
  font-size:14px;
  margin-bottom:10px;
}

.text p{
  font-size:13px;
  line-height:1.5;
}

/* SMALL ROTATED IMAGE */
.small-img{
  position:absolute;
  bottom:15px;
  left:50%;
transform:translateX(-50%);
  width:auto;
}

.small-img img{
  width:60px;
  height:60px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #2f5bff;
}


/* TABLET */
@media(max-width:1024px){
  .team-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* MOBILE */
@media(max-width:600px){

  .team{
    padding:80px 15px;
  }

  .team-grid{
    grid-template-columns:1fr;
  }

  .team-card{
    height:auto;
  }

  /* disable flip for mobile */
  

  .card-front,
  .card-back{

    position:absolute;
    height:100%;
  }

  .card-back{
    margin-top:15px;
  }

  .profile-card{
    align-items:center;
    text-align:center;
  }

  .text{
    max-width:100%;
  }

  .small-img{
    position:relative;
    width:80%;
    transform:none;
    margin-top:15px;
  }
}




.team{
  background:#f6f8fc;
  padding:100px 20px;
  text-align:center;
}

.team-container{
  max-width:1200px;
  margin:auto;
}

/* TITLE */
.section-title h2{
  font-size:42px;
  margin-bottom:10px;
}

.subtitle{
  color:#6b7280;
  margin-bottom:60px;
}

/* GRID */
.team-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap:30px;
}

/* CARD */
.team-card{
  width: 250px;
  height: 320px;   /* 🔥 fixed height */
  perspective: 1000px;
  
}

.card-inner{
  position:relative;
  width:100%;
  height:350px;
  transform-style:preserve-3d;
  transition:0.8s;
}

.team-card:hover .card-inner{
  transform:rotateY(180deg);
}

/* FRONT */
.card-front,
.card-back{
  position:absolute;
  width:100%;
  height:100%;
  border-radius:15px;
  overflow:hidden;
  backface-visibility:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* FRONT IMAGE */
.card-front img,
.card-front .mini-img{
  width:100%;
  height:300px;
  object-fit:cover;
}

/* BACK SIDE */
.card-back{
  background:white;
  transform:rotateY(180deg);
  padding:20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.card-back h3{
  font-size:20px;
  margin-bottom:5px;
}

.card-back p{
  font-size:14px;
  color:#555;
  margin-bottom:8px;
}

.desc{
  font-size:13px;
  color:#777;
}

/* SMALL IMAGE */
.mini-img{
  width:60px;
  height:60px;
  border-radius:50%;
  object-fit:cover;
  margin-top:15px;
  border:3px solid #2f5bff;
  align-items: center;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .team-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .team-grid{
    grid-template-columns:1fr;
  }

  .card-inner{
    height:380px;
  }
}
/* Development Organization */
.partners{
padding:80px 5%;
}

.partners-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
  flex-wrap:wrap;
}

/* LEFT SIDE */

.left{
flex:1;
min-width:280px;
}

.left h2{
font-size:36px;
line-height:1.3;
margin-bottom:20px;
}

.left span{
color:#1c4c8c;
}

.left p{
color:#555;
margin-bottom:25px;
max-width:420px;
}

.btn{
display:inline-block;
padding:12px 22px;
border:2px solid #1c4c8c;
color:#1c4c8c;
text-decoration:none;
border-radius:8px;
font-weight:600;
transition:.3s;
}

.btn:hover{
background:#1c4c8c;
color:white;
}


/* RIGHT SIDE */

.right{
flex:1;
min-width:300px;
overflow:hidden;
height:600px;
position:relative;
}

.scroll-box{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
position:absolute;
width:100%;
}

.card{
background:white;
padding:25px;
border-radius:10px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
font-weight:600;
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}


/* RESPONSIVE */

@media (max-width:900px){

.container{
flex-direction:column;
}

.right{
height:350px;
}

}

@media (max-width:500px){

.left h2{
font-size:28px;
}

.card{
padding:18px;
font-size:14px;
}

}

/* Contact Section */
.contact-section{
position:relative;
height:600px;
width:100%;
overflow:hidden;
}

/* MAP */

.map{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
border:0;
filter:grayscale(100%) brightness(0.8);
}

/* BIG CONTACT TEXT */

.contact-text{
position:absolute;
top:45%;
left:50%;
transform:translate(-50%,-50%);
font-size:120px;
font-weight:900;
color:transparent;
-webkit-text-stroke:3px #2f63c6;
letter-spacing:10px;
z-index:2;
}

/* CONTACT CARD */

.contact-card{
position:absolute;
bottom:80px;
left:50%;
transform:translateX(-50%);
background:white;
padding:40px 60px;
border-radius:15px;
text-align:center;
box-shadow:0 20px 40px rgba(0,0,0,0.2);
z-index:3;
}

.contact-card h2{
margin-bottom:15px;
font-size:26px;
}

.contact-card p{
color:#555;
line-height:1.6;
margin-bottom:15px;
}

.contact-card a{
color:#2f63c6;
text-decoration:none;
font-weight:600;
}

/* RESPONSIVE */

@media(max-width:900px){

.contact-text{
font-size:35px;
}

.contact-card{
padding:30px;
}

}

@media(max-width:500px){

.contact-text{
font-size:55px;
-webkit-text-stroke:2px #2f63c6;
}

.contact-card{
width:90%;
padding:25px;
}

}

@media(max-width:768px){

  .contact-text{
    font-size:40px;
    letter-spacing:3px;
  }

  .contact-card{
    width:90%;
    padding:20px;
  }

}

/* Footer Section */
.footer{
background:#0b3b75;
color:white;
padding:60px 8%; /*custom  */
}

/* TOP SECTION */

.footer-top{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
margin-bottom:40px;
}

.footer-col h4{
margin-bottom:20px;
font-size:14px;
letter-spacing:1px;
}

.footer-col p{
margin-bottom:10px;
color:#d1d9e6;
}

.footer-col ul{
list-style:none;
padding: 0;
margin: 0;
padding-left: 0;
padding-left:0 ;
}

.footer-col ul li::before {
  content: none;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col ul li a{
color:#d1d9e6;
text-decoration:none;
transition:0.3s;
}

.footer-col ul li a:hover{
color:white;
}

/* LINE */

hr{
border:none;
border-top:1px solid rgba(255,255,255,0.2);
margin:40px 0;
}

/* BOTTOM SECTION */

.footer-bottom{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.footer-text h1{
font-size:70px;
font-weight:800;
line-height:1.1;
margin-bottom:20px;
}

.back-top{
background:none;
border:none;
color:white;
cursor:pointer;
font-size:14px;
letter-spacing:1px;
}

/* LOGO CIRCLE */

.footer-logo{
display:flex;
justify-content:center;
align-items:center;
}


.footer-logo{
display:flex;
justify-content:center;
/* align-items:center; */
border-radius: 15px;
}

.footer-logo img{
    width:200px;
    border-radius: 110px;
}


.circle1{
width:200px;
height:200px;
border:10px solid white;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
}

.circle2{
width:150px;
height:150px;
border:6px solid white;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
}

.circle3{
width:110px;
height:110px;
background:#114ea3;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:30px;
font-weight:bold;
}

/* RESPONSIVE */

@media(max-width:900px){

.footer-top{
grid-template-columns:repeat(2,1fr);
}

.footer-text h1{
font-size:50px;
}

}

@media(max-width:500px){

.footer-top{
grid-template-columns:1fr;
}

.footer-bottom{
flex-direction:column;
gap:40px;
}

.footer-text h1{
font-size:40px;
}

.circle1{
width:150px;
height:150px;
}

.circle2{
width:110px;
height:110px;
}

.circle3{
width:80px;
height:80px;
font-size:22px;
}

}

/* Our Programme */
.programmes{
/* padding:80px 8%; */
background:#f5f5f5;
}

.program-title{
text-align:center;
font-size:32px;
font-weight:700;
margin-bottom:60px;
}

.programme-container{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:50px 80px;
max-width:1000px;
margin:auto;
}

.programme-card{
display:flex;
flex-direction:column;
align-items:flex-start;
transition:0.3s;
cursor:pointer;
}

.programme-card:hover{
transform:translateY(-5px);
}

.programme-card .icon{
  font-size:45px;
  margin-bottom:10px;
}

.programme-card h3{
font-size:20px;
margin-bottom:8px;
font-weight:700;
text-decoration:underline;
}

.programme-card p{
color:#555;
line-height:1.6;
}

/* COLORS */

.edu{color:#d8a547;}
.health{color:#9b8ab3;}
.women{color:#9fc3c0;}
.live{color:#caa38d;}
.grass{color:#3fa36b;}
.disaster{color:#e2675c;}

/* MOBILE */

@media(max-width:768px){

.programme-container{
grid-template-columns:1fr;
gap:40px;
}

.program-title{
font-size:26px;
}

}


.about-container, 
.vm-container {
  max-width: 1200px;
  margin: auto;
}

/* Some section streatch to much */
.about-container, 
.vm-container,
.impact-container,
.awards-container,
.team-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}