/* ================================================================
   JANSAHYOG UJJAWAL FOUNDATION
   About Page Stylesheet — about.css
   ================================================================
   SECTIONS:
   01. Story Section
   02. Mission Vision Values (MVV)
   03. Impact Stats
   04. What We Do
   05. Timeline / Journey
   06. Team Section
   07. Trust Section
   08. About CTA
   09. Responsive
   ================================================================ */


/* ================================================================
   01. STORY SECTION
   ================================================================ */
.story-section {
  background: white;
  padding: 100px 0;
}

/* 2-column layout */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ---- Image Side ---- */
.story-images {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}

/* Main large image */
.story-img-main-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.story-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.story-img-main-wrap:hover .story-img-main {
  transform: scale(1.04);
}

/* Small overlay image */
.story-img-small-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--shadow);
  z-index: 2;
}

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

/* Experience badge */
.story-exp-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--green);
  color: white;
  padding: 16px 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(91,173,47,0.38);
  z-index: 3;
  animation: badgeFloat 3.5s ease-in-out infinite;
}

.story-exp-badge > i {
  font-size: 26px;
  opacity: 0.9;
}

.story-exp-badge .exp-num {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.story-exp-badge .exp-lbl {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.88;
  display: block;
  line-height: 1.4;
}

/* Dot pattern decoration */
.story-images::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(circle, rgba(26,159,212,0.22) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  border-radius: 8px;
  z-index: 0;
  pointer-events: none;
}

/* ---- Text Side ---- */
.story-text { padding-left: 8px; }

.story-para {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.88;
  margin-bottom: 16px;
}

/* Highlights list */
.story-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sh-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
}

.sh-item i {
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
}

/* Buttons */
.story-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}


/* ================================================================
   02. MISSION VISION VALUES (MVV)
   ================================================================ */
.mvv-section {
  background: var(--light-bg);
  padding: 100px 0;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* Card */
.mvv-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.mvv-card.featured::before { background: var(--green); }

.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Featured card (center) */
.mvv-card.featured {
  background: var(--deep-dark);
  border-color: transparent;
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.mvv-card.featured h3,
.mvv-card.featured p { color: white; }

.mvv-card.featured .mvv-points li { color: rgba(255,255,255,0.78); }

/* Icon */
.mvv-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 18px;
}

.mvv-icon.blue  { background: var(--blue);  box-shadow: 0 8px 24px rgba(26,159,212,0.38); }
.mvv-icon.green { background: var(--green); box-shadow: 0 8px 24px rgba(91,173,47,0.38); }

/* Label badge */
.mvv-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  background: rgba(26,159,212,0.08);
  border: 1px solid rgba(26,159,212,0.15);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.mvv-badge.green {
  color: var(--green);
  background: rgba(91,173,47,0.1);
  border-color: rgba(91,173,47,0.2);
}

.mvv-card.featured .mvv-badge {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: #86efac;
}

.mvv-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.mvv-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 18px;
}

.mvv-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mvv-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-mid);
}

.mvv-points li i {
  color: var(--blue);
  font-size: 11px;
  flex-shrink: 0;
}

.mvv-card.featured .mvv-points li i { color: #86efac; }


/* ================================================================
   03. IMPACT STATS
   ================================================================ */
.about-impact-section {
  background: var(--deep-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/impact-bg.jpg') center/cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

/* 6-card grid */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

/* Card */
.ai-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 38px 20px;
  text-align: center;
  color: white;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.2);
}

/* Icon */
.ai-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.ai-icon.blue  { background: var(--blue);  box-shadow: 0 8px 24px rgba(26,159,212,0.4); }
.ai-icon.green { background: var(--green); box-shadow: 0 8px 24px rgba(91,173,47,0.4); }

/* Counter number */
.ai-num        { font-size: 48px; font-weight: 900; color: #7dd3fc; line-height: 1; display: inline; }
.ai-num.green  { color: #86efac; }
.ai-plus       { font-size: 32px; font-weight: 900; color: #7dd3fc; display: inline; }
.ai-plus.green { color: #86efac; }

.ai-label {
  font-size: 13.5px;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  margin-top: 10px;
}


/* ================================================================
   04. WHAT WE DO
   ================================================================ */
.whatwedo-section {
  background: white;
  padding: 100px 0;
}

/* 4-column grid */
.wwd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Card */
.wwd-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.wwd-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Image */
.wwd-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
}

.wwd-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

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

/* Overlay icon */
.wwd-overlay {
  position: absolute;
  inset: 0;
  background: var(--blue);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  font-size: 32px;
  color: white;
}

.wwd-card:hover .wwd-overlay { opacity: 0.5; }

/* Body */
.wwd-body { padding: 22px; }

.wwd-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.wwd-icon.blue  { background: var(--blue);  box-shadow: 0 5px 16px rgba(26,159,212,0.32); }
.wwd-icon.green { background: var(--green); box-shadow: 0 5px 16px rgba(91,173,47,0.28);  }

.wwd-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.wwd-body p  { font-size: 13px; color: var(--text-mid); line-height: 1.78; margin-bottom: 14px; }


/* ================================================================
   05. TIMELINE / JOURNEY
   ================================================================ */
.timeline-section {
  background: var(--light-bg);
  padding: 100px 0;
}

/* Timeline wrapper */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Center vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue), var(--green));
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Single item */
.tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 46px;
  position: relative;
}

/* Left item */
.tl-item.left {
  flex-direction: row-reverse;
  text-align: right;
}

.tl-item.left .tl-content  { margin-right: 46px; }
.tl-item.right .tl-content { margin-left: 46px;  }

/* Content box */
.tl-content {
  background: white;
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex: 1;
  max-width: calc(50% - 46px);
  transition: var(--transition);
}

.tl-content:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

/* Current year — special style */
.tl-current {
  border-color: var(--blue);
  background: rgba(26,159,212,0.03);
}

/* Year label */
.tl-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(26,159,212,0.08);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.tl-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.tl-content p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.78;
  margin: 0;
}

