/* CSS DESIGN SYSTEM - THERAPIST PORTFOLIO */

/* ========== DESIGN TOKENS (VARIABLES) ========== */
:root {
  /* Colors */
  --bg-page: #faf9f6;
  --bg-card: #ffffff;
  --text-dark: #1d1d1f;
  --text-muted: #6e6e73;
  --text-light: #ffffff;
  
  --accent-orange: #ff7043;
  --accent-orange-hover: #f4511e;
  --accent-orange-light: #fff0eb;
  
  --accent-green: #81c784;
  --accent-green-hover: #4caf50;
  --accent-green-light: #e8f5e9;
  
  --accent-blue: #64b5f6;
  --accent-blue-hover: #1e88e5;
  --accent-blue-light: #e3f2fd;
  
  --accent-purple: #ba68c8;
  --accent-purple-hover: #8e24aa;
  --accent-purple-light: #f3e5f5;
  
  --border-color: #e1e1e6;
  --error-color: #e53935;
  
  /* Fonts */
  --font-headers: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Caveat', cursive;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ========== BASE STYLES ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-headers);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

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

.section-header {
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 112, 67, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 20px;
}

/* ========== HEADER & NAV ========== */
.app-header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 249, 246, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-family: var(--font-headers);
  font-size: 1.3rem;
}

