*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --blue:#1f58b8;
  --deep-blue:#174aa8;
  --light:#f3f4f6;
  --gray:#dddfe3;
  --text:#121212;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Montserrat", Arial, sans-serif;
  color:var(--text);
  background:#fff;
  overflow-x:hidden;
}

section{
  scroll-margin-top:106px;
}

.container{
  width:88%;
  max-width:1320px;
  margin:0 auto;
}

/* HEADER */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:106px;
  background:#fff;
  z-index:1000;
  border-bottom:1px solid rgba(0,0,0,.05);
  transition:.3s ease;
}

.header.scrolled{
  height:86px;
  box-shadow:0 8px 28px rgba(0,0,0,.09);
}

.nav-container{
  height:100%;
  display:flex;
  align-items:center;
}

.logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex-shrink:0;
}

.logo img{
  width:250px;
  object-fit:contain;
  display:block;
}

.nav{
  margin-left:auto;
  margin-right:34px;
  display:flex;
  align-items:center;
  gap:34px;
}

.nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  text-decoration:none;
  color:#101010;
  font-size:12px;
  font-weight:600;
  letter-spacing:.15px;
  line-height:1;
  white-space:nowrap;
}

.nav a span{
  display:inline-flex;
  align-items:center;
  line-height:1;
}

.nav a i{
  font-style:normal;
  font-size:11px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:12px;
  margin-top:1px;
}

.donate-btn{
  background:var(--deep-blue);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:500;
  padding:11px 18px;
  border-radius:4px;
  border:none;
  appearance:none;
  box-shadow:0 2px 4px rgba(0,0,0,.13);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  white-space:nowrap;
  flex-shrink:0;
}

.menu-toggle{
  display:none;
  margin-left:auto;
  background:none;
  border:none;
  font-size:30px;
  color:#111;
  cursor:pointer;
}

/* HERO */

.hero{
  position:relative;
  min-height:575px;
  padding-top:106px;
  background:linear-gradient(120deg,#fafafa 0%,#f4f5f7 55%,#f7f7f7 100%);
  overflow:hidden;
}

.hero-inner{
  min-height:468px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  position:relative;
  z-index:2;
}

.hero-text{
  max-width:530px;
  padding-top:18px;
}

.hero-text h1{
  font-family:"Libre Baskerville", Georgia, serif;
  font-size:54px;
  line-height:.98;
  font-weight:700;
  letter-spacing:-1.2px;
  margin-bottom:24px;
}

.hero-text h1 span{
  color:var(--blue);
}

.hero-text p{
  font-size:15px;
  line-height:1.75;
  color:#242424;
  margin-bottom:31px;
  max-width:490px;
}

.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--deep-blue);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:500;
  border-radius:4px;
  min-height:42px;
  padding:0 22px;
  box-shadow:0 2px 4px rgba(0,0,0,.12);
  transition:.25s ease;
}

.primary-btn:hover{
  transform:translateY(-2px);
}

.hero-logo{
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-logo img{
  width:486px;
  max-width:100%;
  transform:scale(1.45);
}

.blue-curve{
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  width:100%;
  height:50px;
  z-index:1;
  display:block;
}

.cookie-policy-content{
  max-width:860px;
  margin:0 auto;
  color:#333;
}

.cookie-policy-content p{
  margin-bottom:18px;
  line-height:1.8;
}

.cookie-policy-content ul{
  margin:0 0 18px 1.25rem;
  padding:0;
  list-style: disc;
}

.cookie-policy-content li{
  margin-bottom:10px;
  line-height:1.75;
}

.cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1100;
  background:rgba(255,255,255,0.98);
  border-top:1px solid rgba(0,0,0,.08);
  box-shadow:0 -12px 30px rgba(0,0,0,.08);
  padding:18px 20px;
  transform:translateY(100%);
  transition:transform .35s ease;
}

.cookie-banner.active{
  transform:translateY(0);
}

.cookie-banner-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.cookie-banner p{
  margin:0;
  font-size:14px;
  line-height:1.7;
  color:#242424;
  flex:1;
  min-width:220px;
}

.cookie-banner-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.cookie-banner-actions a{
  color:var(--blue);
  text-decoration:underline;
  font-weight:600;
}

/* COMMON */

