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

html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: light;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-envelope {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-envelope:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  min-height: 80px;
  width: 100%;
}

.nav {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

.nav-logo h2 {
  color: #667eea;
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  display: inline;
}

.nav-logo {
  display: flex;
  align-items: center;
}

/* Р РЋРЎвЂљР С‘Р В»РЎвЂ“ Р Т‘Р В»РЎРЏ Р В»Р С•Р С–Р С•РЎвЂљР С‘Р С—РЎС“ */
.logo-image {
  height: 90px;
  width: auto;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

/* Ensure nav menu is visible on desktop */
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  
  .nav-menu li {
    display: list-item !important;
  }
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
}

/* Dropdown menu */
.nav-menu li {
  position: relative;
  list-style: none;
}

.dropdown-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-link {
  text-decoration: none;
  color: inherit;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: color 0.3s ease;
}

.dropdown-toggle:hover {
  color: #667eea;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  color: #667eea;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 20px;
}

/* Header Banner */
.header-banner {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-banner:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.banner-image {
  height: 45px;
  width: auto;
  max-width: 350px;
  min-width: 0;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
  flex-shrink: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #667eea;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

/* Main content spacing */
#main-content {
  padding-top: 80px; /* Space for fixed header */
}

/* Mobile main content spacing */
@media (max-width: 768px) {
  #main-content {
    padding-top: 60px; /* Р—РјРµРЅС€РµРЅРёР№ РІС–РґСЃС‚СѓРї РґР»СЏ РјРѕР±С–Р»СЊРЅРёС… */
  }
}

@media (max-width: 480px) {
  #main-content {
    padding-top: 50px; /* Р©Рµ РјРµРЅС€РёР№ РІС–РґСЃС‚СѓРї РґР»СЏ РјР°Р»РµРЅСЊРєРёС… РµРєСЂР°РЅС–РІ */
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  margin-top: 0; /* No top margin needed since main has padding-top */
}

.breadcrumbs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

.breadcrumbs-item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #6c757d;
  font-weight: 300;
}

.breadcrumbs-link {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.breadcrumbs-link:hover {
  color: #667eea;
  background: #e3f2fd;
}

.breadcrumbs-current {
  color: #1a1a1a;
  font-weight: 500;
  padding: 4px 8px;
  background: #e3f2fd;
  border-radius: 4px;
}

/* Responsive breadcrumbs */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 5px 0 10px 0; /* Р—РјРµРЅС€РµРЅРёР№ РІС–РґСЃС‚СѓРї Р·РІРµСЂС…Сѓ РґР»СЏ РјРѕР±С–Р»СЊРЅРёС… */
  }
  
  .breadcrumbs-list {
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .breadcrumbs-item:not(:last-child)::after {
    margin-left: 6px;
  }
}

