/* ============================================================
   CAREER GURU — ABOUT US PAGE STYLESHEET (css/about.css)
   Preserves brand identity, typography, warm palette & spacing
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO / INTRODUCTION SECTION
   ------------------------------------------------------------ */
.about-hero-section {
  padding: 72px 0 80px 0;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange2, #D8440D);
  margin-bottom: 16px;
}

.about-eyebrow .eyebrow-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange2, #D8440D);
  border-radius: 2px;
}

.about-hero-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink, #241B14);
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.about-hero-heading .text-highlight {
  color: var(--orange2, #D8440D);
}

.about-hero-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
}

.about-hero-body p {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--charcoal, #3A2E22);
  font-weight: 400;
  margin: 0;
}

.about-hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft, rgba(36,27,20,0.08));
}

.about-stat-pill {
  display: flex;
  flex-direction: column;
}

.about-stat-pill strong {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink, #241B14);
  line-height: 1.1;
}

.about-stat-pill span {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sub, #6B5D4E);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.about-hero-visual {
  position: relative;
}

.about-hero-img-container {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream, #FBF2E6);
  border: 1px solid rgba(36, 27, 20, 0.08);
  box-shadow: 0 20px 48px -12px rgba(36, 27, 20, 0.18);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.about-hero-img-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -12px rgba(36, 27, 20, 0.24);
}

.about-hero-img-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.about-hero-img-container:hover img {
  transform: scale(1.02);
}

.about-hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-hero-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFEDD5;
  color: var(--orange2, #D8440D);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-hero-badge .badge-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink, #241B14);
  line-height: 1.3;
}

.about-hero-badge .badge-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--sub, #6B5D4E);
  font-weight: 400;
}

/* ------------------------------------------------------------
   2. MISSION & VISION SECTION
   ------------------------------------------------------------ */
.about-mv-section {
  padding: 88px 0 96px 0;
  background: var(--paper, #FFFDF9);
  border-top: 1px solid var(--line-soft, rgba(36,27,20,0.07));
  border-bottom: 1px solid var(--line-soft, rgba(36,27,20,0.07));
}

.about-mv-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

/* Overlapping 3-Image Composition */
.about-mv-collage {
  position: relative;
  height: 480px;
  width: 100%;
}

.mv-collage-item {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(36, 27, 20, 0.14);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mv-collage-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 48px -10px rgba(36, 27, 20, 0.22);
}

.mv-img-main {
  left: 0;
  top: 0;
  width: 60%;
  height: 92%;
  z-index: 1;
  background: #FAF5EE;
  border: 1px solid rgba(36, 27, 20, 0.08);
}

.mv-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.mv-img-top {
  right: 0;
  top: 12px;
  width: 52%;
  height: 48%;
  z-index: 2;
  background: #FDE2D8;
  border: 1px solid rgba(216, 68, 13, 0.15);
}

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

.mv-img-bottom {
  right: 32px;
  bottom: 0;
  width: 48%;
  height: 48%;
  z-index: 3;
  background: #FFFFFF;
  border: 3px solid #FFFFFF;
}

.mv-img-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Mission & Vision Copy */
.about-mv-content {
  display: flex;
  flex-direction: column;
}

.about-mv-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.3rem, 3.8vw, 3.1rem);
  font-weight: 700;
  color: var(--ink, #241B14);
  margin: 0 0 32px 0;
  line-height: 1.15;
}

.about-mv-heading .text-orange {
  color: var(--orange2, #D8440D);
}

.mv-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mv-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mv-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFEDD5;
  color: var(--orange2, #D8440D);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(216, 68, 13, 0.12);
}

.mv-block-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink, #241B14);
  margin: 0;
}

