/* ═══════════════════════════════════════════════════════════════════════════
   ClassHud - Static Pages CSS (Redesigned & Consolidated)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Global Page Wrapper & Base Reset ────────────────────────────────────── */
.pg-page {
  --brand-red: #DC2626;
  --brand-red-dark: #B91C1C;
  --brand-red-light: #FEF2F2;
  --slate-dark: #0F172A;
  --slate-medium: #334155;
  --slate-light: #64748B;
  --bg-slate-light: #F8FAFC;
  --border-color: #E2E8F0;
  
  font-family: 'Inter', sans-serif;
  color: var(--slate-medium);
  background-color: var(--bg-slate-light);
  min-height: 100vh;
  display: flow-root;
  animation: pgFadeIn 0.5s ease-out both;
}

/* ── Hero Section (Premium Light Cool-Grey & Red Accents) ────────────────── */
body.page-inner, body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
main, #main-content, .pg-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.pg-hero {
  background: linear-gradient(135deg, #EBF3FF 0%, #FFFFFF 100%) !important;
  color: var(--slate-dark) !important;
  padding: calc(70px + 3rem) 0 3rem !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--border-color);
}

.pg-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--slate-dark) !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pg-hero p {
  font-size: 1.15rem;
  color: var(--slate-medium) !important;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}
.pg-hero p .txt-red {
  color: var(--brand-red);
  font-weight: 700;
}
.pg-hero-crumbs {
  font-size: 0.88rem;
  color: #64748B;
  margin-bottom: 1.25rem;
}
.pg-hero-crumbs a { color: var(--brand-red); text-decoration: none; font-weight: 600; }
.pg-hero-crumbs a:hover { text-decoration: underline; }

/* ── How It Works Hero Layout with Dotted Paths ──────────────────────────── */
.pg-hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pg-hero-curve-left, .pg-hero-curve-right {
  position: absolute;
  width: 320px;
  height: 150px;
  top: 45%;
  opacity: 0.55;
}
.pg-hero-curve-left { left: 16%; }
.pg-hero-curve-right { right: 16%; }

