/*!
Theme Name: tmc247ai
Theme URI: https://takemyclassforme.us.com
Author: Underscores.me
Author URI: https://takemyclassforme.us.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tmc247ai
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

:root {
  --blue: #1E5EFF;
  --blue-dark: #2563EB;
  --blue-light: #60A5FA;
  --blue-light-page: #eff6ff;

  --navy: #0A1F44;
  --navy-light: #122754;

  --light-blue: #EFF6FF;
  --sky: #EAF2FF;
  --sky-mid: #D0E4FF;

  --white: #FFFFFF;

  --gray: #F8FAFC;
  --gray-mid: #E2E8F0;
  --gray-page: #64748b;

  --green-light: #f0fdf4;
  --orange: #ea580c;
  --gray-light: #f8fafc;


  --text: #1A2744;
  --text-mid: #475569;
  --text-light: #94A3B8;
  --muted: #5A6A8A;

  --success: #10B981;
  --danger: #EF4444;
  --green: #10B981;
  --gold: #F5A623;

  --trust-blue: #1E5EFF;

  --trust-blue-dark: #134BDB;

  --amber: #FFB648;
  --amber-soft: #FFF4E2;
  --ink: #16243F;

  --blue-dk: #1448CC;
  --blue-lt: #EAF2FF;
  --slate: #3D4F72;
  --mist: #7A8BA8;
  --rule: #E0E8F7;
  --surface: #F5F8FF;
  --r: 22px;

  --blue-mid: #2D6FFF;
  --gray-50: #F8FAFF;
  --gray-100: #F1F4FB;
  --gray-300: #C8D4EE;
  --gray-500: #6B80A8;
  --gray-700: #3A4F72;
  --red-soft: #FFF2F2;
  --red-border: #FFD0D0;
  --red-text: #C0392B;
  --green-soft: #F0FBF4;
  --green-border: #B7E8C8;
  --green-text: #1A7A40;

  --grad: linear-gradient(135deg, #1E5EFF 0%, #4A7DFF 100%);
  --grad-light: linear-gradient(135deg, #EAF2FF 0%, #d6e8ff 100%);

  --font-head: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --border: rgba(30, 94, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.72);

  --shadow: 0 4px 24px rgba(59, 130, 246, 0.10);
  --shadow-sm: 0 2px 12px rgba(30, 94, 255, 0.08);
  --shadow-md: 0 8px 32px rgba(30, 94, 255, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 31, 68, 0.14);
  --shadow-blue: 0 8px 32px rgba(30, 94, 255, .18);

  --radius: 18px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;

  --font-display: 'Space Grotesk', 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-soft: 0 20px 60px -20px rgba(10, 31, 68, 0.15);
  --shadow-card: 0 10px 30px -12px rgba(10, 31, 68, 0.12);

  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;

  --header-height: 80px;

}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'DM Sans', sans-serif;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: 0 2px 24px rgba(30, 58, 95, 0.10);
}

.header-top {
  background: var(--navy);
  padding: 6px 0;
  text-align: center;
  font-size: 13px;
  color: var(--sky);
}

.header-top span {
  color: var(--gold);
  font-weight: 700;
}

.nav-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 12px;
}

.logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--blue);
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

nav>a,
.nav-item>a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

nav>a:hover,
.nav-item>a:hover {
  background: var(--light-blue);
  color: var(--blue);
}

/* Submenu */
.nav-item {
  position: relative;
}

.nav-item>a .arrow {
  font-size: 10px;
  transition: transform .2s;
  display: inline-block;
}

.nav-item:hover>a .arrow {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--gray-mid);
  border-radius: 14px;
  padding: 10px;
  min-width: 640px;
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: none;
}

.sub-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: background .18s, color .18s;
}

.sub-link:hover {
  background: var(--light-blue);
  color: var(--blue);
}