/* Р вЂќР С•Р Т‘Р В°РЎвЂљР С”Р С•Р Р†РЎвЂ“ РЎРѓРЎвЂљР С‘Р В»РЎвЂ“ Р Т‘Р В»РЎРЏ РЎвЂ¦Р В»РЎвЂ“Р В±Р Р…Р С‘РЎвЂ¦ Р С”РЎР‚Р С‘РЎвЂ¦РЎвЂљ Р Р…Р В° Р Т‘РЎС“Р В¶Р Вµ Р СР В°Р В»Р С‘РЎвЂ¦ Р ВµР С”РЎР‚Р В°Р Р…Р В°РЎвЂ¦ */
@media (max-width: 480px) {
  .breadcrumbs {
    padding: 5px 0 10px 0; /* Р—РјРµРЅС€РµРЅРёР№ РІС–РґСЃС‚СѓРї Р·РІРµСЂС…Сѓ РґР»СЏ РґСѓР¶Рµ РјР°Р»РёС… РµРєСЂР°РЅС–РІ */
  }
  
  .breadcrumbs-list {
    font-size: 0.75rem;
    gap: 4px;
  }
  
  .breadcrumbs-item:not(:last-child)::after {
    margin-left: 4px;
  }
  
  /* Р СљР С•Р В±РЎвЂ“Р В»РЎРЉР Р…РЎвЂ“ РЎРѓРЎвЂљР С‘Р В»РЎвЂ“ Р Т‘Р В»РЎРЏ Р В»Р С•Р С–Р С•РЎвЂљР С‘Р С—РЎС“ */
  .logo-image {
    height: 70px;
  }
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…РЎвЂ“ РЎР‚Р С•Р В·Р СРЎвЂ“РЎР‚Р С‘ Р В»Р С•Р С–Р С•РЎвЂљР С‘Р С—РЎС“ Р Т‘Р В»РЎРЏ РЎР‚РЎвЂ“Р В·Р Р…Р С‘РЎвЂ¦ Р ВµР С”РЎР‚Р В°Р Р…РЎвЂ“Р Р† */
@media (max-width: 480px) {
  .logo-image {
    height: 60px;
  }
}

/* Courses Page Styles */
.courses-overview {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.course-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Р С™Р С•Р В»РЎРЉР С•РЎР‚Р С•Р Р†РЎвЂ“ РЎР‚Р В°Р СР С”Р С‘ Р Т‘Р В»РЎРЏ РЎР‚РЎвЂ“Р В·Р Р…Р С‘РЎвЂ¦ Р С”РЎС“РЎР‚РЎРѓРЎвЂ“Р Р† */
.course-card.featured {
  border: 2px solid #667eea !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

/* AI Р Т‘Р В»РЎРЏ Р С”Р ВµРЎР‚РЎвЂ“Р Р†Р Р…Р С‘Р С”РЎвЂ“Р Р† - РЎРѓР С‘Р Р…РЎРЏ РЎР‚Р В°Р СР С”Р В° */
.course-card.course-c-level,
.course-card.featured.course-c-level,
.courses-grid .course-card.course-c-level,
.courses-grid .course-card.featured.course-c-level {
  border: 2px solid #667eea !important;
}

/* AI Р Т‘Р В»РЎРЏ Product Manager - РЎвЂћРЎвЂ“Р С•Р В»Р ВµРЎвЂљР С•Р Р†Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-pm,
.courses-grid .course-card.course-pm {
  border: 2px solid #764ba2 !important;
}

/* AI Р Т‘Р В»РЎРЏ HR - Р В·Р ВµР В»Р ВµР Р…Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-hr,
.courses-grid .course-card.course-hr {
  border: 2px solid #28a745 !important;
}

/* AI Р Т‘Р В»РЎРЏ РЎР‹РЎР‚Р С‘РЎРѓРЎвЂљРЎвЂ“Р Р† - Р С•РЎР‚Р В°Р Р…Р В¶Р ВµР Р†Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-legal,
.courses-grid .course-card.course-legal {
  border: 2px solid #fd7e14 !important;
}

/* AI Р Т‘Р В»РЎРЏ Р С—РЎР‚Р С•Р Т‘Р В°Р В¶РЎвЂ“Р Р† - РЎвЂЎР ВµРЎР‚Р Р†Р С•Р Р…Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-sales,
.courses-grid .course-card.course-sales {
  border: 2px solid #dc3545 !important;
}

/* AI Р Т‘Р В»РЎРЏ Р В±РЎвЂ“Р В·Р Р…Р ВµРЎРѓ-Р В°Р Р…Р В°Р В»РЎвЂ“РЎвЂљР С‘Р С”РЎвЂ“Р Р† - РЎвЂљР ВµР СР Р…Р С•-РЎРѓР С‘Р Р…РЎРЏ РЎР‚Р В°Р СР С”Р В° */
.course-card.course-ba,
.courses-grid .course-card.course-ba {
  border: 2px solid #2c3e50 !important;
}

/* AI Р Т‘Р В»РЎРЏ Р СР В°РЎР‚Р С”Р ВµРЎвЂљР С•Р В»Р С•Р С–РЎвЂ“Р Р† - РЎвЂћРЎвЂ“Р С•Р В»Р ВµРЎвЂљР С•Р Р†Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-marketing,
.courses-grid .course-card.course-marketing {
  border: 2px solid #8e44ad !important;
}

/* AI Р Т‘Р В»РЎРЏ Р С—РЎвЂ“Р Т‘Р С—РЎР‚Р С‘РЎвЂќР СРЎвЂ РЎвЂ“Р Р† - Р В·Р ВµР В»Р ВµР Р…Р С•-РЎРѓР С‘Р Р…РЎРЏ РЎР‚Р В°Р СР С”Р В° */
.course-card.course-entrepreneur,
.courses-grid .course-card.course-entrepreneur {
  border: 2px solid #20c997 !important;
}

/* AI Р Т‘Р В»РЎРЏ Р С”Р В»РЎвЂ“РЎвЂќР Р…РЎвЂљРЎРѓРЎРЉР С”Р С•Р С–Р С• РЎРѓР ВµРЎР‚Р Р†РЎвЂ“РЎРѓРЎС“ - РЎРѓРЎвЂ“РЎР‚Р С•-РЎРѓР С‘Р Р…РЎРЏ РЎР‚Р В°Р СР С”Р В° */
.course-card.course-customer-service,
.courses-grid .course-card.course-customer-service {
  border: 2px solid #6c757d !important;
}

/* AI Р Т‘Р В»РЎРЏ РЎвЂћРЎвЂ“Р Р…Р В°Р Р…РЎРѓР С‘РЎРѓРЎвЂљРЎвЂ“Р Р† - Р В·Р ВµР В»Р ВµР Р…Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-finance,
.courses-grid .course-card.course-finance {
  border: 2px solid #28a745 !important;
}

/* Р вЂ”Р В°Р С–Р В°Р В»РЎРЉР Р…Р С‘Р в„– Р С”РЎС“РЎР‚РЎРѓ AI - Р В±Р В»Р В°Р С”Р С‘РЎвЂљР Р…Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-general,
.courses-grid .course-card.course-general {
  border: 2px solid #17a2b8 !important;
}

/* L&D Р С”РЎС“РЎР‚РЎРѓ - Р В·Р С•Р В»Р С•РЎвЂљР В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-ld,
.courses-grid .course-card.course-ld {
  border: 2px solid #ffc107 !important;
}

/* Р вЂ Р Р…Р Т‘Р С‘Р Р†РЎвЂ“Р Т‘РЎС“Р В°Р В»РЎРЉР Р…Р В° Р С—РЎР‚Р С•Р С–РЎР‚Р В°Р СР В° - Р С—РЎС“РЎР‚Р С—РЎС“РЎР‚Р Р…Р В° РЎР‚Р В°Р СР С”Р В° */
.course-card.course-custom,
.courses-grid .course-card.course-custom {
  border: 2px solid #6f42c1 !important;
}

.course-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
}

.course-header h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.course-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1rem;
}

.course-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.course-features .feature {
  background: #f8f9fa;
  color: #495057;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  border: 1px solid #e9ecef;
}

.course-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #667eea;
}