.section-light{
  background:var(--light);
  padding:17px 0 21px;
}

.section-gray{
  background:var(--gray);
  padding:19px 0 20px;
}

.center-heading{
  text-align:center;
  margin-bottom:28px;
}

.center-heading h2,
.left-heading h2,
.contact h2{
  font-family:"Libre Baskerville", Georgia, serif;
  color:var(--blue);
  font-size:28px;
  line-height:1;
  font-weight:700;
  letter-spacing:.6px;
  position:relative;
  display:inline-block;
}

.center-heading h2::after,
.left-heading h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  width:39px;
  height:2px;
  background:var(--blue);
  transform:translateX(-50%);
}

.left-heading h2::after{
  left:0;
  transform:none;
}

/* WHO */

.who-grid{
  width:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.info-card{
  background:#fff;
  border-radius:5px;
  min-height:287px;
  text-align:center;
  padding:21px 22px 20px;
  box-shadow:0 3px 14px rgba(0,0,0,.11);
}

.round-icon{
  width:76px;
  height:76px;
  margin:0 auto 18px;
  border-radius:50%;
  background:var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
}

.round-icon svg{
  width:43px;
  height:43px;
  fill:none;
  stroke:#fff;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.info-card h3{
  font-size:19px;
  font-weight:600;
  line-height:1.1;
  margin-bottom:10px;
}

.info-card p{
  font-size:15px;
  line-height:1.45;
  color:#333;
  margin-bottom:20px;
}

.info-card a,
.wide-card a,
.resource-card a{
  color:var(--blue);
  text-decoration:none;
  font-size:13px;
  font-weight:500;
}

/* WHAT */

.what{
  padding-top:18px;
  padding-bottom:20px;
}

.what-grid{
  width:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.wide-card{
  min-height:188px;
  background:#fff;
  border-radius:5px;
  display:flex;
  align-items:center;
  gap:34px;
  padding:24px 42px 24px 28px;
  box-shadow:0 3px 14px rgba(0,0,0,.1);
}

.large-icon{
  width:142px;
  height:142px;
  flex:0 0 142px;
  border-radius:50%;
  background:var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
}

.large-icon svg{
  width:82px;
  height:82px;
  fill:none;
  stroke:#fff;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.wide-card h3{
  font-size:25px;
  line-height:1.1;
  font-weight:600;
  margin-bottom:10px;
}

.wide-card p{
  font-size:15px;
  line-height:1.45;
  color:#222;
  margin-bottom:16px;
}

/* EVENTS */

.events{
  background:#fff;
  padding:25px 0 22px;
}

.events-grid{
  display:grid;
  grid-template-columns:250px repeat(3,1fr);
  gap:20px;
  align-items:start;
}

.events-intro{
  padding-top:3px;
}

.left-heading{
  margin-bottom:31px;
}

.event-flex{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-bottom:24px;
}

.event-flex .calendar-icon{
  flex:0 0 56px;
  margin-top:1px;
}

.calendar-icon svg,
.event-flex .calendar-icon svg{
  width:54px;
  height:54px;
  fill:none;
  stroke:var(--blue);
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
  margin-bottom:0;
}

.event-text h3{
  font-size:16px;
  font-weight:600;
  line-height:1.2;
  margin-bottom:9px;
}

.event-text p{
  font-size:12px;
  line-height:1.65;
  color:#333;
  margin:0;
}

.events-intro > h3,
.events-intro > p{
  display:none;
}

.primary-btn.small{
  min-height:42px;
  padding:0 25px;
  font-size:12px;
}

.event-card{
  background:#fff;
  border-radius:5px;
  overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.11);
}

.event-card img{
  width:100%;
  height:150px;
  object-fit:cover;
  filter:grayscale(100%);
  display:block;
}

.event-body{
  padding:13px 22px 16px;
}

.event-body h4{
  font-size:15px;
  font-weight:600;
  line-height:1.2;
  margin-bottom:11px;
}

.event-body p{
  font-size:12px;
  line-height:1.4;
  color:#333;
  margin-bottom:7px;
}

.resources-grid{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:28px;
  align-items:start;
}

.resources-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px;
}

/* Fluid sizing for resource images and titles */
.resource-card img{
  height: clamp(56px, 8vw, 110px);
}

