/* ===== CSS Variables ===== */
:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #3f83f8;
  --secondary: #6b7280;
  --dark: #111827;
  --light: #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;
  --white: #ffffff;
  --success: #059669;
  --error: #dc2626;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ===== FAQ Accordion ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== Form Validation Styles ===== */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
  background-color: #fef2f2;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: var(--success);
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.visible {
  display: block;
}

/* ===== Loading Button State ===== */
.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--error);
}

.toast svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.toast.success svg {
  color: var(--success);
}

.toast.error svg {
  color: var(--error);
}

.toast p {
  margin: 0;
  color: var(--dark);
  font-size: 0.925rem;
}

/* ===== Counter Animation ===== */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
  
  .toast-container {
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 1.5rem;
  }
  
  .toast {
    max-width: 100%;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
}

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

ul {
  list-style: none;
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 1rem auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

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

.nav-link {
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

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

.nav-cta {
  margin-left: 1rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(26, 86, 219, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Hero (smaller for inner pages) */
.page-hero {
  min-height: 50vh;
  padding-top: 120px;
}

.page-hero .hero-content h1 {
  font-size: 2.75rem;
}

/* ===== Course Cards ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.course-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.course-card:hover .course-card-image img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-content h3 {
  margin-bottom: 0.75rem;
}

.course-card-content p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.course-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* ===== Features / Why Choose Us ===== */
.features {
  background: var(--gray-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ===== Partners Section ===== */
.partners {
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.9);
}

.partner-logo.visible {
  opacity: 1;
  transform: scale(1);
}

.partner-logo:hover {
  background: var(--gray-200);
  transform: scale(1.05);
}

.partner-logo img {
  max-height: 50px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo-svg {
  width: 60px;
  height: 60px;
  filter: grayscale(0%);
  opacity: 0.85;
  transition: var(--transition);
}

.partner-logo:hover .partner-logo-svg {
  filter: brightness(1.1);
  opacity: 1;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Placeholder logos */
.partner-placeholder {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  transition: var(--transition);
}

.partner-logo:hover .partner-placeholder {
  color: var(--primary);
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--gray-100);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

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

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--gray-600);
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  margin-top: 2rem;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

/* ===== About Page ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--gray-600);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-card,
.vision-card {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.mission-card h3,
.vision-card h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mission-card h3 svg,
.vision-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* ===== Trainers Section ===== */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.trainer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.trainer-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
}

.trainer-info {
  padding: 1.5rem;
}

.trainer-info h3 {
  margin-bottom: 0.25rem;
}

.trainer-info .role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.trainer-info p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-card {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-info-card h3 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.contact-item-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item-content p {
  color: var(--gray-500);
  margin-bottom: 0;
}

.contact-item-content a {
  color: var(--primary);
}

.contact-item-content a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 3rem;
}

/* ===== Course Details Page ===== */
.course-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.course-main h2 {
  margin-bottom: 1.5rem;
}

.course-main p {
  color: var(--gray-600);
}

.course-highlights {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.course-highlights h3 {
  margin-bottom: 1.5rem;
}

.highlight-list {
  display: grid;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.course-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.enrollment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.enrollment-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

.enrollment-card-header h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.enrollment-card-body {
  padding: 2rem;
}

.enrollment-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.enrollment-detail:last-of-type {
  border-bottom: none;
}

.enrollment-detail svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.enrollment-detail span {
  color: var(--gray-600);
}

.enrollment-card-body .btn {
  width: 100%;
  margin-top: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
}

.footer-social a:hover svg {
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--gray-500);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .course-details {
    grid-template-columns: 1fr;
  }
  
  .course-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .page-hero .hero-content h1 {
    font-size: 1.75rem;
  }
}

/* ===== Services Page ===== */

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.service-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  align-self: flex-start;
  margin-top: auto;
}

.service-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.highlight-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.highlight-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.highlight-item .highlight-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.4;
}

.highlight-item p {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
}

/* Performance Stats */
.performance-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--dark);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.1);
  transition: var(--transition);
  min-height: 300px;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.15);
  border-color: var(--primary-light);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

.stat-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  transition: var(--transition);
  border-left: 5px solid var(--primary);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.process-step:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
  border-left-color: var(--primary-dark);
}

