/* ── ACTIVE NAV LINK ── */
.nav-links a.active {
  color: #ff6b35;
  border-bottom: 2px solid #ff6b35;
  padding-bottom: 3px;
}

/* ══════════════════════════════════
   FOUNDER INTRO SECTION
   — starts right below the navbar
══════════════════════════════════ */
.founder-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 120px 80px 100px;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8eef7 50%, #fdf1eb 100%);
  text-align: center;
}

/* ── LEFT COLUMN (photo + badge + contact) ── */
.founder-photo {
  flex: none;
  width: 420px;
  position: static;
}

.founder-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f4f8, #dde4ed);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.founder-photo-placeholder i {
  font-size: 80px;
  color: #c8d2df;
}

.founder-photo-placeholder span {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #aab;
}

/* Name + role tag under photo */
.founder-badge {
  margin-top: 20px;
  text-align: center;
}

.founder-badge h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1d3557;
  margin: 0 0 5px;
}

.founder-badge p {
  font-size: 0.78rem;
  color: #ff6b35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

/* ── CONTACT CARD ── */
.founder-contact {
  margin-top: 24px;
  background: #fff8f5;
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Phone & Email rows */
.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #444;
  font-size: 0.85rem;
  font-weight: 300;
  transition: color 0.2s;
}

.contact-row:hover {
  color: #F4B400;
}

.contact-row i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(255,107,53,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #F4B400;
  flex-shrink: 0;
}

/* WhatsApp button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  padding: 11px 0;
  background: #25D366;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.25s, transform 0.2s;
}

.whatsapp-btn i {
  font-size: 18px;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ── STORY TEXT (centered block) ── */
.founder-story {
  max-width: 820px;
  width: 100%;
  text-align: left;            /* body text reads better left-aligned */
}

.founder-story .section-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F4B400;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.founder-story h2 {
  font-size: 2.1rem;
  font-weight: 600;
  color: #1d3557;
  line-height: 1.2;
  margin-bottom: 24px;
  text-align: center;
}

.founder-story p {
  font-size: 0.92rem;
  font-weight: 300;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

.founder-story p strong {
  font-weight: 600;
  color: #1d3557;
}

.founder-story p em {
  font-style: italic;
  color: #ff6b35;
}

/* ══════════════════════════════════
   TIMELINE SECTION
══════════════════════════════════ */
.timeline-section {
  padding: 90px 80px;
  background: #f5f7fa;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Vertical centre line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #ff6b35, #f0a500);
  border-radius: 2px;
}

/* Odd items — left side */
.tl-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 50px;
  position: relative;
}

/* Even items — right side */
.tl-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

/* Dot on the centre line */
.tl-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F4B400;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #F4B400;
  z-index: 1;
}

.tl-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  max-width: 290px;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}

.tl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255,107,53,0.15);
  border-bottom: 3px solid #F4B400;
}

.tl-year {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #F4B400;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.tl-card h4 {
  font-size: 0.97rem;
  font-weight: 600;
  color: #1d3557;
  margin: 0 0 8px;
}

.tl-card p {
  font-size: 0.82rem;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
  margin: 0;
}

/* ══════════════════════════════════
   CLOSING QUOTE SECTION
══════════════════════════════════ */
.quote-section {
  padding: 90px 80px;
  background: #1d3557;
  text-align: center;
}

.quote-section blockquote {
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: #f0f0f0;
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto 24px;
}

.quote-section blockquote::before {
  content: '\201C';
  color: #F4B400;
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 6px;
}

.quote-section blockquote::after {
  content: '\201D';
  color: #F4B400;
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.5em;
  margin-left: 6px;
}

.quote-section cite {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F4B400;
  font-style: normal;
  font-weight: 500;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .founder-intro {
    gap: 30px;
    padding: 100px 50px 80px;
  }
  .founder-photo {
    width: 260px;
  }
  .timeline-section {
    padding: 70px 40px;
  }
}

