/* ========================================
   ENLIGHTER TECHNOLOGY — MAIN STYLESHEET
   Design System: Deep Blue + Orange Accent
   Fonts: Poppins (headings) + Inter (body)
   ======================================== */

/* === CSS RESET & CUSTOM PROPERTIES === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1A3C6E;
  --primary-dark: #0F2447;
  --primary-light: #2563EB;
  --accent: #EF7C00;
  --accent-dark: #C96400;
  --accent-light: #FF9A2E;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.13);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

input,
select,
textarea {
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY HELPERS === */
.text-accent {
  color: var(--accent);
}

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

.text-muted-white {
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   NAVIGATION
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 60, 110, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(239, 124, 0, 0.7));
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta-btn {
  background: var(--accent);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(239, 124, 0, 0.4);
}

.nav-cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 124, 0, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(239, 124, 0, 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(239, 124, 0, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===========================
   SECTION COMMONS
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-light {
  /* for dark bg */
}

.section-tag {
  display: inline-block;
  background: rgba(239, 124, 0, 0.1);
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(239, 124, 0, 0.2);
}

.section-tag-light {
  background: rgba(239, 124, 0, 0.15);
  border-color: rgba(239, 124, 0, 0.3);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 22, 48, 0.92) 0%,
      rgba(26, 60, 110, 0.85) 50%,
      rgba(10, 22, 48, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 720px;
  margin-left: max(24px, calc(50vw - 600px));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 124, 0, 0.15);
  border: 1px solid rgba(239, 124, 0, 0.4);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease both;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.15s ease both;
  letter-spacing: -0.03em;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.3s ease both;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.8s 0.6s ease both;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  width: fit-content;
}

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

.trust-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.trust-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1.2s 1s ease both;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

.hero-scroll-indicator span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===========================
   WHY CHOOSE US
=========================== */
.why-section {
  padding: 96px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(239, 124, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

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

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-200);
}

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

.why-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(26, 60, 110, 0.08), rgba(239, 124, 0, 0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.why-card:hover .why-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.why-icon {
  width: 34px;
  height: 34px;
  color: var(--primary);
  transition: color var(--transition);
}

.why-card:hover .why-icon {
  color: var(--white);
}

.why-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.why-badge {
  display: inline-block;
  background: rgba(239, 124, 0, 0.08);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(239, 124, 0, 0.2);
}

/* ===========================
   COURSES SECTION
=========================== */
.courses-section {
  padding: 96px 0;
  background: var(--white);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.filter-btn.active {
  box-shadow: 0 4px 12px rgba(26, 60, 110, 0.3);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

.course-card.hidden {
  display: none;
}

.course-img-wrap {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.course-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-img-1 {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.course-img-2 {
  background: linear-gradient(135deg, #FFF7ED 0%, #FED7AA 100%);
}

.course-img-3 {
  background: linear-gradient(135deg, #FDF4FF 0%, #E9D5FF 100%);
}

.course-img-4 {
  background: linear-gradient(135deg, #ECFDF5 0%, #A7F3D0 100%);
}

.course-img-5 {
  background: linear-gradient(135deg, #FFF1F2 0%, #FECDD3 100%);
}

.course-illustration {
  width: 80px;
  height: 60px;
}

.course-level {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.level-beginner {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.level-advanced {
  background: rgba(99, 102, 241, 0.12);
  color: #4338CA;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.course-popular {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(239, 124, 0, 0.12);
  color: var(--accent-dark);
  border: 1px solid rgba(239, 124, 0, 0.25);
  border-radius: var(--radius-full);
}

.course-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-icon-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.course-name {
  font-size: 1.08rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.course-tech {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.course-duration,
.course-projects {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 500;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.course-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.price-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.enroll-btn {
  background: var(--primary);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.enroll-btn:hover {
  background: var(--accent);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(239, 124, 0, 0.3);
}

/* ===========================
   STATS SECTION
=========================== */
.stats-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4a8a 100%);
  position: relative;
  overflow: hidden;
}

.stats-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(239, 124, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stats-section .section-title {
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(239, 124, 0, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent-light);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-bottom: 16px;
}

.stat-bar {
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section {
  padding: 96px 0;
  background: var(--gray-50);
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  flex: 0 0 calc(33.333% - 16px);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(239, 124, 0, 0.12);
  font-weight: 700;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.company-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(26, 60, 110, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26, 60, 110, 0.3);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact-section {
  padding: 96px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.contact-info-title {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 28px;
  position: relative;
}

.contact-info-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 3px;
  font-family: 'Poppins', sans-serif;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--accent-light);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

/* Enrollment Form */
.enrollment-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.enrollment-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  font-family: 'Poppins', sans-serif;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--gray-400);
  pointer-events: none;
  flex-shrink: 0;
}

.input-wrap input,
.input-wrap select {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition-fast);
  appearance: none;
}

.input-wrap input:focus,
.input-wrap select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.08);
}

.input-wrap input::placeholder {
  color: var(--gray-400);
}

.input-wrap input:focus+.input-icon {
  color: var(--primary);
}

.select-wrap {
  position: relative;
}

.select-chevron {
  position: absolute;
  right: 12px;
  color: var(--gray-400);
  pointer-events: none;
}

.batch-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.batch-opt {
  cursor: pointer;
}

.batch-opt input {
  display: none;
}

.batch-opt-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.batch-opt input:checked+.batch-opt-label {
  border-color: var(--primary);
  background: rgba(26, 60, 110, 0.05);
  color: var(--primary);
}

.batch-opt-label:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 8px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(26, 60, 110, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 110, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

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

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.form-success p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--gray-900);
}

.footer-main {
  padding: 64px 0;
}

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

.footer-logo {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social .social-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
}

.footer-social .social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

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

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

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-contact-list li {
  font-size: 0.88rem;
  color: var(--gray-400);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.84rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.84rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent-light);
}

/* ===========================
   SCROLL-TO-TOP BUTTON
=========================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(239, 124, 0, 0.4);
  transition: all var(--transition-fast);
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(239, 124, 0, 0.5);
}

/* ===========================
   KEYFRAME ANIMATIONS
=========================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(14px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

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

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

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

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

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

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

/* ===========================
   RESPONSIVE — TABLET
=========================== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .navbar {
    background: rgba(26, 60, 110, 0.98);
    backdrop-filter: blur(20px);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 36, 71, 0.98);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    text-align: center;
    margin-left: 0;
    padding: 100px 24px 80px;
  }

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

  .hero-trust {
    margin: 0 auto;
  }

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

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

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

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

  .testimonial-card {
    flex: 0 0 calc(100% - 0px);
  }

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

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

  .batch-options {
    grid-template-columns: 1fr;
  }

  .enrollment-form {
    padding: 28px 20px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .trust-divider {
    width: 60px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}