.duration {
  color: #6c757d;
  font-size: 0.9rem;
}

.course-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
}

.course-actions .btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

/* Course Formats */
.course-formats {
  padding: 80px 0;
  background: white;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.format-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.format-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.format-card.offline {
  border-color: #667eea;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.format-card.online {
  border-color: #764ba2;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.format-card h3 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 25px;
  text-align: center;
}

.format-card.offline h3 {
  color: #667eea;
}

.format-card.online h3 {
  color: #28a745;
}

.format-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.format-features .feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #495057;
  font-size: 1rem;
}

.format-features .feature::before {
  content: "\2713";
  color: #28a745;
  font-weight: bold;
  font-size: 1.2rem;
}

.format-pricing {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.format-pricing .price {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 8px;
}

.format-pricing .duration {
  color: #6c757d;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Р СџР С•Р С”РЎР‚Р В°РЎвЂ°Р ВµР Р…Р В° Р Р†Р С‘Р Т‘Р С‘Р СРЎвЂ“РЎРѓРЎвЂљРЎРЉ Р С”Р Р…Р С•Р С—Р С•Р С” Р Р† CTA РЎРѓР ВµР С”РЎвЂ РЎвЂ“РЎвЂ” */
.cta-section .btn {
  background: white;
  color: #667eea;
  border: 2px solid white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: translateY(-2px);
}

.cta-section .btn.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-section .btn.btn-secondary:hover {
  background: white;
  color: #667eea;
}

/* Responsive Design for Courses */
@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .course-card {
    padding: 25px;
    height: auto;
    min-height: auto;
  }
  
  .course-header {
    justify-content: flex-start;
  }
  
  .course-pricing {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .course-actions {
    flex-direction: column;
    margin-top: auto;
    padding-top: 20px;
  }
  
  .course-actions .btn {
    width: 100%;
    min-width: auto;
  }
  
  .formats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .format-card {
    padding: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    min-width: 250px;
  }
}

.has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eef1ff;
  border-radius: 10px;
  min-width: 280px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 1001;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
  white-space: normal;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
}
.dropdown-menu a:hover {
  background: #f7f8ff;
  color: #667eea;
}

/* Show on click (desktop and mobile) */
.has-dropdown.open > .dropdown-menu {
  display: block;
}

/* Mobile behavior: inline dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-top: 0.25rem;
  }
  .has-dropdown.open > .dropdown-menu {
    display: block;
  }
}

.nav-menu a:hover {
  color: #667eea;
}

.nav-menu a.active {
  color: #667eea;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 20px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.hero-title .hero-icon {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  margin-right: 0.4rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
  padding: 80px 0;
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-experience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.experience-item {
  text-align: center;
  background: #ffffff;
  padding: 1.25rem 1rem;
  border-radius: 14px;
  border: 1px solid #eef1ff;
  box-shadow: 0 6px 18px rgba(102, 126, 234, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.experience-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.experience-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.18);
}

.experience-item .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
}

.experience-item .text {
  color: #666;
  font-size: 0.95rem;
}

/* Local tweaks for the headline quote card wrapper */
.headline-quote-card {
  text-align: left;
  margin-bottom: 2rem;
}

.headline-quote-card p {
  text-align: center;
}

/* Match actual markup: highlight-number inside experience-item */
.experience-item .highlight-number {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.company-logos {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.company-logos img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.company-logos img:hover {
  opacity: 1;
}

/* Why Important Section */
.why-important {
  padding: 80px 0;
  background: #f8f9fa;
}

.problems-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.problems,
.solutions {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.problems h3,
.solutions h3 {
  color: #667eea;
  margin-bottom: 1.5rem;
}

.problems ul,
.solutions ul {
  list-style: none;
}

.problems li,
.solutions li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.problems li:before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: bold;
}

.solutions li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* Courses Section */
.courses {
  padding: 80px 0;
  background: #fff;
}

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

.course-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}



.course-card h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0 0 15px 0;
  line-height: 1.3;
  font-weight: 600;
}

.course-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1rem;
}