/* "Abhi chal raha hai" badge */
.tl-now-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--green);
  color: white;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  animation: pulseBadge 2s ease infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 3px rgba(91,173,47,0.25); }
  50%       { box-shadow: 0 0 0 7px rgba(91,173,47,0.08); }
}

/* Center dot */
.tl-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--blue);
  z-index: 2;
  flex-shrink: 0;
}

.tl-dot.green { box-shadow: 0 0 0 3px var(--green); background: var(--green); }
.tl-dot.blue  { background: var(--blue); }


/* ================================================================
   06. TEAM SECTION
   ================================================================ */
.team-section {
  background: white;
  padding: 100px 0;
}

/* 4-column grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Card */
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Image wrapper */
.team-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.55s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

/* Social links overlay */
.team-social {
  position: absolute;
  bottom: -50px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(to top, rgba(10,37,64,0.85), transparent);
  transition: bottom 0.35s ease;
}

.team-card:hover .team-social { bottom: 0; }

.team-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  transition: background 0.3s;
}

.team-social a:hover { background: var(--blue); }

/* Info */
.team-info { padding: 20px; }

.team-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.72;
  margin: 0;
}

/* Join Us box */
.team-join-box {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.team-join-icon {
  width: 60px;
  height: 60px;
  background: var(--blue);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(26,159,212,0.35);
}

.team-join-text { flex: 1; }

.team-join-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-join-text p {
  font-size: 13.5px;
  color: var(--text-mid);
  margin: 0;
}


/* ================================================================
   07. TRUST SECTION
   ================================================================ */
.trust-section {
  background: var(--light-bg);
  padding: 100px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Trust points list */
.trust-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.trust-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trust-point:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.tp-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(26,159,212,0.09);
  border: 1px solid rgba(26,159,212,0.15);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--blue);
  transition: var(--transition);
}

.trust-point:hover .tp-icon {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.tp-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tp-text p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* Documents / Certificates */
.trust-docs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-doc-card {
  background: white;
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.trust-doc-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.tdc-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(26,159,212,0.09);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--blue);
}

.tdc-icon.green {
  background: rgba(91,173,47,0.09);
  color: var(--dark-green);
}

.trust-doc-card > div:nth-child(2) { flex: 1; }

.trust-doc-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

.trust-doc-card p {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 0;
}

.tdc-btn {
  width: 38px;
  height: 38px;
  background: rgba(26,159,212,0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.tdc-btn:hover { background: var(--blue); color: white; }

.tdc-btn.green { background: rgba(91,173,47,0.09); color: var(--dark-green); }
.tdc-btn.green:hover { background: var(--green); color: white; }


/* ================================================================
   08. ABOUT CTA SECTION
   ================================================================ */
.about-cta-section {
  background: var(--deep-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.about-cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.06;
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.about-cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.06;
  bottom: -120px;
  left: -80px;
  pointer-events: none;
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.acta-text h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.acta-text h2 span { color: #86efac; }

.acta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.85;
  margin: 0;
}

.acta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Float animation (shared) */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}


/* ================================================================
   09. RESPONSIVE
   ================================================================ */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .story-grid     { gap: 50px; }
  .mvv-grid       { grid-template-columns: 1fr 1fr; }
  .mvv-card.featured { transform: translateY(0); }
  .ai-grid        { grid-template-columns: repeat(3, 1fr); }
  .wwd-grid       { grid-template-columns: repeat(2, 1fr); }
  .team-grid      { grid-template-columns: repeat(2, 1fr); }
  .trust-grid     { gap: 44px; }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
  .story-section,
  .mvv-section,
  .about-impact-section,
  .whatwedo-section,
  .timeline-section,
  .team-section,
  .trust-section,
  .about-cta-section { padding: 60px 0; }

  .story-grid     { grid-template-columns: 1fr; gap: 50px; }
  .story-images   { padding-bottom: 30px; padding-right: 30px; }
  .story-img-main { height: 300px; }
  .story-img-small-wrap { width: 140px; height: 110px; }
  .story-exp-badge { left: 10px; top: 10px; }
  .story-highlights { grid-template-columns: 1fr; }

  .mvv-grid       { grid-template-columns: 1fr; }
  .ai-grid        { grid-template-columns: repeat(2, 1fr); }
  .wwd-grid       { grid-template-columns: 1fr 1fr; }
  .team-grid      { grid-template-columns: 1fr 1fr; }
  .trust-grid     { grid-template-columns: 1fr; gap: 36px; }

  /* Timeline mobile */
  .timeline::before { left: 20px; }
  .tl-item        { flex-direction: row !important; }
  .tl-item.left   { text-align: left; }
  .tl-item.left .tl-content  { margin-right: 0; margin-left: 46px; }
  .tl-dot         { left: 20px; }
  .tl-content     { max-width: 100%; }

  .about-cta-inner { flex-direction: column; text-align: center; }
  .acta-btns      { justify-content: center; }
  .team-join-box  { flex-direction: column; text-align: center; }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
  .mvv-grid       { grid-template-columns: 1fr; }
  .ai-grid        { grid-template-columns: 1fr 1fr; }
  .wwd-grid       { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .story-btns,
  .acta-btns      { flex-direction: column; }
  .story-highlights { grid-template-columns: 1fr; }
}