.sub-link .sub-icon {
  font-size: 18px;
  width: 28px;
  text-align: center;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-wa {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}

.btn-wa:hover {
  background: #1db954;
}

.btn-quote {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}

.btn-quote:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  /* min-height: calc(100vh - var(--header-height)); */
  padding: 148px 28px 90px;
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 55%, #3B82F6 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
}

.hero-blob {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-blob-2 {
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .25);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .25)
  }

  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, .08)
  }
}

.hero h1 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #BAE6FD, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 32px;
  /* max-width: 520px; */
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: white;
  color: var(--blue);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
}

.btn-outline {
  background: transparent;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, .38);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, .1);
}

/* Quote Form – bigger, 4 fields */
.quote-form {
  background: white;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
}

.quote-form-header {
  margin-bottom: 24px;
}

.quote-form-header h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.quote-form-header p {
  font-size: 14px;
  color: var(--text-mid);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input {
  width: 100%;
  background: var(--gray);
  border: 2px solid var(--gray-mid);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: 'Inter', sans-serif;
}

.form-group input::placeholder {
  color: var(--text-light);
}

.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
  background: white;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  letter-spacing: .3px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, .4);
}

.form-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.form-dividers {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 14px;
}

.form-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── LOGO BAR ─── */
.logo-bar {
  background: var(--gray);
  padding: 26px 28px;
  border-bottom: 1px solid var(--gray-mid);
}

.logo-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.logo-bar p {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.platform-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.platform-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid var(--gray-mid);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
  transition: box-shadow .2s, border-color .2s;
}

.platform-pill:hover {
  box-shadow: 0 4px 16px rgba(59, 130, 246, .15);
  border-color: var(--blue);
}

.platform-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* ─── COMMON SECTION ─── */
section {
  padding: 96px 28px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--light-blue);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -.4px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 580px;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-sub {
  margin: 0 auto;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
}

/* ─── SERVICES ─── */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.service-card {
  background: white;
  border: 1.5px solid var(--gray-mid);
  border-radius: 16px;
  padding: 26px 22px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.service-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ─── SUBJECTS ─── */
.subjects {
  background: var(--gray);
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}

.subject-card {
  background: white;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  border: 1.5px solid var(--gray-mid);
  transition: all .25s;
  cursor: pointer;
}

.subject-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  background: var(--light-blue);
  transform: translateY(-2px);
}

.subject-emoji {
  font-size: 30px;
  margin-bottom: 9px;
}

.subject-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.subject-card p {
  font-size: 11px;
  color: var(--text-light);
}

/* ─── HOW IT WORKS ─── */
.how {
  background: var(--navy);
}

.how .section-title {
  color: white;
}

.how .section-sub {
  color: rgba(255, 255, 255, .65);
}

.how .section-label {
  background: rgba(255, 255, 255, .1);
  color: #BFDBFE;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, #93C5FD 100%);
}

.step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 8px rgba(59, 130, 246, .15);
}

.step h4 {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 9px;
}

.step p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.65;
}

/* ─── WHY US ─── */
.why {
  background: var(--light-blue);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  background: white;
  border-radius: 16px;
  padding: 30px 26px;
  border: 1px solid rgba(59, 130, 246, .1);
  transition: box-shadow .25s, transform .25s;
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.why-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── EXPERTS ─── */
.experts {
  background: white;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expert-card {
  background: white;
  border-radius: 20px;
  border: 1.5px solid var(--gray-mid);
  overflow: hidden;
  transition: all .3s;
  text-align: center;
}

.expert-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.expert-avatar-wrap {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: white;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.expert-card .expert-body {
  padding: 20px 18px 24px;
}

.expert-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.expert-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--blue);
  margin-bottom: 10px;
}

.expert-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.expert-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--light-blue);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 100px;
}

.expert-stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--gray-mid);
  padding-top: 14px;
}

.expert-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}

.expert-stat-label {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.expert-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

/* ─── SUCCESS STORIES / PROJECT SCREENSHOTS ─── */
.stories {
  background: var(--gray);
}

.stories-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}

