/* Inter — self-hosted (latin + cyrillic) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  src: url("../fonts/inter/inter-300-normal-1.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  src: url("../fonts/inter/inter-300-normal-2.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
  src: url("../fonts/inter/inter-300-normal-3.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
  src: url("../fonts/inter/inter-300-normal-4.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  src: url("../fonts/inter/inter-300-normal-5.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  src: url("../fonts/inter/inter-300-normal-6.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url("../fonts/inter/inter-300-normal-7.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  src: url("../fonts/inter/inter-400-normal-8.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  src: url("../fonts/inter/inter-400-normal-9.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
  src: url("../fonts/inter/inter-400-normal-10.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
  src: url("../fonts/inter/inter-400-normal-11.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  src: url("../fonts/inter/inter-400-normal-12.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  src: url("../fonts/inter/inter-400-normal-13.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url("../fonts/inter/inter-400-normal-14.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  src: url("../fonts/inter/inter-500-normal-15.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  src: url("../fonts/inter/inter-500-normal-16.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
  src: url("../fonts/inter/inter-500-normal-17.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
  src: url("../fonts/inter/inter-500-normal-18.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  src: url("../fonts/inter/inter-500-normal-19.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  src: url("../fonts/inter/inter-500-normal-20.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url("../fonts/inter/inter-500-normal-21.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  src: url("../fonts/inter/inter-600-normal-22.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  src: url("../fonts/inter/inter-600-normal-23.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
  src: url("../fonts/inter/inter-600-normal-24.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
  src: url("../fonts/inter/inter-600-normal-25.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  src: url("../fonts/inter/inter-600-normal-26.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  src: url("../fonts/inter/inter-600-normal-27.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url("../fonts/inter/inter-600-normal-28.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  src: url("../fonts/inter/inter-700-normal-29.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  src: url("../fonts/inter/inter-700-normal-30.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
  src: url("../fonts/inter/inter-700-normal-31.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
  src: url("../fonts/inter/inter-700-normal-32.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  src: url("../fonts/inter/inter-700-normal-33.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  src: url("../fonts/inter/inter-700-normal-34.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url("../fonts/inter/inter-700-normal-35.woff2") format("woff2");
}


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

html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: light;
  --brand: #667eea;
  --brand-text: #4a54b8;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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: var(--brand-text);
  border: 2px solid var(--brand-text);
}

.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: 60px;
  width: auto;
  transition: transform 0.3s ease;
  object-fit: contain;
}

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

.logo-link:focus,
.logo-link:focus-visible {
  outline: none;
}

.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;
}


.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; /* desktop — as before */
}

@media (max-width: 768px) {
  #main-content {
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  #main-content {
    padding-top: 76px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background: #f8f9fa;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.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: 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: 10px 0;
  }
  
  .breadcrumbs-list {
    font-size: 0.75rem;
    gap: 4px;
  }
  
  .breadcrumbs-item:not(:last-child)::after {
    margin-left: 4px;
  }
  
  /* Мобільні стилі для логотипу */
  .logo-image {
    height: 50px;
  }
}

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

/* 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: stretch;
  }
  
  .cta-buttons .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

.has-dropdown.open > .dropdown-wrapper > .dropdown-toggle .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;
}

.dropdown-menu--grouped .dropdown-group-label {
  display: block;
  padding: 12px 14px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-text);
  cursor: default;
  user-select: none;
}

.dropdown-menu--grouped .dropdown-group-label:first-child {
  padding-top: 8px;
}

.dropdown-menu--grouped .dropdown-group-label:not(:first-child) {
  margin-top: 0.35rem;
  border-top: 1px solid #eef1ff;
  padding-top: 10px;
}

.dropdown-menu--biz {
  min-width: 300px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

/* Nested submenu (e.g. Консалтинг → Автоматизації) */
.has-dropdown--nested > .dropdown-wrapper {
  width: 100%;
  justify-content: space-between;
  padding-right: 4px;
}

.has-dropdown--nested > .dropdown-wrapper > .dropdown-link {
  display: block;
  flex: 1;
  padding: 10px 14px;
  color: #333;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
}