@media (max-width: 768px) {
  .founder-intro {
    padding: 90px 24px 60px;
    gap: 24px;
  }
  .founder-photo {
    width: 100%;
    max-width: 280px;
  }
  .founder-story h2 {
    font-size: 1.6rem;
  }
  .timeline::before {
    left: 18px;
  }
  .tl-item,
  .tl-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 0;
  }
  .tl-item::after {
    left: 18px;
  }
  .tl-card {
    max-width: 100%;
  }
  .timeline-section {
    padding: 60px 20px;
  }
  .quote-section {
    padding: 60px 24px;
  }
  .quote-section blockquote {
    font-size: 1rem;
  }
}

/* =========================================
   GLOBAL MOBILE RESPONSIVE SYSTEM
========================================= */

@media(max-width:900px){

  html,
  body{
    overflow-x:hidden;
  }

  /* SECTION SPACING */
  section,
  .section,
  .page-section{
    padding-left:24px !important;
    padding-right:24px !important;
  }

  /* HERO SECTIONS */
  .hero,
  .page-banner,
  .about-hero,
  .children-hero,
  .csr-hero,
  .ach-hero,
  .contact-hero,
  .donate-hero{
    min-height:auto !important;
    padding:140px 24px 80px !important;
    text-align:center;
  }

  .hero h1,
  .page-banner h1,
  .about-hero h1,
  .children-hero h1,
  .csr-hero h1,
  .ach-hero h1,
  .contact-hero h1,
  .donate-hero h1{
    font-size:clamp(2.3rem,9vw,4rem) !important;
    line-height:1 !important;
  }

  .hero p,
  .page-banner p{
    font-size:.95rem !important;
    line-height:1.8 !important;
  }

  /* NAVBAR */
  .navbar{
    padding:18px 24px !important;
    flex-wrap:wrap !important;
    gap:18px !important;
  }

  .logo-container{
    width:100% !important;
    justify-content:center !important;
  }

  .logo-container span{
    font-size:1rem !important;
  }

  .nav-links{
    width:100% !important;
    overflow-x:auto !important;
    gap:18px !important;
    justify-content:flex-start !important;
    padding-bottom:8px !important;
    scrollbar-width:none;
  }

  .nav-links::-webkit-scrollbar{
    display:none;
  }

  .nav-links a{
    white-space:nowrap;
    font-size:.9rem !important;
  }

  .donate-container{
    width:100%;
  }

  .donate-btn{
    width:100%;
    text-align:center;
  }

  /* ALL GRIDS */
  .tiles-grid,
  .children-grid,
  .ach-grid,
  .csr-grid,
  .projects-grid,
  .footer-container,
  .contact-container,
  .vol-grid,
  .other-projects-grid,
  .detail-four-tiles,
  .detail-three-cta,
  .vol-what-grid,
  .team-grid,
  .donate-grid,
  .impact,
  .stats-grid{
    grid-template-columns:1fr !important;
  }

  /* COMMON CARDS */
  .tile,
  .child-card,
  .ach-card,
  .project-card,
  .vol-tile,
  .contact-card,
  .detail-tile,
  .donate-card,
  .stat-card{
    padding:24px !important;
    border-radius:24px !important;
  }

  /* INTRO / FLEX SECTIONS */
  .intro,
  .about-intro,
  .founder-intro,
  .mission-section,
  .contact-wrap{
    flex-direction:column !important;
    gap:40px !important;
  }

  .intro-content,
  .intro-slider,
  .founder-photo,
  .founder-story,
  .mission-left,
  .mission-right{
    width:100% !important;
  }

  /* FORMS */
  .form-row,
  .vf-row{
    flex-direction:column !important;
  }

  .vf-group,
  .form-group{
    width:100% !important;
  }

  /* FILTER TABS */
  .vol-filter-tabs,
  .filter-tabs{
    overflow-x:auto;
    justify-content:flex-start;
    gap:10px;
    padding-bottom:10px;
    scrollbar-width:none;
  }

  .vol-filter-tabs::-webkit-scrollbar,
  .filter-tabs::-webkit-scrollbar{
    display:none;
  }

  .filter-tab{
    white-space:nowrap;
  }

  /* DETAIL PAGE */
  .detail-title-overlay{
    padding:24px !important;
  }

  .detail-title-overlay h1{
    font-size:2rem !important;
  }

  .detail-img-viewer{
    height:70vh !important;
  }

  /* FOOTER */
  .footer{
    padding:70px 24px 30px !important;
  }

  .footer-container{
    gap:40px !important;
  }

  .footer-section{
    text-align:center !important;
  }

  .social-icons{
    justify-content:center !important;
  }

  .footer-bottom{
    text-align:center !important;
    flex-direction:column !important;
    gap:10px !important;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media(max-width:600px){

  .hero,
  .page-banner{
    padding:120px 18px 70px !important;
  }

  .hero h1,
  .page-banner h1{
    font-size:2rem !important;
  }

  .hero p,
  .page-banner p{
    font-size:.88rem !important;
  }

  .buttons,
  .banner-buttons,
  .cta-buttons{
    flex-direction:column !important;
    width:100% !important;
    gap:12px !important;
  }

  .btn,
  .banner-btn,
  .cta-btn{
    width:100% !important;
    justify-content:center !important;
  }

  section,
  .section{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .intro-content h2,
  .section-title{
    font-size:1.8rem !important;
  }

  .impact .stat h2{
    font-size:2rem !important;
  }

  .detail-title-overlay h1{
    font-size:1.7rem !important;
  }

  .detail-img-arrow{
    width:42px !important;
    height:42px !important;
  }

}

/* MOBILE NAV OVERLAY */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.mobile-overlay.open {
  transform: translateX(0);
}

.mobile-overlay a {
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
}

.mob-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
}

.burger {
  display: none; /* only show on mobile */
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #fff;
  display: block;
  border-radius: 2px;
}

/* SHOW BURGER ON SMALL SCREENS */
@media(max-width:900px){
  .burger { display: flex; }
  .nav-links, .nav-pill { display: none; }
@media(max-width:900px){

  .navbar{
    width:100%;
    padding:14px 14px;

    display:flex;
    align-items:center;

    position:relative;
    overflow:hidden;
  }

  /* LOGO SIDE */
  .logo-container{
    display:flex;
    align-items:center;
    gap:8px;

    flex:1;
    min-width:0;
  }

  .logo-container img{
    height:38px;
    width:auto;
    flex-shrink:0;
  }

  .logo-container span{
    font-size:.82rem;
    font-weight:700;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;

    max-width:140px;
  }

  /* HIDE DESKTOP LINKS */
  .nav-links{
    display:none !important;
  }

  /* DONATE BUTTON */
  .donate-container{
    margin-left:auto;
    margin-right:46px;

    flex-shrink:0;
  }

  .donate-btn{
    padding:8px 14px;
    font-size:.78rem;

    border-radius:40px;

    white-space:nowrap;
  }

  /* BURGER */
  .burger{
    display:flex;
    flex-direction:column;
    gap:4px;

    position:absolute;
    right:14px;
    top:50%;

    transform:translateY(-50%);

    background:none;
    border:none;

    cursor:pointer;
    z-index:9999;

    flex-shrink:0;
  }

  .burger span{
    width:22px;
    height:2.5px;

    border-radius:10px;
    background:#fff;
  }

}
  
}

/* FIX MOBILE NAVBAR */

@media(max-width:900px){

  html,
  body{
    overflow-x:hidden;
    width:100%;
  }

  .navbar{
    width:100%;
    padding:16px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    overflow:hidden;
  }

  /* LOGO */
  .logo-container{
    display:flex;
    align-items:center;
    gap:10px;
    width:auto;
    flex:1;
  }

  .logo-container img{
    height:42px;
    width:auto;
  }

  .logo-container span{
    font-size:1rem;
    white-space:nowrap;
  }

  /* HIDE DESKTOP LINKS */
  .nav-links{
    display:none !important;
  }

  /* DONATE BUTTON */
  .donate-container{
    width:auto;
    margin-right:55px; /* leaves space for burger */
  }

  .donate-btn{
    padding:12px 22px;
    font-size:.95rem;
    border-radius:40px;
    white-space:nowrap;
  }

  /* BURGER ICON */
  .burger{
    display:flex;
    flex-direction:column;
    gap:5px;

    position:absolute;
    right:18px;   /* MOVED TO RIGHT */
    top:50%;
    transform:translateY(-50%);

    background:none;
    border:none;
    cursor:pointer;
    z-index:9999;
  }

  .burger span{
    width:26px;
    height:3px;
    border-radius:10px;
    background:#fff;
  }

  /* MOBILE MENU */
  .mobile-overlay{
    position:fixed;
    inset:0;
    background:#000;
    z-index:99999;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:28px;

    transform:translateX(100%);
    transition:.35s ease;
  }

  .mobile-overlay.open{
    transform:translateX(0);
  }

  .mobile-overlay a{
    color:#fff;
    text-decoration:none;
    font-size:1.5rem;
    font-weight:600;
  }

  .mob-close{
    position:absolute;
    top:24px;
    right:24px;

    background:none;
    border:none;

    color:#fff;
    font-size:2rem;
    cursor:pointer;
  }

}
/* ══════════════════════════════════
   ABOUT PAGE — WIDE IMAGE GALLERY
══════════════════════════════════ */
.about-gallery-section {
  padding: 90px 0 80px;
  background: #0f1e30;
  overflow: hidden;
}

.about-gallery-section .tiles-heading {
  padding: 0 80px;
  margin-bottom: 50px;
  text-align: center;
}

.about-gallery-section .tiles-heading h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 10px 0 12px;
}

.about-gallery-section .tiles-heading p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* Badge */
.ag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F4B400;
  background: rgba(244,180,0,0.12);
  border: 1px solid rgba(244,180,0,0.3);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 4px;
}

