/* ========================================
   ENTRANCE ACADEMY - PREMIUM DESIGN SYSTEM
   ======================================== */

/* IMPORTS - Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS VARIABLES - Design Tokens - ORANGE & YELLOW THEME */
:root {
  /* Primary Colors - Orange/Yellow Gradient */
  --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffc107 100%);
  --primary-orange: #ff6b35;
  --primary-yellow: #ffc107;
  --primary-gold: #f7931e;

  /* Secondary Colors */
  --secondary: #ffe0b2;
  --secondary-gradient: linear-gradient(135deg, #ffb300 0%, #ff6f00 100%);

  /* Light Theme Palette - White/Cream */
  --bg-light: #ffffff;
  --bg-cream: #fffbf5;
  --bg-card: rgba(255, 107, 53, 0.05);
  --bg-card-hover: rgba(255, 193, 7, 0.15);
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 107, 53, 0.2);

  /* Text Colors - Dark on Light with Strong Black */
  --text-primary: #000000;
  --text-secondary: rgba(0, 0, 0, 0.75);
  --text-muted: rgba(0, 0, 0, 0.5);
  --text-on-orange: #ffffff;
  --text-black-bold: #000000;

  /* Accent Colors */
  --accent-orange-light: #ffb74d;
  --accent-orange-dark: #e65100;
  --accent-yellow-light: #fff9c4;
  --accent-yellow-dark: #ff8f00;
  --accent-white: #ffffff;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows - Orange/Yellow Glow */
  --shadow-glow: 0 10px 60px rgba(255, 107, 53, 0.25);
  --shadow-card: 0 20px 60px -12px rgba(255, 107, 53, 0.2);
  --shadow-yellow: 0 10px 40px rgba(255, 193, 7, 0.3);
}

/* RESET & BASE */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background - Orange & Yellow Orbs */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 800px 600px at 10% 20%, rgba(255, 107, 53, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 600px 800px at 90% 80%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 500px 500px at 50% 50%, rgba(247, 147, 30, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all var(--transition-normal);
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(255, 107, 53, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 28px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  color: var(--text-on-orange);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.nav-cta:hover::before {
  width: 300px;
  height: 300px;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6), 0 0 20px rgba(255, 193, 7, 0.3);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-normal);
}

.menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Animated Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.3;
  }

  25% {
    transform: translateY(-30px) translateX(20px) scale(1.1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-50px) translateX(-10px) scale(0.9);
    opacity: 0.4;
  }

  75% {
    transform: translateY(-20px) translateX(-30px) scale(1.05);
    opacity: 0.6;
  }
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-courses {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.course-tag {
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  cursor: default;
}

.course-tag:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn-primary {
  padding: 18px 40px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.5), 0 0 30px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  padding: 18px 40px;
  background: #000000;
  border: 2px solid #000000;
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: var(--primary-gradient);
  border-color: var(--primary-orange);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
  padding: 80px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ========================================
   COURSES SECTION
   ======================================== */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-orange);
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #000000;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Course Cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-card);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow), 0 10px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-orange);
}

.course-card:hover::before {
  opacity: 0.1;
}

.course-card>* {
  position: relative;
  z-index: 1;
}

.course-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: transform var(--transition-normal);
}

.course-card:nth-child(1) .course-icon {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.course-card:nth-child(2) .course-icon {
  background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.course-card:nth-child(3) .course-icon {
  background: linear-gradient(135deg, #ffb300 0%, #ff6f00 100%);
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.3);
}

.course-card:nth-child(4) .course-icon {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.course-card:nth-child(5) .course-icon {
  background: linear-gradient(135deg, #ff6b35 0%, #ffc107 100%);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.course-card:nth-child(6) .course-icon {
  background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
  box-shadow: 0 8px 20px rgba(247, 147, 30, 0.3);
}

.course-card:nth-child(7) .course-icon {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.course-card:hover .course-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

.course-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #000000;
}

.course-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.course-features {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.course-feature {
  padding: 6px 14px;
  background: var(--glass);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px 35px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: rotate(12deg) scale(1.15);
  background: var(--primary-gradient);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   CLASSROOM GALLERY SECTION
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 30px 20px;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3), 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.gallery-overlay h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ========================================
   FOUNDER SECTION
   ======================================== */
.founder-section {
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.03) 0%, transparent 100%);
}

.founder-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
}

.founder-image {
  position: relative;
}

.founder-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-normal);
}

.founder-image:hover img {
  transform: scale(1.02);
}

.founder-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--primary-gradient);
  filter: blur(60px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 50%;
}

.founder-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-title {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 25px;
}

.founder-bio {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.founder-highlights {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.highlight-item {
  text-align: center;
  padding: 20px 25px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.highlight-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-text {
  font-size: 13px;
  color: var(--text-muted);
}

.founder-quote {
  padding: 25px 30px;
  background: var(--bg-card);
  border-left: 4px solid var(--primary-light);
  border-radius: 0 16px 16px 0;
}

.founder-quote p {
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .founder-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-image {
    max-width: 350px;
    margin: 0 auto;
  }

  .founder-info {
    text-align: center;
  }

  .founder-highlights {
    justify-content: center;
    flex-wrap: wrap;
  }

  .founder-quote {
    border-left: none;
    border-top: 4px solid var(--primary-light);
    border-radius: 0 0 16px 16px;
  }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 53, 0.05) 50%, transparent 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.testimonial-quote {
  font-size: 60px;
  line-height: 1;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 55px;
  height: 55px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 14px;
  color: var(--text-muted);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.testimonial-rating span {
  color: #fbbf24;
  font-size: 16px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: var(--primary-gradient);
  border-radius: 30px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-box p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
}

.cta-box .btn-white {
  padding: 18px 45px;
  background: white;
  border: none;
  border-radius: 50px;
  color: var(--primary-orange);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-white:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 15px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-glow);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
}

/* ========================================
   MODAL / POPUP
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px;
  max-width: 500px;
  width: 90%;
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.modal-close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.modal h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.modal p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-submit:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .menu-btn {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    padding: 50px 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-card {
    padding: 30px 20px;
  }

  .modal {
    padding: 30px 20px;
  }
}

/* ========================================
   LOADING ANIMATION
   ======================================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  animation: pulse 1.5s ease infinite;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--glass);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 2px;
  animation: loading 1.5s ease infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(300%);
  }
}