/* ==========================================================================
   ICDS Founder / About Page - Premium Warm Editorial Dental-Education Aesthetic
   ========================================================================== */

.founder-page {
  overflow-x: hidden;
  color: var(--body-color, #475569);
  background: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.founder-page img { max-width: 100%; }
.founder-page ul, .founder-page ol { list-style: none; padding: 0; margin: 0; }
.fp-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Hero Section ---------- */
.fp-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(194, 142, 52, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #faf7f2 0%, #f6f0e6 60%, #ffffff 100%);
  padding: 50px 0 70px;
  position: relative;
  border-bottom: 1px solid rgba(194, 142, 52, 0.15);
}

.fp-hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: 1fr;
}

.fp-portrait-wrap {
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.fp-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  border: 1.5px solid rgba(194, 142, 52, 0.35);
  pointer-events: none;
}

.fp-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(11, 19, 37, 0.14), 0 0 30px rgba(217, 119, 6, 0.08);
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.fp-portrait-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  font-weight: 800;
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #c28e34);
}

.fp-eyebrow, .fp-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
  color: #b45309;
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fp-eyebrow::before, .fp-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d97706;
}

.fp-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: var(--secondary-color, #0b1325);
  line-height: 1.12;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.fp-quals {
  font-size: 1.1rem;
  font-weight: 700;
  color: #b45309;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.fp-role {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 20px;
  font-weight: 500;
}

.fp-intro {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--secondary-color, #0b1325);
  margin: 0 0 24px;
}

.fp-social {
  display: flex;
  gap: 12px;
}

.fp-social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 142, 52, 0.3);
  border-radius: 50%;
  color: #b45309;
  background: #ffffff;
  text-decoration: none;
  font-size: 17px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(11, 19, 37, 0.04);
}

.fp-social a:hover {
  background: var(--accent-gradient, linear-gradient(135deg, #d97706, #c28e34));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.3);
}

/* ---------- Sections Rhythm ---------- */
.fp-section {
  padding: 70px 0;
  position: relative;
}

.fp-alt {
  background: var(--light-bg, #faf7f2);
  border-top: 1px solid rgba(194, 142, 52, 0.12);
  border-bottom: 1px solid rgba(194, 142, 52, 0.12);
}

.fp-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: var(--secondary-color, #0b1325);
  margin: 0 0 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.fp-prose {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #475569;
  margin: 0 0 20px;
}

/* ---------- Grid and Cards ---------- */
.fp-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.fp-card {
  background: #ffffff;
  border: 1px solid rgba(194, 142, 52, 0.22);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 4px 18px rgba(11, 19, 37, 0.04);
  transition: all 0.25s ease;
  min-width: 0;
}

.fp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: 0 16px 36px rgba(11, 19, 37, 0.08), 0 0 20px rgba(217, 119, 6, 0.06);
}

.fp-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color, #0b1325);
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.fp-card p {
  margin: 0;
  line-height: 1.65;
  color: #64748b;
  font-size: 14.5px;
}

.fp-qual i, .fp-init-icon {
  font-size: 1.8rem;
  color: #d97706;
  display: inline-flex;
  margin-bottom: 12px;
}

.fp-init-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 14px;
}

.fp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  color: #b45309;
  text-decoration: none;
  font-size: 14px;
  transition: gap 0.2s ease;
}

.fp-link:hover {
  color: #d97706;
  gap: 10px;
}

.fp-res ul li {
  padding: 10px 0;
  border-top: 1px solid rgba(11, 19, 37, 0.07);
}

.fp-res ul li:first-child { border-top: 0; }
.fp-res li span { display: block; font-size: 0.92rem; color: #64748b; margin-top: 2px; }

/* ---------- Career Timeline ---------- */
.fp-timeline {
  position: relative;
  border-left: 2px solid rgba(194, 142, 52, 0.35);
  margin-left: 12px;
  padding-left: 28px;
}

.fp-timeline li {
  position: relative;
  padding-bottom: 32px;
}

.fp-timeline li::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gradient, linear-gradient(135deg, #d97706, #c28e34));
  box-shadow: 0 0 0 4px #ffffff, 0 0 10px rgba(217, 119, 6, 0.4);
}

.fp-time-label {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 4px;
}

.fp-time-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color, #0b1325);
  margin: 0 0 6px;
}

.fp-time-body p {
  margin: 0;
  line-height: 1.65;
  color: #64748b;
}

/* ---------- Training Impact Stats ---------- */
.fp-stat {
  text-align: center;
  padding: 32px 20px;
}

.fp-stat-value {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--accent-gradient, linear-gradient(135deg, #d97706, #c28e34));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.fp-stat-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary-color, #0b1325);
}

/* ---------- FAQ Accordion ---------- */
.fp-faq-item {
  border: 1px solid rgba(194, 142, 52, 0.22);
  border-radius: 16px;
  background: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 19, 37, 0.03);
  transition: border-color 0.2s ease;
}

.fp-faq-item:hover {
  border-color: rgba(217, 119, 6, 0.35);
}

.fp-faq-item h3 { margin: 0; font-size: 1rem; }

.fp-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  min-height: 52px;
  font-weight: 700;
  font-size: 15px;
  color: var(--secondary-color, #0b1325);
  cursor: pointer;
  transition: background 0.2s ease;
}

.fp-faq-q:hover {
  background: #faf7f2;
}

.fp-faq-q:focus-visible, .fp-btn:focus-visible, .fp-link:focus-visible, .fp-social a:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 2px;
}

.fp-faq-q i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.25s ease, background 0.2s ease;
  flex: none;
}

.fp-faq-q.is-open i {
  transform: rotate(45deg);
  background: #d97706;
  color: #ffffff;
}

.fp-faq-a {
  padding: 0 22px 20px;
  line-height: 1.75;
  color: #64748b;
  font-size: 14.5px;
}

.fp-faq-a p { margin: 0; }

/* ---------- Final Conversion CTA ---------- */
.fp-cta {
  background:
    radial-gradient(circle at 50% 20%, rgba(217, 119, 6, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #090e17 0%, #0d1527 100%);
  color: #ffffff;
  text-align: center;
  padding: 75px 0;
  position: relative;
}

.fp-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 700;
}

.fp-cta p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.fp-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.fp-btn-primary {
  background: var(--accent-gradient, linear-gradient(135deg, #d97706, #c28e34));
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  position: relative;
  overflow: hidden;
}

.fp-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
}

.fp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.45);
}

.fp-btn-primary:hover::after {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.fp-btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.fp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- Responsive Layout ---------- */
@media (min-width: 640px) {
  .fp-qual-grid, .fp-init-grid, .fp-res-grid, .fp-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .fp-hero { padding: 80px 0; }
  .fp-hero-grid { grid-template-columns: 5fr 7fr; gap: 56px; }
  .fp-portrait-wrap { max-width: 440px; }
  .fp-section { padding: 85px 0; }
  .fp-qual-grid { grid-template-columns: repeat(3, 1fr); }
  .fp-init-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-stat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .fp-faq-q i, .fp-card, .fp-btn { transition: none; transform: none; }
}
