/* WritersAlley - Modern Journalism Courses */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #e94560;
  --accent-light: #f8719f;
  --text-primary: #0f3460;
  --text-secondary: #533483;
  --text-light: #ffffff;
  --bg-light: #f5f5f7;
  --border-color: #e0e0e0;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(233, 69, 96, 0.2);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 15px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.logo::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s ease;
  animation: floatPulse 2s ease-in-out infinite;
}

.logo:hover {
  color: var(--accent-light);
  text-shadow: 0 0 20px rgba(248, 113, 159, 0.3);
  transform: skewX(-2deg);
}

.logo:hover::before {
  opacity: 1;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(5px, -5px) scale(1.2);
    opacity: 1;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent-light);
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 68px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 18px;
    width: 100%;
    padding: 10px 0;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--text-secondary) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 100%;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    var(--accent-color) 15%, 
    var(--accent-light) 50%, 
    var(--accent-color) 85%, 
    transparent 100%);
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
  animation: glowPulse 3s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(248, 113, 159, 0.15), transparent);
  bottom: -100px;
  right: -100px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { 
    opacity: 0.7;
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
  }
  50% { 
    opacity: 1;
    box-shadow: 0 0 50px rgba(233, 69, 96, 0.8), 0 0 80px rgba(248, 113, 159, 0.4);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: url('assets/stub.png') center/cover;
  background-attachment: fixed;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(5px);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90%;
  max-width: 900px;
  padding: 40px;
  text-align: center;
  color: var(--text-light);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: slideInUp 0.8s ease;
  letter-spacing: -1px;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, rgba(248, 113, 159, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 40px;
  opacity: 0.95;
  animation: slideInUp 0.8s ease 0.2s backwards;
  color: rgba(224, 224, 224, 0.95);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease 0.4s backwards;
}

.btn {
  padding: 15px 40px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover::after {
  opacity: 1;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: white;
  box-shadow: 0 12px 30px rgba(233, 69, 96, 0.35);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(233, 69, 96, 0.5);
  background: linear-gradient(135deg, #d63a50, #e74a7a);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: white;
  color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.3);
}

.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  position: relative;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.3);
}

.indicator.active {
  background: var(--accent-light);
  width: 30px;
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(248, 113, 159, 0.6);
  transform: scale(1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Decorative elements for hero */
.hero-content::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(248, 113, 159, 0.2), transparent);
  top: -30px;
  left: 10%;
  border-radius: 50%;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-content::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.15), transparent);
  bottom: -20px;
  right: 15%;
  border-radius: 50%;
  z-index: -1;
  animation: pulse 3s ease-in-out infinite 1s;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

/* ========== CONTAINER & SPACING ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  width: 100%;
  letter-spacing: -0.5px;
}

.section-title::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.15), transparent);
  border-radius: 50%;
  z-index: -1;
}

.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--accent-color) 20%, var(--accent-light) 50%, var(--accent-color) 80%, transparent);
  margin: 20px auto 0;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.2);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

/* ========== ABOUT SECTION ========== */
.about {
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(233, 69, 96, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(248, 113, 159, 0.15), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.1), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  height: 400px;
  border-radius: 2px;
  overflow: visible;
  box-shadow: var(--shadow);
  background: white;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(248, 113, 159, 0.1));
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  z-index: -1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.about-image:hover img {
  transform: scale(1.05) rotate(-0.5deg);
  filter: brightness(1.1);
}

.about-image:hover {
  box-shadow: 0 20px 60px rgba(233, 69, 96, 0.2);
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 15px;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  border-radius: 2px;
}

.about-content p {
  margin-bottom: 15px;
  color: var(--text-primary);
  line-height: 1.8;
  position: relative;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  border-radius: 2px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(233, 69, 96, 0.2);
  border-right: 2px solid rgba(248, 113, 159, 0.15);
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(248, 113, 159, 0.2), transparent);
  border-radius: 50%;
  z-index: 0;
}

.feature-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px) translateX(8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 113, 159, 0.05));
  border-left-color: var(--accent-light);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.25);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(233, 69, 96, 0.4);
}

.feature-text {
  position: relative;
  z-index: 1;
}

/* ========== COURSES SECTION ========== */
.courses {
  background: linear-gradient(180deg, white 0%, rgba(233, 69, 96, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.courses::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(248, 113, 159, 0.08), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.courses .container {
  position: relative;
  z-index: 1;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.course-card {
  background: white;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(233, 69, 96, 0.1);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
  z-index: 10;
}

.course-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.3), transparent);
  z-index: 10;
}

.course-card:hover {
  transform: translateY(-15px) perspective(1000px) rotateX(5deg);
  box-shadow: 0 30px 80px rgba(233, 69, 96, 0.25);
  border-color: var(--accent-light);
}

.course-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: brightness(0.9);
}

.course-card:hover .course-image img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.1);
}

.course-level {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
  z-index: 5;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
  transition: all 0.3s ease;
}