.stories-left h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.stories-left p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.story-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.story-highlight .sh-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.story-highlight h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.story-highlight p {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 0;
}

.stories-right {
  position: relative;
}

.stories-big-stat {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 20px;
  padding: 36px;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.stories-big-stat .sbs-num {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.stories-big-stat .sbs-label {
  font-size: 16px;
  opacity: .85;
  margin-top: 6px;
}

.stories-big-stat .sbs-sub {
  font-size: 13px;
  opacity: .65;
  margin-top: 4px;
}

/* Project screenshot gallery */
.screenshots-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screenshot-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gray-mid);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  transition: all .3s;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.screenshot-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Simulated grade screenshot UI */
.ss-ui {
  width: 88%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .14);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.ss-bar {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.ss-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ss-body {
  padding: 10px 12px;
}

.ss-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 10px;
}

.ss-row:last-child {
  border-bottom: none;
}

.ss-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
}

.ss-grade {
  font-size: 20px;
  font-weight: 900;
}

.screenshot-body {
  padding: 16px 18px;
}

.screenshot-body .sc-subject {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--blue);
  margin-bottom: 6px;
}

.screenshot-body h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.screenshot-body .sc-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.sc-grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 100px;
}

/* ─── PRICING ─── */
.pricing {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  border-radius: 20px;
  padding: 34px 26px;
  border: 2px solid var(--gray-mid);
  position: relative;
  transition: all .3s;
}

.price-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.price-card.featured {
  background: linear-gradient(145deg, var(--navy), #1d4ed8);
  border-color: transparent;
  color: white;
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

.price-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 7px;
}

.price-card.featured .price-label {
  color: var(--sky);
}

.price-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--navy);
}

.price-card.featured h3 {
  color: white;
}

.price-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.price-card.featured .price-amount {
  color: white;
}

.price-amount span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-mid);
}

.price-card.featured .price-amount span {
  color: rgba(255, 255, 255, .6);
}

.price-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 26px;
}

.price-card.featured .price-sub {
  color: rgba(255, 255, 255, .6);
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}

.price-features li {
  font-size: 13.5px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card.featured .price-features li {
  color: rgba(255, 255, 255, .8);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.price-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.price-card.featured .price-features li::before {
  color: #6EE7B7;
}

.btn-price {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: all .2s;
}

.btn-price:hover {
  background: var(--blue);
  color: white;
}

.price-card.featured .btn-price {
  background: white;
  color: var(--navy);
  border-color: white;
}

.price-card.featured .btn-price:hover {
  background: var(--light-blue);
}

.pricing-note {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-light);
}

/* ─── STATS ─── */
.stats {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 60px 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 50px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  margin-top: 6px;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: white;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 26px;
  border: 1.5px solid var(--gray-mid);
  transition: box-shadow .25s;
}

.review-card:hover {
  box-shadow: var(--shadow);
}

.stars {
  color: var(--gold);
  font-size: 17px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 18px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 11px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  color: white;
  font-size: 14px;
}

.reviewer-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.reviewer-detail {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.review-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

.review-badge {
  background: white;
  border-radius: 12px;
  padding: 14px 22px;
  border: 1.5px solid var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.review-badge .badge-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}

/* ─── PLATFORMS ─── */
.platforms {
  background: var(--gray);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.platform-card {
  border-radius: 16px;
  border: 2px solid var(--gray-mid);
  padding: 26px 18px;
  text-align: center;
  transition: all .25s;
}

.platform-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  background: var(--light-blue);
}

.platform-card .platform-logo {
  font-size: 34px;
  margin-bottom: 9px;
}

.platform-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.platform-card p {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
}

/* ─── CONTENT SECTION ─── */
.content-sec {
  background: white;
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  align-items: start;
}

.cs-row {
  margin-bottom: 56px;
}

.cs-row:last-child {
  margin-bottom: 0;
}

.cs-row+.cs-row {
  padding-top: 48px;
  border-top: 1px solid var(--gray-mid);
}

.cs-col h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.cs-divider {
  width: 50px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 16px;
}

.cs-col p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 14px;
  text-align: justify;
}

/* bullet list — two columns like image */
.cs-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 8px;
}