.process-step .step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.3);
  transition: var(--transition);
  position: relative;
}

.process-step .step-icon svg {
  width: 42px;
  height: 42px;
  color: var(--white);
  stroke-width: 2.5;
}

.process-step:hover .step-icon {
  transform: scale(1.12) rotate(360deg);
  box-shadow: 0 12px 28px rgba(26, 86, 219, 0.4);
  animation: spinOnce 0.6s ease-in-out;
}

.process-step .step-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: 0;
}

@supports (backdrop-filter: blur(10px)) {
  .process-step:nth-child(1) .step-icon {
    background: linear-gradient(135deg, #1a56db 0%, #3f83f8 100%);
  }
  
  .process-step:nth-child(2) .step-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  }
  
  .process-step:nth-child(3) .step-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  }
  
  .process-step:nth-child(4) .step-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  }
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

.process-step p {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spinOnce {
  from {
    transform: scale(1.12) rotate(0deg);
  }
  to {
    transform: scale(1.12) rotate(360deg);
  }
}

/* Animation Delays */
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
.service-card:nth-child(5) { animation-delay: 0.4s; }
.service-card:nth-child(6) { animation-delay: 0.5s; }

.highlight-item:nth-child(1) { animation-delay: 0s; }
.highlight-item:nth-child(2) { animation-delay: 0.1s; }
.highlight-item:nth-child(3) { animation-delay: 0.2s; }
.highlight-item:nth-child(4) { animation-delay: 0.3s; }

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }

.process-step:nth-child(1) { animation-delay: 0s; }
.process-step:nth-child(2) { animation-delay: 0.1s; }
.process-step:nth-child(3) { animation-delay: 0.2s; }
.process-step:nth-child(4) { animation-delay: 0.3s; }

/* Responsive Services */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }

  .highlights-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }

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

  .stat-item {
    min-height: 260px;
    padding: 2rem 1.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    width: 70px;
    height: 70px;
  }

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

  .stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.8px;
  }

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

  .process-step {
    min-height: 320px;
    padding: 2rem 1.75rem;
  }

  .process-step .step-icon {
    width: 70px;
    height: 70px;
  }

  .process-step .step-icon svg {
    width: 36px;
    height: 36px;
  }

  .process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  .service-card {
    min-height: 360px;
    padding: 2rem;
  }

  .highlight-item {
    min-height: 300px;
    padding: 2rem;
  }

  .stat-item {
    min-height: 260px;
    padding: 2rem;
  }

  .process-step {
    min-height: 300px;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

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

  .service-card {
    min-height: 320px;
    padding: 1.75rem;
  }

  .highlight-item {
    min-height: 280px;
    padding: 1.75rem;
  }

  .stat-item {
    min-height: 240px;
    padding: 1.75rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .process-step {
    min-height: 280px;
    padding: 1.75rem;
  }

  .highlight-item .highlight-number {
    font-size: 2.25rem;
  }

  .process-step .step-icon {
    width: 65px;
    height: 65px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

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

  .stat-icon {
    width: 60px;
    height: 60px;
  }

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

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    min-height: 220px;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-icon {
    width: 65px;
    height: 65px;
  }

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

  .process-step {
    min-height: 240px;
    padding: 1.5rem;
  }

  .process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .process-step .step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
  }

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

  .process-step p {
    font-size: 0.9rem;
  }

  .service-card {
    min-height: 300px;
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .highlight-item {
    min-height: auto;
    padding: 1.5rem;
    min-height: 240px;
  }

  .highlight-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .highlight-item .highlight-number {
    font-size: 2rem;
  }

  .stat-item {
    min-height: 220px;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
  }

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

  .service-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 1rem;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .stat-content {
    gap: 0.5rem;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