.has-dropdown--nested > .dropdown-wrapper > .dropdown-link:hover {
  background: #f7f8ff;
  color: #667eea;
}

.has-dropdown--nested > .dropdown-menu--nested {
  top: 0;
  left: 100%;
  margin-left: 2px;
  min-width: 260px;
}

.has-dropdown--nested > .dropdown-wrapper .dropdown-arrow {
  transform: rotate(-90deg);
}

.has-dropdown--nested.open > .dropdown-wrapper .dropdown-arrow {
  transform: rotate(90deg);
}

/* 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;
  }

  .has-dropdown--nested > .dropdown-menu--nested {
    top: auto;
    left: auto;
    margin-left: 0;
    margin-top: 0.25rem;
    min-width: 0;
  }

  .has-dropdown--nested > .dropdown-wrapper .dropdown-arrow,
  .has-dropdown--nested.open > .dropdown-wrapper .dropdown-arrow {
    transform: none;
  }

  .has-dropdown--nested.open > .dropdown-wrapper .dropdown-arrow {
    transform: rotate(180deg);
  }

  .has-dropdown--nested > .dropdown-wrapper > .dropdown-link {
    padding: 0.5rem 0;
  }
}

.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);
  text-align: left;
}

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

.problems ul,
.solutions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
}

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

.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;
}

/* AI Transformation promo (homepage) */
.ai-transformation-promo {
  padding: 0 0 80px;
  background: #f8f9fa;
}

.ai-transformation-promo-card {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.ai-transformation-promo-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #667eea;
  margin-bottom: 1rem;
}

.ai-transformation-promo-title {
  margin-bottom: 1rem;
  text-align: center;
}

.ai-transformation-promo-lead {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: center;
}

.ai-transformation-promo-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  max-width: 100%;
  width: 100%;
  text-align: left;
}

.ai-transformation-promo-steps li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: #495057;
  line-height: 1.5;
}

.ai-transformation-promo-steps li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.ai-transformation-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 480px) {
  .ai-transformation-promo-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-transformation-promo-actions .btn {
    width: 100%;
    max-width: 100%;
  }
}

.ai-transformation-promo--compact {
  padding: 0 0 60px;
}

.ai-transformation-promo--compact .ai-transformation-promo-card {
  padding: 2rem 1.5rem;
}

.ai-transformation-promo--compact .ai-transformation-promo-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.ai-transformation-promo--compact .ai-transformation-promo-lead {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.ai-transformation-promo--compact .ai-transformation-promo-actions .btn {
  padding: 12px 24px;
  font-size: 1rem;
}

.ai-transformation-promo--slim {
  padding: 8px 0 12px;
  background: #f8f9fa;
}

.ai-transformation-promo--slim .ai-transformation-promo-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.15rem;
  text-align: left;
}

.ai-transformation-promo--slim .ai-transformation-promo-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.ai-transformation-promo--slim .ai-transformation-promo-label {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
}

.ai-transformation-promo--slim .ai-transformation-promo-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  text-align: left;
}

.ai-transformation-promo--slim .ai-transformation-promo-title-sub {
  font-weight: 500;
  color: #666;
}

.ai-transformation-promo--slim .ai-transformation-promo-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.ai-transformation-promo--slim .ai-transformation-promo-actions .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .ai-transformation-promo--slim .ai-transformation-promo-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .ai-transformation-promo--slim .ai-transformation-promo-title {
    text-align: center;
  }

  .ai-transformation-promo--slim .ai-transformation-promo-actions {
    justify-content: center;
  }

  .ai-transformation-promo--slim .ai-transformation-promo-actions .btn {
    width: 100%;
  }
}

/* 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-author-name {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.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;
  }
  

}

/* Course related links (SEO internal linking, wave 1) */
.course-related {
  padding: 32px 0;
  background: #fff;
}

.course-related .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.course-related-links {
  margin: 0;
  padding: 20px 24px;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  text-align: center;
  background: #f8fafc;
  border-left: 4px solid #667eea;
  border-radius: 0 8px 8px 0;
}

.course-related-links a {
  color: var(--brand-text);
  font-weight: 500;
  text-decoration: none;
}

.hero-subtitle a,
.why-important a,
.problems-solutions a {
  color: var(--brand-text);
}

