/* PAGE BANNER */
.page-banner {
  position: relative;
  height: 320px;
  background: url('../images/hero.jpg') no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.banner-content {
  position: relative;
  color: white;
}

.banner-content h1 {
  font-size: 52px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #F4B400;
}

.banner-content p {
  font-size: 18px;
  color: #eee;
}

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

/* CONTACT SECTION */
.contact-section {
  padding: 80px 80px 90px;
  background: #f5f7fa;
}

/* TWO COLUMN */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ── LEFT: INFO ──────────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* BADGE */
.quick-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff0ea;
  color: #F4B400;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 25px;
  width: fit-content;
  margin-bottom: 4px;
}

/* CARDS */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #F4B400;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.12);
}

/* ICON CIRCLES */
.contact-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.phone-icon  { background: #e8f4fd; color: #2980b9; }
.email-icon  { background: #fff0ea; color: #ff6b35; }
.address-icon { background: #eafaf1; color: #27ae60; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.contact-value {
  font-size: 14px;
  color: #1d3557;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  line-height: 1.6;
}

.contact-value:hover { color: #000000; }

.address-value {
  font-size: 13px;
  font-weight: 400;
  color: #000000;
  line-height: 1.7;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.30);
  margin-top: 4px;
}

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

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.40);
}

/* MAPS BUTTON */
.maps-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1d3557;
  color: white;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(29,53,87,0.20);
}

.maps-btn i { font-size: 20px; color: #F4B400; }

.maps-btn:hover {
  background: #F4B400;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.30);
}

.maps-btn:hover i { color: white; }

.btn-arrow {
  margin-left: auto;
  font-size: 13px;
  opacity: 0.7;
}

/* SOCIAL */
.contact-social {
  background: white;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.social-label {
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 12px;
}

.contact-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #F4B400;
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

.contact-social .social-icons a:hover {
  background: #F4B400;
  color: white;
  transform: translateY(-3px);
}

/* ── RIGHT: MAP + FORM ───────────────────────────────────── */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* MAP */
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  position: relative;
}

.map-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: none;
}

.map-open-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(29,53,87,0.92), transparent);
  color: white;
  padding: 22px 20px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  opacity: 0;
  transition: opacity 0.3s;
}

.map-open-overlay i { color: #F4B400; font-size: 17px; }

.map-wrapper:hover .map-open-overlay { opacity: 1; }

/* FORM WRAP */
.contact-form-wrap {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.contact-form-wrap h3 {
  font-size: 22px;
  color: #1d3557;
  margin: 0 0 8px;
}

.contact-form-wrap > p {
  font-size: 14px;
  color: #777;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  color: #333;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #F4B400;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.10);
  background: white;
}

.form-group textarea { resize: none; }

/* SUBMIT BUTTON */
.form-submit-btn {
  background: #F4B400;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 25px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.form-submit-btn:hover {
  background: #a57900;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}

/* SUCCESS MESSAGE */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.form-success i {
  font-size: 56px;
  color: #2ecc71;
}

.form-success h4 {
  font-size: 22px;
  color: #1d3557;
  margin: 0;
}

.form-success p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .contact-section { padding: 60px 20px; }
  .contact-container { grid-template-columns: 1fr; }
  .contact-map { height: 240px; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .banner-content h1 { font-size: 36px; }
}

/* =========================================
   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;
  }

}





/* ==========================
   CONTACT PAGE MOBILE FIX
========================== */

@media (max-width:768px){

.contact-section{
    padding:40px 15px;
}

.contact-container{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.contact-info,
.contact-right{
    width:100%;
}

.contact-form-wrap{
    padding:22px 18px;
}

.contact-map{
    height:250px;
}

.form-row{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-card{
    padding:16px;
}

.whatsapp-btn,
.maps-btn{
    font-size:14px;
    padding:14px 16px;
}

.banner-content h1{
    font-size:34px;
}

.banner-content p{
    font-size:15px;
}

}


