/* Success Stories — MentorMinds */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-light: #FF8A33;
  --orange-glow: rgba(255, 107, 0, 0.18);
  --navy: #0A1F44;
  --navy-light: #132D5E;
  --white: #FFFFFF;
  --light: #F8F9FA;
  --text-dark: #1A1A2E;
  --text-muted: #6B7280;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--orange) var(--light); }
body { font-family: var(--ff-body); font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--orange); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 50px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.ss-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-family: var(--ff); font-size: clamp(28px, 4vw, 36px); font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 12px;
  position: relative; padding-bottom: 16px;
}
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; background: var(--orange); border-radius: 50px;
}
.section-sub {
  text-align: center; color: var(--text-muted); font-size: 16px;
  max-width: 600px; margin: 0 auto 40px;
}

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow); }
.top-bar { background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 0; }
.header.scrolled .top-bar { margin-top: -40px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-left i { color: var(--orange); margin-right: 5px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--orange); }
.lang-switch { display: flex; background: rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; }
.lang-switch button { border: none; cursor: pointer; padding: 3px 12px; font-family: var(--ff); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); background: transparent; }
.lang-switch button.active { background: var(--orange); color: var(--white); border-radius: 50px; }
.nav-bar { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header.scrolled .nav-bar { height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; }
.logo-text span:first-child { color: var(--navy); font-weight: 700; font-size: 24px; }
.logo-text span:last-child { color: var(--orange); font-weight: 700; font-size: 24px; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 8px 11px; font-family: var(--ff); font-size: 14px; font-weight: 500; color: var(--navy); border-radius: 8px; transition: var(--transition); }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--orange); background: rgba(255,107,0,.06); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 10px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100;
}
.nav-menu > li:hover > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: var(--navy); border-radius: 10px; }
.dropdown-menu li a:hover { background: rgba(255,107,0,.07); color: var(--orange); }
.dropdown-menu li a i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--orange-glow); color: var(--orange); border-radius: 8px; font-size: 12px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-whatsapp { width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.btn-cta { padding: 10px 22px; background: var(--orange); color: var(--white); font-family: var(--ff); font-size: 14px; font-weight: 600; border-radius: 50px; border: 2px solid var(--orange); transition: var(--transition); }
.btn-cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border: none; background: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 10px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(10,31,68,.5); z-index: 1049; opacity: 0; transition: opacity var(--transition); }
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-menu { display: none; position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100vh; background: var(--white); z-index: 1050; padding: 80px 24px 30px; overflow-y: auto; transition: right .35s ease; box-shadow: -8px 0 30px rgba(0,0,0,.12); }
.mobile-menu.open { right: 0; }
.mobile-menu .mobile-nav li { border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-menu .mobile-nav > li > a { display: block; padding: 14px 0; font-weight: 600; color: var(--navy); }
.mobile-menu .mobile-nav > li > a.active { color: var(--orange); }

/* SECTION 1 — Hero */
.ss-hero {
  background: var(--navy);
  padding: 140px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ss-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,107,0,.14) 0%, transparent 55%);
  pointer-events: none;
}
.ss-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.ss-hero h1 {
  font-family: var(--ff);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.ss-hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,.78);
  margin-bottom: 32px;
  line-height: 1.75;
}
.ss-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ss-pill {
  padding: 9px 20px;
  font-family: var(--ff); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50px; cursor: pointer; transition: var(--transition);
}
.ss-pill:hover { background: rgba(255,255,255,.18); color: var(--white); }
.ss-pill.active {
  background: var(--orange); border-color: var(--orange); color: var(--white);
  box-shadow: 0 4px 16px rgba(255,107,0,.4);
}

/* SECTION 2 — Stats */
.ss-stats {
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}
.ss-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ss-stat-card {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 8px 28px rgba(255, 107, 0, 0.35);
  transition: transform var(--transition);
}
.ss-stat-card:hover { transform: translateY(-4px); }
.ss-stat-num {
  display: block;
  font-family: var(--ff);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.ss-stat-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.4;
}