.mv-block p {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.98rem;
  line-height: 1.74;
  color: var(--charcoal, #3A2E22);
  margin: 0;
  max-width: 580px;
}

.mv-divider {
  width: 100%;
  height: 1px;
  background: var(--line, rgba(36,27,20,0.12));
  margin: 28px 0;
}

/* ------------------------------------------------------------
   3. OUR PRIVILEGED PARTNERS (CAROUSEL)
   ------------------------------------------------------------ */
.about-partners-section {
  padding: 88px 0 100px 0;
  background: #FFFFFF;
  position: relative;
}

.about-partners-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.about-partners-eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange2, #D8440D);
  margin-bottom: 12px;
}

.about-partners-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--ink, #241B14);
  margin: 0 0 16px 0;
  line-height: 1.15;
}

.about-partners-heading .accent-gradient {
  background: linear-gradient(95deg, #1E40AF 0%, #4338CA 45%, #7E22CE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-partners-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--sub, #6B5D4E);
  margin: 0 auto;
}

/* Carousel Container */
.partners-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.partners-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  flex-shrink: 0;
  z-index: 10;
  user-select: none;
}

.partners-nav-btn:hover:not(:disabled) {
  background: #F8FAFC;
  border-color: var(--orange2, #D8440D);
  color: var(--orange2, #D8440D);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(216,68,13,0.18);
}

.partners-nav-btn:disabled,
.partners-nav-btn[style*="opacity: 0.35"] {
  cursor: default;
  opacity: 0.35;
  transform: none !important;
}

.partners-viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 4px 20px 4px;
  cursor: grab;
}

.partners-viewport:active {
  cursor: grabbing;
}

.partners-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

/* Partner Card */
.partner-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 240px;
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-sizing: border-box;
  min-height: 300px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  user-select: none;
  position: relative;
}

.partner-card:hover {
  transform: translateY(-8px);
}

/* Card Themes */
.partner-card.theme-gradient {
  background: linear-gradient(165deg, #243B80 0%, #3553B0 50%, #4768CA 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 28px -6px rgba(36, 59, 128, 0.35);
}

.partner-card.theme-gradient:hover {
  box-shadow: 0 20px 40px -8px rgba(36, 59, 128, 0.5);
}

.partner-card.theme-light {
  background: #FFFFFF;
  color: var(--ink, #241B14);
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.06);
}

.partner-card.theme-light:hover {
  border-color: #CBD5E1;
  box-shadow: 0 18px 36px -8px rgba(0, 0, 0, 0.12);
}

.partner-crest-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.partner-crest-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 8px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.partner-crest-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-quote {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.86rem;
  line-height: 1.58;
  margin: 0 0 20px 0;
  flex: 1;
}

.partner-card.theme-gradient .partner-quote {
  color: rgba(255, 255, 255, 0.92);
}

.partner-card.theme-light .partner-quote {
  color: #475569;
}

.partner-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.partner-card.theme-light .partner-card-footer {
  border-top-color: #F1F5F9;
  color: var(--ink, #241B14);
}

.partner-card.theme-gradient .partner-card-footer {
  color: #FFFFFF;
}

.partner-mini-crest {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Dots Navigation */
.partners-dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.partner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-dot.active {
  background: var(--orange2, #D8440D);
  width: 22px;
  border-radius: 6px;
}

/* ------------------------------------------------------------
   4. SCROLL-REVEAL ANIMATIONS
   ------------------------------------------------------------ */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .partner-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (max-width: 992px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-hero-img-container {
    max-width: 100%;
  }

  .about-hero-img-container img {
    height: 400px;
  }

  .about-mv-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .partner-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .about-hero-section {
    padding: 48px 0 60px 0;
  }

  .about-mv-section {
    padding: 60px 0 72px 0;
  }

  .about-partners-section {
    padding: 60px 0 76px 0;
  }

  .about-mv-collage {
    height: 360px;
  }

  .partner-card {
    flex: 0 0 100%;
    min-width: unset;
  }

  .about-hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .partners-slider-wrapper {
    gap: 6px;
  }

  .partners-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up,
  .reveal-fade-right,
  .reveal-fade-left,
  .reveal-scale-in,
  .about-hero-img-container,
  .mv-collage-item,
  .partner-card {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