.cs-bullets li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text);
}

.cs-bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.cs-bullets li a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.cs-bullets li a:hover {
  text-decoration: underline;
}

/* arrow list — like image right column */
.cs-arrows {
  list-style: none;
  margin-top: 6px;
}

.cs-arrows li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-mid);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-mid);
}

.cs-arrows li:first-child {
  padding-top: 0;
}

.cs-arrows li:last-child {
  border-bottom: none;
}

.cs-arrows li::before {
  content: '›';
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  flex-shrink: 0;
}

.cs-arrows li strong {
  color: var(--text);
  font-weight: 700;
}

@media(max-width:900px) {
  .cs-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cs-bullets {
    grid-template-columns: 1fr;
  }
}

/* ─── FAQ ─── */
.faq {
  background: var(--gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  gap: 14px;
}

.faq-q .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .3s, background .3s;
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: white;
}

.faq-a {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mid);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding: 0;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ─── BLOG ─── */
.blog {
  background: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gray-mid);
  transition: box-shadow .25s, transform .25s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.blog-img {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-body {
  padding: 22px;
}

.blog-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 9px;
}

.blog-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-meta {
  font-size: 11px;
  color: var(--text-light);
}

/* ─── FINAL CTA ─── */
.final-cta {
  background: linear-gradient(135deg, var(--navy), #1d4ed8);
  padding: 96px 28px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
}

.final-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 38px;
}

.final-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: white;
  padding: 64px 28px 32px;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand .logo {
  font-size: 20px;
  color: white;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .5);
  max-width: 270px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color .2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .38);
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .42);
  text-decoration: none;
  transition: color .2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, .8);
}

/* ─── FLOATING WA ─── */
.float-wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
  cursor: pointer;
  text-decoration: none;
  animation: bob 3s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-5px)
  }
}

.float-wa svg {
  width: 27px;
  height: 27px;
  fill: white;
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .1s
}

.reveal-delay-2 {
  transition-delay: .2s
}

.reveal-delay-3 {
  transition-delay: .3s
}

.reveal-delay-4 {
  transition-delay: .4s
}

/* ─── HAMBURGER & MOBILE MENU ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: var(--light-blue);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  border-radius: 2px;
  transition: all .25s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 68, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: white;
  z-index: 1101;
  transform: translateX(100%);
  transition: transform .32s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, .15);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-mid);
}

.mobile-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray);
  border-radius: 8px;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  /* flex: 1; */
}

.mobile-nav>a {
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
}

.mobile-nav-item {
  border-bottom: 1px solid var(--gray-mid);
}

.mobile-nav-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.mobile-nav-toggle .arrow {
  transition: transform .25s;
  font-size: 12px;
}

.mobile-nav-item.open .mobile-nav-toggle .arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  display: flex;
  flex-direction: column;
  padding-left: 8px;
}

.mobile-nav-item.open .mobile-submenu {
  max-height: 600px;
}

.mobile-submenu .sub-link {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  text-decoration: none;
}

.mobile-submenu .sub-link:active {
  background: var(--light-blue);
}

.mobile-menu-ctas {
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--gray-mid);
}

/* ─── RESPONSIVE ─── */
@media(max-width:1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .quote-form {
    max-width: 520px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stories-intro {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:900px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn-wa {
    display: none;
  }

  .nav-wrap {
    gap: 8px;
  }
}

@media(max-width:768px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .pricing-grid,
  .why-grid,
  .reviews-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experts-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:480px) {
  .btn-quote {
    padding: 9px 14px;
    font-size: 12px;
  }
}