/* modern design 2024-2025 - reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* modern gradient colors 2024-2025 */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-soft: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 50%,
    rgba(245, 87, 108, 0.1) 100%
  );

  /* modern color palette */
  --primary: #667eea;
  --primary-dark: #5568d3;
  --secondary: #764ba2;
  --accent: #f5576c;
  --accent-light: #fa709a;
  --text-dark: #1a1a2e;
  --text-medium: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --bg-light: #f7fafc;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-dark: rgba(255, 255, 255, 0.85);

  /* modern shadows */
  --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.08);
  --shadow-md: 0 4px 16px rgba(102, 126, 234, 0.12);
  --shadow-lg: 0 8px 32px rgba(102, 126, 234, 0.16);
  --shadow-xl: 0 16px 48px rgba(102, 126, 234, 0.2);
  --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);

  /* border radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* modern header with glassmorphism */
.header {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--bg-glass-dark);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1.25rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform 0.3s ease;
  letter-spacing: -0.5px;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

/* cookie popup - modern glassmorphism */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass-dark);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-xl);
  padding: 1.75rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 280px;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.cookie-content a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

/* ✅ NEW: cookie buttons wrapper */
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* base button */
.cookie-btn {
  border: none;
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

/* accept */
#accept-cookies.cookie-btn {
  background: var(--gradient-primary);
  color: var(--white);
}

#accept-cookies.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ✅ NEW: reject */
#reject-cookies.cookie-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border: 1px solid rgba(102, 126, 234, 0.25);
  box-shadow: var(--shadow-sm);
}

#reject-cookies.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* modern hero section with parallax */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 87, 108, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 600px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active { opacity: 1; }

.slide-content {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1.5px;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  color: var(--text-medium);
  line-height: 1.8;
  font-weight: 400;
}

.hero-image {
  flex: 1;
  max-width: 550px;
  position: relative;
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  opacity: 0.2;
  z-index: -1;
  filter: blur(40px);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
  z-index: 10;
}

.prev-btn,
.next-btn {
  background: var(--bg-glass-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  font-size: 1.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: var(--white);
  width: 32px;
  box-shadow: var(--shadow-md);
}

/* modern buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 2.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before { left: 100%; }

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

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

.btn-secondary:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* section styles */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.alt-bg {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

/* about section - modern cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.about-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.2));
}

.about-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.about-card p { color: var(--text-medium); line-height: 1.7; }

/* courses section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

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

.course-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.course-content { padding: 2rem; }

.course-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.course-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* modern accordion */
.accordion-container { max-width: 1000px; margin: 0 auto; }

.accordion-item {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.accordion-item:hover { box-shadow: var(--shadow-lg); }

.accordion-header {
  width: 100%;
  padding: 1.75rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.accordion-header:hover { color: var(--primary); }

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(102, 126, 234, 0.1);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: var(--white);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content { max-height: 2000px; }

.accordion-content p {
  padding: 0 2rem 2rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.accordion-content img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
}

/* testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

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

.testimonial-content { margin-bottom: 1.5rem; position: relative; z-index: 1; }

.testimonial-content p {
  font-style: italic;
  color: var(--text-medium);
  font-size: 1.125rem;
  line-height: 1.8;
}

.testimonial-author strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.testimonial-author span { color: var(--text-light); font-size: 0.95rem; }

/* how it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

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

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.step-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-card p { color: var(--text-medium); margin-bottom: 1.5rem; line-height: 1.7; }

.step-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* faq */
.faq-container { max-width: 1000px; margin: 0 auto; }

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.faq-question {
  width: 100%;
  padding: 1.75rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(102, 126, 234, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
  padding: 0 2rem 2rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* cta section */
.cta-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  line-height: 1.8;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  opacity: 0.95;
}

.cta-feature span:first-child { font-size: 1.5rem; }

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

/* page hero */
.page-hero {
  background: var(--gradient-hero);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* content section */
.content-section { padding: 5rem 0; }

.content-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
}

.content-block.reverse { flex-direction: row-reverse; }

.content-text { flex: 1; }

.content-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.content-text p {
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.125rem;
}

.feature-list { list-style: none; margin-top: 1.5rem; }

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-medium);
  font-size: 1.125rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.25rem;
}

.content-image { flex: 1; position: relative; }

.content-image::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  opacity: 0.15;
  z-index: -1;
  filter: blur(30px);
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* policy section */
.policy-section { padding: 6rem 0 4rem; background: var(--bg-light); }

.policy-content {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  padding: 4rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.policy-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2.5rem;
}

.policy-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.policy-content p {
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.0625rem;
}

.policy-content ul { margin-left: 2rem; margin-bottom: 1.25rem; }

.policy-content li { color: var(--text-medium); margin-bottom: 0.75rem; line-height: 1.8; }

.policy-content a { color: var(--primary); text-decoration: underline; font-weight: 500; }

/* footer */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--white);
  padding: 4rem 0 1.5rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links { list-style: none; }

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

/* ✅ FIXED: footer bottom class */
.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* responsive design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-glass-dark);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    width: 100%;
    text-align: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-menu.active { left: 0; }

  .hamburger { display: flex; }

  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

  .slide-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 24px;
    gap: 2rem;
  }

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

  .content-block { flex-direction: column; gap: 2.5rem; }
  .content-block.reverse { flex-direction: column; }

  .cta-features { flex-direction: column; align-items: center; gap: 1.5rem; }

  section { padding: 4rem 0; }
}

@media (max-width: 768px) {
  .section-header h2 { font-size: 2rem; }

  .page-hero { padding: 6rem 0 3rem; }
  .page-hero h1 { font-size: 2rem; }

  .policy-content { padding: 2.5rem 2rem; }

  .about-grid,
  .courses-grid,
  .testimonials-grid,
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
  .cookie-btn { width: 100%; }

  .hero-section { min-height: 100vh; padding-top: 70px; }
  .hero-slider { height: calc(100vh - 70px); min-height: 500px; }

  .slider-controls { padding: 0 16px; }
  .prev-btn, .next-btn { width: 48px; height: 48px; font-size: 1.5rem; }

  .container { padding: 0 16px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* === CONTACT FIX (force styles) === */
.contact-section .contact-wrapper{
  display: grid !important;
  grid-template-columns: 1fr 1.5fr !important;
  gap: 4rem !important;
  align-items: start !important;
}

.contact-section .contact-form{
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
}

.contact-section .contact-form .form-group{
  display: flex !important;
  flex-direction: column !important;
  gap: .5rem !important;
}

.contact-section .contact-form input,
.contact-section .contact-form textarea{
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  padding: 1rem 1.25rem !important;
  border: 2px solid rgba(102,126,234,.2) !important;
  border-radius: 20px !important;
  font: inherit !important;
}

.contact-section .contact-form textarea{
  resize: vertical !important;
  min-height: 140px !important;
}

.contact-section .checkbox-label{
  display: flex !important;
  align-items: center !important;
  gap: .75rem !important;
}

.contact-section .checkbox-label input{
  width: auto !important;
}

}