.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.course-card li {
  position: relative;
  padding: 8px 0 8px 25px;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 8px;
}

.course-card li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  color: #667eea;
  font-weight: bold;
  font-size: 1rem;
}

.course-card .course-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
}

.course-card .course-actions .btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

/* Program Section */
.program {
  padding: 80px 0;
  background: #f8f9fa;
}

.program-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.module {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.module-number {
  background: #667eea;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.format-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.format-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #667eea;
}

.format-card .price {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #667eea;
  margin-top: 0.5rem;
}

.program-cta {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, rgb(245, 247, 250) 0%, rgb(195, 207, 226) 100%);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial {
  display: none;
  text-align: center;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.testimonial.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.testimonial-content {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot.active {
  background: #667eea;
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
  transform: scale(1.1);
}

.dot:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.6);
  transform: scale(1.05);
}

/* Responsive dots for mobile */
@media (max-width: 768px) {
  .testimonial-dots {
    gap: 0.3rem;
    margin-top: 1.5rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Testimonials Navigation */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #667eea;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.testimonial-prev {
  left: -60px;
}

.testimonial-next {
  right: -60px;
}

.testimonial-nav:hover {
  background: #5a6fd8;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.testimonial-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.testimonial-nav:focus-visible {
  outline: 3px solid #667eea;
  outline-offset: 2px;
  transform: translateY(-50%) scale(1.05);
}

.testimonial-nav:focus-visible:hover {
  transform: translateY(-50%) scale(1.1);
}

.testimonial-nav svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.testimonial-nav:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: translateY(-50%);
  opacity: 0.6;
}

.testimonial-nav:disabled:hover {
  background: #ccc;
  transform: translateY(-50%);
  opacity: 0.6;
}

.testimonial-nav.loading {
  pointer-events: none;
  opacity: 0.7;
}

.testimonial-nav.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* Mobile responsive for testimonials navigation */
@media (max-width: 768px) {
  .testimonial-nav {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.9);
    backdrop-filter: blur(10px);
  }
  
  .testimonial-nav svg {
    width: 18px;
    height: 18px;
  }
  
  .testimonial-prev {
    left: 10px;
  }
  
  .testimonial-next {
    right: 10px;
  }
  
  .testimonial-nav:hover {
    background: rgba(90, 111, 216, 0.95);
  }
  
  .testimonial-dots {
    margin: 0 1rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .testimonial-prev {
    left: 5px;
  }
  
  .testimonial-next {
    right: 5px;
  }
  
  .testimonial-nav {
    width: 36px;
    height: 36px;
  }
  
  .testimonial-nav svg {
    width: 16px;
    height: 16px;
  }
}

/* Very small screens - position buttons inside content area */
@media (max-width: 360px) {
  .testimonial-prev {
    left: 5px;
  }
  
  .testimonial-next {
    right: 5px;
  }
  
  .testimonial-nav {
    width: 32px;
    height: 32px;
  }
  
  .testimonial-nav svg {
    width: 14px;
    height: 14px;
  }
  

}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: #f8f9fa;
}

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

.faq .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

/* Ensure readable contrast when FAQ item is hovered/focused/active */
.faq-question:hover,
.faq-question:focus {
  background: #ffffff;
  color: #000000;
}

.faq-question:hover h3,
.faq-question:focus h3,
.faq-question:hover .faq-toggle,
.faq-question:focus .faq-toggle {
  color: #000000;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #667eea;
  transition: transform 0.3s ease;
}

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

.faq-answer.active {
  max-height: none;
  overflow: visible;
}

.faq-answer.active {
  max-height: none;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

/* Selected text stays readable: black on white */
.faq-question::selection,
.faq-question *::selection,
.faq-answer::selection,
.faq-answer *::selection {
  background: #ffffff;
  color: #000000;
}

/* FAQ Results List */
.faq-results-list {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  list-style: none;
}

.faq-results-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.5;
}

.faq-results-list li:before {
  content: "РІР‚Сћ";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.faq-results-list li:last-child {
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #fff;
}

.contact-form-centered {
  max-width: 600px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

.contact-item .icon {
  font-size: 2rem;
}

.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo h3 {
  color: #667eea;
  margin-bottom: 0.5rem;
}

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

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #667eea;
}

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

.social-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #667eea;
}

