/* ==========================================
           CSS VARIABLES & RESET
           ========================================== */
:root {
  --primary: #0b2e73;
  --primary-dark: #081f4f;
  --secondary: #1e88e5;
  --accent: #ff6b00;
  --accent-light: #ff8c33;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --dark-text: #1b1f23;
  --gray-text: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(11, 46, 115, 0.08);
  --shadow-md: 0 4px 14px rgba(11, 46, 115, 0.1);
  --shadow-lg: 0 10px 40px rgba(11, 46, 115, 0.12);
  --shadow-xl: 0 20px 60px rgba(11, 46, 115, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

/* ==========================================
           UTILITY CLASSES
           ========================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(
    135deg,
    rgba(30, 136, 229, 0.1),
    rgba(11, 46, 115, 0.1)
  );
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-text);
  max-width: 650px;
  margin: 0 auto 50px;
}

.text-center {
  text-align: center;
}

/* ==========================================
           BUTTONS
           ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid rgba(11, 46, 115, 0.15);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  background: rgba(30, 136, 229, 0.05);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================
           SCROLL ANIMATIONS
           ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================
           HEADER / NAVIGATION
           ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(11, 46, 115, 0.08);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  transition: var(--transition);
}

.header:not(.scrolled) .logo-text span:first-child {
  color: var(--white);
}

.logo-text span:last-child {
  font-size: 0.65rem;
  color: var(--gray-text);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.header:not(.scrolled) .logo-text span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  border-radius: 8px;
  transition: var(--transition);
}

.header:not(.scrolled) .nav-menu a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.header:not(.scrolled) .nav-menu a:hover {
  color: var(--accent);
}

.nav-cta {
  margin-left: 16px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.header:not(.scrolled) .menu-toggle span {
  background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
           HERO SECTION
           ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #0a2560 40%,
    var(--primary-dark) 100%
  );
  overflow: hidden;
  padding: 120px 0 100px;
}

/* Animated Background Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(30, 136, 229, 0.15);
  animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

/* Floating Tech Icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.12;
  animation: floatIcon 15s infinite ease-in-out;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(5deg);
  }
  50% {
    transform: translateY(-15px) rotate(-5deg);
  }
  75% {
    transform: translateY(-40px) rotate(3deg);
  }
}

/* Gradient Glow */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 136, 229, 0.2) 0%,
    transparent 70%
  );
  top: -200px;
  right: -100px;
  animation: glowPulse 6s infinite ease-in-out alternate;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 0, 0.12) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
  animation: glowPulse 8s infinite ease-in-out alternate-reverse;
}

@keyframes glowPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 540px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease 0.5s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 4s infinite ease-in-out;
}

.hero-image-badge.badge-1 {
  bottom: 30px;
  left: -30px;
}

.hero-image-badge.badge-2 {
  top: 30px;
  right: -20px;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon.green {
  background: #e8f5e9;
}
.badge-icon.blue {
  background: #e3f2fd;
}

.badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-text);
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* ==========================================
           STATS SECTION
           ========================================== */