.resource-card h3{
  font-size: clamp(12px, 1.2vw, 16px);
}

/* Breakpoints to ensure consistent layout across resolutions */
@media (max-width:1200px){
  .resources-grid{
    grid-template-columns:220px 1fr;
    gap:22px;
  }
}

@media (max-width:900px){
  .resources-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .resources-intro{
    order:-1;
    margin-bottom:8px;
  }
}

@media (max-width:480px){
  .resources-list{
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
  }
}

.resources-intro p{
  font-size:17px;
  line-height:1.6;
  color:#333;
}

/* RESOURCES */

.resources{
  padding-top:25px;
  padding-bottom:24px;
}

.resources-grid{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:28px;
  align-items:start;
}

.resources-intro p{
  font-size:17px;
  line-height:1.6;
  color:#333;
}

.resource-card{
  min-height:0;
    background:#fff;
    border-radius:5px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  padding:10px 10px 6px;
    box-shadow:0 2px 12px rgba(0,0,0,.1);
    overflow:hidden;
  }

  .resource-card img{
    width:100%;
    height:72px;
    object-fit:contain;
    background:transparent;
    padding:0;
    display:block;
    border-radius:6px;
}

.social{
  width:91px;
  height:91px;
  flex:0 0 91px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:68px;
  font-weight:600;
  color:#fff;
  line-height:1;
}

.fb{
  background:#1877f2;
  font-family:Arial,sans-serif;
  align-items:flex-end;
}

.yt{
  width:94px;
  height:68px;
  border-radius:18px;
  background:#f52222;
  font-size:34px;
  padding-left:5px;
}

.resource-card h3{
  font-size:14px;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight:500;
  letter-spacing:0.2px;
  margin:0;
  line-height:1.1;
  width:100%;
  text-align:center;
}

.resource-card p{
  font-size:13px;
  line-height:1.45;
  color:#333;
  margin-bottom:13px;
}

/* DETAILS MODAL */

.details-modal{
  max-height:0;
  overflow:hidden;
  background:linear-gradient(135deg, #f9f9f9 0%, #f3f4f6 100%);
  transition:max-height 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.details-modal.active{
  max-height:1000px;
}

.details-modal .container{
  position:relative;
  width:100%;
  max-width:100%;
  padding:50px 20px;
}

.details-content{
  max-width:100%;
  margin:0 auto;
}

.close-modal{
  position:absolute;
  top:20px;
  right:20px;
  background:var(--blue);
  color:#fff;
  border:none;
  width:40px;
  height:40px;
  border-radius:50%;
  font-size:24px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s ease;
  z-index:10;
}

.close-modal:hover{
  background:var(--deep-blue);
  transform:rotate(90deg);
}

.details-content{
  max-width:900px;
  margin:0 auto;
  animation:slideDown 0.5s ease;
}

.details-content-mission{
  max-width:1400px;
  margin:0 auto;
  animation:slideDown 0.5s ease;
}

.details-content-core{
  max-width:1800px;
  margin:0 auto;
  animation:slideDown 0.5s ease;
}

@keyframes slideDown{
  from{
    opacity:0;
    transform:translateY(-20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.details-content h2,
.details-content-core h2,
.details-content-mission h2,
.details-content .details-heading,
.details-content-core .details-heading,
.details-content-mission .details-heading{
  font-size:32px;
  font-weight:700;
  color:var(--text);
  margin-bottom:30px;
  text-align:center;
}

.details-body{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:28px;
}

.details-body.single-item{
  grid-template-columns:1fr;
}

.details-body.layout-gallery{
  grid-template-columns:1fr;
}

.details-body.layout-gallery .certificates-gallery{
  width:100%;
}

.details-body.layout-team{
  grid-template-columns:1fr;
}

.details-body.layout-team .team-members{
  width:100%;
}

.details-body.layout-mission{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  align-items:stretch;
}

@media (max-width:1200px){
  .details-body.layout-mission{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:700px){
  .details-body.layout-mission{
    grid-template-columns:1fr;
  }
}

.detail-section{
  background:#fff;
  padding:28px 24px;
  border-radius:8px;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  border-left:4px solid var(--blue);
  opacity:0;
  transform:translateY(18px);
  transition:opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-detail-list{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:18px;
  margin-top:20px;
}

.event-detail-card{
  background:var(--light);
  border:1px solid #e4e7ed;
  border-radius:10px;
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.event-detail-card h4{
  font-size:17px;
  margin:0;
}

.event-detail-card p{
  font-size:14px;
  line-height:1.7;
  color:#333;
  margin:0;
}

.event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:13px;
  color:#555;
}

.event-meta span{
  background:#fff;
  padding:8px 10px;
  border-radius:6px;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
  font-weight:600;
}

.details-modal.active .detail-section{
  opacity:1;
  transform:translateY(0);
}

.details-modal.active .detail-section:nth-child(1){ transition-delay:0.12s; }
.details-modal.active .detail-section:nth-child(2){ transition-delay:0.24s; }
.details-modal.active .detail-section:nth-child(3){ transition-delay:0.36s; }
.details-modal.active .detail-section:nth-child(4){ transition-delay:0.48s; }
.details-modal.active .detail-section:nth-child(5){ transition-delay:0.60s; }

.donate-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
}

.donate-modal.active{
  display:flex;
}

.donate-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
}

.donate-modal-panel{
  position:relative;
  width:min(720px,calc(100% - 24px));
  max-width:720px;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,0.2);
  z-index:1;
}

.donate-modal-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:22px;
  align-items:stretch;
}

.donate-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:10px 10px 6px;
  border-radius:10px;
  min-height:100%;
}

.donate-left img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

.donate-right{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
}

.donate-right h2{
  font-size:22px;
  margin:0;
}

.donate-right p{
  color:#444;
  line-height:1.6;
  margin:0;
}

.bank-details{
  display:grid;
  gap:10px;
}

.bank-details div{
  background:#fafbff;
  border:1px solid #e4e7ff;
  border-radius:10px;
  padding:12px;
}

.bank-details strong{
  display:block;
  color:#1f58b8;
  margin-bottom:6px;
  font-size:13px;
}

.bank-details p{
  margin:0;
  color:#333;
  font-size:14px;
}

.donate-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  border:none;
  font-size:18px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

.donate-close:hover{
  background:var(--deep-blue);
}

.simple-popup{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1100;
}

.simple-popup.active{
  display:flex;
}

.simple-popup-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0, 0, 0, 0.45);
}