/* ── BOX ── */
.ag-box {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background: #1a2d42;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  /* make room left-right for arrows */
  padding: 0 0 56px;    /* bottom padding for dots & progress */
}

/* ── TRACK WRAP (clips slides) ── */
.ag-track-wrap {
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  display: block;
}

/* ── TRACK ── */
.ag-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── SINGLE SLIDE ── */
.ag-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.ag-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ag-slide img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    display:block;
    background:#111;
}

/* Gradient overlay for caption readability */
.ag-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10,20,35,0.85) 0%, transparent 100%);
  pointer-events: none;
}

/* ── CAPTION ── */
.ag-caption {
  position: absolute;
  bottom: 22px;
  left: 32px;
  right: 80px;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  z-index: 2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* ── ARROWS ── */
.ag-arrow {
  position: absolute;
  top: calc((100% - 56px) / 2);
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, opacity 0.3s;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.ag-box:hover .ag-arrow {
  opacity: 1;
}

.ag-arrow:hover {
  background: rgba(244,180,0,0.75);
  border-color: #F4B400;
  transform: translateY(-50%) scale(1.08);
}

.ag-prev { left: 20px; }
.ag-next { right: 20px; }

/* ── COUNTER ── */
.ag-counter {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.45);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  z-index: 10;
  backdrop-filter: blur(4px);
}

/* ── DOTS ── */
.ag-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
}

.ag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  padding: 0;
  flex-shrink: 0;
}

.ag-dot.active {
  background: #F4B400;
  width: 24px;
  border-radius: 4px;
  transform: scale(1.1);
}

/* ── PROGRESS BAR ── */
.ag-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
}

.ag-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F4B400, #ff6b35);
  border-radius: 0 2px 2px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-gallery-section {
    padding: 70px 0 60px;
  }
  .about-gallery-section .tiles-heading {
    padding: 0 24px;
    margin-bottom: 36px;
  }
  .about-gallery-section .tiles-heading h2 {
    font-size: 1.7rem;
  }
  .ag-box {
    border-radius: 0;
    padding-bottom: 52px;
  }
  .ag-track-wrap {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }
  .ag-caption {
    font-size: 0.85rem;
    bottom: 16px;
    left: 20px;
    right: 60px;
  }
  .ag-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
  .ag-prev { left: 10px; }
  .ag-next { right: 10px; }
}

@media (max-width: 600px) {
  .ag-track-wrap {
    aspect-ratio: 3 / 2;
    min-height: 220px;
  }
  .about-gallery-section .tiles-heading h2 {
    font-size: 1.4rem;
  }
}



