@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');

/* ==========================================
   DESIGN SYSTEM VARIABLES & THEME
   ========================================== */
:root {
  /* Color Palette */
  --bg-primary: #050A14;
  --bg-secondary: #0A1120;
  --bg-tertiary: #0D162B;
  --bg-glass: rgba(13, 22, 43, 0.6);
  --bg-glass-light: rgba(255, 255, 255, 0.03);
  
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(255, 90, 53, 0.3);
  
  --text-main: #FFFFFF;
  --text-muted: #8E9BAE;
  --text-dim: #5F6C80;
  
  /* Gradients */
  --accent-gradient: linear-gradient(135deg, #FF5A35 0%, #FF8A35 100%);
  --glow-gradient: linear-gradient(185deg, rgba(255, 90, 53, 0.15) 0%, rgba(13, 22, 43, 0) 100%);
  --blue-gradient: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  --text-gradient: linear-gradient(135deg, #EC523A 0%, #1937A3 100%);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(255, 90, 53, 0.25);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   RESET & SYSTEM BASE
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gradient);
}

/* Accessibility outline */
:focus-visible {
  outline: 2px solid #FF8A35;
  outline-offset: 4px;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

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

/* ==========================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.secondarypart{
  background-color: #FFFFFF;
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: #FF5A35;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* ==========================================
   PREMIUM GLASSMORPHISM & EFFECTS
   ========================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: var(--bg-glass-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 90, 53, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   BUTTONS & ACTIONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-primary:hover::after {
  opacity: 1;
  left: 120%;
}

.btn-secondary {
  background: #1937a3f4;
  color: #FFFFFF;
  border: 1px solid;
  border-color: linear-gradient(135deg, #EC523A 0%, #1937A3 100%);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #082386;
  border-color: linear-gradient(135deg, #EC523A 100%, #1937A3 100%);
  transform: translateY(-1px);
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-normal);
  background: rgba(0, 0, 0, 0.272);
  backdrop-filter: blur(20px);
}

header.scrolled {
  padding: 0.75rem 0;
  background: rgba(0, 0, 0, 0.272);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  display: flex;
  align-items:baseline;           /* Vertically center all navbar items */
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

nav ul {
  display: flex;
  align-items: center;           /* Vertically center nav items */
  list-style: none;
  gap: 2.5rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

nav a:hover, nav a.active {
  color: #FFFFFF;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-fast);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Hide button on mobile */
@media (max-width: 768px) {
  .nav-right {
    display: none;
  }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(255, 90, 53, 0.08) 0%, rgba(5, 10, 20, 0) 60%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

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

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

/* Left align on mobile */
@media (max-width: 768px) {
  .hero-content {
    text-align: left;
  }
  .hero-title {
    font-size: 2.75rem;
  }
}

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

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 2;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.hero-blur-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 53, 0.3) 0%, rgba(255, 90, 53, 0) 70%);
  filter: blur(40px);
  z-index: 1;
  top: 10%;
  right: 10%;
  pointer-events: none;
}

/* ==========================================
   TRUSTED BY / LOGOS SECTION - IMPROVED MARQUEE
   ========================================== */
.trusted {
  padding: 3rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(10, 17, 32, 0.4);
  overflow: hidden;
}

.trusted-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.trusted-title {
  font-size: 0.85rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* Marquee Container */
.logos-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}

/* Duplicate for seamless loop */
.logos-track.duplicate {
  animation: none;
}

/* Animation */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.logos-track:hover {
  animation-play-state: paused;
}

.logo-item img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: filter 0.3s ease;
}



/* ==========================================
   PATHWAYS SECTION
   ========================================== */
.pathways-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.pathways-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #000000;
  max-width: 600px;
  letter-spacing: -0.02em;
}
.pathways-titlebold {
  font-size: 1.8rem;
  font-weight: 600;
  max-width: 600px;
  letter-spacing: -0.02em;
}

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

.pathway-card {
  position: relative;
  height: 340px;           /* Reduced size */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
}

.pathway-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
}

.pathway-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 10, 20, 0.519) 20%, rgba(5, 10, 20, 0.4) 60%, rgba(5, 10, 20, 0.1) 100%);
  z-index: 1;
}