.pg-hero-float-icon {
  position: absolute;
  background: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.03);
  color: var(--brand-red);
  font-size: 1.1rem;
  animation: floatAnim 4s ease-in-out infinite;
}
.left-float { top: 30%; left: 24%; animation-delay: 0s; color: #3B82F6; }
.middle-float { top: 72%; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.right-float { top: 30%; right: 24%; animation-delay: 2s; color: #10B981; }

.pg-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px !important;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.pg-hero-main-content {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 991px) {
  .pg-hero-curve-left, .pg-hero-curve-right { display: none; }
  .pg-hero-float-icon { display: none; }
}

/* ── Content Wrapper ──────────────────────────────────────────────────────── */
.pg-wrap { max-width: 1000px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.pg-wrap-wide { max-width: 1140px; }

.pg-section { margin-bottom: 4.5rem; position: relative; }
.pg-section:last-child { margin-bottom: 0; }
.pg-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.pg-section h3 { 
  font-size: 1.35rem; 
  font-weight: 700; 
  color: var(--slate-dark); 
  margin: 2rem 0 0.85rem; 
}
.pg-section p { color: var(--slate-medium); margin-bottom: 1.1rem; font-size: 1rem; line-height: 1.65; }

.pg-lead { font-size: 1.15rem !important; color: var(--slate-dark); font-weight: 500; line-height: 1.7; }
.pg-eyebrow {
  display: inline-block; 
  font-size: 0.78rem; 
  font-weight: 700; 
  letter-spacing: 0.06em;
  text-transform: uppercase; 
  color: var(--brand-red); 
  background: var(--brand-red-light);
  padding: 0.35rem 0.95rem; 
  border-radius: 6px; 
  margin-bottom: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

/* ── Stats Strip (Clean, Solid Cards) ─────────────────────────────────────── */
.pg-stats {
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.25rem;
  margin-top: 2.5rem; 
}
.pg-stat { 
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}
.pg-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-red);
}
.pg-stat strong { 
  display: block; 
  font-size: 2.2rem; 
  font-weight: 800; 
  color: var(--brand-red); 
  letter-spacing: -0.02em;
}
.pg-stat span { 
  font-size: 0.85rem; 
  color: var(--slate-light); 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (max-width: 768px) { .pg-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

/* ── Professional Card Grid ───────────────────────────────────────────────── */
.pg-grid {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem;
}
@media (max-width: 900px) { .pg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pg-grid { grid-template-columns: 1fr; } }

.pg-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) { .pg-grid-2 { grid-template-columns: 1fr; } }

.pg-card {
  background: #FFFFFF; 
  border: 1px solid var(--border-color); 
  border-radius: 16px;
  padding: 2rem; 
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.pg-card:hover { 
  box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08); 
  transform: translateY(-3px);
  border-color: var(--brand-red);
}
.pg-card-icon {
  width: 48px; 
  height: 48px; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--brand-red-light);
  border: 1px solid rgba(220, 38, 38, 0.1);
  color: var(--brand-red);
}
.pg-card-icon svg, .pg-card-icon i { 
  width: 22px; 
  height: 22px; 
  font-size: 22px;
  color: var(--brand-red);
}
.pg-card h4 { 
  font-size: 1.1rem; 
  font-weight: 700; 
  margin-bottom: 0.5rem; 
  color: var(--slate-dark); 
}
.pg-card p { font-size: 0.95rem; color: var(--slate-medium); margin: 0; line-height: 1.6; }

/* ── Flow Section styling (Students & Institutes) ────────────────────────── */
.pg-flow-container {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  position: relative;
}
.flow-student {
  background: linear-gradient(180deg, #FFF8F8 0%, #FFFFFF 100%);
}
.flow-institute {
  background: linear-gradient(180deg, #F5F8FF 0%, #FFFFFF 100%);
}

.pg-flow-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.pg-flow-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}
.flow-student .pg-flow-icon-badge {
  background: #DC2626;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}
.flow-institute .pg-flow-icon-badge {
  background: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.pg-flow-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-dark);
  margin: 0 0 0.25rem 0;
}
.pg-flow-text p {
  color: var(--slate-light);
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Steps Grid & Cards */
.pg-flow-steps-grid {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.pg-flow-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  position: relative;
  transition: all 0.3s ease;
}
.pg-flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}
.flow-student .pg-flow-card:hover { border-color: rgba(220, 38, 38, 0.3); }
.flow-institute .pg-flow-card:hover { border-color: rgba(59, 130, 246, 0.3); }

/* Card Step Number sticking out */
.pg-flow-card-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.flow-student .pg-flow-card-num {
  background: #DC2626;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}
.flow-institute .pg-flow-card-num {
  background: #3B82F6;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.pg-flow-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1.25rem;
  font-size: 1.3rem;
}
.pg-flow-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.65rem;
}
.pg-flow-card p {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.6;
  margin: 0;
}

/* Arrow separator */
.pg-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  font-size: 0.95rem;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .pg-flow-steps-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .pg-flow-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
  .pg-flow-card-num {
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
  }
}

/* ── Soft Colored Helper Classes ─────────────────────────────────────────── */
.bg-rose-light { background-color: #FFF1F2; }
.text-rose { color: #F43F5E; }
.bg-amber-light { background-color: #FFFBEB; }
.text-amber { color: #F59E0B; }
.bg-emerald-light { background-color: #ECFDF5; }
.text-emerald { color: #10B981; }
.bg-indigo-light { background-color: #EEF2FF; }
.text-indigo { color: #6366F1; }
.bg-blue-light { background-color: #EFF6FF; }
.text-blue { color: #3B82F6; }
.bg-violet-light { background-color: #F5F3FF; }
.text-violet { color: #8B5CF6; }
.bg-orange-light { background-color: #FFF7ED; }
.text-orange { color: #F97316; }

/* ── Timeline (About Us) ─────────────────────────────────────────────────── */
.pg-timeline { 
  border-left: 2.5px solid var(--border-color); 
  padding-left: 1.75rem; 
  margin-top: 2rem; 
}
.pg-timeline-item { 
  position: relative; 
  padding-bottom: 2.25rem; 
}
.pg-timeline-item:last-child { padding-bottom: 0; }
.pg-timeline-item::before {
  content: ''; 
  position: absolute; 
  left: -2.12rem; 
  top: 4px; 
  width: 12px; 
  height: 12px;
  border-radius: 50%; 
  background: #FFFFFF; 
  border: 3.5px solid var(--brand-red);
}
.pg-timeline-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--slate-dark); }
.pg-timeline-item p { font-size: 0.95rem; color: var(--slate-medium); margin: 0; line-height: 1.6; }

/* ── Forms (Clean, Structured) ────────────────────────────────────────────── */
.pg-form-card {
  background: #FFFFFF; 
  border: 1px solid var(--border-color); 
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.pg-form-row { margin-bottom: 1.25rem; }
.pg-form-row label { 
  display: block; 
  font-size: 0.8rem; 
  font-weight: 700; 
  color: var(--slate-medium); 
  margin-bottom: 0.4rem; 
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pg-form-row input, .pg-form-row select, .pg-form-row textarea {
  width: 100%; 
  border: 1.5px solid var(--border-color); 
  border-radius: 8px;
  padding: 0.8rem 1rem; 
  font-size: 0.95rem; 
  font-family: inherit; 
  outline: none;
  transition: all 0.2s ease; 
  background: var(--bg-slate-light);
  color: var(--slate-dark);
}
.pg-form-row input:focus, .pg-form-row select:focus, .pg-form-row textarea:focus { 
  border-color: var(--brand-red); 
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--brand-red-light);
}
.pg-form-row textarea { resize: vertical; min-height: 120px; }
.pg-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 600px) { .pg-form-2col { grid-template-columns: 1fr; } }

.pg-form-submit {
  width: 100%; 
  background: var(--brand-red); 
  color: #FFFFFF; 
  border: none; 
  border-radius: 8px;
  padding: 0.9rem; 
  font-size: 1rem; 
  font-weight: 700; 
  cursor: pointer; 
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}
.pg-form-submit:hover { 
  background: var(--brand-red-dark); 
  transform: translateY(-1px);
}
.pg-form-alert {
  border-radius: 8px; padding: 0.85rem 1.15rem; font-size: 0.92rem; margin-bottom: 1.25rem; font-weight: 600;
}
.pg-form-alert.ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.pg-form-alert.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ── Contact Layout ───────────────────────────────────────────────────────── */
.pg-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .pg-contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.pg-contact-info-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.75rem; }
.pg-contact-info-item { 
  display: flex; 
  gap: 1.25rem; 
  align-items: center; 
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 1.1rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}
.pg-contact-info-item .pg-card-icon { flex-shrink: 0; margin-bottom: 0; }
.pg-contact-info-item strong { display: block; font-size: 0.98rem; color: var(--slate-dark); font-weight: 700; }
.pg-contact-info-item span { font-size: 0.9rem; color: var(--slate-medium); }

/* ── FAQ Accordion ────────────────────────────────────────────────────────── */
.pg-faq-cat { 
  font-size: 0.8rem; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 0.05em;
  color: var(--brand-red); 
  margin: 2.25rem 0 1rem; 
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}
.pg-faq-cat:first-child { margin-top: 0; }
.pg-faq-item {
  border: 1px solid var(--border-color); 
  border-radius: 12px; 
  margin-bottom: 0.75rem; 
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}
.pg-faq-item.open {
  border-color: var(--brand-red);
}
.pg-faq-q {
  width: 100%; 
  text-align: left; 
  background: #FFFFFF; 
  border: none; 
  cursor: pointer;
  padding: 1.2rem 1.5rem; 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  font-size: 1.05rem; 
  font-weight: 700; 
  color: var(--slate-dark); 
  gap: 1.25rem;
  transition: all 0.2s ease;
}
.pg-faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--slate-light); transition: transform 0.25s; }
.pg-faq-item.open .pg-faq-q {
  color: var(--brand-red);
  background: var(--brand-red-light);
}
.pg-faq-item.open .pg-faq-q svg { transform: rotate(180deg); color: var(--brand-red); }
.pg-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.pg-faq-item.open .pg-faq-a { max-height: 400px; }
.pg-faq-a-inner { padding: 0.5rem 1.5rem 1.25rem; font-size: 0.95rem; color: var(--slate-medium); line-height: 1.65; }

/* ── Help Tile Grid ───────────────────────────────────────────────────────── */
.pg-help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 3.5rem; }
@media (max-width: 860px) { .pg-help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pg-help-grid { grid-template-columns: 1fr; } }

.pg-help-tile {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  gap: 0.85rem;
  padding: 1.75rem 1.25rem; 
  border: 1px solid var(--border-color); 
  border-radius: 16px;
  text-decoration: none; 
  color: inherit; 
  transition: all 0.25s ease;
  background: #FFFFFF;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.pg-help-tile:hover { 
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08); 
  transform: translateY(-3px); 
  border-color: var(--brand-red); 
}
.pg-help-tile .pg-card-icon { margin-bottom: 0; }
.pg-help-tile strong { font-size: 0.95rem; color: var(--slate-dark); font-weight: 700; transition: color 0.15s; }
.pg-help-tile:hover strong { color: var(--brand-red); }

/* ── Legal TOC Layout ─────────────────────────────────────────────────────── */
.pg-legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .pg-legal-layout { grid-template-columns: 1fr; gap: 2rem; } }
.pg-legal-toc {
  position: sticky; 
  top: 90px; 
  border: 1px solid var(--border-color); 
  border-radius: 16px;
  padding: 1.5rem 1.25rem; 
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}
.pg-legal-toc strong { 
  display: block; 
  font-size: 0.75rem; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  color: var(--slate-light); 
  margin-bottom: 0.75rem; 
  font-weight: 700;
}
.pg-legal-toc a { 
  display: block; 
  color: var(--slate-medium); 
  text-decoration: none; 
  padding: 0.4rem 0; 
  font-weight: 600;
  transition: color 0.2s ease;
}
.pg-legal-toc a:hover { color: var(--brand-red); }
.pg-legal-updated { font-size: 0.88rem; color: var(--slate-light); margin-bottom: 1.75rem; font-weight: 500; }
.pg-legal-body h2 { font-size: 1.3rem; margin: 2.25rem 0 0.8rem; scroll-margin-top: 90px; font-weight: 800; color: var(--slate-dark); }
.pg-legal-body h2:first-child { margin-top: 0; }
.pg-legal-body p { font-size: 0.98rem; color: var(--slate-medium); margin-bottom: 1.1rem; line-height: 1.7; }
.pg-legal-body ul { margin: 0 0 1.25rem 1.5rem; color: var(--slate-medium); font-size: 0.98rem; }
.pg-legal-body li { margin-bottom: 0.5rem; line-height: 1.6; }

/* ── Sitemap Page ─────────────────────────────────────────────────────────── */
.pg-sitemap-col h3 { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; }
.pg-sitemap-col ul { list-style: none; padding: 0; }
.pg-sitemap-col li { margin-bottom: 0.5rem; }
.pg-sitemap-col a { color: var(--slate-medium); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.pg-sitemap-col a:hover { color: var(--brand-red); text-decoration: underline; }
.pg-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pg-tag-cloud a {
  font-size: 0.85rem; 
  padding: 0.4rem 0.9rem; 
  border-radius: 9999px;
  background: #E2E8F0; 
  color: var(--slate-medium); 
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s ease;
}
.pg-tag-cloud a:hover { background: var(--brand-red-light); color: var(--brand-red); }

/* ── Button Overrides to Match Overall Site ───────────────────────────────── */
.pg-btn {
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem; 
  font-weight: 700; 
  font-size: 0.95rem; 
  text-decoration: none;
  transition: all 0.2s ease;
}
.pg-btn-primary { 
  background: var(--brand-red) !important; 
  color: #FFFFFF !important; 
  border: 2px solid var(--brand-red) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.pg-btn-primary:hover { 
  background: var(--brand-red-dark) !important; 
  border-color: var(--brand-red-dark) !important;
  transform: translateY(-1px);
}
.pg-btn-outline { 
  background: #FFFFFF !important; 
  color: var(--brand-red) !important; 
  border: 2px solid var(--brand-red) !important; 
}
.pg-btn-outline:hover {
  background: var(--brand-red-light) !important;
  transform: translateY(-1px);
}

/* ── Trust Section ────────────────────────────────────────────────────────── */
.pg-trust-section {
  margin: 5rem 0;
}
.pg-trust-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.pg-trust-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 0.75rem;
}
.pg-trust-underline {
  width: 50px;
  height: 3.5px;
  background-color: var(--brand-red);
  margin: 0 auto;
  border-radius: 2px;
}

.pg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) { .pg-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pg-trust-grid { grid-template-columns: 1fr; } }

.pg-trust-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}
.pg-trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(220, 38, 38, 0.2);
}
.pg-trust-icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.pg-trust-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.4rem;
}
.pg-trust-card p {
  font-size: 0.88rem;
  color: var(--slate-light);
  line-height: 1.55;
  margin: 0;
}

/* ── CTA Banner Redesigned ───────────────────────────────────────────────── */
.pg-cta-card-wide {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  border-radius: 28px;
  padding: 3.5rem 4rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
  text-align: center;
}
.pg-cta-banner-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pg-cta-silhouettes {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 450px;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 80%);
  opacity: 0.8;
}

.pg-cta-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .pg-cta-inner-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

.pg-cta-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pg-cta-books-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
  animation: charFloat 4s ease-in-out infinite;
}

.pg-cta-text-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}
.pg-cta-text-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
}
.pg-cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .pg-cta-buttons {
    justify-content: center;
  }
}

.pg-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.pg-btn-cta.bg-white {
  background: #FFFFFF !important;
  color: var(--brand-red) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.pg-btn-cta.bg-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.pg-btn-cta.btn-cta-outline {
  border: 2.5px solid #FFFFFF !important;
  color: #FFFFFF !important;
  background: transparent !important;
}
.pg-btn-cta.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}

/* ── Redesigned About Page Layouts ────────────────────────────────────────── */
.pg-about-hero-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px !important;
  margin: 0 auto;
  text-align: left;
}
.pg-about-hero-left {
  flex: 1.2;
}
.pg-about-hero-left p {
  margin: 0.5rem 0 0 0 !important; /* Left-align the hero paragraph instead of centering it */
  max-width: 680px;
}
.pg-about-hero-right {
  flex: 1;
}