.footer-contact .contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact .contact-links a,
.footer-contact .contact-links span {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-contact .contact-links a:hover {
  color: #667eea;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #999;
}

/* New footer styles */
.footer-contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.footer-contact .contact-icon {
  font-size: 1.2rem;
  min-width: 1.5rem;
}

.footer-contact .contact-item a,
.footer-contact .contact-item span {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-contact .contact-item a:hover {
  color: #667eea;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social h4 {
  color: #ccc;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-social .social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social .social-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-social .social-link:hover {
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-social .social-links {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-contact .contact-info {
    align-items: center;
  }
  
  .footer-contact .contact-item {
    justify-content: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e9ecef;
  }

  .nav-menu.active {
    display: flex;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .nav-menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
    display: block;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #f8f9fa;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dropdown-menu li {
    margin: 0.25rem 0;
  }

  .dropdown-menu a {
    padding: 0.5rem 0;
    border-bottom: none;
    color: #6c757d;
  }

  .dropdown-menu a:hover {
    color: #667eea;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }
  
  /* Ensure proper spacing between button and menu toggle */
  .header-actions {
    margin-right: 75px;
    margin-left: 5px;
    flex-shrink: 0;
    gap: 0.25rem !important;
  }

  .nav-container {
    position: relative;
    padding-right: 10px;
    padding-left: 15px;
  }

  .nav-logo {
    padding-left: 0;
    margin-right: 5px;
    flex-shrink: 0;
  }

  .logo-image {
    height: 60px;
  }

  .header-banner {
    margin-right: 8px;
    flex-shrink: 1;
  }

  .btn-envelope {
    padding: 8px 10px;
    font-size: 0.7rem;
    margin-right: 0;
    white-space: nowrap;
  }

  .btn-envelope svg {
    width: 14px;
    height: 14px;
  }

  /* Mobile banner styles */
  .banner-image {
    height: 25px;
    max-width: 120px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .problems-solutions {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .program-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-experience {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .hero {
    padding: 40px 0 60px;
    min-height: auto;
    height: auto;
    max-height: none;
  }

  .about,
  .why-important,
  .courses,
  .program,
  .testimonials,
  .faq,
  .contact {
    padding: 60px 0;
  }

  /* Close mobile menu when clicking outside */
  .nav-menu.active {
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

  .hero {
    padding: 30px 0 60px;
    min-height: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .format-cards {
    gap: 0.5rem;
  }

  .format-card {
    padding: 1rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 320px) {
  .hero {
    padding: 20px 0 60px;
    min-height: auto;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
  scroll-padding-top: 100px;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Print styles */
@media print {
  .header,
  .nav,
  .hero-buttons,
  .btn,
  .contact-form,
  .footer {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero {
    padding: 20px 0;
    background: white;
  }

  .section-title {
    page-break-after: avoid;
  }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid #000;
  }

  .btn-secondary {
    border: 2px solid #000;
    background: #fff;
    color: #000;
  }
}

/* Dark mode disabled: force light theme regardless of system settings */

/* Focus visible for better accessibility */
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Utility classes */

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
.p-4 {
  padding: 2rem;
}

/* CTA Block Styles */
.cta-block {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 48px 0 48px 0;
  margin: 0 0 40px 0;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}
.cta-block h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta-block p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-block .btn-primary {
  background: #fff;
  color: #667eea;
  font-weight: 700;
  border: 2px solid #fff;
}
.cta-block .btn-primary:hover {
  background: #764ba2;
  color: #fff;
  border: 2px solid #fff;
}

/* FAQ Results List Design */
.faq-results-list {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem 2rem;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
  color: #333;
  list-style: disc inside;
}
.faq-results-list li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  position: relative;
  padding-left: 1.2em;
  list-style: none;
}
.faq-results-list li:before {
  content: "\2713";
  color: #667eea;
  position: absolute;
  left: 0;
}

/* Course Card Button Alignment */
.courses-grid {
  align-items: stretch;
}
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card .btn {
  margin-top: auto;
}

/* Grouped actions in course cards */
.course-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Course Card Headings (for dark backgrounds) */
.course-card h3 {
  color: #fff;
  background: #667eea;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Section Titles for mobile */
@media (max-width: 768px) {
  /* Р СњР В° РЎвЂљР ВµР СР Р…Р С•Р СРЎС“ РЎвЂћР С•Р Р…РЎвЂ“ РІР‚вЂќ РЎвЂљРЎвЂ“Р В»РЎРЉР С”Р С‘ Р В±РЎвЂ“Р В»Р С‘Р в„– РЎвЂљР ВµР С”РЎРѓРЎвЂљ */
  .cta-block,
  .cta-block *,
  .course-card h3,
  .footer,
  .footer *,
  .btn-primary,
  .btn-primary:visited {
    color: #fff;
  }
  .cta-block h2,
  .cta-block p {
    color: #fff;
  }
  .course-card h3 {
    color: #fff;
    background: #667eea;
  }
  .footer .footer-logo h3,
  .footer .footer-links a,
  .footer .footer-bottom,
  .footer .social-links a {
    color: #fff;
  }
  /* Р СњР В° РЎРѓР Р†РЎвЂ“РЎвЂљР В»Р С•Р СРЎС“ РЎвЂћР С•Р Р…РЎвЂ“ РІР‚вЂќ РЎвЂЎР С•РЎР‚Р Р…Р С‘Р в„– РЎвЂљР ВµР С”РЎРѓРЎвЂљ */
  .about,
  .about *,
  .company-logos,
  .company-logos *,
  .section-title,
  .contact,
  .contact * {
    color: #111;
  }
  .section-title {
    color: #111;
  }
  /* Р вЂ™РЎвЂ“Р Т‘Р С–РЎС“Р С”Р С‘ Р С”Р С•Р СР С—Р В°Р Р…РЎвЂ“Р в„– РІР‚вЂќ РЎРЏР С”РЎвЂ°Р С• РЎвЂћР С•Р Р… РЎРѓР Р†РЎвЂ“РЎвЂљР В»Р С‘Р в„–, РЎвЂљР ВµР С”РЎРѓРЎвЂљ РЎвЂЎР С•РЎР‚Р Р…Р С‘Р в„– */
  .testimonials .section-title {
    color: #111;
  }
  /* Р С™Р С•Р Р…РЎвЂљР В°Р С”РЎвЂљР С‘ РІР‚вЂќ РЎРЏР С”РЎвЂ°Р С• РЎвЂћР С•Р Р… РЎРѓР Р†РЎвЂ“РЎвЂљР В»Р С‘Р в„–, РЎвЂљР ВµР С”РЎРѓРЎвЂљ РЎвЂЎР С•РЎР‚Р Р…Р С‘Р в„– */
  .contact .section-title {
    color: #111;
  }
}

/* Р В¤РЎвЂ“Р С”РЎРѓ Р СР С•Р В±РЎвЂ“Р В»РЎРЉР Р…Р С•Р С–Р С• Р С”Р С•Р В»РЎРЉР С•РЎР‚РЎС“ РЎвЂљР ВµР С”РЎРѓРЎвЂљРЎС“ Р С”Р Р…Р С•Р С—Р С”Р С‘ Р Р† CTA: Р В±РЎвЂ“Р В»Р С‘Р в„– РЎвЂћР С•Р Р… РІвЂ вЂ™ РЎвЂћРЎвЂ“Р С•Р В»Р ВµРЎвЂљР С•Р Р†Р С‘Р в„– РЎвЂљР ВµР С”РЎРѓРЎвЂљ */
@media (max-width: 768px) {
  .cta-block .btn-primary,
  .cta-block .btn-primary:visited {
    color: #667eea;
    background: #fff;
    border-color: #fff;
  }
}

/* Р В¤РЎвЂ“Р С”РЎРѓ: Р Р…Р В° Р СР С•Р В±РЎвЂ“Р В»РЎРЉР Р…Р С•Р СРЎС“ Р Р† Р В±Р В»Р С•РЎвЂ РЎвЂ“ Р С”Р С•Р Р…РЎвЂљР В°Р С”РЎвЂљРЎвЂ“Р Р† РЎвЂљР ВµР С”РЎРѓРЎвЂљ Р С”Р Р…Р С•Р С—Р С”Р С‘ Р В·Р В°Р Р†Р В¶Р Т‘Р С‘ Р В±РЎвЂ“Р В»Р С‘Р в„– */
@media (max-width: 768px) {
  .contact .btn-primary,
  .contact .btn-primary:visited {
    color: #fff;
  }
}

/* Testimonials Section Title */
.testimonials .section-title {
  color: #111;
}

/* Contact Section Title */
.contact .section-title {
  color: #111;
}
/* Hero image now visible on mobile devices */
.highlight-title {
  font-weight: bold;
  color: #667eea; /* Use the same color as in the desktop version */
}

.highlight-number {
  font-weight: bold;
  color: #667eea; /* Use the same color as in the desktop version */
}
@media (max-width: 768px) {
  .highlight-title,
  .highlight-number {
    color: #667eea;
  }
}

/* Quote-style title for 'AI РІР‚вЂќ Р Р…Р Вµ РЎвЂљРЎР‚Р ВµР Р…Р Т‘, Р В° Р С”Р С•Р Р…Р С”РЎС“РЎР‚Р ВµР Р…РЎвЂљР Р…Р В° Р С—Р ВµРЎР‚Р ВµР Р†Р В°Р С–Р В°' */
.quote-title {
  color: #667eea;
  font-style: italic;
  padding-left: 0.75rem;
}
.quote-title::before {
  content: "\201C";
  margin-right: 0.25em;
}
.quote-title::after {
  content: "\201D";
  margin-left: 0.25em;
}

/* Course Page Styles */
.course-target {
  padding: 80px 0;
  background: #f8f9fa;
}

.target-description {
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

.course-formats {
  padding: 80px 0;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.format-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.format-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.format-card.offline {
  border-color: #667eea;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.format-card.online {
  border-color: #764ba2;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.format-card h3 {
  margin-bottom: 20px;
  color: #1a1a1a;
  font-size: 1.5rem;
}

.format-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.format-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.duration {
  font-weight: 500;
  color: #555;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: #667eea;
}

.format-details {
  text-align: center;
  color: #666;
  line-height: 1.6;
}

.format-details p {
  margin-bottom: 10px;
}

.course-program {
  padding: 80px 0;
  background: #f8f9fa;
}

.program-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.module {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.module:hover {
  transform: translateY(-3px);
}

.module-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.module-content h4 {
  margin-bottom: 8px;
  color: #1a1a1a;
}

.module-content p {
  color: #666;
  margin-bottom: 0;
}

.learning-format {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.learning-format h3 {
  margin-bottom: 30px;
  color: #1a1a1a;
}

.format-breakdown {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.format-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.percentage {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
}

.type {
  color: #666;
  font-weight: 500;
}

.format-description {
  color: #888;
  font-style: italic;
}

.course-tools {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.course-tools h3 {
  margin-bottom: 30px;
  color: #1a1a1a;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.tool-item {
  background: #f8f9fa;
  color: #667eea;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  border: 2px solid #eef1ff;
  transition: all 0.3s ease;
  width: 120px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.tool-item:hover {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
  transform: translateY(-2px);
}

.course-results {
  padding: 80px 0;
}

.results-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.results-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.result-icon {
  color: #667eea;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.result-item span:last-child {
  color: #555;
  line-height: 1.5;
}

.course-lecturer {
  padding: 80px 0;
  background: #fff;
}

.lecturer-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.lecturer-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lecturer-info h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.lecturer-title {
  font-size: 1.1rem;
  color: #667eea;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.lecturer-positions,
.lecturer-experience {
  margin-bottom: 25px;
}

.lecturer-positions h4,
.lecturer-experience h4 {
  color: #1a1a1a;
  margin: 1.5rem 0 0.75rem 0;
  font-size: 1rem;
}

.lecturer-positions ul,
.lecturer-experience ul {
  list-style: none;
  padding: 0;
}

.lecturer-positions li,
.lecturer-experience li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.lecturer-positions li:last-child,
.lecturer-experience li:last-child {
  margin-bottom: 0;
}

.lecturer-positions li::before,
.lecturer-experience li::before {
  content: "РІР‚Сћ";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: #667eea;
  font-size: 1.2rem;
  font-weight: bold;
}

.course-benefits {
  padding: 80px 0;
}

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

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item h4 {
  color: #1a1a1a;
  margin-bottom: 15px;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
}

.course-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

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

.cta-content h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Responsive Design for Course Pages */
@media (max-width: 768px) {
  .formats-grid {
    grid-template-columns: 1fr;
  }

  .format-card {
    padding: 20px;
  }

  .format-option {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .program-modules {
    grid-template-columns: 1fr;
  }

  .format-breakdown {
    gap: 20px;
  }

  .results-list {
    grid-template-columns: 1fr;
  }

  .lecturer-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lecturer-image {
    max-width: 100%;
    margin: 0 auto;
  }

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

  .course-target,
  .course-formats,
  .course-program,
  .course-results,
  .course-lecturer,
  .course-benefits,
  .course-cta {
    padding: 60px 0;
  }
}

/* Course CTA Button - Light Style */
.course-cta .btn-primary {
  background: #ffffff;
  color: #667eea;
  border: 2px solid #667eea;
}

.course-cta .btn-primary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Highlight key phrases in format-details */
.format-details .highlight-phrase {
  color: #667eea;
  font-weight: 600;
}



/* Mobile fixes for CTA button and lecturer section */
@media (max-width: 768px) {
  /* Fix CTA button text color on mobile */
  .course-cta .btn-primary {
    color: #667eea;
    background: #ffffff;
    border-color: #ffffff;
  }
  
  .course-cta .btn-primary:hover {
    color: #ffffff;
    background: #667eea;
    border-color: #667eea;
  }
  
  /* Restructure lecturer section for mobile to match "Р СџРЎР‚Р С• Р СР ВµР Р…Р Вµ" design */
  .course-lecturer .lecturer-profile {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .course-lecturer .lecturer-image {
    order: -1;
    max-width: 100%;
    margin: 0 auto 2rem auto;
  }
  
  .course-lecturer .lecturer-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .course-lecturer .lecturer-info {
    text-align: center;
  }
  
  /* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…РЎвЂ“РЎРѓРЎвЂљРЎРЉ Р Т‘Р В»РЎРЏ Р В±Р В»Р С•Р С”РЎвЂ“Р Р† "Р вЂќР В»РЎРЏ Р С”Р С•Р С–Р С• РЎвЂ Р ВµР в„– Р С”РЎС“РЎР‚РЎРѓ" */
  .course-target .target-list li {
    width: 100%;
    max-width: 400px;
  }
  
  /* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…РЎвЂ“РЎРѓРЎвЂљРЎРЉ Р Т‘Р В»РЎРЏ AI-РЎвЂ“Р Р…РЎРѓРЎвЂљРЎР‚РЎС“Р СР ВµР Р…РЎвЂљРЎвЂ“Р Р† */
  .tool-item {
    width: 100px;
    height: 45px;
    font-size: 0.9rem;
  }
}

/* Structured Target Audience List */
.course-target .target-content {
  background: #f8f9ff;
  padding: 2rem;
  border-radius: 16px;
  text-align: left;
}

.course-target .target-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}

.course-target .target-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-target .target-list li {
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
  border-left: 3px solid #667eea;
  transition: all 0.3s ease;
  width: 500px;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.course-target .target-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.course-target .target-list li::before {
  content: "\2713";
  display: inline-block;
  margin-right: 0.75rem;
  color: #667eea;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Stylized Format Details */
.format-details {
  background: #f8f9ff;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  border: 1px solid #eef1ff;
}

.format-details p {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef1ff;
  font-size: 0.95rem;
  color: #555;
}

.format-details p:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.format-details strong {
  color: #667eea;
  font-weight: 600;
}

/* Results Intro - Blue Color */
.results-intro {
  color: #667eea;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}



/* Benefits Grid Items - Text or Background Styling */
.benefit-item {
  background: #f8f9ff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #eef1ff;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.benefit-item h4 {
  color: #667eea;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.benefit-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* 404 Error Page Styles */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-content h1 {
  font-size: 8rem;
  color: #667eea;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-content h2 {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.error-content p {
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

.error-actions {
  margin-bottom: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: inline-block;
}

.error-actions .btn-primary {
  background: #667eea;
  color: white;
}

.error-actions .btn-primary:hover {
  background: #5a6fd8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.error-actions .btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.error-actions .btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.popular-courses {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
}

.popular-courses h3 {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.course-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-links a {
  color: #667eea;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.course-links a:hover {
  background: #f8f9fa;
  border-color: #667eea;
  transform: translateX(5px);
}

/* 404 Responsive */
@media (max-width: 768px) {
  .error-404 {
    padding: 2rem 0;
  }
  
  .error-content h1 {
    font-size: 6rem;
  }
  
  .error-content h2 {
    font-size: 2rem;
  }
  
  .error-content p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .popular-courses {
    margin: 0 1rem;
  }
}

/* Р вЂќР С•Р Т‘Р В°РЎвЂљР С”Р С•Р Р†РЎвЂ“ РЎРѓРЎвЂљР С‘Р В»РЎвЂ“ Р Т‘Р В»РЎРЏ Р Т‘РЎС“Р В¶Р Вµ Р СР В°Р В»Р С‘РЎвЂ¦ Р ВµР С”РЎР‚Р В°Р Р…РЎвЂ“Р Р† */
@media (max-width: 480px) {
  .header-actions {
    margin-right: 50px;
    gap: 0.25rem !important;
  }
  
  .btn-envelope {
    padding: 8px 12px;
    font-size: 0.8rem;
    margin-right: 5px;
  }

  .mobile-menu-toggle {
    right: 10px;
  }

  /* Smaller banner for very small screens */
  .banner-image {
    height: 25px;
    max-width: 120px;
  }
  
  /* Р вЂќР С•Р Т‘Р В°РЎвЂљР С”Р С•Р Р†Р В° Р С—РЎР‚Р С•Р С”РЎР‚РЎС“РЎвЂљР С”Р В° Р Т‘Р В»РЎРЏ Р Т‘РЎС“Р В¶Р Вµ Р СР В°Р В»Р С‘РЎвЂ¦ Р ВµР С”РЎР‚Р В°Р Р…РЎвЂ“Р Р† */
  .nav-menu.active {
    max-height: calc(100vh - 60px);
  }
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…РЎвЂ“ РЎРѓРЎвЂљР С‘Р В»РЎвЂ“ Р Т‘Р В»РЎРЏ Р СР С•Р В±РЎвЂ“Р В»РЎРЉР Р…Р С‘РЎвЂ¦ Р С—РЎР‚Р С‘РЎРѓРЎвЂљРЎР‚Р С•РЎвЂ”Р Р† */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .section-subtitle {
    max-width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .section-subtitle {
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .courses-grid {
    gap: 15px;
  }
  
  .course-card {
    padding: 20px;
  }
  
  .course-actions {
    gap: 10px;
  }
  
  .course-actions .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .testimonials {
    background: #f8f9fa;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .testimonial-author img {
    margin: 0 auto;
  }
  
  .testimonial-author div {
    text-align: center;
  }
  
  .testimonial-author h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }
  
  .testimonial-author span {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
  }
  
  .testimonial-nav {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.9);
    backdrop-filter: blur(10px);
  }
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3);
}

.field-error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}
 
