/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */

/* ── Shared section helpers ── */
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--off-white); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 560px;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(6,10,24,0.95) 0%, rgba(10,16,38,0.90) 50%, rgba(15,25,60,0.88) 100%),
    url('/images/hero-bg.jpg') center center / cover no-repeat;
  background-color: #06080f;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 56px;
  overflow: hidden;
  text-align: center;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,110,232,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }

/* Breadcrumb */
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 22px;
  animation: hero-enter 0.6s cubic-bezier(0.4,0,0.2,1) 0.05s both;
}
.page-breadcrumb a { color: rgba(255,255,255,0.42); transition: color 0.2s; }
.page-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.page-breadcrumb .sep { opacity: 0.3; }
.page-breadcrumb .crumb-current { color: #7AABFF; font-weight: 500; }

/* Tag pill */
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7AABFF;
  background: rgba(44,110,232,0.18);
  border: 1px solid rgba(44,110,232,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  animation: hero-enter 0.6s cubic-bezier(0.4,0,0.2,1) 0.12s both;
}

/* Title */
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  animation: hero-enter 0.5s cubic-bezier(0.4,0,0.2,1) 0.15s both;
  min-height: 1.3em;
}
.page-hero-title .accent { color: #7AABFF; }

/* Typewriter cursor */
.typo-cursor {
  display: inline-block;
  color: #7AABFF;
  font-weight: 200;
  margin-left: 2px;
  animation: blink-cur 0.75s step-end infinite;
}
@keyframes blink-cur {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.typo-cursor.done { animation: none; opacity: 0; transition: opacity 0.6s ease 0.2s; }

/* Subtitle */
.page-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 28px;
  animation: hero-enter 0.75s cubic-bezier(0.4,0,0.2,1) 0.30s both;
}

/* Hero chips row */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  animation: hero-enter 0.75s cubic-bezier(0.4,0,0.2,1) 0.44s both;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  padding: 7px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.hero-chip i { color: #7AABFF; font-size: 0.9rem; }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   OUR STORY
   ============================================================ */
.about-story-section {
  position: relative;
  overflow: hidden;
}
.about-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.about-deco .ab-blob1 {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,110,232,0.07) 0%, transparent 68%);
  top: -140px; right: -100px;
  animation: slow-drift 18s ease-in-out infinite alternate;
}
.about-deco .ab-blob2 {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.05) 0%, transparent 68%);
  bottom: -100px; left: 5%;
  animation: slow-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes slow-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(28px,18px) scale(1.07); }
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Story visual card */
.story-visual-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.svc-top {
  background: var(--blue);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
}
.svc-top-deco {
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.svc-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 10px;
}
.svc-heading {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}
.svc-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--border);
  gap: 1px;
}
.svc-stat {
  background: var(--white);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.svc-stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.svc-stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.svc-stat-num span { color: var(--blue); }
.svc-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* Story text */
.story-para {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 16px;
}
.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.sh-item { display: flex; align-items: flex-start; gap: 14px; }
.sh-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.sh-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.sh-desc { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   MISSION & VISION
   ============================================================ */
.mv-section { position: relative; overflow: hidden; }
.mv-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mv-deco .mv-blob1 {
  position: absolute;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,110,232,0.08) 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: slow-drift 16s ease-in-out infinite alternate;
}
.mv-deco .mv-blob2 {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  animation: slow-drift 20s ease-in-out infinite alternate-reverse;
}
.mv-section > .container { position: relative; z-index: 1; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.mv-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.09); transform: translateY(-3px); }
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.mv-card-mission::before { background: linear-gradient(90deg, var(--blue) 0%, #7AABFF 100%); }
.mv-card-vision::before  { background: linear-gradient(90deg, #059669 0%, #34d399 100%); }

.mv-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.mv-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.mv-icon-green { background: #ECFDF5; color: #059669; }
.mv-label {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.mv-text { font-size: 0.92rem; color: var(--text-sec); line-height: 1.75; margin-bottom: 20px; }
.mv-bullets { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mv-bullets li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
}
.mv-bullets li i { color: var(--blue); font-size: 0.95rem; flex-shrink: 0; }
.mv-bullets-green li i { color: #059669; }

/* ============================================================
   CORE VALUES
   ============================================================ */
.values-section {
  position: relative;
  overflow: hidden;
}
.values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(44,110,232,0.048) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}
.values-section > .container { position: relative; z-index: 1; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.value-card:hover::before { transform: scaleX(1); }

.vc-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.3rem;
  margin: 0 auto 16px;
  transition: background var(--transition), color var(--transition);
}
.value-card:hover .vc-icon { background: var(--blue); color: var(--white); }
.vc-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.vc-desc { font-size: 0.84rem; color: var(--text-sec); line-height: 1.65; }

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner-section {
  background: linear-gradient(135deg, #1a3a7a 0%, #2C6EE8 50%, #1a5cd6 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.sb-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sb-deco .sb-blob1 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -100px; right: -60px;
}
.sb-deco .sb-blob2 {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -80px; left: 10%;
}
.stats-banner-section > .container { position: relative; z-index: 1; }

.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.sb-stat {
  text-align: center;
  padding: 20px;
  position: relative;
}
.sb-stat + .sb-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.18);
}
.sb-num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.sb-num span { color: rgba(255,255,255,0.6); }
.sb-label { font-size: 0.875rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ============================================================
   OUR EXPERTISE / DOMAINS
   ============================================================ */
.domains-section {
  position: relative;
  overflow: hidden;
}
.domains-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(44,110,232,0.045) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}
.domains-section > .container { position: relative; z-index: 1; }

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.domain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.domain-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.domain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.domain-card:hover::after { transform: scaleX(1); }

.dc-icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dc-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.3rem;
  transition: background var(--transition), color var(--transition);
}
.domain-card:hover .dc-icon { background: var(--blue); color: var(--white); }
.dc-num { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.05em; }

.dc-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; margin-bottom: 10px; }
.dc-desc { font-size: 0.875rem; color: var(--text-sec); line-height: 1.7; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

.dc-offers { display: flex; flex-direction: column; gap: 16px; }
.dc-offer-item { display: flex; align-items: flex-start; gap: 12px; }
.doi-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.doi-icon-green { background: #ECFDF5; color: #059669; }
.doi-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.doi-text { font-size: 0.82rem; color: var(--text-sec); line-height: 1.55; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-section-about { position: relative; overflow: hidden; }
.testi-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.testi-deco .td-blob1 {
  position: absolute;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,110,232,0.06) 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: slow-drift 14s ease-in-out infinite alternate;
}
.testi-deco .td-blob2 {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.05) 0%, transparent 70%);
  bottom: -80px; left: 20%;
  animation: slow-drift 19s ease-in-out infinite alternate-reverse;
}
.testi-section-about > .container { position: relative; z-index: 1; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testi-quote {
  font-size: 2.5rem;
  color: var(--blue);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.3;
}
.testi-text { font-size: 0.9rem; color: var(--text-sec); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-footer { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}
.testi-name { font-size: 0.87rem; font-weight: 600; color: var(--text-primary); }
.testi-course { font-size: 0.77rem; color: var(--text-muted); }
.testi-stars { margin-left: auto; color: #F59E0B; font-size: 0.75rem; letter-spacing: 1px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--blue);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 200px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-title { font-family: var(--font-head); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -0.02em; }
.cta-desc { font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.btn-white {
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; gap: 44px; }
  .mv-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-banner-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-stat + .sb-stat::before { display: none; }
}

@media (max-width: 600px) {
  .page-hero { padding-top: calc(var(--nav-height) + 24px); padding-bottom: 36px; }
  .page-hero-title { font-size: 1.85rem; }
  .hero-chips { gap: 8px; }
  .hero-chip { font-size: 0.76rem; padding: 6px 12px; }
  .section { padding: 72px 0; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner-grid { grid-template-columns: 1fr 1fr; }
  .svc-bottom { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-blob1, .ab-blob2,
  .mv-blob1, .mv-blob2,
  .td-blob1, .td-blob2,
  .typo-cursor {
    animation: none !important;
  }
}