.simple-popup-card{
  position:relative;
  width:min(420px, calc(100% - 24px));
  background:#fff;
  border-radius:16px;
  box-shadow:0 18px 50px rgba(0, 0, 0, 0.25);
  padding:24px;
  text-align:center;
  z-index:1;
}

.simple-popup-card h3{
  margin:0 0 10px;
  color:var(--blue);
  font-size:20px;
}

.simple-popup-card p{
  margin:0 0 18px;
  color:#444;
  line-height:1.6;
}

.simple-popup-close{
  position:absolute;
  top:10px;
  right:10px;
  border:none;
  background:transparent;
  color:#666;
  font-size:22px;
  cursor:pointer;
}

.simple-popup-card .primary-btn{
  min-width:110px;
}

@media (max-width:900px){
  .donate-modal-content{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .donate-modal-panel{
    width:min(100%,calc(100% - 16px));
    border-radius:12px;
  }

  .donate-modal-content{
    padding:16px;
    gap:12px;
  }

  .donate-left{
    padding:8px 8px 4px;
  }

  .donate-left img{
    max-height:200px;
  }

  .donate-right h2{
    font-size:20px;
  }

  .bank-details div{
    padding:10px;
  }

  .donate-close{
    top:10px;
    right:10px;
    width:30px;
    height:30px;
    font-size:16px;
  }
}

@media (max-width:1200px) {
  .hero-inner {
    grid-template-columns:1fr;
    gap:40px;
  }

  .hero-text {
    text-align:center;
    margin:0 auto;
    max-width:700px;
  }

  .hero-logo {
    order:-1;
  }

  .who-grid {
    grid-template-columns:repeat(2,1fr);
  }

  .what-grid {
    grid-template-columns:1fr;
  }

  .events-grid {
    grid-template-columns:1fr;
  }

  .resources-grid {
    grid-template-columns:1fr;
  }

  .contact-grid {
    grid-template-columns:1fr;
  }
}

@media (max-width:768px) {
  .nav {
    display:none;
  }

  .nav.active {
    display:flex;
    flex-direction:column;
    gap:16px;
    position:absolute;
    top:106px;
    right:0;
    left:0;
    background:#fff;
    padding:18px 24px;
    border-top:1px solid rgba(0,0,0,.08);
  }

  .header {
    height:auto;
  }

  .hero {
    padding-top:130px;
  }

  .logo img {
    width:250px;
    height:80px;
  }

  .events-grid,
  .resources-grid,
  .contact-grid {
    gap:18px;
  }
}

.detail-section h3{
  font-size:18px;
  font-weight:600;
  color:var(--blue);
  margin-bottom:14px;
}

.detail-section p{
  font-size:14px;
  line-height:1.7;
  color:#555;
  margin-bottom:0;
}

.detail-section ul{
  margin:0 0 6px;
  padding-left:16px;
}

.detail-section li{
  font-size:14px;
  line-height:1.45;
  color:#555;
  margin-bottom:4px;
}

.detail-section li strong{
  color:var(--text);
}

/* Certificates Gallery */

.certificates-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:20px;
  padding:0;
}

