/* CSS Custom Properties */
:root {
  /* Colors */
  --primary-bg: 0 0% 8%; /* #141414 */
  --secondary-bg: 0 0% 12%; /* #1f1f1f */
  --card-bg: 0 0% 15%; /* #262626 */
  --text-primary: 0 0% 95%; /* #f2f2f2 */
  --text-secondary: 0 0% 75%; /* #bfbfbf */
  --accent-orange: 22 86% 57%; /* #ee7337 */
  --glass-bg: 0 0% 20% / 0.1;
  --glass-border: 0 0% 100% / 0.1;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 0;
  --card-padding: 1.5rem;
  
  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, hsl(var(--primary-bg)), hsl(var(--secondary-bg)));
  color: hsl(var(--text-primary));
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Glassmorphism Utility */
.glass {
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsla(0, 0%, 0%, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsla(var(--glass-border));
  transition: var(--transition-medium);
}

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

.logo h1 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: hsl(var(--text-primary));
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: hsl(var(--text-primary));
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: hsl(var(--accent-orange));
}

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: hsl(var(--text-primary));
  margin: 3px 0;
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsla(0, 0%, 0%, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateX(100%);
  transition: var(--transition-medium);
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.mobile-nav-list {
  list-style: none;
  text-align: center;
}

.mobile-nav-list li {
  margin: 2rem 0;
}

.mobile-nav-link {
  color: hsl(var(--text-primary));
  text-decoration: none;
  font-size: var(--font-size-2xl);
  font-weight: 600;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: hsl(var(--accent-orange));
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://storage.googleapis.com/msgsndr/i6z0V0P6Us6Fi1eXBKMm/media/683b05af082dfc3d3263dcf3.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

/* Mobile background */
@media (max-width: 768px) {
  .hero-background {
    background-image: url('https://storage.googleapis.com/msgsndr/i6z0V0P6Us6Fi1eXBKMm/media/683b05af082dfc1da663dcf2.webp');
    background-position: center top;
  }
  
  .hero-background::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  }
}



.hero-content {
  max-width: 800px;
  padding: 100px 2rem 100px 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-headline {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.mobile-title {
  display: none;
}

.desktop-title {
  display: block;
}

.hero-subheadline {
  font-size: var(--font-size-lg);
  color: hsl(var(--text-secondary));
  margin-bottom: 2rem;
}

.cta-button {
  background: hsl(var(--accent-orange));
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background: hsl(var(--accent-orange) / 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px hsla(var(--accent-orange), 0.3);
}

/* Hero Carousel - Netflix Style */
.hero-carousel {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0 40px 0;
}

/* Desktop and tablet margin-top */
@media (min-width: 769px) {
  .hero-carousel {
    margin-top: 80px;
  }
}

.hero-carousel .carousel-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Mobile adjustments for hero carousel - show one image at a time with peek */
@media (max-width: 768px) {
  .hero-carousel {
    padding: 0;
    margin: 0;
  }
  
  .hero-carousel .carousel-container {
    width: 100%;
    padding: 0 20px;
    overflow: hidden;
  }
  
  .hero-carousel .carousel-track {
    gap: 16px;
    padding: 0;
  }
  
  .hero-course-card {
    width: calc(100vw - 80px);
    min-width: calc(100vw - 80px);
    max-width: calc(100vw - 80px);
    flex-shrink: 0;
    height: calc(100vw - 80px);
    margin-right: 0;
  }
  
  .hero-course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}



.hero-carousel .carousel-track {
  display: flex;
  gap: 0.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
  width: fit-content;
}

/* Mobile override for hero carousel track */
@media (max-width: 768px) {
  .hero-carousel .carousel-track {
    gap: 16px !important;
  }
}

.hero-course-card {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 300px;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  border: none;
  backdrop-filter: none;
  flex-shrink: 0;
  flex-grow: 0;
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Mobile override for hero course cards */
@media (max-width: 768px) {
  .hero-course-card {
    width: calc(100vw - 80px) !important;
    min-width: calc(100vw - 80px) !important;
    max-width: calc(100vw - 80px) !important;
    height: calc(100vw - 80px) !important;
  }
}

.hero-course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-number {
  position: absolute;
  left: -10px;
  bottom: -5px;
  font-size: 120px;
  font-weight: 900;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  z-index: 50;
  line-height: 1;
  font-family: 'Arial Black', Arial, sans-serif;
  -webkit-text-stroke: 3px #333;
  text-stroke: 3px #333;
}

.hero-course-card:hover {
  transform: scale(1.3) translateY(-15px);
  z-index: 100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  transition-delay: 0.2s;
}

.hero-course-card:hover .hero-card-image::after {
  opacity: 0.7;
}

.hero-card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 4px;
}

.hero-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
  transition: opacity 0.3s ease;
  opacity: 0.4;
}

/* Netflix-style carousel buttons */
.hero-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(42, 42, 42, 0.8);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 200;
  opacity: 0;
  backdrop-filter: blur(10px);
}

.hero-carousel:hover .carousel-btn {
  opacity: 1;
}

.hero-carousel .carousel-btn:hover {
  background: rgba(42, 42, 42, 0.95);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel .carousel-btn-prev {
  left: 0.5rem;
}

.hero-carousel .carousel-btn-next {
  right: 0.5rem;
}

.hero-carousel .carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* Search Container */
.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto 250px;
  z-index: 1000;
}

/* Desktop and tablet margin-bottom */
@media (min-width: 769px) {
  .search-container {
    margin-bottom: 300px;
  }
}

.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 50px;
  color: hsl(var(--text-primary));
  font-size: var(--font-size-base);
  outline: none;
  transition: var(--transition-fast);
}

.search-input::placeholder {
  color: hsl(var(--text-secondary));
}

.search-input:focus {
  border-color: hsl(var(--accent-orange));
  box-shadow: 0 0 0 3px hsla(var(--accent-orange), 0.2);
}

.search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: hsl(var(--accent-orange));
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-button:hover {
  background: hsl(var(--accent-orange) / 0.9);
}

/* Featured Courses Carousel */
.featured-courses {
  padding: var(--section-padding);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform var(--transition-medium);
  padding: 1rem;
}

.featured-card {
  min-width: 300px;
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-medium);
  cursor: pointer;
}