.logo-icon {
  background-color: var(--accent-orange);
  color: var(--text-light);
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-img,
.footer__logo:hover .logo-img {
  transform: scale(1.08);
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  margin-top: -3px;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ========== HERO SECTION ========== */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  position: relative;
  background-image: radial-gradient(rgba(255, 112, 67, 0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-hero {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-blob {
  position: absolute;
  width: 110%;
  height: 110%;
  background: linear-gradient(135deg, rgba(255, 112, 67, 0.2), rgba(129, 199, 132, 0.2));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 1;
  animation: blob-bounce 12s ease-in-out infinite;
}

.hero-image {
  position: relative;
  z-index: 2;
  max-width: 90%;
  height: auto;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@keyframes blob-bounce {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%; }
}

/* ========== METHODS SECTION (TOGGLE) ========== */
.methods-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.toggle-container {
  display: inline-flex;
  background-color: var(--bg-page);
  padding: 0.35rem;
  border-radius: 35px;
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
}

.toggle-btn {
  border: none;
  background: none;
  padding: 0.6rem 1.8rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-muted);
}

.toggle-btn.active {
  background-color: var(--text-dark);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}



.text-green { color: var(--accent-green); }
.text-blue { color: var(--accent-blue); }

.hidden {
  display: none !important;
}



/* ========== METHOD FULL-WIDTH SECTIONS ========== */
.method-fullwidth {
  padding: 4rem 0;
}

.method-fullwidth:nth-child(even) {
  background: var(--bg-card);
}

.method-fullwidth__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.method-fullwidth:nth-child(even) .method-fullwidth__inner {
  direction: rtl;
}

.method-fullwidth:nth-child(even) .method-fullwidth__inner > * {
  direction: ltr;
}

.method-fullwidth__image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.method-fullwidth__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.method-fullwidth__image:hover img {
  transform: scale(1.03);
}

.method-fullwidth__image-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.95);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.method-fullwidth__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.method-fullwidth__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.method-fullwidth__icon--green {
  background: var(--accent-green);
}

.method-fullwidth__icon--blue {
  background: var(--accent-blue);
}

.method-fullwidth__title {
  font-family: var(--font-headers);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.method-fullwidth__subtitle {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

.method-fullwidth__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.method-fullwidth__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.method-fullwidth__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.method-fullwidth__features li i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
}

.method-fullwidth__features li i.bg-green {
  background: var(--accent-green);
}

.method-fullwidth__features li i.bg-blue {
  background: var(--accent-blue);
}

.method-fullwidth__audience-content.hidden {
  display: none;
}

.method-fullwidth__cta {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .method-fullwidth__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .method-fullwidth:nth-child(even) .method-fullwidth__inner {
    direction: ltr;
  }
  .method-fullwidth__title {
    font-size: 1.5rem;
  }
  .method-fullwidth__image {
    order: -1;
  }
}


/* ========== BLOG SECTION & CARDS ========== */
.blog-section {
  padding: 6rem 0;
}

.blog-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

.filter-tag {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tag.active, .filter-tag:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
  border-color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.blog-card {
  background-color: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0,0,0,0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card.hidden {
  display: none !important;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.blog-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-page);
  display: block;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__category {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  z-index: 10;
  border: 1px solid transparent;
}

.blog-card__category.cat-esdm {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.blog-card__category.cat-aba {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue-hover);
  border-color: var(--accent-blue);
}

.blog-card__category.cat-development {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.blog-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.blog-card__title a:hover {
  color: var(--accent-orange);
}

.blog-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
  margin-top: auto;
}

.blog-card__date, .blog-card__read-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== ARTICLE DETAIL LAYOUT ========== */
.article-section {
  padding: 5rem 0;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
}

.article-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.article-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.article-category.cat-esdm {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.article-category.cat-aba {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue-hover);
  border-color: var(--accent-blue);
}

.article-category.cat-development {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-image-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  margin-bottom: 3rem;
  border: 1px solid var(--border-color);
}

.article-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.article-body h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body blockquote {
  border-left: 4px solid var(--accent-orange);
  background-color: var(--accent-orange-light);
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  font-size: 1.05rem;
  font-style: italic;
  margin: 2rem 0;
  color: var(--text-dark);
}

.tip-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-green);
  border-radius: 0 16px 16px 0;
  padding: 1.8rem;
  margin: 2rem 0;
}

.tip-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tip-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.article-promo-banner {
  background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--bg-card) 100%);
  border: 1px solid var(--accent-orange);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 4rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255, 112, 67, 0.05);
}

.article-promo-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.article-promo-banner p {
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  color: var(--text-muted);
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-back-blog:hover {
  color: var(--accent-orange);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.share-btn--telegram {
  background-color: #0088cc;
}

.share-btn--telegram:hover {
  background-color: #0077b3;
}

.share-btn--whatsapp {
  background-color: #25d366;
}

.share-btn--whatsapp:hover {
  background-color: #20ba5a;
}

.share-btn--facebook {
  background-color: #1877f2;
}

.share-btn--facebook:hover {
  background-color: #166fe5;
}

/* ========== METHOD CARDS (HOMEPAGE) ========== */
.method-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg, 1.5rem);
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.method-card h3 {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  margin: 1rem 0 0.5rem;
}
.method-icon-wrapper {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-size: 1.8rem;
  background: rgba(244,140,54,0.1);
  color: var(--accent-orange);
}
.card-aba .method-icon-wrapper {
  background: rgba(59,130,246,0.1);
  color: var(--text-blue);
}
.audience-intro {
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}
.card-aba .audience-intro { color: var(--text-blue); }
.audience-body {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========== AUTHOR COURSES (GLASSMORPHISM STYLE) ========== */
.courses-section {
  padding: 6rem 0;
  position: relative;
}

.methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 4rem;
}

@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.course-glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 2.5rem;
}

[data-theme="dark"] .course-glass-card {
  background: rgba(45, 45, 47, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.course-glass-card:hover {
  transform: translateY(-6px);
}

/* Card custom glow effects based on topic color */
.course-glass-card.card-orange:hover {
  box-shadow: 0 20px 40px rgba(255, 112, 0, 0.12);
  border-color: rgba(255, 122, 0, 0.3);
}

.course-glass-card.card-green:hover {
  box-shadow: 0 20px 40px rgba(40, 167, 69, 0.12);
  border-color: rgba(40, 167, 69, 0.3);
}

/* Card header icon and titles */
.course-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.course-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.card-orange .course-icon-badge {
  color: var(--accent-orange);
  background: var(--accent-orange-light);
  border-color: rgba(255, 122, 0, 0.2);
}

.card-green .course-icon-badge {
  color: var(--accent-green);
  background: var(--accent-green-light);
  border-color: rgba(40, 167, 69, 0.2);
}

.course-glass-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-family: var(--font-headers);
}

.course-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.course-glass-card .course-desc {
  min-height: 72px; /* Fix height for alignment */
}

.course-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.02);
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .course-details {
  background: rgba(255, 255, 255, 0.02);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail-item i {
  color: var(--text-dark);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.card-orange .detail-item i {
  color: var(--accent-orange);
}

.card-green .detail-item i {
  color: var(--accent-green);
}

.course-footer {
  margin-top: auto;
  border-top: 1px dashed var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.price-val {
  font-family: var(--font-headers);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
}

.course-actions {
  display: flex;
  gap: 0.8rem;
}

/* Inline Program Accordion */
.course-program-inline {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.course-program-inline.active {
  max-height: 1000px; /* high limit to fit content */
  opacity: 1;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.program-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-list li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.program-list li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.card-orange .program-list li i {
  color: var(--accent-orange);
}

.card-green .program-list li i {
  color: var(--accent-green);
}

.program-list li strong {
  color: var(--text-dark);
}

.program-downloads {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.2rem;
}

.downloads-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.downloads-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.downloads-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.downloads-list li i {
  color: var(--text-dark);
}

.card-orange .downloads-list li i {
  color: var(--accent-orange);
}

.card-green .downloads-list li i {
  color: var(--accent-green);
}

/* ========== ABOUT & CREDENTIALS SECTION ========== */
.about-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-lead {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.qualifications {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.qual-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qual-num {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.qual-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.credentials-slider-wrapper {
  background-color: var(--bg-page);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.slider-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.slider-desc {
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

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

.slider-track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  position: relative;
}

.slider-arrow {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.slider-arrow:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
  border-color: var(--text-dark);
}

.slider-arrow.prev { left: -10px; }
.slider-arrow.next { right: -10px; }

.cert-card {
  position: absolute;
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 0.8rem;
  width: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: zoom-in;
}

.cert-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 0.8rem;
}

.cert-info h3,
.cert-info h4 {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.cert-card.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  z-index: 5;
}

.cert-card.prev-slide {
  opacity: 0.4;
  visibility: visible;
  transform: scale(0.85) translateX(-110px);
  pointer-events: none;
  z-index: 2;
}

.cert-card.next-slide {
  opacity: 0.4;
  visibility: visible;
  transform: scale(0.85) translateX(110px);
  pointer-events: none;
  z-index: 2;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background-color: var(--accent-orange);
  width: 20px;
  border-radius: 5px;
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 6.5rem 0;
}

.service-categories-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 4.5rem;
}

.service-category-card {
  display: flex;
  background-color: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0,0,0,0.015);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-category-card__image-wrap {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background-color: var(--bg-page);
}

.service-category-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-category-card:hover .service-category-card__image-wrap img {
  transform: scale(1.04);
}

.service-category-card__content {
  flex: 1 1 55%;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-category-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.service-category-card__badge.badge-green {
  background-color: var(--accent-green-light);
  color: var(--accent-green-hover);
  border-color: var(--accent-green);
}

.service-category-card__badge.badge-blue {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue-hover);
  border-color: var(--accent-blue);
}

.service-category-card__badge.badge-orange {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.service-category-card__badge.badge-purple {
  background-color: var(--accent-purple-light);
  color: var(--accent-purple-hover);
  border-color: var(--accent-purple);
}

.service-category-card h2,
.service-category-card h3 {
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-emoji {
  font-size: 1.8rem;
}

.service-category-card__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.service-category-card__meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
}

.service-category-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-category-card__meta i {
  color: var(--accent-orange);
}

.service-category-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.service-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  transition: all 0.25s ease;
  cursor: default;
}

.service-tag:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
  border-color: var(--text-dark);
}

.service-category-card__actions {
  margin-top: auto;
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
}

.service-cta-btn i {
  transition: transform 0.25s ease;
}

.service-cta-btn:hover i {
  transform: translateX(5px);
}

.service-category-card--reverse {
  flex-direction: row-reverse;
}

/* ========== CONTACT SECTION & FORM ========== */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(0,0,0,0.03);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-card-wrapper {
  background-color: var(--bg-page);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.contact-form-content {
  padding: 3rem;
  flex-grow: 1;
  position: relative;
}

.form-subtitle {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.required {
  color: var(--error-color);
}

.form-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-dark);
  transition: all 0.25s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(255, 112, 67, 0.15);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.2rem;
}

.radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.radio-label input {
  display: none;
}

.radio-label:has(input:checked) {
  background-color: var(--accent-orange-light);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.error-msg {
  font-size: 0.75rem;
  color: var(--error-color);
  margin-top: 0.3rem;
  display: none;
  font-weight: 500;
}

.form-input.error {
  border-color: var(--error-color);
  background-color: #fff9f9;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
}

.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-page);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  text-align: center;
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-content {
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-overlay.active .success-content {
  transform: scale(1);
}

.success-icon {
  background-color: var(--accent-orange);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 15px rgba(255,112,67,0.3);
}

.contact-info-panel h3 {
  margin-bottom: 0.5rem;
}

.panel-desc {
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.contact-link-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-link-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-link-item p {
  font-size: 0.9rem;
  margin: 0;
}

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

.social-links a {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.social-links a:hover {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* ========== LIGHTBOX (CERTIFICATES VIEW) ========== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 22, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
  margin-top: 1.5rem;
  color: white;
  text-align: center;
}

.lightbox-caption h4,
.lightbox-caption .lightbox-title-text {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.lightbox-caption p {
  color: #aaa;
  margin: 0;
  font-size: 0.9rem;
}


/* ========== ABOUT & CREDENTIALS TEASER (HOMEPAGE) ========== */
.about-teaser-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
}

.about-teaser-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.about-teaser-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-teaser-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.about-teaser-action {
  margin-top: 2rem;
}

/* ========== ABOUT ME PAGE STYLES ========== */
.about-hero-section {
  padding: 8.5rem 0 5rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 5rem;
  align-items: center;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
}

.about-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.15;
}

.about-hero-title span {
  color: var(--accent-orange);
}

.about-hero-quote {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent-orange);
  padding-left: 1rem;
}

.about-hero-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.about-trust-item {
  display: flex;
  flex-direction: column;
}

.about-trust-num {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.about-trust-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
}

.about-hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-image-decor {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 3px dashed var(--accent-orange);
  border-radius: 24px;
  z-index: 1;
  pointer-events: none;
}

.about-hero-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
}

.about-hero-float-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background-color: var(--bg-card);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.float-badge-icon {
  font-size: 1.1rem;
}

/* My Story */
.section-my-story {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.about-story-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.about-story-text p strong {
  color: var(--text-dark);
}

.about-story-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  border: 1px solid var(--border-color);
  background-color: var(--bg-page);
}

.about-story-image {
  width: 100%;
  height: auto;
  display: block;
}

.about-story-caption {
  padding: 1rem;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Timeline/Education */
.section-education {
  padding: 6rem 0;
}

.timeline-container {
  max-width: 800px;
  margin: 4rem auto 0;
}

.timeline {
  position: relative;
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Gradient line instead of border-left */
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, 
    var(--accent-orange), 
    var(--accent-green), 
    var(--accent-purple), 
    var(--accent-blue), 
    var(--accent-orange)
  );
  border-radius: 10px;
}

.timeline-item {
  position: relative;
}

/* Base dot styling on the line */
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-3rem - 1px);
  top: 6px;
  width: 19px;
  height: 19px;
  background-color: var(--bg-card);
  border: 3px solid var(--border-color);
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover::before {
  transform: scale(1.3);
}

/* Year Badge Base */
.timeline-year {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 30px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.timeline-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  font-family: var(--font-headers);
}

.timeline-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Step specific colors - Dot borders, shadows, backgrounds */

/* Step: Orange */
.timeline-item.step-orange::before {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px var(--accent-orange-light);
}
.timeline-item.step-orange:hover::before {
  background-color: var(--accent-orange);
  box-shadow: 0 0 0 6px var(--accent-orange-light);
}
.timeline-item.step-orange .timeline-year {
  color: var(--accent-orange);
  background-color: var(--accent-orange-light);
}

/* Step: Green */
.timeline-item.step-green::before {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px var(--accent-green-light);
}
.timeline-item.step-green:hover::before {
  background-color: var(--accent-green);
  box-shadow: 0 0 0 6px var(--accent-green-light);
}
.timeline-item.step-green .timeline-year {
  color: var(--accent-green-hover);
  background-color: var(--accent-green-light);
}

/* Step: Purple */
.timeline-item.step-purple::before {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 4px var(--accent-purple-light);
}
.timeline-item.step-purple:hover::before {
  background-color: var(--accent-purple);
  box-shadow: 0 0 0 6px var(--accent-purple-light);
}
.timeline-item.step-purple .timeline-year {
  color: var(--accent-purple-hover);
  background-color: var(--accent-purple-light);
}

/* Step: Blue */
.timeline-item.step-blue::before {
  border-color: var(--accent-blue-hover);
  box-shadow: 0 0 0 4px var(--accent-blue-light);
}
.timeline-item.step-blue:hover::before {
  background-color: var(--accent-blue-hover);
  box-shadow: 0 0 0 6px var(--accent-blue-light);
}
.timeline-item.step-blue .timeline-year {
  color: var(--accent-blue-hover);
  background-color: var(--accent-blue-light);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .timeline {
    padding-left: 2rem;
  }
  .timeline::before {
    left: 4px;
    width: 2px;
  }
  .timeline-item::before {
    left: calc(-2rem - 1px);
    width: 14px;
    height: 14px;
    border-width: 2px;
  }
}

/* Certificates */
.section-certificates {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.about-credentials-wrapper {
  max-width: 800px;
  margin: 4rem auto 0;
  background-color: var(--bg-page);
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid var(--border-color);
}

/* Contact Teaser Card */
.contact-teaser-section {
  padding: 6rem 0;
  background-image: radial-gradient(rgba(255, 112, 67, 0.03) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.contact-teaser-section h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-teaser-section p {
  max-width: 600px;
  margin: 0 auto 2.2rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  .hero-container { gap: 2rem; }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-image-wrapper {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .methods-grid, .courses-grid, .about-grid, .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    text-align: center;
  }
  
  .qualifications {
    justify-content: center;
  }
  
  .contact-info-panel {
    order: -1;
  }
  
  /* Services section stacked */
  .service-categories-list {
    gap: 3rem;
  }
  
  .service-category-card,
  .service-category-card--reverse {
    flex-direction: column;
  }
  
  .service-category-card__image-wrap {
    flex: 0 0 280px;
    min-height: 280px;
    height: 280px;
  }
  
  .service-category-card__content {
    padding: 2.5rem 1.8rem;
  }
  
  .service-category-card__meta {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
  
  /* About pages mobile adjustments */
  .about-teaser-grid,
  .about-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-hero-image-wrap {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .about-story-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-hero-content,
  .about-hero-quote {
    text-align: center;
  }
  
  .about-hero-quote {
    border-left: none;
    border-top: 2px solid var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
    padding: 0.8rem 0;
  }
  
  .about-trust-row {
    justify-content: center;
  }
  
  .about-teaser-image-wrap {
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .app-header {
    height: 70px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .app-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-page);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .app-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .btn-nav {
    width: 100%;
    max-width: 200px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .cert-card.prev-slide {
    transform: scale(0.85) translateX(-70px);
  }
  
  .cert-card.next-slide {
    transform: scale(0.85) translateX(70px);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .container { padding: 0 1.2rem; }
  .contact-form-content { padding: 1.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .quiz-card { padding: 1.5rem; }
  .quiz-answers { flex-direction: column; gap: 1rem; }
  .btn-quiz-answer { padding: 1rem; font-size: 0.95rem; }
  .quiz-question { font-size: 1.15rem; margin-bottom: 1.5rem; }
  .quiz-result-footer { flex-direction: column; gap: 1rem; }
  .quiz-result-footer .btn { width: 100%; }
}

/* ========== DETAILED SERVICE PAGES ========== */
.service-hero-detail {
  padding: 6rem 0 4rem;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.service-hero-detail__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.service-hero-detail__content {
  position: relative;
  z-index: 10;
}

.service-hero-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-hero-detail__breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-hero-detail__breadcrumb a:hover {
  color: var(--accent-orange);
}

.service-hero-detail__title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.service-hero-detail__title span {
  position: relative;
  display: inline-block;
  color: var(--accent-orange);
}

.service-hero-detail__title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 0.15em;
  background-color: var(--accent-orange-light);
  z-index: -1;
}

.service-hero-detail__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.service-hero-detail__image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-hero-detail__image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  border-radius: 40px 10px 40px 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-hero-detail__image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-hero-detail__image-decor {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 15px;
  left: 15px;
  border: 3px solid var(--accent-orange-light);
  border-radius: 40px 10px 40px 10px;
  z-index: 1;
}

.service-hero-detail__float-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background-color: var(--bg-page);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

/* Pain points Section */
.pain-points-section {
  padding: 5rem 0;
}

.pain-points__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pain-card {
  background-color: var(--bg-card);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.pain-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.pain-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.pain-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Custom backgrounds for pain points */
.pain-card--green { border-top: 4px solid var(--accent-green); }
.pain-card--blue { border-top: 4px solid var(--accent-blue); }
.pain-card--orange { border-top: 4px solid var(--accent-orange); }
.pain-card--purple { border-top: 4px solid var(--accent-purple); }

/* Validation Section */
.validation-section {
  padding: 5rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.validation__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.validation__text h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.validation__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.validation__text p strong {
  color: var(--text-dark);
}

.validation__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background-color: var(--bg-page);
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.stat-card__number {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.step-card {
  position: relative;
  background-color: var(--bg-page);
  border-radius: 20px;
  padding: 2.2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.step-card__number {
  font-family: var(--font-headers);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-orange-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.step-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Solutions section - Detail checklist and content */
.solution-section {
  padding: 5rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.solution-container-box {
  background-color: var(--bg-page);
  border-radius: 24px;
  padding: 3.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.solution-box__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.solution-box__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.solution-box__body h3,
.solution-box__body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
}

.solution-box__body h3:first-child,
.solution-box__body h4:first-child {
  margin-top: 0;
}

.solution-box__body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.solution-box__body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.solution-box__body li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.solution-box__body li i {
  margin-top: 0.25rem;
}

.solution-box__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.solution-price {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.solution-price i {
  color: var(--accent-orange);
}

/* Responsiveness for service detail pages */
@media (max-width: 992px) {
  .service-hero-detail__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .service-hero-detail__breadcrumb {
    justify-content: center;
  }
  
  .service-hero-detail__float-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
  }
  
  .validation__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .solution-container-box {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .service-hero-detail__title {
    font-size: 2.2rem;
  }
  
  .validation__stats {
    grid-template-columns: 1fr;
  }
  
  .solution-box__footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ========== COOPERATION TIMELINE STYLES ========== */
.timeline-section {
  padding: 6rem 0;
  background-color: var(--bg-page);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-green), var(--accent-orange), #f06292, var(--accent-blue));
  transform: translateX(-50%);
  border-radius: 4px;
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeUpIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#step1 { animation-delay: 0.1s; }
#step2 { animation-delay: 0.2s; }
#step3 { animation-delay: 0.3s; }
#step4 { animation-delay: 0.4s; }
#step5 { animation-delay: 0.5s; }

.timeline-item:nth-child(even) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(odd) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-badge {
  right: -20px;
}

.timeline-item:nth-child(odd) .timeline-badge {
  left: -20px;
}

.badge-primary { background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-hover)); }
.badge-success { background: linear-gradient(135deg, var(--accent-green), var(--accent-green-hover)); }
.badge-warning { background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover)); }
.badge-danger { background: linear-gradient(135deg, #f06292, #e91e63); }
.badge-info { background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); }

.timeline-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.timeline-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

.timeline-item:hover .timeline-badge {
  transform: scale(1.15) rotate(15deg);
}

.timeline-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.timeline-item:nth-child(even) .timeline-icon {
  color: var(--accent-purple);
}
.timeline-item:nth-child(odd) .timeline-icon {
  color: var(--accent-green);
}
#step3 .timeline-icon { color: var(--accent-orange); }
#step4 .timeline-icon { color: #f06292; }
#step5 .timeline-icon { color: var(--accent-blue); }

.timeline-panel h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.timeline-panel p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Timeline Responsive */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    width: 100% !important;
    padding: 1.5rem 1rem 1.5rem 3.5rem !important;
    text-align: left !important;
    left: 0 !important;
  }

  .timeline-badge {
    left: 0px !important;
    right: auto !important;
  }
}

/* ========== METHOD COMPARISON STYLES ========== */
.comparison-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 4rem;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  background-color: var(--bg-page);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.comparison-table th {
  font-family: var(--font-headers);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  background-color: var(--bg-page);
}

.comparison-table th:first-child {
  width: 25%;
}

.comparison-table th:not(:first-child) {
  width: 37.5%;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.comparison-table td strong {
  color: var(--text-dark);
  font-size: 1.05rem;
}

.row-label {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--text-dark);
  background-color: rgba(0, 0, 0, 0.01);
}

.col-highlight-esdm {
  color: var(--accent-green) !important;
  background-color: var(--accent-green-light) !important;
}

.col-highlight-aba {
  color: var(--accent-blue-hover) !important;
  background-color: var(--accent-blue-light) !important;
}

/* Comparison Table Responsive - Transform to Cards */
@media (max-width: 768px) {
  .comparison-table, 
  .comparison-table thead, 
  .comparison-table tbody, 
  .comparison-table th, 
  .comparison-table td, 
  .comparison-table tr {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-card);
  }

  .comparison-table tr {
    background-color: var(--bg-page);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.01);
    padding: 1.5rem;
    margin-bottom: 0;
  }

  .comparison-table td {
    padding: 0.8rem 0;
    border-bottom: 1px dashed var(--border-color);
  }

  .comparison-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .comparison-table td:first-child {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-orange);
    border-bottom: 2px solid var(--border-color);
    padding-top: 0;
    background: none;
  }

  .comparison-table td:nth-child(2)::before {
    content: "Р”РµРЅРІРµСЂСЃСЊРєР° РјРѕРґРµР»СЊ (ESDM): ";
    display: block;
    font-weight: 700;
    color: var(--accent-green-hover);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
  }

  .comparison-table td:nth-child(3)::before {
    content: "ABA-С‚РµСЂР°РїС–СЏ: ";
    display: block;
    font-weight: 700;
    color: var(--accent-blue-hover);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
  }
}

/* ========== AUDIENCE (Р”Р›РЇ РљРћР“Рћ) SECTION ========== */
.audience-section {
  padding: 6rem 0 3rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.audience-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--accent-orange);
  background: var(--accent-orange-light);
}

.audience-card:nth-child(2) .audience-icon {
  color: var(--accent-green);
  background: var(--accent-green-light);
}

.audience-card:nth-child(3) .audience-icon {
  color: var(--accent-purple, #9b51e0);
  background: rgba(155, 81, 224, 0.1);
}

.audience-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.audience-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 992px) {
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ========== TESTIMONIALS SLIDER SECTION ========== */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonials-slider-container {
  max-width: 800px;
  margin: 3.5rem auto 0 auto;
  position: relative;
  padding: 0 3.5rem;
}

.testimonials-slider {
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-quote {
  font-family: var(--font-headers);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: 'вЂњ';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--border-color);
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.author-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  color: var(--text-dark);
}

.slider-arrow:hover {
  background: var(--accent-orange);
  color: white;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.2);
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  background: var(--accent-orange);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testimonials-slider-container {
    padding: 0 1rem;
  }
  .slider-arrow {
    display: none;
  }
  .testimonial-quote {
    font-size: 1.15rem;
  }
}

/* ========== FAQ ACCORDION SECTION ========== */
.faq-section {
  padding: 6rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 3.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.02);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  padding-right: 1.5rem;
}

.faq-icon-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 2rem;
}

.faq-item.active .faq-body {
  padding-bottom: 1.5rem;
}

.faq-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .faq-header {
    padding: 1.2rem 1.5rem;
  }
   .faq-body {
     padding: 0 1.5rem;
   }
}

/* ========== CONTACTS PAGE ========== */

/* --- Contact Cards Grid --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem auto;
}

.contact-card__title {
  font-family: var(--font-headers);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.contact-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-card__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-orange);
  transition: color 0.2s ease;
}

.contact-card__link:hover {
  color: var(--accent-orange-hover);
}

/* --- Messenger Buttons --- */
.messengers {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.messenger-btn--telegram {
  background: #0088cc;
}

.messenger-btn--viber {
  background: #7360ff;
}

.messenger-btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #bc1888);
}

/* --- Map + Schedule Grid --- */
.map-schedule {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.schedule {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.schedule__title {
  font-family: var(--font-headers);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule__table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.schedule__row:last-child {
  border-bottom: none;
}

.schedule__day {
  font-weight: 500;
  color: var(--text-dark);
}

.schedule__time {
  font-weight: 600;
  color: var(--accent-green);
}

.schedule__time--closed {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

.schedule__note {
  margin-top: 1.2rem;
  padding: 1rem;
  background: var(--accent-orange-light);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  min-height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

/* --- Directions Grid --- */
.directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.direction-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.direction-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.direction-card__title {
  font-family: var(--font-headers);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.direction-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--bg-page) 100%);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta__title {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cta__title span {
  color: var(--accent-orange);
}

.cta__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.cta__benefit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.cta__benefit-icon {
  color: var(--accent-green);
  font-weight: 700;
}

.cta__form-wrapper {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.cta__form-title {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.cta__channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta__channel-btn {
  width: 100%;
  justify-content: center;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.cta__channel-btn i {
  font-size: 1.1rem;
}

/* --- Footer --- */
.app-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer__logo span {
  color: var(--accent-orange);
}

.footer__about {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer__heading {
  font-family: var(--font-headers);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact-item a:hover {
  color: var(--accent-orange);
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.footer__social:hover {
  background: var(--accent-orange);
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__bottom a:hover {
  color: var(--accent-orange);
}

/* --- Focus States (Accessibility) --- */
.contact-card__link:focus-visible,
.footer__link:focus-visible,
.footer__bottom a:focus-visible,
.messenger-btn:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Responsive: Contacts --- */
@media (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .map-schedule {
    grid-template-columns: 1fr;
  }
  .directions__grid {
    grid-template-columns: 1fr;
  }
  .cta__inner {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .messengers {
    flex-direction: column;
    align-items: center;
  }
  .messenger-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ========== MEGA-MENU ========== */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-item-dropdown > .nav-link .dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover > .nav-link .dropdown-icon,
.nav-item-dropdown.active > .nav-link .dropdown-icon {
  transform: rotate(180deg);
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  min-width: 520px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-item-dropdown:hover > .mega-menu,
.nav-item-dropdown.active > .mega-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mega-menu__item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.mega-menu__item:hover {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
}

.mega-menu__item-icon {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  display: block;
}

.mega-menu__item-title {
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.mega-menu__item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mega-menu__footer {
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.8rem;
  text-align: center;
}

.mega-menu__all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-orange);
  transition: color 0.2s ease;
}

.mega-menu__all-link:hover {
  color: var(--accent-orange-hover);
}

/* Mega-menu mobile (accordion) */
@media (max-width: 1024px) {
  .mega-menu {
    position: static;
    transform: none;
    min-width: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1.5rem;
    opacity: 1;
    visibility: visible;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item-dropdown.active > .mega-menu {
    display: block;
    max-height: 500px;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .mega-menu__footer {
    border-top: none;
    padding-top: 0.4rem;
    text-align: left;
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* ========== TRUST INDICATORS ========== */
.trust-section {
  padding: 3rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  padding: 1.5rem;
}

.trust-number {
  font-family: var(--font-headers);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .trust-item {
    padding: 1rem;
  }
  .trust-number {
    font-size: 2rem;
  }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(255, 112, 67, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 112, 67, 0.4);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
  
  .back-to-top.visible-with-cta {
    bottom: 6rem;
  }
}

/* ========== FLOATING CTA BUTTON ========== */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 6rem;
  background-color: var(--accent-orange);
  color: var(--text-light);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(255, 112, 67, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.floating-cta:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 112, 67, 0.45);
  color: var(--text-light);
}

.floating-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    width: auto;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 112, 67, 0.4);
  }
}

/* ========== COOKIE CONSENT BANNER (GDPR) ========== */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1.25rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-consent__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.cookie-consent__actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-consent__btn {
  background-color: var(--text-dark);
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-consent__btn:hover {
  background-color: var(--accent-orange);
  box-shadow: 0 4px 12px rgba(255, 112, 67, 0.2);
}

@media (max-width: 768px) {
  .cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    max-width: none;
  }
}

/* ========== INLINE STYLE REFACTORING ========== */
/* Courses grid */
.courses-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Course card clickable */
.course-card-clickable {
  cursor: pointer;
}

/* Course card link row */
.course-card-link {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1.2rem;
}

.course-card-link--orange {
  color: var(--accent-orange);
}

.course-card-link--green {
  color: var(--accent-green);
}

/* Service teaser cards */
.services-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-teaser-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.service-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: var(--accent-orange);
}

.service-teaser-emoji {
  font-size: 2.5rem;
  display: inline-block;
}

.service-teaser-title {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.service-teaser-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Section CTA contact */
.section-cta {
  background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--bg-page) 100%);
  padding: 5rem 0;
  text-align: center;
}

.section-cta .container {
  max-width: 800px;
}

.section-cta .badge {
  margin-bottom: 1.5rem;
}

.section-cta h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.section-cta p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

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

/* Margin utilities */
.mt-40 { margin-top: 40px; }
.mb-3rem { margin-bottom: 3rem; }

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== MAIN CONTENT PAD ========== */
.main-content {
  padding-top: var(--header-height);
}

/* ========== SKIP LINK (accessibility) ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent-orange);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ========== AGE NORMS SLIDER ========== */
.age-norms-section {
  padding: 5rem 0;
  background: var(--bg-card);
}

.age-slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.age-slider-track {
  margin-bottom: 2.5rem;
}

.age-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  margin-bottom: 1rem;
}

.age-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-orange);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 112, 67, 0.3);
  transition: transform 0.2s ease;
}

.age-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.age-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-orange);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 112, 67, 0.3);
}

.age-slider-labels {
  display: flex;
  justify-content: space-between;
}

.age-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.age-label.active {
  color: var(--accent-orange);
  font-weight: 600;
  background: var(--accent-orange-light);
}

/* Age norms cards */
.age-norms-cards {
  position: relative;
  min-height: 320px;
}

.age-norm-card {
  display: none;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.age-norm-card.active {
  display: block;
}

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

.age-norm-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.age-norm-card__icon {
  font-size: 2rem;
}

.age-norm-card__header h3 {
  font-family: var(--font-headers);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.age-norm-card__skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.age-skill {
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.age-skill__category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

.age-skill ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.age-skill li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.age-skill li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  opacity: 0.5;
}

/* Disclaimer */
.age-norms-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--accent-orange-light);
  border: 1px solid rgba(255, 112, 67, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.age-norms-disclaimer i {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.age-norms-disclaimer p {
  margin: 0;
}

@media (max-width: 768px) {
  .age-norm-card__skills {
    grid-template-columns: 1fr;
  }
  .age-label {
    font-size: 0.7rem;
    padding: 0.2rem;
  }
  .age-norm-card {
    padding: 1.5rem;
  }
}

/* ========== PAGE HERO TITLES ========== */
.page-hero {
  padding: 5rem 0 3rem;
}

.page-hero h1 {
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* ========== SERVICE PAGES COMMON ========== */
.badge-green {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.badge-orange {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.badge-blue {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue-hover);
  border-color: var(--accent-blue);
}

.badge-purple {
  background-color: var(--accent-purple-light);
  color: var(--accent-purple-hover);
  border-color: var(--accent-purple);
}

.service-card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.service-card-actions .btn {
  padding: 0.85rem 1.5rem;
}

/* Step cards */
.step-card__number--green {
  color: rgba(129, 199, 132, 0.3);
}

.step-card__number--orange {
  color: rgba(255, 112, 67, 0.3);
}

.step-card__number--blue {
  color: rgba(100, 181, 246, 0.3);
}

.step-card__number--purple {
  color: rgba(186, 104, 200, 0.3);
}

/* Stat cards */
.stat-card__number--green {
  color: var(--accent-green);
}

.stat-card__number--orange {
  color: var(--accent-orange);
}

.stat-card__number--blue {
  color: var(--accent-blue-hover);
}

.stat-card__number--purple {
  color: var(--accent-purple-hover);
}

/* Check list icons */
.icon-green { color: var(--accent-green); }
.icon-orange { color: var(--accent-orange); }
.icon-blue { color: var(--accent-blue-hover); }
.icon-purple { color: var(--accent-purple-hover); }

/* Contact CTA on subpages */
.subpage-cta {
  background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--bg-page) 100%);
  padding: 5rem 0;
  text-align: center;
}

.subpage-cta .container {
  max-width: 800px;
}

.subpage-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.subpage-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.subpage-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .page-hero h1 { font-size: 2rem; }
  .subpage-cta h2 { font-size: 1.8rem; }
}

/* ========== EDUCATION TIMELINE (Pro-mene) ========== */
.container--narrow {
  max-width: 700px;
  margin: 0 auto;
}

.edu-timeline {
  position: relative;
  padding-left: 3rem;
  margin-top: 2.5rem;
}

/* Vertical line */
.edu-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent-orange), #ffd54f, var(--accent-orange));
  border-radius: 2px;
}

.edu-timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.edu-timeline__item:last-child {
  padding-bottom: 0;
}

/* Dot on the line */
.edu-timeline__item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--accent-orange);
  border: 3px solid var(--bg-page);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 112, 67, 0.15);
  z-index: 1;
  transition: transform 0.3s ease;
}

.edu-timeline__item:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(255, 112, 67, 0.2);
}

.edu-timeline__year {
  display: inline-block;
  font-family: var(--font-headers);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: var(--accent-orange-light);
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.edu-timeline__title {
  font-family: var(--font-headers);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.edu-timeline__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .edu-timeline {
    padding-left: 2.2rem;
  }
  .edu-timeline__item::before {
    left: -1.85rem;
    width: 14px;
    height: 14px;
  }
  .edu-timeline::before {
    left: 10px;
    width: 2px;
  }
}

/* ========== IMPROVED COURSES PAGE STYLES ========== */

.course-card-image-wrapper {
  width: calc(100% + 5rem);
  margin: -2.5rem -2.5rem 1.8rem -2.5rem;
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.course-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-glass-card:hover .course-card-image {
  transform: scale(1.05);
}

[data-theme="dark"] .course-card-image-wrapper {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.cta-courses-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--bg-page) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 576px) {
  .course-glass-card {
    padding: 1.5rem;
  }
  .course-card-image-wrapper {
    width: calc(100% + 3rem);
    margin: -1.5rem -1.5rem 1.2rem -1.5rem;
    height: 180px;
  }
}

/* ========== HORIZONTAL SPLIT-ROW COURSES ========== */

.course-horizontal-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 3rem;
}

.course-horizontal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-orange-hover);
}

.course-horizontal-card.card-green:hover {
  border-color: var(--accent-green-hover);
}

.course-card-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-card-left .course-card-image-wrapper {
  width: 100% !important;
  height: 200px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  margin: 0 !important;
  border-bottom: none !important;
}

.course-card-left .course-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-horizontal-card:hover .course-card-image {
  transform: scale(1.04);
}

.course-card-action-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-page);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px dashed var(--border-color);
  text-align: center;
}

.course-card-action-block .price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-card-action-block .price-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.course-card-action-block .price-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.2rem;
}

.course-card-action-block .btn-buy {
  width: 100%;
  display: block;
}

/* Right column */
.course-card-right {
  display: flex;
  flex-direction: column;
}

.course-card-right .course-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-card-right h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0.8rem 0 1rem 0;
  color: var(--text-dark);
}

.course-card-right .course-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 1.5rem 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  padding: 1.2rem 0;
}

.course-card-right .detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.course-card-right .course-actions-inline {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Accordion integration adjustments */
.course-horizontal-card .course-program-inline {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .course-horizontal-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .course-card-left .course-card-image-wrapper {
    height: 220px !important;
  }
}

/* ========== COURSE DETAIL PAGES ========== */
.breadcrumbs-nav {
  padding: 1.5rem 0;
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs-nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumbs-nav a:hover {
  color: var(--text-dark);
}

.breadcrumbs-nav .separator {
  margin: 0 0.5rem;
  font-size: 0.75rem;
  color: var(--border-color);
}

.breadcrumbs-nav .current-crumb {
  color: var(--text-dark);
  font-weight: 600;
}

.course-detail-hero {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.course-detail-hero.card-orange {
  background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--bg-page) 100%);
}

.course-detail-hero.card-green {
  background: linear-gradient(135deg, var(--accent-green-light) 0%, var(--bg-page) 100%);
}

.course-detail-hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.course-detail-hero__content {
  max-width: 800px;
}

.course-detail-hero__content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.course-detail-hero__desc {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.course-detail-hero__icon {
  font-size: 5rem;
  color: var(--accent-orange);
  opacity: 0.12;
  flex-shrink: 0;
}

.course-detail-hero.card-green .course-detail-hero__icon {
  color: var(--accent-green);
}

.course-detail-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.course-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.course-sidebar-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.course-sidebar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-sidebar-buy-block {
  background: var(--bg-page);
  border: 1px dashed var(--border-color);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.course-sidebar-buy-block .price-wrapper {
  margin-bottom: 1rem;
}

.course-sidebar-buy-block .price-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.course-sidebar-buy-block .price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.course-sidebar-buy-block .btn-buy {
  width: 100%;
}

.course-sidebar-details h2,
.course-sidebar-details h3,
.course-sidebar-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.sidebar-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-details-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sidebar-details-list li i {
  color: var(--accent-orange);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.course-detail-hero.card-green ~ .course-detail-content .sidebar-details-list li i {
  color: var(--accent-green);
}

.back-to-courses-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.8rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.back-to-courses-link:hover {
  color: var(--text-dark);
  border-color: var(--text-dark);
  transform: translateX(-4px);
}

.course-detail-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.course-detail-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.section-title-accent {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.course-program-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.course-program-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border-color);
}

.program-timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.program-timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 4px solid var(--bg-card);
}

.timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.download-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: all 0.25s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-sm);
}

.course-detail-hero.card-green ~ .course-detail-content .download-card:hover {
  border-color: var(--accent-green);
}

.download-card__icon {
  font-size: 1.6rem;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.course-detail-hero.card-green ~ .course-detail-content .download-card__icon {
  color: var(--accent-green);
}

.download-card__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.course-detail-support-note {
  background: linear-gradient(135deg, var(--accent-blue-light) 0%, var(--bg-card) 100%);
  border: 1px dashed var(--accent-blue);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.support-note__icon {
  font-size: 2.2rem;
  color: var(--accent-blue);
  line-height: 1;
}

.support-note__content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.support-note__content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .course-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .course-detail-sidebar {
    position: static;
  }
}

@media (max-width: 576px) {
  .course-detail-hero {
    padding: 3.5rem 0;
  }
  
  .course-detail-hero__content h1 {
    font-size: 2rem;
  }
  
  .course-detail-section {
    padding: 2rem 1.5rem;
  }
  
  .course-detail-support-note {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}

/* ========== FAQ SECTION ========== */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
}

.faq-accordion {
  max-width: 800px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--bg-page);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-blue-light);
}

.faq-item.active {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  padding-right: 1.5rem;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--accent-blue);
}

.faq-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-wrap {
  background-color: var(--accent-blue);
  color: #fff;
}

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

.faq-content-inner {
  padding: 0 2rem 1.5rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-content-inner p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq-trigger {
    padding: 1.25rem 1.5rem;
  }
  .faq-content-inner {
    padding: 0 1.5rem 1.25rem 1.5rem;
  }
  .faq-question {
    font-size: 1.05rem;
  }
}

/* ========== VISUAL SCHEDULE CARD PREVIEW ========== */
.visual-schedule-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(235, 245, 255, 0.4) 0%, rgba(240, 253, 244, 0.4) 100%);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 24px;
  max-width: 600px;
}

.schedule-card {
  flex: 1;
  max-width: 160px;
  aspect-ratio: 1;
  background-color: var(--bg-page);
  border: 2px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05); /* velcro dot mockup */
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.schedule-card--first {
  border-color: var(--accent-orange-light, #ffd5c2);
}

.schedule-card--first:hover {
  border-color: var(--accent-orange, #ff6b35);
  transform: scale(1.03);
}

.schedule-card--then {
  border-color: var(--accent-blue-light, #bce0fd);
}

.schedule-card--then:hover {
  border-color: var(--accent-blue, #0088ff);
  transform: scale(1.03);
}

.schedule-card__emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
}

.schedule-card__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.schedule-card__step-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.schedule-card--then .schedule-card__step-badge {
  background-color: var(--accent-blue);
  box-shadow: 0 4px 10px rgba(0, 136, 255, 0.3);
}

.schedule-card-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  animation: slideRight 1.5s infinite ease-in-out;
}

@keyframes slideRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media (max-width: 576px) {
  .visual-schedule-preview {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .schedule-card-arrow {
    transform: rotate(90deg);
    animation: slideDown 1.5s infinite ease-in-out;
  }
}

@keyframes slideDown {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(5px); }
}