.cert-item{
  aspect-ratio:1;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,.12);
  transition:.3s ease;
}

.cert-item:hover{
  transform:translateY(-8px);
  box-shadow:0 8px 25px rgba(0,0,0,.18);
}

.cert-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Team Members */

.team-members{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:40px 30px;
  text-align:center;
  padding:20px 0;
}

.team-member{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.member-avatar{
  width:140px;
  height:140px;
  border-radius:50%;
  overflow:hidden;
  margin-bottom:18px;
  box-shadow:0 4px 15px rgba(0,0,0,.12);
  border:4px solid var(--blue);
  transition:.3s ease;
}

.member-avatar:hover{
  transform:scale(1.08);
  box-shadow:0 6px 20px rgba(31, 88, 184, 0.25);
}

.member-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.team-member h4{
  font-size:16px;
  font-weight:600;
  color:var(--text);
  margin:0 0 6px 0;
}

.team-member p{
  font-size:13px;
  color:var(--blue);
  margin:0;
  font-weight:500;
}

/* PARTNERS */

.partners{
  padding:45px 0;
  background:#fff;
}

.center-heading{
  text-align:center;
  margin-bottom:45px;
}

.center-heading h2{
  font-size:28px;
  font-weight:700;
  letter-spacing:.5px;
  color:var(--text);
}

.who .center-heading h2,
.what .center-heading h2{
  color:var(--blue);
}

.partners-slider-wrapper{
  position:relative;
  width:100%;
}

.partners-slider{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:28px;
  padding:0 45px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.partner-card{
  scroll-snap-align:center;
  scroll-snap-stop:always;
  background:#f9f9f9;
  border-radius:8px;
  padding:28px 24px;
  text-align:center;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  transition:.3s ease;
  min-width:200px;
  flex:0 0 auto;
}

.partner-card:hover{
  box-shadow:0 4px 20px rgba(0,0,0,.12);
  transform:translateY(-4px);
}

.partner-logo{
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

.partner-logo img{
  max-width:140px;
  max-height:80px;
  object-fit:contain;
  display:block;
}

.partner-desc{
  font-size:13px;
  line-height:1.5;
  color:#555;
}

/* Resources Slider */
.resources-slider-wrapper{
  position:relative;
  width:100%;
}

.resources-slider{
  display:flex;
  gap:20px;
  padding:0 20px 20px;
  overflow-x:auto;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
}

.resources-slider::-webkit-scrollbar{
  height:6px;
}

.resources-slider::-webkit-scrollbar-track{
  background:#f1f1f1;
}

.resources-slider::-webkit-scrollbar-thumb{
  background:#1f58b8;
  border-radius:3px;
}

.resources-slider::-webkit-scrollbar-thumb:hover{
  background:#174aa8;
}

.resources-slider .resource-card{
  flex:0 0 180px;
  min-width:180px;
  min-height:auto;
  background:#f9f9f9;
  border-radius:0;
  padding:12px;
  text-align:center;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  transition:.3s ease;
  scroll-snap-align:center;
  scroll-snap-stop:always;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.resources-slider .resource-card img{
  width:100%;
  height:96px;
  object-fit:cover;
  border-radius:0;
}

.resources-slider .resource-card h3{
  font-size:15px;
  font-weight:600;
  margin:0 auto;
  color:var(--text);
  text-align:center;
}

.resources-slider .resource-card:hover{
  box-shadow:0 4px 20px rgba(0,0,0,.12);
  transform:translateY(-4px);
}

.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:var(--blue);
  color:#fff;
  border:none;
  width:45px;
  height:45px;
  border-radius:50%;
  font-size:28px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s ease;
  z-index:10;
}

.slider-btn:hover{
  background:var(--deep-blue);
  transform:translateY(-50%) scale(1.08);
}

.slider-btn.prev{
  left:0;
}

.slider-btn.next{
  right:0;
}

/* CONTACT */

.contact{
  background:linear-gradient(135deg,#215bbc,#0d3f9d);
  color:#fff;
  padding:24px 0 32px;
}

.contact-grid{
  width:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.02fr 1.42fr 1fr;
  gap:32px;
  align-items:start;
}

.contact-info,
.contact-form{
  border-right:1px solid rgba(255,255,255,.45);
  padding-right:28px;
}

.contact h2{
  color:#fff;
  font-size:30px;
  margin-bottom:18px;
}

.contact-row{
  display:grid;
  grid-template-columns:30px 1fr;
  align-items:start;
  column-gap:14px;
  margin-bottom:14px;
}

.contact-row span{
  width:30px;
  height:30px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  font-size:23px;
  line-height:1;
  padding-top:2px;
}

.contact-row p,
.contact-row address{
  margin:0;
  font-style:normal;
  font-size:14px;
  line-height:1.62;
  font-weight:400;
}

.contact-row a{
  color:#fff;
  text-decoration:none;
  transition:opacity .25s ease;
}

.contact-row a:hover{
  opacity:.85;
}

.social-cards{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  overflow-x:auto;
  padding-bottom:6px;
  margin-bottom:10px;
}

.social-card{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  min-width:auto;
  max-width:auto;
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease;
  color:#111;
}

.social-card:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.1);
}

.social-card-icon{
  width:36px;
  height:36px;
  min-width:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:#fff;
}

.social-card-icon svg{
  width:18px;
  height:18px;
}

.social-card.facebook .social-card-icon{
  background:#1877f2;
}

.social-card.youtube .social-card-icon{
  background:#f52222;
}

.social-follow{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.social-follow h3{
  margin:0;
  font-size:16px;
  font-weight:500;
  line-height:1.2;
  color:#fff;
}

.contact-row.single-line{
  align-items:center;
}

.contact-row.single-line span{
  align-items:center;
  padding-top:0;
}

.contact-row.single-line p{
  line-height:1.2;
}

.contact-form{
  padding-top:2px;
}

.contact-form h3{
  font-size:16px;
  font-weight:500;
  margin-bottom:15px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:13px;
}

.contact input,
.contact textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.45);
  background:transparent;
  color:#fff;
  padding:13px 15px;
  font-family:"Montserrat", Arial, sans-serif;
  font-size:12px;
  outline:none;
}

.contact input::placeholder,
.contact textarea::placeholder{
  color:#fff;
  opacity:.92;
}

.contact textarea{
  height:85px;
  resize:none;
  margin-bottom:14px;
}

.contact button{
  display:block;
  width:210px;
  margin-left:auto;
  height:43px;
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.8);
  font-family:"Montserrat", Arial, sans-serif;
  font-size:13px;
  cursor:pointer;
}