.featured-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px hsla(0, 0%, 0%, 0.3);
}

.card-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, hsl(var(--card-bg)), hsl(var(--secondary-bg)));
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  opacity: 0;
}

.card-content {
  padding: var(--card-padding);
}

.card-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
  color: hsl(var(--text-primary));
}

.card-content p {
  color: hsl(var(--text-secondary));
  font-size: var(--font-size-sm);
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-primary));
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.carousel-btn:hover {
  background: hsl(var(--accent-orange));
  border-color: hsl(var(--accent-orange));
}

.carousel-btn-prev {
  left: 1rem;
}

.carousel-btn-next {
  right: 1rem;
}

/* Course Categories */
.course-categories {
  padding: var(--section-padding);
  background: linear-gradient(135deg, hsl(var(--secondary-bg)), hsl(var(--card-bg)));
}

.section-title {
  text-align: center;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 3rem;
  color: hsl(var(--text-primary));
}

/* Category Sections */
.category-section {
  margin-bottom: 4rem;
}

.category-header {
  text-align: center;
  margin-bottom: 2rem;
}

.category-header h3 {
  font-size: 32px;
  font-weight: 800;
  color: hsl(var(--accent-orange));
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 0.5rem;
}

.category-header h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: hsl(var(--accent-orange));
  border-radius: 2px;
}

.category-header p {
  color: hsl(var(--text-secondary));
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

.category-course-card {
  min-width: 320px;
  height: 480px;
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-medium);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.category-course-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px hsla(0, 0%, 0%, 0.3);
  border-color: hsl(var(--accent-orange));
}

.category-card {
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
  padding: var(--card-padding);
  transition: var(--transition-medium);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px hsla(0, 0%, 0%, 0.2);
}

.category-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: hsl(var(--accent-orange));
  margin-bottom: 0.5rem;
}

.category-header p {
  color: hsl(var(--text-secondary));
  margin-bottom: 1.5rem;
}

.category-courses {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-course-card {
  background: hsla(var(--card-bg), 0.5);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid hsla(var(--glass-border));
  transition: var(--transition-fast);
}

.mini-course-card:hover {
  background: hsla(var(--card-bg), 0.7);
  border-color: hsl(var(--accent-orange));
}

.mini-course-card h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--text-primary));
}