.course-related-links a:hover {
  text-decoration: underline;
}

/* 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.35s ease;
  background: #fff;
}

.faq-answer.active {
  max-height: 1200px;
  overflow: hidden;
  padding-bottom: 0.25rem;
}

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

.faq-answer p:has(+ .faq-results-list),
.faq-answer p:has(+ ul) {
  padding-bottom: 0.35rem;
}

/* 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.25rem;
  margin: 0;
  list-style: none;
  background: transparent;
}

.faq-results-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  margin-bottom: 0.25rem;
  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--tight {
  padding: 28px 0 56px;
}

.course-related--after-contact {
  padding: 0 0 48px;
}

.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;
}

/* Submit + Telegram рядом */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
  margin-top: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.form-actions .btn {
  margin: 0 !important;
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
  max-width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
  }

  .form-actions .btn,
  .form-actions a.btn,
  .form-actions button.btn {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 0.3s ease;
  background-color: #fff;
}

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

.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: minmax(200px, 1.1fr) minmax(0, 3.5fr);
  gap: 2.5rem 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

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

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

.footer-brand-name {
  display: block;
  color: #667eea;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-tagline {
  margin: 0;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
}

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

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

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 2rem 1.5rem;
}

.footer-heading {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-links ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

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

.footer-nav-label {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #667eea;
}

.footer-links .footer-nav-label:first-of-type {
  margin-top: 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.88rem;
  line-height: 1.4;
}

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

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 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;
}

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

.footer-bottom p {
  margin: 0 0 0.65rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

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

.footer-bottom-sep {
  color: #666;
}

.privacy-page {
  padding: 2.5rem 0 4rem;
}

.privacy-page .section-title {
  margin-bottom: 1.5rem;
}

.privacy-content {
  max-width: 720px;
  color: #333;
  line-height: 1.7;
}

.privacy-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  color: #1a1a1a;
}

.privacy-content p,
.privacy-content ul {
  margin: 0 0 1rem;
}

.privacy-content ul {
  padding-left: 1.25rem;
}