.contact-join{
  padding-left:2px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.contact-join h2{
  font-family:"Libre Baskerville", Georgia, serif;
  color:#fff;
  font-size:21px;
  line-height:1.35;
  font-weight:400;
  letter-spacing:-.2px;
  margin-bottom:14px;
  max-width:260px;
  text-align:left;
}

.contact-join h2 span{
  display:inline-block;
}

.contact-join p{
  font-size:15px;
  line-height:1.65;
  margin-bottom:27px;
  color:#fff;
}

.contact-join a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  height:43px;
  padding:0 22px;
  border:1px solid rgba(255,255,255,.85);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:500;
  transition:.3s ease;
}

.contact-join a:hover{
  background:#fff;
  color:var(--deep-blue);
}

/* ANIMATION */

.reveal{
  opacity:0;
  transform:translateY(35px);
  transition:opacity .75s ease, transform .75s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }

  .reveal{
    opacity:1;
    transform:none;
  }
}

/* RESPONSIVE */

@media(max-width:1280px){
  .container{
    width:92%;
  }

  .logo img{
    width:250px;
    height:80px;
  }

  .nav{
    gap:24px;
    margin-right:24px;
  }

  .nav a{
    font-size:11px;
  }

  .hero-text h1{
    font-size:49px;
  }

  .hero-logo img{
    transform:scale(1.28);
  }
}