.mini-course-card p {
  font-size: var(--font-size-sm);
  color: hsl(var(--text-secondary));
}

/* Academia COF */
.academia-cof {
  padding: var(--section-padding);
  background: hsl(var(--primary-bg));
}

.academia-course-clickable {
  cursor: pointer;
  transition: var(--transition-medium);
}

.academia-course-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px hsla(0, 0%, 0%, 0.2);
}

.academia-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.academia-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: hsl(var(--accent-orange));
  margin-bottom: 1rem;
}

.academia-content > p {
  font-size: var(--font-size-lg);
  color: hsl(var(--text-secondary));
  margin-bottom: 3rem;
}

.academia-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.academia-course {
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.academia-course:hover {
  background: hsla(var(--card-bg), 0.7);
  border-color: hsl(var(--accent-orange));
  transform: translateY(-5px);
}

.academia-course-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.academia-course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.academia-course:hover .academia-course-image img {
  transform: scale(1.05);
}

.academia-course-content {
  padding: var(--card-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.academia-course-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.academia-course-content p {
  color: hsl(var(--text-secondary));
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin: 0;
}

/* COF Course */
.cof-course {
  padding: var(--section-padding);
  background: linear-gradient(135deg, hsl(var(--secondary-bg)), hsl(var(--primary-bg)));
}

.cof-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cof-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: hsl(var(--accent-orange));
  margin-bottom: 1rem;
}

.cof-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 2rem;
}

.cof-content p {
  font-size: var(--font-size-lg);
  color: hsl(var(--text-secondary));
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.cof-features {
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.cof-objectives {
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
  background-image: url('https://storage.googleapis.com/msgsndr/i6z0V0P6Us6Fi1eXBKMm/media/683d8aa8e4d6165b5b275a03.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.cof-objectives::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsla(var(--glass-bg), 0.6);
  border-radius: 16px;
  z-index: 1;
}

.cof-objectives > * {
  position: relative;
  z-index: 2;
}

.cof-objectives h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 1rem;
}

.cof-objectives ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  padding: 0;
  margin: 0;
}

.cof-objectives li {
  color: hsl(var(--text-secondary));
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0;
}

.cof-objectives li::before {
  content: '';
  position: absolute;
  left: 0;
}

/* Video Section */
.video-section {
  padding: var(--section-padding);
  background: hsl(var(--card-bg));
}

.video-title {
  text-align: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: hsl(var(--text-primary));
  margin-bottom: 1rem;
}

.video-subtitle {
  text-align: center;
  font-size: var(--font-size-lg);
  color: hsl(var(--text-secondary));
  margin-bottom: 3rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
  background: hsl(var(--primary-bg));
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: hsla(var(--glass-border));
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: hsl(var(--text-primary));
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

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

.faq-icon {
  transition: var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

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

.faq-answer p {
  padding: 0 2rem 2rem;
  color: hsl(var(--text-secondary));
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin: 32px 0 0 0;
}

.faq-answer .whatsapp-btn {
  margin: 1rem auto 32px;
  background: #25d366;
  display: block;
  width: fit-content;
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: var(--transition-fast);
}

.whatsapp-btn:hover {
  background: #128c7e;
}

/* Footer */
.footer {
  background: hsl(var(--secondary-bg));
  padding: 3rem 0 1rem;
}

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

/* Desktop footer layout */
@media (min-width: 769px) {
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-logo {
    flex: 1;
    text-align: left;
  }
  
  .footer-contact {
    text-align: right;
    min-width: 200px;
  }
}

.footer-logo h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 1rem;
}

.footer-logo p {
  color: hsl(var(--text-secondary));
  font-size: var(--font-size-base);
}

.footer-contact h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 1rem;
}

.footer-contact p {
  color: hsl(var(--text-secondary));
  font-size: var(--font-size-base);
}

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

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: hsl(var(--text-secondary));
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color 0.3s ease;
}

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

.footer-links span {
  color: hsl(var(--text-secondary));
  margin: 0 0.5rem;
  font-size: var(--font-size-sm);
}

.footer-bottom p {
  color: hsl(var(--text-secondary));
  font-size: var(--font-size-sm);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
    --section-padding: 3rem 0;
  }

  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-headline {
    font-size: var(--font-size-2xl);
  }

  .hero-subheadline {
    font-size: var(--font-size-base);
  }

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

  .carousel-track {
    padding: 1rem 0.5rem;
  }

  .featured-card {
    min-width: 280px;
  }

  .hero-course-card {
    min-width: calc(50% - 0.25rem);
    height: 200px;
    flex: 0 0 calc(50% - 0.25rem);
  }

  .hero-carousel .carousel-container {
    padding: 0 1rem;
  }

  .hero-course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 0.5rem;
  }

  .carousel-btn-next {
    right: 0.5rem;
  }

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

  .cof-objectives {
    background-image: url('https://storage.googleapis.com/msgsndr/i6z0V0P6Us6Fi1eXBKMm/media/683b05af082dfc1da663dcf2.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 300px 2rem 5rem 2rem;
    min-height: 300px;
  }

  .cta-button {
    width: 100%;
    padding: 1.25rem;
  }

  .video-title {
    font-size: var(--font-size-lg);
  }

  .video-subtitle {
    font-size: var(--font-size-base);
  }

  .faq-question {
    font-size: var(--font-size-base);
    padding: 1rem;
  }

  .faq-answer p {
    padding: 0 1rem 1rem;
    font-size: var(--font-size-sm);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero .container {
    margin-bottom: 100px;
  }

  .hero-headline {
    font-size: 24px;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
  }

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

/* Tablet styles */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-headline {
    font-size: 32px;
  }

  .featured-card {
    min-width: 250px;
  }

  .card-padding {
    padding: 1rem;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }
}

/* Smooth scroll */
html {
  scroll-padding-top: 0;
}

/* Focus styles for accessibility */
.cta-button:focus,
.search-input:focus,
.search-button:focus,
.faq-question:focus {
  outline: 2px solid hsl(var(--accent-orange));
  outline-offset: 2px;
}

/* Logo Images */
.logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 250px;
  margin-bottom: 1rem;
}

