/* ============================================
   Training Jaipur — Modern Design System
   ============================================ */

:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-2: #eff6ff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-coral: #f95d5d;
  --color-coral-dark: #e04545;
  --color-coral-light: #fff0f0;
  --color-accent: #f95d5d;
  --color-accent-2: #10b981;
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 4px 20px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-height: 76px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---- Typography ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 12px;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-coral);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-coral);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 93, 93, 0.3);
}

.btn-primary:hover {
  background: var(--color-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 93, 93, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-light);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--color-coral);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

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

.logo-img {
  display: block;
  height: 46px;
  width: auto;
}

.footer-brand .logo-img {
  height: 64px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .logo-img {
    height: 40px;
  }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-dropdown-toggle:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.nav-dropdown-menu.nav-mega {
  min-width: 280px;
  padding: 12px;
}

.nav-submenu {
  padding: 8px 0;
  border-top: 1px solid var(--color-border);
}

.nav-submenu:first-child {
  border-top: none;
}

.nav-submenu-label {
  display: block;
  padding: 6px 14px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-menu-link {
  font-weight: 600 !important;
}

.nav-dropdown-group {
  padding: 8px 14px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  padding: 24px;
  overflow-y: auto;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-group {
  padding: 16px 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.mobile-nav-sub {
  padding-left: 16px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.mobile-nav-subgroup {
  padding: 10px 0 4px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 100px;
  background: var(--color-surface-2);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(249, 93, 93, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-coral-light);
  border: 1px solid rgba(249, 93, 93, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-coral);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  color: var(--color-coral);
}

.text-coral {
  color: var(--color-coral);
}

.nav-dropdown-menu.nav-mega {
  min-width: 280px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 12px;
}

/* 4-column mega menu — Job Oriented Courses */
.nav-dropdown-menu.nav-mega-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  min-width: min(92vw, 780px);
  max-width: 780px;
  max-height: none;
  overflow: visible;
  padding: 16px;
  gap: 0;
}

.nav-mega-col {
  padding: 0 14px;
  border-right: 1px solid var(--color-border);
}

.nav-mega-col:last-child {
  border-right: none;
}

/* Prominent, color-segregated category headers */
.nav-mega-col-title {
  display: block;
  margin-bottom: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-mega-col[data-cat="design"] .nav-mega-col-title {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
}

.nav-mega-col[data-cat="web"] .nav-mega-col-title {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
}

.nav-mega-col[data-cat="marketing"] .nav-mega-col-title {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
}

.nav-mega-col[data-cat="security"] .nav-mega-col-title {
  color: #c2410c;
  background: rgba(251, 113, 36, 0.12);
}

.nav-mega-cols a {
  padding: 7px 10px;
  font-size: 0.84rem;
  border-radius: 6px;
}

/* Color-coded hover per category */
.nav-mega-col[data-cat="design"] a:hover {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.08);
}

.nav-mega-col[data-cat="web"] a:hover {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.08);
}

.nav-mega-col[data-cat="marketing"] a:hover {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
}

.nav-mega-col[data-cat="security"] a:hover {
  color: #c2410c;
  background: rgba(251, 113, 36, 0.1);
}

.nav-mega-subgroup {
  margin-bottom: 10px;
}

.nav-mega-sub-label {
  display: block;
  padding: 2px 8px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  opacity: 0.85;
}

.nav-mega-featured {
  display: block;
  margin-top: 8px;
  font-weight: 700 !important;
  color: var(--color-coral) !important;
}

/* Color-coded mobile groups */
.mobile-nav-group[data-cat="design"] { color: #0f766e; }
.mobile-nav-group[data-cat="web"] { color: #0369a1; }
.mobile-nav-group[data-cat="marketing"] { color: #b45309; }
.mobile-nav-group[data-cat="security"] { color: #c2410c; }
.mobile-nav-group[data-cat="academic"] { color: var(--color-primary); }

@media (max-width: 900px) {
  .nav-dropdown-menu.nav-mega-cols {
    grid-template-columns: repeat(2, 1fr);
    min-width: min(92vw, 520px);
  }

  .nav-mega-col:nth-child(2) {
    border-right: none;
  }

  .nav-mega-col:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 8px;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}

.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-around;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.hero-image-badge span {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-coral);
}

.hero-image-badge span strong {
  display: block;
  font-size: 1.2rem;
  color: var(--color-text);
}

.hero-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-stat-mini {
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.hero-stat-mini .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stat-mini .label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.hero-float {
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}

.hero-float-1 {
  top: -20px;
  right: -20px;
}

.hero-float-2 {
  bottom: 20px;
  left: -30px;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Stats ---- */
.stats {
  padding: 80px 0;
  background: var(--color-surface);
}

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

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-coral);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---- Companies ---- */
.companies {
  padding: 60px 0;
  background: var(--color-surface-2);
  overflow: hidden;
}

.companies-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.companies-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.company-pill {
  flex-shrink: 0;
  padding: 16px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ---- Process ---- */
.process {
  padding: 100px 0;
}

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

.process-step {
  position: relative;
  padding: 32px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.process-step:hover {
  border-color: var(--color-coral);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.process-number {
  width: 48px;
  height: 48px;
  background: var(--color-coral);
  color: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ---- Course cards with images ---- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.course-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.course-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.course-card-body {
  padding: 20px;
}

.course-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.course-card-body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.course-card-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-card-links a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
}

.course-card-links a:hover {
  background: var(--color-coral);
  color: #fff;
}

/* ---- Counselling split ---- */
.counselling-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.counselling-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}

.counselling-split .process-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.counselling-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* ---- Why Us ---- */
.why-us {
  padding: 100px 0;
  background: var(--color-surface-2);
}

.why-us-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-coral);
  margin-bottom: 48px;
  padding-left: 20px;
  border-left: 4px solid var(--color-coral);
}

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

.why-card {
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-coral);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.why-card:nth-child(2) { border-left-color: var(--color-primary); }
.why-card:nth-child(3) { border-left-color: var(--color-accent-2); }
.why-card:nth-child(4) { border-left-color: #60a5fa; }
.why-card:nth-child(5) { border-left-color: var(--color-coral); }

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

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.why-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.why-tag {
  padding: 10px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 100px 0;
  background: var(--color-surface-2);
}

.testimonial-slider {
  position: relative;
  margin-top: 48px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 min(380px, 85vw);
  scroll-snap-align: start;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
  content: "\201C";
  font-size: 3rem;
  line-height: 1;
  color: var(--color-coral);
  opacity: 0.35;
  display: block;
  margin-bottom: -8px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-coral);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author h4 {
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.slider-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition);
  font-size: 1.2rem;
  color: var(--color-text);
}

.slider-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---- Blogs ---- */
.blogs {
  padding: 100px 0;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.blog-thumb {
  height: 180px;
  background: var(--color-primary-light);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.blog-category {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.blog-body {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.blog-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-link:hover {
  gap: 10px;
}

/* ---- FAQ ---- */
.faq {
  padding: 100px 0;
  background: var(--color-surface-2);
}

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

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ---- Contact ---- */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-card {
  padding: 32px;
  background: var(--color-coral);
  border-radius: var(--radius-lg);
  color: #fff;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.95rem;
  color: #fff;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group label .required {
  color: var(--color-error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: var(--color-success);
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 6px;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-muted);
}

.contact-form-card.hidden-form .contact-form {
  display: none;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: var(--color-surface-2);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin-inline: auto;
}

.page-hero.wide p {
  max-width: 820px;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: calc(var(--header-height) + 16px) 0 0;
  background: var(--color-surface-2);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.breadcrumbs a:hover {
  color: var(--color-coral);
}

/* ---- Internal page sections ---- */
.ipage-section {
  padding: 72px 0;
}

.ipage-section.alt {
  background: var(--color-surface-2);
}

.ipage-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ipage-section > .container > p.lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.highlight-card {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--color-coral);
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.internship-tracks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.track-card {
  padding: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}

.track-card .track-body {
  padding: 20px;
}

.track-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.track-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.track-card .track-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}

.meta-pill {
  padding: 10px 18px;
  background: var(--color-coral-light);
  border: 1px solid rgba(249, 93, 93, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-coral);
}

.domain-block {
  margin-bottom: 48px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.domain-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.domain-block > p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.domain-block ul {
  list-style: disc;
  padding-left: 20px;
}

.domain-block li {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.apply-banner {
  padding: 48px;
  background: var(--color-coral);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  margin-top: 48px;
}

.apply-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}

.apply-banner p {
  opacity: 0.92;
  margin-bottom: 24px;
  max-width: 560px;
  margin-inline: auto;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-coral);
  font-weight: 700;
}

.cta-inline {
  margin-top: 24px;
}

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

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

@media (max-width: 768px) {
  .highlight-grid,
  .internship-tracks {
    grid-template-columns: 1fr;
  }

  .apply-banner {
    padding: 32px 24px;
  }
}

/* ---- Internal page hero with form ---- */
.ipage-hero {
  position: relative;
  padding: calc(var(--header-height) + 32px) 0 72px;
  background: var(--color-surface-2);
  scroll-margin-top: calc(var(--header-height) + 12px);
  overflow: hidden;
}

.ipage-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: heroBlobDrift 12s ease-in-out infinite;
}

.hero-blob-1 {
  width: 320px;
  height: 320px;
  background: rgba(37, 99, 235, 0.18);
  top: -80px;
  right: 10%;
}

.hero-blob-2 {
  width: 260px;
  height: 260px;
  background: rgba(249, 93, 93, 0.15);
  bottom: 10%;
  left: -60px;
  animation-delay: -4s;
}

.hero-blob-3 {
  width: 180px;
  height: 180px;
  background: rgba(16, 185, 129, 0.12);
  top: 40%;
  right: -40px;
  animation-delay: -8s;
}

@keyframes heroBlobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.95); }
}

.ipage-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.ipage-hero-content h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ipage-hero-content h1 .text-coral {
  color: var(--color-coral);
}

.ipage-hero-content > p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-stat-pill {
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
}

.hero-stat-pill strong {
  color: var(--color-coral);
  font-weight: 800;
}

/* Hero entrance animations */
.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards;
}

.hero-animate-1 { animation-delay: 0.1s; }
.hero-animate-2 { animation-delay: 0.2s; }
.hero-animate-3 { animation-delay: 0.35s; }
.hero-animate-4 { animation-delay: 0.45s; }
.hero-animate-5 { animation-delay: 0.55s; }
.hero-animate-6 { animation-delay: 0.65s; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated hero image block */
.ipage-hero-visual {
  position: relative;
  margin-top: 8px;
}

.hero-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  transform: perspective(800px) rotateY(-2deg);
  transition: transform 0.4s ease;
}

.hero-img-frame:hover {
  transform: perspective(800px) rotateY(0deg);
}

.hero-img-frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  animation: heroImgReveal 1s ease 0.5s both;
}

@keyframes heroImgReveal {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-float-badge strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-coral);
  line-height: 1.2;
}

.hero-float-badge small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero-float-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.hero-float-badge-1 {
  top: 16px;
  right: -12px;
  animation-delay: 0s;
}

.hero-float-badge-2 {
  bottom: 24px;
  left: -16px;
  animation-delay: -2s;
}

.hero-float-tag {
  position: absolute;
  bottom: -14px;
  right: 24px;
  padding: 8px 18px;
  background: var(--color-coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(249, 93, 93, 0.4);
  animation: heroPulse 2.5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(249, 93, 93, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 6px 22px rgba(249, 93, 93, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .hero-img-frame img,
  .hero-blob,
  .hero-float-badge,
  .hero-float-tag {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.ipage-hero-form {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.ipage-hero-form .contact-form-card {
  padding: 28px;
}

.ipage-hero-form .form-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.ipage-hero-form .form-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.section-split.reverse {
  direction: rtl;
}

.section-split.reverse > * {
  direction: ltr;
}

.section-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
}

.section-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.domain-block.domain-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  padding: 0;
  overflow: hidden;
  border: none;
  background: transparent;
  margin-bottom: 32px;
}

.domain-block.domain-split.reverse {
  direction: rtl;
}

.domain-block.domain-split.reverse > * {
  direction: ltr;
}

.domain-block.domain-split .domain-inner ul {
  list-style: disc;
  padding-left: 20px;
}

.domain-block.domain-split .domain-inner li {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.domain-block.domain-split .domain-inner {
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 100%;
}

.domain-block.domain-split .domain-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  min-height: 100%;
}

.domain-block.domain-split .domain-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.highlight-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .ipage-hero-grid,
  .section-split,
  .domain-block.domain-split {
    grid-template-columns: 1fr;
  }

  .ipage-hero-form {
    position: static;
  }

  .section-split.reverse {
    direction: ltr;
  }

  .domain-block.domain-split .domain-img {
    order: -1;
  }
}

@media (max-width: 768px) {
  .ipage-hero {
    padding: calc(var(--header-height) + 20px) 0 48px;
  }

  .ipage-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .ipage-hero-form {
    order: -1;
  }

  .ipage-hero-form .contact-form-card {
    padding: 20px;
  }

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

  .hero-img-frame {
    transform: none;
  }

  .hero-img-frame img {
    height: 220px;
  }

  .hero-float-badge-1 {
    top: 10px;
    right: 8px;
    padding: 10px 12px;
  }

  .hero-float-badge-2 {
    bottom: 16px;
    left: 8px;
    padding: 10px 12px;
  }

  .hero-float-badge strong {
    font-size: 0.95rem;
  }

  .hero-float-tag {
    right: 12px;
    bottom: -10px;
    font-size: 0.72rem;
  }

  .section-image img,
  .domain-block.domain-split .domain-img img {
    min-height: 200px;
  }
}

/* ---- About ---- */
.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.about-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-coral);
}

.about-stat .txt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ---- Footer ---- */
.footer {
  background: #1e293b;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
}

.why-tag a {
  color: inherit;
}

.why-tag a:hover {
  text-decoration: underline;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  background: var(--color-text);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--color-success);
}

.toast.error {
  background: var(--color-error);
}

/* ---- Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .counselling-split {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

@media (max-width: 768px) {
  .nav-desktop,
  .header-actions .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero-visual {
    display: block;
  }

  .hero-image-wrap img {
    height: 300px;
  }

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

  .counselling-image {
    order: -1;
  }

  .counselling-split .process-grid {
    grid-template-columns: 1fr;
  }

  .counselling-image img {
    min-height: 240px;
  }

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

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

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

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

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px;
  }
}

/* ===== Contact page — info first, then form ===== */
.contact-hero-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.contact-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.contact-card {
  display: block;
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--color-coral);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.contact-card-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(249, 93, 93, 0.12);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

a.contact-card:hover h3 {
  color: var(--color-coral);
}

.contact-form-section {
  padding: 72px 0;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-section .ipage-hero-form {
  position: static;
}

.contact-form-intro .section-title {
  margin-bottom: 14px;
}

.contact-form-intro > p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-benefits {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.contact-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text);
}

.contact-benefits li span {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 93, 93, 0.14);
  color: var(--color-coral);
  font-size: 0.7rem;
  font-weight: 800;
}

.contact-hours {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.contact-intro-img {
  margin-top: 26px;
}

.contact-intro-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== About page redesign ===== */
.ipage-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.about-intro {
  padding: 84px 0 56px;
}

.about-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.about-feature-ic {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 93, 93, 0.14);
  color: var(--color-coral);
  font-size: 0.72rem;
  font-weight: 800;
}

.about-image-wrap {
  position: relative;
}

.about-badge-since {
  position: absolute;
  right: -8px;
  bottom: -18px;
  background: var(--color-coral);
  color: #fff;
  border-radius: 16px;
  padding: 14px 22px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(249, 93, 93, 0.35);
}

.about-badge-since strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.92;
}

.about-badge-since span {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

/* Mission & Vision */
.about-mv {
  padding: 16px 0 8px;
}

.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-mv-card {
  position: relative;
  padding: 36px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--color-coral);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.about-mv-ic {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(249, 93, 93, 0.12);
  font-size: 1.55rem;
  margin-bottom: 18px;
}

.about-mv-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about-mv-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Why-choose icon cards */
.about-why .highlight-card {
  border-top: none;
  border-left: 3px solid var(--color-coral);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.about-why .hl-ic {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

/* Stats band */
.about-stats-band {
  background: #1e293b;
  padding: 56px 0;
}

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

.asb-item {
  text-align: center;
}

.asb-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-coral);
  line-height: 1;
}

.asb-txt {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* CTA band */
.about-cta {
  padding: 72px 0;
}

.about-cta-inner {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 56px 32px;
}

.about-cta-inner h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.about-cta-inner p {
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

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

@media (max-width: 768px) {
  .about-feature-list,
  .about-mv-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .about-badge-since {
    right: 12px;
    bottom: -16px;
  }
}