@media(max-width:1050px){
  .header,
  .header.scrolled{
    height:84px;
  }

  section{
    scroll-margin-top:84px;
  }

  .logo img{
    width:250px;
    height:80px;
  }

  .menu-toggle{
    display:block;
    margin-left:10px;
  }

  .donate-btn{
    display:inline-flex;
    margin-left:auto;
    padding:10px 14px;
  }

  .nav{
    position:absolute;
    top:84px;
    left:0;
    width:100%;
    background:#fff;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    margin:0;
    box-shadow:0 16px 28px rgba(0,0,0,.12);
  }

  .nav.active{
    display:flex;
  }

  .nav a{
    width:100%;
    padding:18px 28px;
    border-top:1px solid #eee;
    font-size:13px;
    justify-content:flex-start;
  }

  .hero{
    padding-top:84px;
    min-height:auto;
  }

  .hero-inner{
    min-height:auto;
    grid-template-columns:1fr;
    text-align:center;
    padding:55px 0 95px;
  }

  .hero-text{
    max-width:680px;
    margin:auto;
    padding-top:0;
  }

  .hero-text p{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-logo{
    margin-top:38px;
  }

  .hero-logo img{
    max-width:360px;
    transform:scale(1);
  }

  .who-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .what-grid,
  .events-grid,
  .resources-grid{
    grid-template-columns:1fr 1fr;
  }

  .events-intro,
  .resources-intro{
    grid-column:1 / -1;
  }

  .contact-grid{
    grid-template-columns:1fr 1fr;
  }

  .contact-info,
  .contact-form{
    border-right:0;
    padding-right:0;
  }

  .contact-join{
    grid-column:1 / -1;
    padding-left:0;
  }

  .details-content h2{
    font-size:24px;
    margin-bottom:25px;
  }

  .details-body{
    grid-template-columns:1fr;
    gap:20px;
  }

  .detail-section{
    padding:22px 18px;
  }

  .detail-section h3{
    font-size:16px;
  }

  .detail-section p,
  .detail-section li{
    font-size:13px;
  }

  .certificates-gallery{
    grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
    gap:15px;
  }

  .team-members{
    grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
    gap:30px 20px;
  }

  .member-avatar{
    width:120px;
    height:120px;
    margin-bottom:14px;
    border-width:3px;
  }

  .team-member h4{
    font-size:14px;
  }

  .team-member p{
    font-size:12px;
  }
}

@media(max-width:700px){
  .container{
    width:90%;
  }

  .donate-btn{
    font-size:12px;
    padding:9px 12px;
  }

  .header,
  .header.scrolled{
    height:76px;
  }

  section{
    scroll-margin-top:76px;
  }

  .nav{
    top:76px;
  }

  .logo img{
    width:250px;
    height:80px;
  }

  .hero{
    padding-top:76px;
  }

  .hero-inner{
    padding:42px 0 80px;
  }

  .hero-text h1{
    font-size:38px;
    line-height:1.08;
    letter-spacing:-.7px;
  }

  .hero-text p{
    font-size:13px;
    line-height:1.75;
  }

  .primary-btn{
    min-height:46px;
    padding:0 20px;
    font-size:11px;
  }

  .hero-logo img{
    max-width:280px;
  }

  .blue-curve{
    height:58px;
  }

  .section-light,
  .section-gray,
  .events,
  .resources,
  .contact{
    padding-top:32px;
    padding-bottom:34px;
  }

  .center-heading h2,
  .left-heading h2,
  .contact h2{
    font-size:25px;
  }

  .who-grid,
  .what-grid,
  .events-grid,
  .resources-grid,
  .contact-grid,
  .form-row{
    grid-template-columns:1fr;
  }

  .resources-list{
    grid-template-columns:1fr;
  }

  .details-body{
    grid-template-columns:1fr;
  }

  .resource-card,
  .event-card,
  .detail-section{
    width:100%;
  }

  .resource-card{
    padding:24px 22px;
  }

  .info-card{
    min-height:auto;
    padding:26px 20px;
  }

  .wide-card,
  .resource-card{
    flex-direction:column;
    text-align:center;
    padding:28px 22px;
  }

  .large-icon{
    width:110px;
    height:110px;
    flex-basis:110px;
  }

  .large-icon svg{
    width:64px;
    height:64px;
  }

  .event-card img{
    height:190px;
  }

  .partners-slider{
    padding:0 20px;
  }

  .partner-card{
    min-width:160px;
    padding:20px 16px;
  }

  .partner-logo{
    height:80px;
    margin-bottom:14px;
  }

  .partner-logo img{
    max-width:120px;
    max-height:60px;
  }

  .partner-desc{
    font-size:12px;
  }

  .slider-btn{
    width:40px;
    height:40px;
    font-size:24px;
  }

  .contact-row{
    grid-template-columns:28px 1fr;
    column-gap:12px;
  }

  .contact-row span{
    width:28px;
    height:28px;
    font-size:21px;
  }

  .contact button{
    width:100%;
  }

  .contact-join h2{
    font-size:19px;
    line-height:1.4;
    max-width:100%;
  }

  .contact-join p{
    max-width:100%;
    font-size:14px;
  }

  .close-modal{
    top:15px;
    right:15px;
    width:36px;
    height:36px;
    font-size:20px;
  }
}

@media(max-width:420px){
  .logo img{
    width:250px;
    height:80px;
  }

  .hero-text h1{
    font-size:34px;
  }

  .nav a{
    font-size:12px;
  }

  .round-icon{
    width:68px;
    height:68px;
  }

  .round-icon svg{
    width:38px;
    height:38px;
  }

  .info-card h3{
    font-size:16px;
  }

  .info-card p{
    font-size:13px;
  }

  .social{
    width:78px;
    height:78px;
    flex-basis:78px;
    font-size:55px;
  }

  .yt{
    width:82px;
    height:60px;
  }

  .event-card img{
    height:150px;
  }

  .partner-card{
    min-width:140px;
    padding:16px 12px;
  }

  .partner-logo{
    height:70px;
    margin-bottom:10px;
  }

  .partner-logo img{
    max-width:100px;
    max-height:50px;
  }

  .partner-desc{
    font-size:11px;
    line-height:1.4;
  }

  .slider-btn{
    width:36px;
    height:36px;
    font-size:20px;
  }

  .details-content h2{
    font-size:20px;
    margin-bottom:20px;
  }

  .detail-section{
    padding:18px 14px;
    border-left-width:3px;
  }

  .detail-section h3{
    font-size:15px;
    margin-bottom:10px;
  }

  .detail-section p,
  .detail-section li{
    font-size:12px;
    line-height:1.6;
  }

  .certificates-gallery{
    grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));
    gap:12px;
  }

  .team-members{
    grid-template-columns:repeat(2, 1fr);
    gap:25px 15px;
  }

  .member-avatar{
    width:100px;
    height:100px;
    margin-bottom:10px;
    border-width:2px;
  }

  .team-member h4{
    font-size:13px;
  }

  .team-member p{
    font-size:11px;
  }
}

/* Additional responsive tweaks for resources/cards */
@media (max-width:900px) {
  .resources-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .resources-list{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:16px;
  }

  .resource-card{
    padding:12px;
    gap:6px;
  }

  .resource-card img{
    height:64px;
  }

  .resource-card h3{
    font-size:13px;
  }
}

@media (max-width:480px){
  .resources-list{
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
  }

  .resource-card{
    padding:10px;
  }

  .resource-card img{
    height:56px;
  }

  .resource-card h3{
    font-size:12px;
    line-height:1.05;
  }
}

/* PRINT */

@media print{
  .header,
  .menu-toggle,
  .donate-btn,
  .primary-btn,
  .contact-form button,
  footer{
    display:none;
  }

  body{
    background:white;
    font-size:12pt;
  }

  a{
    color:inherit;
  }

  img{
    max-width:100%;
    page-break-inside:avoid;
  }
}