.privacy-content a {
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-address {
    align-items: center;
  }

  .footer-social {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .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--biz {
    max-height: 65vh;
  }

  .dropdown-menu--grouped .dropdown-group-label {
    padding-left: 0;
    padding-right: 0;
    color: #667eea;
  }

  .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: 50px;
  }


  .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;
  }

  .problems,
  .solutions {
    text-align: left;
    padding: 1.25rem;
  }

  .problems h3,
  .solutions h3,
  .problems ul,
  .solutions ul,
  .problems li,
  .solutions li {
    text-align: left;
  }

  .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: stretch;
  }

  .hero-buttons .btn,
  .cta-buttons .btn,
  .cta-block .btn,
  .btn.btn-large {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .header-actions .btn,
  .header-actions .btn-envelope {
    width: auto;
    max-width: none;
  }

  .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 (fixed header clearance) */
html {
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}

/* 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: transparent;
  border-radius: 0;
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  box-shadow: none;
  color: #555;
  list-style: none;
}
.faq-results-list li {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  list-style: none;
}
.faq-results-list li:before {
  content: "•";
  color: #667eea;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 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;
  }
  
  /* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…РЎвЂ“РЎРѓРЎвЂљРЎРЉ Р Т‘Р В»РЎРЏ 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: center;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-target .target-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 720px;
}

.course-target .target-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
}

.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: 100%;
  max-width: 500px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.course-target .target-list li:hover {
  transform: translateY(-2px);
  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;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .course-target .target-content {
    padding: 1.25rem;
  }

  .course-target .target-list {
    align-items: center;
    max-width: 100%;
  }

  .course-target .target-list li {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1rem;
  }

  .course-target .target-list li:hover {
    transform: none;
  }
}

/* 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: var(--brand-text);
  border: 2px solid var(--brand-text);
}

.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-name {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .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);
  }
}

/* Mobile: buttons & forms fit the screen */
@media (max-width: 768px) {
  .hero-buttons,
  .cta-buttons,
  .ai-transformation-promo-actions,
  .course-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-buttons .btn,
  .cta-buttons .btn,
  .ai-transformation-promo-actions .btn,
  .course-actions .btn,
  .cta-block .btn,
  .cta-section .btn,
  .form-actions .btn,
  .form-actions a.btn,
  .form-actions button.btn,
  .btn.btn-large,
  .btn.btn-primary.btn-large,
  .btn.btn-secondary.btn-large {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .header-actions .btn,
  .header-actions .btn-envelope {
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .contact-form-centered,
  .contact-form {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }

  /* Nested wrappers (double includes) — remove stacked padding */
  .contact-form-centered .contact-form-centered,
  .contact-form .contact-form-centered,
  .contact-form-centered .contact-form,
  .contact-form .contact-form {
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    max-width: none;
    box-shadow: none;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .contact-form-centered,
  .contact-form {
    padding: 0.75rem;
  }

  .hero-buttons .btn,
  .cta-buttons .btn,
  .ai-transformation-promo-actions .btn,
  .course-actions .btn,
  .cta-block .btn,
  .form-actions .btn,
  .btn.btn-large {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .header-actions .btn,
  .header-actions .btn-envelope {
    width: auto;
    max-width: none;
  }
}

/* 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;
}

/* ============================================
   Compact / slim sections (pilot pages)
   Gap between blocks ≈ 10px
   ============================================ */
.course-formats.course-formats--slim,
.about.about--slim,
.course-target.course-target--compact,
.course-benefits.course-benefits--compact,
.testimonials.testimonials--compact,
.faq.faq--compact {
  padding: 10px 0;
}

.course-formats.course-formats--slim .section-title,
.about.about--slim .section-title,
.course-target.course-target--compact .section-title,
.course-benefits.course-benefits--compact .section-title,
.testimonials.testimonials--compact .section-title,
.faq.faq--compact .section-title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.course-formats.course-formats--slim .course-related-links,
.about.about--slim .course-related-links {
  padding: 0;
  background: transparent;
  border-left: none;
  border-radius: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.course-target.course-target--compact .target-list li {
  padding: 0.65rem 1.15rem;
}

.course-benefits.course-benefits--compact .benefits-grid {
  gap: 16px;
}

.course-benefits.course-benefits--compact .benefit-item {
  padding: 18px 16px;
}

.faq.faq--compact .faq-question {
  padding: 1rem 1.15rem;
}

.cta-block.cta-block--compact {
  padding: 16px 0;
  margin: 10px 0;
}

.cta-block.cta-block--compact h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.cta-block.cta-block--compact p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* ============================================
   Page-wide: 10px between all blocks (pilot)
   ============================================ */
main.page-compact > section,
main.page-compact > nav.breadcrumbs {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

main.page-compact > .hero {
  padding-top: 16px !important;
  padding-bottom: 10px !important;
}

main.page-compact > .cta-block {
  margin: 10px 0 !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

main.page-compact > .about:not(.about--slim) .section-title,
main.page-compact > .why-important .section-title,
main.page-compact > .courses .section-title,
main.page-compact > .practice-promise .section-title,
main.page-compact > .course-program .section-title,
main.page-compact > .course-results .section-title,
main.page-compact > .contact .section-title,
main.page-compact .section-title {
  margin-bottom: 0.75rem;
}

main.page-compact > .course-program .program-modules {
  margin-bottom: 16px;
  gap: 12px;
}

main.page-compact > .course-program .module {
  padding: 16px;
  gap: 12px;
  margin-bottom: 0;
}

main.page-compact > .course-program .learning-format {
  padding: 20px 16px;
  margin-top: 0;
}

main.page-compact > .course-program .learning-format h3 {
  margin-bottom: 0.75rem;
}

main.page-compact > .course-program .course-tools,
main.page-compact .course-tools,
main.page-compact .learning-format {
  margin-top: 0.75rem;
}

main.page-compact > .course-results .results-intro {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

main.page-compact > .course-results .result-item {
  padding: 12px 14px;
}

main.page-compact > .contact .contact-form-centered {
  padding: 1.15rem 1.25rem;
}

main.page-compact > .ai-transformation-promo .ai-transformation-promo-card,
main.page-compact > .ai-transformation-promo--compact .ai-transformation-promo-card {
  margin-bottom: 0;
}
 
