/* CSS Document - ISHEN Academy Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #030712;
  --bg-dark-secondary: #0b1329;
  --bg-light: #f8fafc;
  --bg-light-secondary: #f1f5f9;
  --primary: #ffb800;
  /* Golden Yellow */
  --primary-hover: #e5a500;
  --secondary: #2563eb;
  /* Royal Blue */
  --secondary-light: #3b82f6;
  --accent-blue: #0ea5e9;
  /* Sky Blue */
  --accent-pink: #f43f5e;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;

  /* Text Colors */
  --text-dark-primary: #0f172a;
  --text-dark-secondary: #475569;
  --text-light-primary: #ffffff;
  --text-light-secondary: #94a3b8;

  /* Borders and Shadows */
  --border-light: rgba(226, 232, 240, 0.8);
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 8px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 40px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -8px rgba(0, 0, 0, 0.08);
  --shadow-neon: 0 0 25px rgba(59, 130, 246, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark-primary);
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

button,
.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  border-radius: 9999px;
  gap: 8px;
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
}

.section-dark h2 {
  color: var(--text-light-primary);
}

/* Badges */
.badge-capsule {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.2rem;
  background-color: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
  color: #d97706;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* Custom Buttons */
.btn-primary {
  background-color: var(--primary);
  color: var(--bg-dark);
  padding: 0.8rem 2rem;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  border: 1px solid var(--text-dark-secondary);
  color: var(--text-dark-primary);
  padding: 0.8rem 2rem;
  font-size: 1rem;
  background-color: var(--text-light-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-light-secondary);
  border-color: var(--text-dark-primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1.5px solid var(--text-light-primary);
  color: var(--text-light-primary);
  padding: 0.8rem 2rem;
  font-size: 1rem;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.btn-link:hover {
  color: var(--secondary-light);
}

.btn-link svg {
  transition: transform var(--transition-fast);
}

.btn-link:hover svg {
  transform: translateX(4px);
}

/* --- Header / Navigation --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
}

header.scrolled {
  position: fixed;
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 1rem 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-light-primary);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 99px;
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-link:hover svg {
  transform: translateY(2px);
}

/* Dropdown Menu styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  width: 220px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  z-index: 10;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-light-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
}

.dropdown-link:hover {
  color: var(--text-light-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-cta .btn-primary {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 101;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-light-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  padding: 10rem 0 7rem 0;
  color: var(--text-light-primary);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-light-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 20px;
  height: 20px;
}

.hero-feature-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-neon);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-image-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating animation details */
.hero-glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: var(--secondary-light);
  filter: blur(120px);
  opacity: 0.3;
  top: -50px;
  right: -50px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* --- Section Title Header --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-dots {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.section-header-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.section-header-dots span:nth-child(1) {
  background-color: var(--accent-pink);
}

.section-header-dots span:nth-child(2) {
  background-color: var(--primary);
}

.section-header-dots span:nth-child(3) {
  background-color: var(--accent-green);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  letter-spacing: -0.01em;
}

/* --- Philosophy Section --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.philosophy-card {
  background-color: var(--text-light-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(226, 232, 240, 0.4);
}

.philosophy-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.philosophy-card:nth-child(1) .philosophy-icon-box {
  background-color: rgba(244, 63, 94, 0.08);
  color: var(--accent-pink);
}

.philosophy-card:nth-child(2) .philosophy-icon-box {
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--primary);
}

.philosophy-card:nth-child(3) .philosophy-icon-box {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--accent-green);
}

.philosophy-icon-box svg {
  width: 26px;
  height: 26px;
}

.philosophy-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark-primary);
}

.philosophy-card-desc {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

/* --- Learning Approach Section --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.approach-col {
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.approach-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 0;
  height: 40%;
  width: 1px;
  border-right: 1.5px dotted rgba(255, 255, 255, 0.15);
}

.approach-col:hover {
  transform: translateY(-5px);
}

.approach-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.approach-col:nth-child(1) .approach-icon {
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--secondary-light);
}

.approach-col:nth-child(2) .approach-icon {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.approach-col:nth-child(3) .approach-icon {
  background-color: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.approach-col:nth-child(4) .approach-icon {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--primary);
}

.approach-col:hover .approach-icon {
  box-shadow: 0 0 20px currentColor;
  transform: scale(1.05);
}

.approach-icon svg {
  width: 32px;
  height: 32px;
}

.approach-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light-primary);
}

.approach-desc {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

/* --- Simulators Section --- */
.simulators-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 5rem;
}

.simulators-info {
  max-width: 500px;
}

.simulators-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark-primary);
}

.simulators-title span {
  color: var(--secondary);
}

.simulators-desc {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.simulators-buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.simulators-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.sim-card {
  background-color: var(--text-light-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.sim-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.2rem 0.6rem;
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sim-illustration {
  height: 110px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: var(--bg-light);
  border: 1px solid rgba(226, 232, 240, 0.5);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.sim-card:hover .sim-illustration {
  background-color: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
}

.sim-illustration svg {
  width: 100%;
  height: 80%;
  padding: 5px;
}

.sim-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark-primary);
}

.sim-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* --- Courses Section --- */
.courses-subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.courses-subtitle span:nth-child(1) {
  color: var(--secondary);
}

.courses-subtitle span:nth-child(2) {
  color: var(--primary);
}

.courses-title span {
  color: var(--secondary);
}

.courses-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-light);
  color: var(--text-dark-secondary);
  background-color: var(--text-light-primary);
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  background-color: var(--bg-light-secondary);
  border-color: var(--text-dark-secondary);
}

.tab-btn.active {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  border-color: var(--bg-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  transition: opacity 0.3s ease;
}

.course-card {
  background-color: var(--text-light-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(226, 232, 240, 0.4);
}

.course-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.course-card:nth-child(1) .course-icon-box {
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--primary);
}

.course-card:nth-child(2) .course-icon-box {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
}

.course-card:nth-child(3) .course-icon-box {
  background-color: rgba(139, 92, 246, 0.08);
  color: var(--accent-purple);
}

.course-card:nth-child(4) .course-icon-box {
  background-color: rgba(14, 165, 233, 0.08);
  color: var(--accent-blue);
}

.course-card:nth-child(5) .course-icon-box {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--accent-green);
}

.course-card:nth-child(6) .course-icon-box {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
}

.course-icon-box svg {
  width: 22px;
  height: 22px;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark-primary);
}