.pg-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.pg-about-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}
.pg-about-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border-color: rgba(220, 38, 38, 0.2);
}
.pg-about-stat-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pg-about-stat-card span {
  font-size: 0.85rem;
  color: var(--slate-light);
  font-weight: 600;
}
.pg-stat-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .pg-about-hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .pg-about-hero-container .pg-hero-crumbs {
    justify-content: center;
    display: flex;
  }
}
@media (max-width: 575px) {
  .pg-about-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Story section with Mission/Vision Card */
.pg-about-story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
  align-items: start;
}
.pg-story-left {
  text-align: left;
}
.pg-mission-vision-card {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.02);
}
.pg-mv-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  text-align: left;
}
.pg-mv-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(220,38,38,0.1);
}
.pg-mv-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 0.5rem;
}
.pg-mv-item p {
  font-size: 0.92rem;
  color: var(--slate-medium);
  line-height: 1.6;
  margin: 0;
}
.pg-mv-divider {
  height: 1px;
  border-top: 1px dashed var(--border-color);
  margin: 2rem 0;
}

@media (max-width: 991px) {
  .pg-about-story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Horizontal Core Values Timeline */
.pg-values-timeline-container {
  position: relative;
  margin-top: 3.5rem;
}
.pg-values-timeline-line {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--border-color);
  z-index: 1;
}
.pg-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.pg-value-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
  transition: all 0.3s ease;
}
.pg-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.05);
  border-color: rgba(220, 38, 38, 0.25);
}
.pg-value-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid var(--brand-red);
  color: var(--brand-red);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 6px #FFFFFF;
  position: relative;
  top: -18px;
}
.pg-value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.pg-value-card p {
  font-size: 0.88rem;
  color: var(--slate-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .pg-values-timeline-line {
    display: none;
  }
  .pg-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .pg-value-node {
    top: 0;
    margin-bottom: 1rem;
  }
}
@media (max-width: 600px) {
  .pg-values-grid {
    grid-template-columns: 1fr;
  }
}

/* Services / Features Grid */
.pg-about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pg-service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}
.pg-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
  border-color: rgba(220, 38, 38, 0.2);
}
.pg-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;
}
.pg-service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.6rem;
}
.pg-service-card p {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .pg-about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pg-about-services-grid {
    grid-template-columns: 1fr;
  }
}

.pg-empty-note {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--brand-red-light);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(220, 38, 38, 0.1);
}
.pg-empty-note svg, .pg-empty-note i {
  font-size: 1.3rem;
  color: var(--brand-red);
  margin-top: 2px;
  flex-shrink: 0;
}
.pg-empty-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate-medium);
  line-height: 1.6;
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes pgFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