.stats {
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 46, 115, 0.05);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.stat-icon.blue {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}
.stat-icon.orange {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}
.stat-icon.green {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.stat-icon.purple {
  background: linear-gradient(135deg, #ede7f6, #d1c4e9);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-text);
  font-weight: 500;
}

/* ==========================================
           ABOUT SECTION
           ========================================== */
.about {
  background: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--secondary);
  border-radius: var(--radius-lg);
  top: 15px;
  left: 15px;
  z-index: -1;
  opacity: 0.3;
}

.about-content .section-label {
  margin-bottom: 12px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-text {
  color: var(--gray-text);
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.about-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark-text);
}

/* ==========================================
           COURSES SECTION
           ========================================== */
.courses {
  background: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.course-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.course-card:hover .course-icon {
  transform: scale(1.1) rotate(-5deg);
}

.course-icon.c1 {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}
.course-icon.c2 {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.course-icon.c3 {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}
.course-icon.c4 {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}
.course-icon.c5 {
  background: linear-gradient(135deg, #ede7f6, #d1c4e9);
}
.course-icon.c6 {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
}
.course-icon.c7 {
  background: linear-gradient(135deg, #f3e5f5, #ce93d8);
}
.course-icon.c8 {
  background: linear-gradient(135deg, #fff8e1, #ffe082);
}
.course-icon.c9 {
  background: linear-gradient(135deg, #ffebee, #ffcdd2);
}
.course-icon.c10 {
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
}
.course-icon.c11 {
  background: linear-gradient(135deg, #f1f8e9, #dcedc8);
}
.course-icon.c12 {
  background: linear-gradient(135deg, #efebe9, #d7ccc8);
}
.course-icon.c13 {
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
}

.course-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.course-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-text);
  font-weight: 500;
}

.course-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.course-link:hover {
  gap: 8px;
}

/* ==========================================
           WHY CHOOSE US SECTION
           ========================================== */
.why-us {
  background: var(--light-gray);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.4s ease;
  border-radius: 4px 4px 0 0;
}

.why-card:hover::after {
  width: 60%;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(30, 136, 229, 0.1);
}

.why-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  background: linear-gradient(
    135deg,
    rgba(11, 46, 115, 0.08),
    rgba(30, 136, 229, 0.08)
  );
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: rotateY(180deg);
}

.why-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ==========================================
           LEARNING PATH SECTION
           ========================================== */
.learning-path {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.learning-path .section-label {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
}

.learning-path .section-title {
  color: var(--white);
}

.learning-path .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.path-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding-top: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.path-timeline::before {
  content: "";
  position: absolute;
  top: 65px;
  left: 60px;
  right: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.path-line-fill {
  position: absolute;
  top: 65px;
  left: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 4px;
  width: 0;
  transition: width 2s ease;
}

.path-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.path-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  transition: var(--transition);
}

.path-step:hover .path-dot {
  background: var(--accent);
  transform: scale(1.15);
}

.path-step h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.path-step p {
  font-size: 0.8rem;
  opacity: 0.65;
  max-width: 150px;
  margin: 0 auto;
}

/* ==========================================
           TESTIMONIALS SECTION
           ========================================== */
.testimonials {
  background: var(--white);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 20px;
}

.testimonial-inner {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
}

.testimonial-inner::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 30px;
  font-size: 5rem;
  color: rgba(30, 136, 229, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--dark-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.testimonial-course {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.testimonial-stars {
  color: #facc15;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ==========================================
           GALLERY SECTION
           ========================================== */
.gallery {
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 46, 115, 0.8) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
           CTA BANNER
           ========================================== */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #0a2560 50%,
    var(--primary-dark) 100%
  );
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12), transparent 70%);
  top: -200px;
  left: -100px;
  animation: glowPulse 6s infinite ease-in-out alternate;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 136, 229, 0.15),
    transparent 70%
  );
  bottom: -200px;
  right: -100px;
  animation: glowPulse 8s infinite ease-in-out alternate-reverse;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-pulse-btn {
  animation: pulseBtn 2.5s infinite;
}

@keyframes pulseBtn {
  0% {
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
  }
  50% {
    box-shadow:
      0 4px 40px rgba(255, 107, 0, 0.6),
      0 0 0 12px rgba(255, 107, 0, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
  }
}

/* ==========================================
           CONTACT SECTION
           ========================================== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info > p {
  color: var(--gray-text);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(30, 136, 229, 0.1),
    rgba(11, 46, 115, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item-text span,
.contact-item-text a {
  font-size: 0.88rem;
  color: var(--gray-text);
}

.contact-item-text a:hover {
  color: var(--accent);
}

.contact-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  background: var(--light-gray);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 0.9rem;
  border: 2px dashed var(--border);
}

/* Contact Form */
.contact-form {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 0;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark-text);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 20px;
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ==========================================
           FOOTER
           ========================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ==========================================
           BACK TO TOP
           ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.45);
}

/* ==========================================
           RESPONSIVE DESIGN
           ========================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-image-badge {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 4px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: var(--dark-text) !important;
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
    border-radius: 10px;
  }

  .nav-menu a:hover {
    background: var(--light-gray);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .path-timeline {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .path-timeline::before {
    display: none;
  }

  .path-line-fill {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 14px;
  }

  .contact-form {
    padding: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* ==========================================
           MOBILE MENU OVERLAY
           ========================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
           LOADING ANIMATION
           ========================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.preloader-text {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