.pathway-card:hover {
  transform: translateY(-8px);
  border-color: rgb(255, 90, 53);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

.pathway-card:hover .pathway-bg {
  transform: scale(1.05);
}

.pathway-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.pathway-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pathway-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .pathways-title, .pathways-titlebold {
    font-size: 1.5rem;
  }
.pathways-grid {
  display: grid;
  align-content: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
}


/* ==========================================
   IMPACT & STATS BANNER
   ========================================== */
.impact {
  background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 4.5rem 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -1.5rem;
  width: 1px;
  height: 70%;
  background: var(--border-glass);
}

.stat-number {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 0%, #FF8A35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Left align on mobile */
@media (max-width: 768px) {
  .stat-number {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 0%, #FF8A35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
  }
  .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
  }
}

/* ==========================================
   ALTERNATING FEATURE GRIDS
   ========================================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  margin-bottom: 8rem;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse .feature-content {
  direction: ltr;
}

.feature-content {
  max-width: 500px;
}

.feature-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-list-item:last-child {
  margin-bottom: 0;
}

.feature-icon-wrapper {
  margin-top: 0.25rem;
  color: #FF5A35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #000000;
}

.feature-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-visual-panel {
  position: relative;
}

.feature-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
}

.feature-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: var(--transition-slow);
}

.feature-image-wrapper:hover .feature-image {
  transform: scale(1.04);
}

/* Feature image on top in mobile */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .feature-visual-panel {
    order: -1;
  }
  .feature-image-wrapper {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
}

/* ==========================================
   TESTIMONIALS & SCHEDULE SECTION
   ========================================== */
.demo-section {
  position: relative;
  background: radial-gradient(circle at 10% 80%, rgba(255, 90, 53, 0.06) 0%, rgba(5, 10, 20, 0) 50%);
}

.demo-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.video-container {
  display: flex;
  flex-direction: column;
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.video-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
}

.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.35);
  transition: var(--transition-fast);
  z-index: 1;
}

.video-card:hover::before {
  background: rgba(5, 10, 20, 0.5);
}

.video-card:hover .video-card-bg {
  transform: scale(1.04);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(255, 90, 53, 0.4);
  z-index: 2;
  transition: var(--transition-normal);
}

.play-btn svg {
  margin-left: 4px;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 90, 53, 0.6);
}

.video-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #FF5A35;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.video-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.video-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Booking Form - Extra spacing on mobile */
.form-panel {
  padding: 2.5rem;
}

.form-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(5, 10, 20, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #FFFFFF;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: #FF5A35;
  box-shadow: 0 0 10px rgba(255, 90, 53, 0.1);
  background: rgba(5, 10, 20, 0.7);
}

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

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 0.35rem;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: var(--transition-fast);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #EF4444;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .demo-panel {
    padding: 2.5rem 1.8rem;
    gap: 3rem;
  }
  .form-panel {
    padding: 2.2rem 1.8rem;
  }
  .form-group {
    margin-bottom: 1.8rem;
  }
}

/* ==========================================
   TESTIMONIALS GRID
   ========================================== */
.testimonials-title-block {
  text-align: center;
  margin-bottom: 4rem;
}

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

/* Horizontal scroll on mobile */
@media (max-width: 768px) {
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .testimonial-card {
    min-width: 340px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 53, 0.15);
  box-shadow: var(--shadow-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.avatar-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 90, 53, 0.3);
}

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

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 1.5rem;
  color: #FF5A35;
  line-height: 0;
  vertical-align:middle;
  margin-right: 0.25rem;
}

.testimonial-quote::after {
  content: '"';
  font-size: 1.5rem;
  color: #FF5A35;
  line-height: 0;
  vertical-align: middle;
  margin-left: 0.25rem;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.social-icon i {
  font-size: 1.35rem;
  transition: transform 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.15);
}

footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #FFFFFF;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.footer-links-title {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

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

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

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.newsletter-title {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.newsletter-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  position: relative;
}

.newsletter-input {
  width: 100%;
  background: rgba(5, 10, 20, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  padding: 0.75rem 3.5rem 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.newsletter-input:focus {
  outline: none;
  border-color: #FF5A35;
}

.newsletter-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  transform: scale(1.05);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
}

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

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

.footer-meta-links a:hover {
  color: var(--text-muted);
}

/* Footer optimization for mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-info {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
  .footer-meta-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==========================================
   VIDEO MODAL POPUP
   ========================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 20, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-glass);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close:hover {
  color: #FF5A35;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================
   SUCCESS DIALOG / TOAST
   ========================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: -25rem;
  background: var(--bg-secondary);
  border-left: 4px solid #10B981;
  border-top: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.toast.active {
  right: 2rem;
}

.toast-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.toast-icon {
  color: #10B981;
  font-size: 1.2rem;
}

.toast-title {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.toast-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Dynamic staggering delay setup */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
    padding-bottom: 3rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .pathways-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-block {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 6rem;
  }
  
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 0;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    z-index: 999;
    padding: 6rem 2.5rem;
    transition: var(--transition-normal);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1000;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .pathways-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .pathways-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .demo-panel {
    padding: 1.8rem 1.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-meta-links {
    flex-direction: column;
    gap: 1rem;
  }
}