/* ══════════════════════════════════════════════════════════
   ACHIEVEMENTS PAGE — CHEERS FOUNDATION
   ══════════════════════════════════════════════════════════ */

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

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.ach-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ach-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,53,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(29,53,87,0.40) 0%, transparent 60%),
    linear-gradient(160deg, #0d1b2a 0%, #1d3557 50%, #0d1b2a 100%);
}

/* subtle dot texture */
.ach-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.ach-hero-content {
  position: relative;
  z-index: 10;
  max-width: 720px;
  padding: 0 24px;
}

.ach-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #F4B400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ach-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F4B400;
  display: inline-block;
}

.ach-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin: 0 0 24px;
}

.ach-hero-content h1 em {
  font-style: italic;
  color: #F4B400;
}

.ach-hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin: 0;
}

/* SCROLL HINT */
.ach-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════════ */
.ach-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4B400;
  padding: 28px 80px;
  gap: 0;
  flex-wrap: wrap;
}

.ach-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 50px;
}

.ach-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: rgb(0, 0, 0);
  line-height: 1;
}

.ach-stat-label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.8);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ach-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}

/* ══════════════════════════════════════════════════════════
   ACHIEVEMENTS SECTION
   ══════════════════════════════════════════════════════════ */
.ach-section {
  background: #f5f7fa;
  padding: 80px 60px 60px;
}

.ach-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #F4B400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 44px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* ── GRID ────────────────────────────────────────────────── */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Last card spans full width */
.ach-card-wide {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: 340px 1fr;
}

/* ── CARD ────────────────────────────────────────────────── */
.ach-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
}

.ach-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(29,53,87,0.14);
}

/* ── CARD IMAGE ──────────────────────────────────────────── */
.ach-card-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #1d3557;
  flex-shrink: 0;
}

.ach-card-wide .ach-card-img-wrap {
  height: 100%;
  min-height: 320px;
}

.ach-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}

.ach-card:hover .ach-card-img-wrap img {
  transform: scale(1.06);
}

/* IMAGE OVERLAY */
.ach-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 40%,
    rgba(29,53,87,0.75) 100%
  );
}

/* EMOJI */
.ach-emoji {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 32px;
  z-index: 5;
}

/* YEAR BADGE */
.ach-year-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F4B400;
  color: rgb(0, 0, 0);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(4px);
  z-index: 5;
}

/* FOUNDER BADGE */
.ach-founder-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1d3557;
  color: #F4B400;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
}

/* ── CARD BODY ───────────────────────────────────────────── */
.ach-card-body {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* CARD HEADER */
.ach-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ach-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1d3557;
  margin: 0 0 4px;
}

.ach-tagline {
  font-size: 13px;
  color: #F4B400;
  font-weight: 600;
  margin: 0;
  font-style: italic;
}

/* DOMAIN BADGE */
.ach-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* STORY */
.ach-story {
  font-size: 13px;
  color: #666;
  line-height: 1.85;
  margin: 0;
}

/* ── CAREER PATH ─────────────────────────────────────────── */
.ach-career-path {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 16px;
  background: #f9f9f9;
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 4px;
}

.ach-path-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #777;
  font-weight: 500;
  white-space: nowrap;
}

.ach-path-step.active-step span {
  color: #27ae60;
  font-weight: 700;
}

.ach-path-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ach-path-line {
  flex: 1;
  min-width: 14px;
  height: 1.5px;
  background: #ddd;
  margin: 0 2px;
}

/* ── HIGHLIGHTS ──────────────────────────────────────────── */
.ach-highlights {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
  padding-top: 4px;
}

.ach-hl {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #555;
  line-height: 1.5;
}

.ach-hl i {
  color: #ddd;
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}

.ach-hl.current-hl {
  color: #1d3557;
  font-weight: 600;
}

.ach-hl.current-hl i {
  color: #F4B400;
}

/* ── STARTUP CARD (Naveen) ───────────────────────────────── */
.ach-startup-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #093c85, #2a4a7f);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 4px;
}

.ach-startup-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,107,53,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #F4B400;
  flex-shrink: 0;
}

.ach-startup-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin: 0 0 3px;
}

.ach-startup-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   BOTTOM CTA SECTION
   ══════════════════════════════════════════════════════════ */
.ach-cta-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #1d3557 100%);
  padding: 90px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ach-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,107,53,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.ach-cta-inner {
  position: relative;
  z-index: 2;
}

.ach-cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: white;
  margin: 0 0 18px;
  line-height: 1.2;
}

.ach-cta-section h2 em {
  font-style: italic;
  color: #F4B400;
}

.ach-cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.ach-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ach-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.3s;
}

.ach-btn-primary {
  background: #F4B400;
  color: white;
  box-shadow: 0 6px 22px rgba(255,107,53,0.40);
}

.ach-btn-primary:hover {
  background: #F4B400;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,107,53,0.50);
}

.ach-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.35);
}

.ach-btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: white;
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .ach-card-wide {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
  .ach-card-wide .ach-card-img-wrap { height: 280px; }
  .ach-section { padding: 60px 30px; }
  .ach-cta-section { padding: 70px 30px; }
}

@media (max-width: 768px) {
  .ach-hero-content h1 { font-size: 46px; }
  .ach-grid { grid-template-columns: 1fr; }
  .ach-card-wide { grid-template-columns: 1fr; }
  .ach-stats-strip { padding: 24px 20px; }
  .ach-stat { padding: 12px 24px; }
  .ach-cta-section h2 { font-size: 36px; }
  .ach-career-path { display: none; }
}

@media (max-width: 480px) {
  .ach-hero-content h1 { font-size: 36px; }
  .ach-section { padding: 50px 16px; }
  .ach-card-body { padding: 20px 18px; }
  .ach-cta-btns { flex-direction: column; align-items: center; }
}

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

}