/* SECTION 3 — Stories */
.ss-stories { padding: 24px 0 80px; background: var(--light); }
.ss-no-results {
  text-align: center; color: var(--text-muted); padding: 28px;
  background: var(--white); border-radius: 12px; margin-bottom: 24px;
  border: 1px dashed rgba(10,31,68,.12);
}
.ss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ss-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}
.ss-card.is-hidden { display: none; }
.ss-card.is-fading { opacity: 0; transform: translateY(12px); }
.ss-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
}
.ss-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.ss-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff); font-size: 16px; font-weight: 700;
  color: var(--white);
}
.ss-av-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.ss-av-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.ss-av-3 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.ss-av-4 { background: linear-gradient(135deg, #f59e0b, var(--orange)); }
.ss-av-5 { background: linear-gradient(135deg, #10b981, #059669); }
.ss-av-6 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.ss-av-7 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.ss-av-8 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.ss-flag { font-size: 28px; line-height: 1; }
.ss-name {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.ss-achievement {
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}
.ss-destination {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.ss-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ss-quote::before { content: '\201C'; color: var(--orange); font-weight: 700; margin-right: 2px; }
.ss-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.ss-date { font-size: 12px; color: var(--text-muted); }
.ss-read-link {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.ss-read-link i { font-size: 11px; transition: transform var(--transition); }
.ss-read-link:hover { color: var(--orange-dark); }
.ss-read-link:hover i { transform: translateX(4px); }

/* SECTION 4 — Video */
.ss-video { padding: 80px 0; background: var(--white); }
.ss-video-card {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(10, 31, 68, 0.12);
  border: 1px solid rgba(0,0,0,.06);
}
.ss-video-play {
  width: 100%;
  min-height: 280px;
  background: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  transition: background var(--transition);
}
.ss-video-play:hover { background: var(--navy-light); }
.ss-video-play::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,107,0,.15) 0%, transparent 60%);
}
.ss-play-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 28px;
  padding-left: 4px;
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.45);
  position: relative; z-index: 1;
  transition: transform var(--transition);
}
.ss-video-play:hover .ss-play-circle { transform: scale(1.08); }
.ss-video-label {
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.ss-video-info {
  padding: 28px 32px;
  text-align: center;
  background: var(--light);
}
.ss-video-info h3 {
  font-family: var(--ff);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.ss-video-achievement {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
}
.ss-video-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* SECTION 5 — Submit CTA */
.ss-submit-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 72px 24px;
  text-align: center;
}
.ss-submit-inner { max-width: 640px; margin: 0 auto; }
.ss-submit-cta h2 {
  font-family: var(--ff);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.ss-submit-cta p {
  font-size: 17px;
  color: rgba(255,255,255,.92);
  margin-bottom: 28px;
}
.btn-submit-story {
  padding: 14px 36px;
  background: var(--white);
  color: var(--orange);
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--white);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit-story:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* Modal */
.ss-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 31, 68, 0.6);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ss-modal-overlay.is-open { opacity: 1; }
.ss-modal-overlay[hidden] { display: none; }

.ss-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 92%; max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px 28px;
  z-index: 2001;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ss-modal.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ss-modal[hidden] { display: none; }
.ss-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--light);
  color: var(--navy);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}
.ss-modal-close:hover { background: var(--orange); color: var(--white); }
.ss-modal h2 {
  font-family: var(--ff);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  padding-right: 32px;
}
.ss-modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.ss-form-group { margin-bottom: 18px; }
.ss-form-group label {
  display: block;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.ss-form-group input,
.ss-form-group select,
.ss-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid rgba(10, 31, 68, 0.1);
  border-radius: 10px;
  font-size: 14px;
  color: var(--navy);
  transition: border-color var(--transition);
}
.ss-form-group input:focus,
.ss-form-group select:focus,
.ss-form-group textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.ss-form-group textarea { resize: vertical; min-height: 100px; }
.btn-form-submit {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-form-submit:hover { background: var(--orange-dark); }

/* SECTION 6 — Ratings */
.ss-ratings {
  padding: 80px 0;
  background: var(--light);
}
.ss-ratings-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.ss-rating-main { text-align: center; }
.ss-rating-score {
  font-family: var(--ff);
  font-size: clamp(48px, 8vw, 64px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.ss-rating-score span {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--text-muted);
}
.ss-stars {
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: 4px;
}
.ss-rating-count {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.ss-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--light);
  border-radius: 50px;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid rgba(0,0,0,.08);
}
.ss-google-badge i { color: #4285F4; font-size: 18px; }
.ss-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 36px;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ss-bar-row:last-child { margin-bottom: 0; }
.ss-bar-label { font-size: 14px; font-weight: 500; color: var(--navy); }
.ss-bar-track {
  height: 10px;
  background: var(--light);
  border-radius: 50px;
  overflow: hidden;
}
.ss-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 50px;
  width: 0;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.ss-bar-fill.is-animated { width: var(--bar-width, 0); }
.ss-bar-val {
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-align: right;
}

body.modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .ss-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ss-grid { grid-template-columns: repeat(2, 1fr); }
  .ss-ratings-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-actions .btn-cta { display: none; }
}
@media (max-width: 768px) {
  .ss-hero { padding: 120px 20px 56px; }
  .ss-stats { margin-top: -28px; }
  .ss-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ss-ratings-grid { padding: 28px 22px; }
  .ss-bar-row { grid-template-columns: 1fr; gap: 6px; }
  .ss-bar-val { text-align: left; }
}
@media (max-width: 576px) {
  .top-bar-left span:not(:first-child) { display: none; }
  .ss-stats-grid { grid-template-columns: 1fr; }
  .ss-pill { padding: 8px 14px; font-size: 12px; }
}