.hero-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-logo-img {
  height: 80px;
  width: auto;
  max-width: 300px;
}

@media (max-width: 768px) {
  .hero-logo-img {
    height: 60px;
    max-width: 150px;
  }
}



/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Search Message */
.search-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.search-message.show {
  opacity: 1;
  visibility: visible;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, hsl(var(--secondary-bg)), hsl(var(--card-bg)));
  margin: 5% auto;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  border: 1px solid hsla(var(--glass-border));
  backdrop-filter: blur(20px);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close {
  color: hsl(var(--text-secondary));
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close:hover {
  color: hsl(var(--accent-orange));
}

.modal-content h3 {
  color: hsl(var(--text-primary));
  font-size: 24px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal-content p {
  color: hsl(var(--text-secondary));
  text-align: center;
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  color: hsl(var(--text-primary));
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: hsla(var(--glass-bg));
  backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--glass-border));
  border-radius: 8px;
  font-size: 16px;
  color: hsl(var(--text-primary));
  outline: none;
  transition: var(--transition-fast);
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.form-group input[type="tel"] {
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

.form-group input:focus {
  border-color: hsl(var(--accent-orange));
  box-shadow: 0 0 0 2px hsla(var(--accent-orange) / 0.2);
}

.form-group input::placeholder {
  color: hsl(var(--text-secondary));
  font-style: italic;
}

.form-group input[type="tel"]::placeholder {
  color: hsla(var(--text-secondary), 0.5);
  font-style: italic;
  letter-spacing: 0.3px;
  font-size: 14px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: hsl(var(--accent-orange));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 1rem;
}

.form-submit-btn:hover {
  background: #cc5a2a;
  transform: translateY(-2px);
}

/* Banner Styles */
.banner-container {
  margin-bottom: 2rem;
  text-align: center;
}

.banner-desktop,
.banner-mobile {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.banner-mobile {
  display: none;
}

/* Banner responsive behavior */
@media (max-width: 768px) {
  .banner-desktop {
    display: none;
  }
  
  .banner-mobile {
    display: block;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    padding: 1.5rem;
    width: 95%;
  }
  
  .modal-content h3 {
    font-size: 20px;
  }
}