.course-card:hover .course-level {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

.course-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-category {
  color: var(--accent-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
}

.course-category::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
}

.course-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.course-card:hover .course-content h3 {
  color: var(--accent-color);
}

.course-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(233, 69, 96, 0.15);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 5px;
}

.course-meta-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: var(--accent-light);
  border-radius: 50%;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.course-card .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(248, 113, 159, 0.2), transparent);
  border-radius: 50%;
  z-index: 0;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.15), transparent);
  border-radius: 50%;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section-title {
  color: white;
}

.testimonials .section-title::after {
  margin-left: 0;
  margin-right: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), rgba(248, 113, 159, 0.3));
  z-index: 1;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-light), rgba(248, 113, 159, 0.3));
  z-index: 1;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px) skewY(-1deg);
  border-color: var(--accent-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(248, 113, 159, 0.1);
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  opacity: 0.95;
  position: relative;
  padding-left: 25px;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 2.5rem;
  color: var(--accent-light);
  opacity: 0.3;
  line-height: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.author-info h4 {
  margin-bottom: 3px;
  font-weight: 600;
}

.author-info p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ========== ACCORDION SECTION ========== */
.faq {
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(248, 113, 159, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.1), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.faq .container {
  position: relative;
  z-index: 1;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(233, 69, 96, 0.1);
  position: relative;
}

.accordion-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color), var(--accent-light));
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accordion-item.active::before {
  opacity: 1;
}

.accordion-item:hover {
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.1);
  border-color: rgba(233, 69, 96, 0.2);
}

.accordion-header {
  padding: 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  z-index: 9;
}

.accordion-header::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(248, 113, 159, 0), rgba(248, 113, 159, 0.3));
}

.accordion-header:hover {
  background: linear-gradient(135deg, var(--secondary-color), #1a1a2e);
  padding-left: 30px;
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 30px;
  color: var(--text-primary);
  line-height: 1.8;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 113, 159, 0.02));
  border-top: 1px solid rgba(233, 69, 96, 0.1);
}

/* ========== CTA SECTION ========== */
.cta {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* ========== CONTACT FORM SECTION ========== */
.contact-section {
  background: linear-gradient(180deg, white 0%, rgba(233, 69, 96, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(248, 113, 159, 0.12), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-image {
  height: 400px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.contact-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.15), rgba(248, 113, 159, 0.08));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
  z-index: -1;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contact-image:hover img {
  transform: scale(1.05) rotate(-0.5deg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 15px 18px;
  border: 2px solid rgba(233, 69, 96, 0.2);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, var(--bg-light), rgba(255, 255, 255, 0.6));
  color: var(--text-primary);
  position: relative;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(79, 52, 96, 0.4);
}

.form-group input::before,
.form-group textarea::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(233, 69, 96, 0.3);
  pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.15), inset 0 0 0 1px rgba(233, 69, 96, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .btn {
  align-self: flex-start;
  margin-top: 10px;
  position: relative;
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(248, 113, 159, 0.1), transparent);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent-color));
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 10px;
}

.footer-section a::before {
  content: '➜';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-light);
  padding-left: 15px;
}

.footer-section a:hover::before {
  opacity: 1;
}

.footer-section p {
  line-height: 1.8;
  opacity: 0.85;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--accent-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.contact-info-item strong {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: none;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  animation: slideUp 0.3s ease;
}

.cookie-banner.show {
  display: flex;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
}

.cookie-text a:hover {
  opacity: 0.8;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--accent-color);
  color: white;
}

.cookie-accept:hover {
  background: var(--accent-light);
}

.cookie-decline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-decline:hover {
  background: white;
  color: var(--primary-color);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 50px 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .contact-image,
  .about-image {
    height: 300px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cookie-banner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }

  .cookie-text {
    min-width: 100%;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .accordion-header {
    padding: 15px;
    font-size: 1rem;
  }

  .accordion-body {
    padding: 15px;
  }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: -500px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  padding: 25px 20px;
  z-index: 9999;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  bottom: 0;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    bottom: -500px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-light);
}

.cookie-banner-description {
  margin: 0 0 15px 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.cookie-banner-links {
  margin: 12px 0 0 0;
  font-size: 0.9rem;
}

.cookie-link {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: #ff8fa3;
  text-decoration: underline;
}

.cookie-separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.6);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-btn-accept {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.cookie-btn-accept:hover {
  background-color: #d63a50;
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
  transform: translateY(-2px);
}

.cookie-btn-accept:active {
  transform: translateY(0);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--accent-light);
  border: 2px solid var(--accent-light);
}

.cookie-btn-reject:hover {
  background-color: rgba(233, 69, 96, 0.15);
  border-color: #ff8fa3;
  color: #ff8fa3;
}

.cookie-btn-reject:active {
  transform: scale(0.98);
}

/* ========== RESPONSIVE COOKIE BANNER ========== */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 20px 15px;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-banner-title {
    font-size: 1rem;
  }

  .cookie-banner-description {
    font-size: 0.9rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
  }
}