.course-desc {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-link:hover {
  color: var(--secondary-light);
}

.courses-footer {
  text-align: center;
}

/* --- Beyond Academics Section --- */
.beyond-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 5rem;
}

.beyond-info {
  max-width: 480px;
}

.beyond-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark-primary);
}

.beyond-title span {
  color: var(--secondary);
}

.beyond-desc {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.beyond-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.beyond-card {
  background-color: var(--text-light-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.beyond-img-wrapper {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.beyond-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.beyond-card:hover .beyond-img-wrapper img {
  transform: scale(1.05);
}

/* Floating round badge at intersection */
.beyond-icon-badge {
  position: absolute;
  bottom: -20px;
  left: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--text-light-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  z-index: 2;
}

.beyond-card:nth-child(1) .beyond-icon-badge {
  color: var(--primary);
}

.beyond-card:nth-child(2) .beyond-icon-badge {
  color: var(--accent-green);
}

.beyond-card:nth-child(3) .beyond-icon-badge {
  color: var(--accent-purple);
}

.beyond-card:nth-child(4) .beyond-icon-badge {
  color: var(--accent-blue);
}

.beyond-icon-badge svg {
  width: 20px;
  height: 20px;
}

.beyond-card-body {
  padding: 2.25rem 1.5rem 1.75rem 1.5rem;
  flex-grow: 1;
}

.beyond-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark-primary);
}

.beyond-card-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  height: 50%;
  width: 1px;
  border-right: 1.5px dotted rgba(255, 255, 255, 0.15);
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}

.stat-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-light-primary);
  line-height: 1.1;
}

.stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light-secondary);
  letter-spacing: 0.05em;
}

/* --- Testimonials Section --- */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.testimonials-title-area {
  max-width: 500px;
}

.slider-controls {
  display: flex;
  gap: 0.75rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background-color: var(--text-light-primary);
  color: var(--text-dark-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.slider-btn:hover {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  border-color: var(--bg-dark);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.testimonials-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.5rem 0;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  transition: transform var(--transition-normal);
}

.testimonial-card {
  background-color: var(--text-light-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  /* Prevents overflow issues in flex grid */
}

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

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-light), var(--accent-purple));
  color: var(--text-light-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.testimonial-card:nth-child(2) .user-avatar {
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
}

.testimonial-card:nth-child(3) .user-avatar {
  background: linear-gradient(135deg, var(--accent-green), var(--secondary-light));
}

.testimonial-card:nth-child(4) .user-avatar {
  background: linear-gradient(135deg, var(--accent-purple), var(--primary));
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark-primary);
  line-height: 1.2;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-dark-secondary);
  margin-top: 2px;
}

/* --- Pre-Footer CTA --- */
.pre-footer {
  background-color: var(--bg-dark);
  background-image: url('assets/footer_bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--text-light-primary);
  padding: 6rem 0;
  overflow: hidden;
}

.pre-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.7), rgba(3, 7, 18, 0.9));
  z-index: 1;
}

.pre-footer .container {
  position: relative;
  z-index: 2;
}

.pre-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.pre-footer-text {
  max-width: 600px;
}

.pre-footer-title {
  color: #d3d7e3;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.pre-footer-title span {
  color: var(--primary);
}

.pre-footer-desc {
  font-size: 1.1rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

.pre-footer-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--bg-dark);
  padding: 0.8rem 2rem;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Footer --- */
footer {
  background-color: #02050b;
  border-top: 1px solid var(--border-dark);
  color: var(--text-light-secondary);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo-col {
  max-width: 320px;
}

.footer-logo {
  color: var(--text-light-primary);
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--secondary);
  color: var(--text-light-primary);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-light-primary);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
}

.footer-link:hover {
  color: var(--text-light-primary);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1100px) {
  .hero-grid {
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .simulators-grid {
    gap: 3rem;
  }

  .beyond-grid {
    gap: 3rem;
  }

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

@media (max-width: 968px) {
  .section {
    padding: 4.5rem 0;
  }

  /* Mobile Header */
  header {
    padding: 1.25rem 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--bg-dark);
    padding: 2.5rem 2rem;
    z-index: 99;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid var(--border-dark);
  }

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

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .nav-link {
    font-size: 1.2rem;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.02);
    border: none;
    height: 0;
    overflow: hidden;
    padding: 0;
    transition: height var(--transition-normal);
  }

  .nav-item.open-dropdown .dropdown-menu {
    height: auto;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
  }

  .nav-item.open-dropdown .nav-link svg {
    transform: rotate(180deg);
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta .btn-primary {
    width: 100%;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
    padding-top: 8rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-features {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-visual {
    order: -1;
  }

  /* Philosophy */
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Approach */
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .approach-col:not(:last-child)::after {
    display: none;
  }

  /* Simulators */
  .simulators-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .simulators-info {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .simulators-cards-grid {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Courses */
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  /* Beyond */
  .beyond-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .beyond-info {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .beyond-cards-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 750px;
    margin: 0 auto;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  /* Testimonials */
  .testimonials-header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .testimonials-track {
    grid-template-columns: repeat(4, 100%);
  }

  .testimonial-card {
    width: 100%;
  }

  /* Pre-Footer */
  .pre-footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .pre-footer-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .simulators-cards-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 3rem auto;
  }

  .beyond-cards-container {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

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

  .pre-footer-actions {
    flex-direction: column;
  }

  .pre-footer-actions .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* --- Subpages Content --- */
body.subpage-body {
  background-color: var(--bg-light) !important;
}

.subpage-content {
  background-color: var(--bg-light);
  color: var(--text-dark-primary);
  padding: 10rem 0 6rem 0; /* offset fixed header */
  position: relative;
  overflow: hidden;
}

.article-wrapper {
  position: relative;
  z-index: 2;
  background: #ffffff; /* White card */
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-width: 850px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark-primary);
  margin-bottom: 1rem;
}

.article-subtitle {
  color: var(--secondary); /* Blue accent for light theme subtitle */
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.article-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.5rem;
}

.article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary); /* royal blue accent */
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark-secondary);
  margin-bottom: 1.5rem;
}

.article-body ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.article-body li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark-secondary);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.75rem;
}

.article-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary); /* Gold checkmark */
  font-weight: bold;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(255, 184, 0, 0.05);
  padding: 1.5rem;
  border-radius: 0 16px 16px 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-dark-secondary);
}

header.subpage-header {
  position: fixed !important;
  background-color: rgba(3, 7, 18, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1rem 0 !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3) !important;
}

.subpage-banner-container {
  max-width: 850px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

/* Specific main banner image style for subpages */
.article-banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: block;
}

.subpage-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark-secondary);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: color var(--transition-normal);
}

.subpage-back-link:hover {
  color: var(--primary);
}