/*
Theme Name: Business Active
Theme URI: https://aktiv-group.com.ua
Author: Business Active
Author URI: https://aktiv-group.com.ua
Description: Professional WordPress theme for Business Active accounting company
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: business-active
*/

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Colors */
  --brand-green: #2B5748;         /* Sage Green for buttons & background blocks */
  --primary-color: #0F2C24;       /* Deep dark green — for text */
  --btn-color: var(--brand-green);/* Sage Green for buttons */
  --secondary-color: var(--brand-green);     /* Even darker green for footer/headings */
  --accent-color: #C5A86B;        /* Elegant warm gold */
  --accent-hover: #B39355;        /* Deeper gold for hover states */
  --bg-cream: #FAF8F5;            /* Off-white warm cream background */
  --bg-cream-dark: #F3EFE6;       /* Slightly darker cream for cards/alternating sections */
  --bg-white: #ffffff;
  --text-dark: #1E2E27;           /* Off-black dark green-gray for body text */
  --text-muted: #5C6E65;          /* Sophisticated gray-green for subtexts */
  --text-light: #ffffff;
  --border-cream: #EAE4D5;        /* Soft border color */
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 15px rgba(15, 44, 36, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 44, 36, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 44, 36, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

/* Section Title decoration */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
  margin: 15px auto 0 auto;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

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

/* ==========================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

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

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background-color: var(--btn-color);
  color: var(--text-light);
  border-color: var(--btn-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

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

.btn-outline {
  background-color: transparent;
  border-color: var(--btn-color);
  color: var(--btn-color);
}

.btn-outline:hover {
  background-color: var(--btn-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-cream);
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 75px;
  box-shadow: var(--shadow-sm);
}

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

/* Logo Design */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 52px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img,
.logo-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  line-height: 1.1;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

/* Navigation Links */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  position: relative;
  padding: 10px 0;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: width var(--transition-normal);
}

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

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

/* Dropdown styling */
.nav-dropdown-wrapper {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-caret {
  transition: transform var(--transition-normal);
  stroke: currentColor;
}

.nav-dropdown-wrapper:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.nav-dropdown-wrapper:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-cream);
  color: var(--accent-hover);
  padding-left: 24px;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-cream);
  margin: 8px 0;
}

.dropdown-item.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

.dropdown-item.highlight:hover {
  background-color: var(--bg-cream-dark);
  color: var(--accent-hover);
}

.highlight-icon {
  margin-right: 4px;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta {
  padding: 10px 20px;
  font-size: 0.75rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal), top var(--transition-normal);
}

.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.menu-toggle.open span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 60px;
  background-color: var(--bg-cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 90px;
  font-weight: 900;
  line-height: 0.95;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.title-accent {
  font-family: var(--font-serif);
  font-weight: 900;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: #92763B;
  margin-bottom: 24px;
  line-height: 1.3;
}

.hero-text {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 90%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.03);
}

.hero-image-decoration {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  border-radius: 2px;
}

/* ==========================================
   STATISTICS BAR
   ========================================== */
.stats-bar {
  background-color: var(--brand-green);
  padding: 35px 0;
  color: var(--text-light);
  border-bottom: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  padding: 0 15px;
}

/* Vertical dividers between columns */
.stats-grid .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 38px;
  height: 38px;
  stroke: var(--accent-color);
}

@font-face {
  font-family: 'Georgia Regular';
  src: local('Georgia Regular'),
       local('Georgia'),
       url('assets/fonts/georgia.woff') format('woff'),
       url('assets/fonts/Georgia-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Georgia Local';
  src: local('Georgia Regular'),
       local('Georgia'),
       url('assets/fonts/georgia.woff') format('woff'),
       url('assets/fonts/Georgia-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Georgia Bold';
  src: local('Georgia Bold'),
       url('assets/fonts/georgiab.woff') format('woff'),
       url('assets/fonts/Georgia-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baskerville Classico Local';
  src: url('assets/fonts/BaskervilleClassico.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baskerville Classico Local';
  src: url('assets/fonts/BaskervilleClassicoBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baskerville Classico Local';
  src: url('assets/fonts/BaskervilleClassicoItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

.stat-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-text h3,
.stat-text h3 *,
.stat-text h3 span,
.stat-text h3[data-ba-meta],
.stat-text h3[data-ba-meta] * {
  font-family: 'Georgia Regular', 'Georgia Local', Georgia, serif !important;
  font-size: 2.8rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-variant-numeric: lining-nums proportional-nums !important;
  font-feature-settings: "lnum" 1, "pnum" 1 !important;
  color: var(--text-light) !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

.stats-grid .stat-item:nth-child(3) h3,
.stats-grid .stat-item:nth-child(3) h3 * {
  font-size: 1.45rem !important;
}

.stat-text p {
  font-family: var(--font-sans) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  margin-top: 2px !important;
  line-height: 1.3 !important;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  background-color: var(--bg-cream-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-cream);
  padding: 40px 30px;
  border-radius: 2px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.service-icon-wrapper {
  color: var(--accent-color);
  margin-bottom: 24px;
}

.service-icon-wrapper svg {
  width: 44px;
  height: 44px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.service-card h3 a:hover {
  color: var(--accent-color);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.service-list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
}

.service-list li svg {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  color: var(--accent-color);
  flex-shrink: 0;
}

/* Highlight matching card from dropdown */
.service-card.highlight-card {
  animation: cardPulse 1.5s ease-in-out;
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(197, 168, 107, 0.4);
}

@keyframes cardPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* ==========================================
   ABOUT / WHY CHOOSE US
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Left: Why Choose Us */
.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-us-item {
  display: flex;
  gap: 20px;
}

.why-us-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.why-us-item:hover .why-us-icon {
  background-color: var(--brand-green);
  color: var(--text-light);
}

.why-us-content h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.why-us-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Right: About Company */
.company-card {
  background-color: var(--brand-green);
  color: var(--text-light);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--accent-color);
}

.company-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #E6D5B3;
  display: inline-block;
  margin-bottom: 16px;
}

.company-card h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 400;
}

.company-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.company-image-container {
  margin-top: 30px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.company-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.img-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(15, 44, 36, 0.5));
}

/* ==========================================
   EDUCATION SECTION
   ========================================== */
.education-section {
  background-color: var(--bg-cream);
  padding: 60px 0;
}

.education-banner {
  background-color: var(--bg-cream-dark);
  border: 1px solid var(--border-cream);
  padding: 60px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 40px;
}

.education-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

.education-text-col h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 18px;
  text-transform: none;
}

.education-text-col h2::after {
  display: none;
}

.education-text-col p {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.education-icon-col {
  display: flex;
  justify-content: center;
  color: var(--accent-color);
}

/* ==========================================
   PARTNERS SECTION
   ========================================== */
.partners-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-cream);
  border-bottom: 1px solid var(--border-cream);
  padding: 80px 0 60px;
  overflow: hidden;
}

/* Marquee wrapper with fade edges */
.partners-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.partners-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

/* Scrolling track */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}

/* Pause on hover */
.partners-marquee-wrapper:hover .partners-marquee-track {
  animation-play-state: paused;
}

.partner-logo {
  flex: 0 0 180px;
  height: 80px;
  background-color: var(--bg-cream);
  border: 1px solid var(--border-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 4px;
  transition: all 0.35s ease;
  filter: grayscale(100%);
  opacity: 0.55;
  text-align: center;
  cursor: default;
  gap: 6px;
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  background-color: var(--bg-white);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Partner logo text styles */
.partner-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--primary-color);
  line-height: 1.1;
}

.partner-text.bold {
  font-weight: 700;
}

.partner-text.serif {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.partner-text.uppercase {
  text-transform: uppercase;
}

.partner-text.spacing {
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
}

.partner-text small {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.partner-text.symbol {
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-right: 4px;
}

.partner-dot-yellow {
  width: 10px;
  height: 10px;
  background-color: #FFCC00;
  border-radius: 50%;
  flex-shrink: 0;
}

.partner-circle-red {
  width: 10px;
  height: 10px;
  background-color: #E30613;
  border-radius: 50%;
  flex-shrink: 0;
}

.partner-logo .small-tag {
  font-size: 0.45rem;
  font-weight: 700;
  background-color: var(--brand-green);
  color: var(--text-light);
  padding: 2px 4px;
  margin-left: 6px;
  border-radius: 1px;
}

/* ==========================================
   CTA / CONTACT DETAILS BAR
   ========================================== */
.cta-section {
  background-color: var(--bg-cream-dark);
  padding-bottom: 80px;
}

.cta-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-cream);
  padding: 40px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.cta-text h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact Details Horizontal Bar */
.contact-details-bar {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 0.75fr 1.5fr;
  gap: 20px;
}

.contact-bar-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-cream);
  padding: 24px 20px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--transition-normal);
}

.contact-bar-item:hover {
  border-color: var(--accent-color);
}

.contact-bar-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bar-icon svg {
  width: 24px;
  height: 24px;
}

.contact-bar-content {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.4;
}

.contact-bar-content a {
  white-space: nowrap;
}

.contact-bar-content a:hover {
  color: var(--accent-hover);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  cursor: pointer;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer-links {
  font-size: 0.78rem;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

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

.link-separator {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   MODALS & POPUPS
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 30, 24, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  width: 90%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 24px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-cream);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-dark);
  border-radius: 2px;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-color);
}

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

/* Courses Modal Inside */
.courses-list-modal {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-modal-item {
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 20px;
}

.course-modal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.course-modal-item h4 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.course-modal-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.course-modal-item .btn {
  padding: 8px 16px;
  font-size: 0.72rem;
}

/* Interactive Price Calculator styles */
.calc-step-group {
  margin-bottom: 20px;
}

.calc-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calc-radio-card {
  position: relative;
  cursor: pointer;
}

.calc-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.radio-card-content {
  display: block;
  border: 1px solid var(--border-cream);
  padding: 12px 14px;
  border-radius: 2px;
  background-color: var(--bg-white);
  transition: all var(--transition-fast);
  text-align: center;
}

.calc-radio-card input[type="radio"]:checked + .radio-card-content {
  border-color: var(--accent-color);
  background-color: var(--bg-cream-dark);
}

.radio-card-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-color);
}

.radio-card-desc {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 3 cards option grid */
.calc-step-group:nth-child(2) .calc-radio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.calc-step-group:nth-child(2) .radio-card-title {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Sliders */
.calc-slider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.highlight-val {
  color: var(--accent-color);
  font-weight: 700;
  float: right;
}

.form-slider {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background-color: var(--border-cream);
  outline: none;
  margin: 12px 0;
}

.form-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--accent-color);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.form-slider::-webkit-slider-thumb:hover {
  background-color: var(--primary-color);
}

/* Results Box */
.calc-results-box {
  background-color: var(--brand-green);
  color: var(--text-light);
  padding: 20px;
  border-radius: 2px;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent-color);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.result-price {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.result-disclaimer {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* Toast Notifications */
.notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--brand-green);
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: 2px;
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.notification-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
  flex-shrink: 0;
}

#toast-message {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 1200px) {
  .nav {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.78rem;
  }
  .header-cta {
    padding: 10px 20px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  .hero-grid { gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid .stat-item { justify-content: flex-start; padding: 10px 0; }
  .stats-grid .stat-item::after { display: none !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .education-banner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .education-icon-col { display: none; }
  .partner-logo { flex: 0 0 150px; height: 65px; }
  .contact-details-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-layout { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-links { justify-content: center; }
}

@media (max-width: 1024px) {
  /* Mobile Header toggle styling */
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--border-cream);
    overflow-y: auto;
  }
  
  .nav.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
  
  .nav-dropdown-wrapper {
    width: 100%;
    text-align: center;
  }
  
  .dropdown-trigger {
    justify-content: center;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    background-color: transparent;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }
  
  .nav-dropdown-wrapper:hover .dropdown-menu {
    max-height: 400px;
  }
  
  .header-actions {
    margin-right: 15px;
  }
  
  .header-cta {
    display: none;
  }
  
  .nav-btn-mobile {
    display: inline-flex !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-visual {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    width: 100%;
    max-width: 450px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .partner-logo {
    flex: 0 0 130px;
    height: 60px;
  }
  
  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .contact-details-bar {
    grid-template-columns: 1fr;
  }
  
  .modal-container {
    padding: 30px 20px;
  }
  
  .calc-slider-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .partner-logo { flex: 0 0 120px; height: 55px; }
}

/* ==========================================
   TRAINING PAGE CUSTOM STYLES
   ========================================== */
.training-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
}

.training-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 50px;
  align-items: center;
}

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

.training-hero-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.training-hero-title {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1.05;
  margin-bottom: 15px;
}

.training-hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  line-height: 1.35;
}

.training-hero-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.training-hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-cream);
  padding-top: 30px;
}

.training-feature-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.training-feature-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-white);
  color: var(--accent-color);
}

.training-feature-icon svg {
  width: 22px;
  height: 22px;
}

.training-feature-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-color);
}

.training-feature-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 400;
  margin-top: 2px;
}

.training-hero-visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.training-hero-img-wrapper {
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.training-hero-img-wrapper img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: block;
  width: 100%;
}

.training-hero-deco {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(197, 168, 107, 0.22) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(15px);
}

/* Mini Courses Accordion Section */
.mini-courses-section {
  background-color: var(--bg-white);
  padding: 80px 0;
}

.mini-courses-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
  display: block;
}

.mini-courses-title {
  text-align: center;
  font-size: 2.25rem;
  font-family: var(--font-serif);
  color: var(--primary-color);
  margin-bottom: 45px;
}

.accordion-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  background-color: var(--bg-cream);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-item.active {
  border-color: var(--accent-color);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: rgba(15, 44, 36, 0.01);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accordion-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-color);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  background-color: var(--btn-color);
  color: var(--text-light);
  border-color: var(--btn-color);
}

.accordion-icon svg {
  width: 20px;
  height: 20px;
}

.accordion-title-block {
  display: flex;
  flex-direction: column;
}

.accordion-title-block h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-color);
  margin: 0;
}

.accordion-title-block span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.accordion-caret {
  color: var(--accent-color);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.accordion-item.active .accordion-caret {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content {
  padding: 0 30px 30px 90px;
}

/* Accordion expanded content (for Military Accounting) */
.course-detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.course-cover-wrapper {
  width: 100%;
}

.course-cover-wrapper img {
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-cream);
  width: 100%;
}

.course-program-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 10px;
}

.lessons-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.lesson-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
}

.lesson-check-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.lesson-check-icon svg {
  width: 16px;
  height: 16px;
}

/* Styling for dynamic lists generated by visual editor in course program */
.course-program-col ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 768px) {
  .course-program-col ul {
    grid-template-columns: 1fr;
  }
}
.course-program-col ul li {
  position: relative !important;
  padding-left: 26px !important;
  font-size: 0.88rem !important;
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  list-style-type: none !important;
}
.course-program-col ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 4px !important;
  width: 12px !important;
  height: 7px !important;
  border-left: 2.5px solid var(--accent-color) !important;
  border-bottom: 2.5px solid var(--accent-color) !important;
  transform: rotate(-45deg) !important;
}

/* Courses CTA Box */
.courses-cta-box-wrapper {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.courses-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-cream-dark);
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  padding: 30px 40px;
  gap: 30px;
}

.courses-cta-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.courses-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--brand-green);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.courses-cta-icon svg {
  width: 28px;
  height: 28px;
}

.courses-cta-text h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.courses-cta-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.courses-cta-btn {
  background-color: var(--brand-green);
  color: var(--text-light);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.courses-cta-btn:hover {
  background-color: var(--btn-color);
}

/* Training Stats Section */
.training-stats-bar {
  background-color: var(--bg-cream);
  border-top: 1px solid var(--border-cream);
  border-bottom: 1px solid var(--border-cream);
  padding: 50px 0;
}

.training-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.training-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.training-stat-icon {
  color: var(--accent-color);
  flex-shrink: 0;
}

.training-stat-icon svg {
  width: 44px;
  height: 44px;
}

.training-stat-info {
  display: flex;
  flex-direction: column;
}

.training-stat-number,
.training-stat-number *,
.training-stat-number[data-ba-meta],
.training-stat-number[data-ba-meta] * {
  font-family: 'Georgia Regular', 'Georgia Local', Georgia, serif !important;
  font-size: 2.2rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: var(--primary-color) !important;
  line-height: 1.1 !important;
}

.training-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Rich Footer (4 columns) */
.footer-rich {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-rich-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-rich-col h4 {
  color: var(--accent-color);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-rich-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-rich-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-rich-links a:hover {
  color: var(--accent-color);
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-rich-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive adjustments for Training Page */
@media (max-width: 1024px) {
  .training-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .training-hero-visual {
    justify-content: center;
  }
  .training-hero-content {
    align-items: center;
  }
  .training-hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  .training-hero-features {
    width: 100%;
  }
  .accordion-content {
    padding: 0 24px 24px 24px;
  }
  .course-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .course-cover-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
  .courses-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .courses-cta-left {
    flex-direction: column;
    gap: 15px;
  }
  .training-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-rich-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-rich-col:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .training-hero-title {
    font-size: 3rem;
  }
  .training-hero-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .training-feature-item {
    align-items: center;
    text-align: center;
  }
  .accordion-header {
    padding: 20px 15px;
  }
  .accordion-header-left {
    gap: 12px;
  }
  .accordion-icon {
    width: 34px;
    height: 34px;
  }
  .accordion-icon svg {
    width: 16px;
    height: 16px;
  }
  .accordion-title-block h3 {
    font-size: 0.95rem;
  }
  .lessons-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .training-stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .training-stat-item {
    justify-content: flex-start;
    max-width: 250px;
    margin: 0 auto;
  }
  .footer-rich-grid {
    grid-template-columns: 1fr;
  }
  .footer-rich-col:first-child {
    grid-column: span 1;
  }
  .footer-rich-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Branded Payment Gateway Buttons */
.btn-wayforpay {
  background-color: #18181A !important;
  color: #FFFFFF !important;
  border: 1px solid #2A2A2E !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-wayforpay:hover {
  background-color: #252528 !important;
  border-color: #3f3f44 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.btn-ipay {
  background-color: #FFD500 !important;
  color: #1a1a1c !important;
  border: 1px solid #E6BF00 !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 4px 10px rgba(255, 213, 0, 0.1);
}

.btn-ipay:hover {
  background-color: #FFE240 !important;
  border-color: #FFD500 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 213, 0, 0.2);
}

/* ==========================================
   DECORATIVE BACKGROUND ELEMENTS (CACTI & COFFEE)
   ========================================== */
.bg-decor-container {
  position: relative !important;
  overflow: hidden !important;
}

.bg-decor-item {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  filter: blur(8px) opacity(0.25);
  width: 250px;
  height: auto;
  user-select: none;
  transition: opacity var(--transition-normal), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: var(--decor-rotation, rotate(0deg)) translate(var(--mouse-x, 0px), calc(var(--parallax-y, 0px) + var(--mouse-y, 0px)));
}

.decor-pos-right-top {
  right: -50px;
  top: 10%;
  --decor-rotation: rotate(8deg);
  --parallax-speed: 0.28;
}

.decor-pos-left-bottom {
  left: -50px;
  bottom: 10%;
  --decor-rotation: rotate(-12deg);
  --parallax-speed: -0.32;
}

.decor-pos-left-mid {
  left: -60px;
  top: 40%;
  --decor-rotation: rotate(-8deg);
  --parallax-speed: 0.24;
}

.decor-pos-right-bottom {
  right: -50px;
  bottom: 15%;
  --decor-rotation: rotate(15deg);
  --parallax-speed: -0.28;
}

.decor-pos-right-mid {
  right: 5%;
  top: 45%;
  --decor-rotation: rotate(25deg);
  --parallax-speed: 0.18;
}

@media (max-width: 992px) {
  .bg-decor-item {
    width: 180px;
    filter: blur(6px) opacity(0.18);
  }
}

@media (max-width: 768px) {
  .bg-decor-item {
    display: none !important; /* Hide on mobile screens to ensure perfect readability */
  }
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (PREMIUM EFFECTS)
   ========================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-100 { transition-delay: 0.1s; }
.reveal-delay-200 { transition-delay: 0.2s; }
.reveal-delay-300 { transition-delay: 0.3s; }
.reveal-delay-400 { transition-delay: 0.4s; }

/* ==========================================
   STICKY BOTTOM CONTACT BAR (PREMIUM DESIGN)
   ========================================== */
.sticky-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #254E41 !important;
  background-color: #254E41 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(197, 168, 107, 0.4) !important;
  padding: 12px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-contact-bar.visible {
  transform: translateY(0);
}

/* Phone link styling */
.sticky-contact-bar .bar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff !important;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 0 20px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin-right: 20px;
  height: 40px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.sticky-contact-bar .bar-phone:hover {
  color: #C5A86B !important;
}

.sticky-contact-bar .bar-phone .phone-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 168, 107, 0.15) !important;
  border: 1px solid rgba(197, 168, 107, 0.4) !important;
  color: #C5A86B !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.sticky-contact-bar .bar-phone:hover .phone-icon-wrapper {
  background: #C5A86B !important;
  color: #0F2C24 !important;
  box-shadow: 0 0 15px rgba(197, 168, 107, 0.6) !important;
  transform: translateY(-2px);
}

.sticky-contact-bar .bar-phone:active .phone-icon-wrapper {
  transform: translateY(0) scale(0.95);
}

.sticky-contact-bar .bar-phone svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  display: block;
}

/* Messengers wrapper */
.sticky-contact-bar .bar-messengers {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Messenger buttons general style */
.bar-messenger-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  position: relative;
}

.bar-messenger-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
  transition: fill 0.3s ease;
}

/* Telegram Button */
.bar-messenger-btn.telegram {
  background: rgba(41, 168, 235, 0.12);
  border: 1px solid rgba(41, 168, 235, 0.3);
  color: #29A8EB;
}

.bar-messenger-btn.telegram:hover {
  background: #29A8EB;
  border-color: #29A8EB;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(41, 168, 235, 0.6);
  transform: translateY(-3px) scale(1.05);
}

/* Viber Button */
.bar-messenger-btn.viber {
  background: rgba(183, 63, 162, 0.12);
  border: 1px solid rgba(183, 63, 162, 0.3);
  color: #B73FA2;
}

.bar-messenger-btn.viber:hover {
  background: #B73FA2;
  border-color: #B73FA2;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(183, 63, 162, 0.6);
  transform: translateY(-3px) scale(1.05);
}

/* WhatsApp Button */
.bar-messenger-btn.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
}

.bar-messenger-btn.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
  transform: translateY(-3px) scale(1.05);
}

/* Press effect for all messenger buttons */
.bar-messenger-btn:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

/* Close button styling */
.sticky-contact-bar .bar-close {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.sticky-contact-bar .bar-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
  transform: rotate(90deg);
}

.sticky-contact-bar .bar-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .sticky-contact-bar {
    padding: 10px 16px;
    justify-content: space-between;
    gap: 8px;
  }

  .sticky-contact-bar .bar-phone {
    font-size: 0.95rem;
    padding: 0 14px 0 0;
    margin-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    height: auto;
  }

  .sticky-contact-bar .bar-phone .phone-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .sticky-contact-bar .bar-phone svg {
    width: 16px;
    height: 16px;
  }

  .sticky-contact-bar .bar-messengers {
    gap: 10px;
  }

  .bar-messenger-btn {
    width: 36px;
    height: 36px;
  }

  .bar-messenger-btn svg {
    width: 18px;
    height: 18px;
  }

  .sticky-contact-bar .bar-close {
    width: 36px;
    height: 36px;
    margin-left: 10px;
  }
}

@media (max-width: 480px) {
  /* On small screens, hide the phone text to avoid overlapping, making the phone a circular button like the others */
  .sticky-contact-bar .bar-phone .phone-text {
    display: none;
  }
  
  .sticky-contact-bar .bar-phone {
    padding: 0 14px 0 0;
    margin: 0 14px 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
  
  .sticky-contact-bar {
    justify-content: center;
    gap: 12px;
  }

  .sticky-contact-bar .bar-messengers {
    gap: 12px;
  }
  
  .sticky-contact-bar .bar-close {
    margin-left: 4px;
  }
}

/* ==========================================
   BLOG PAGE STYLES
   ========================================== */
/* ==========================================
   BLOG DETAIL PAGE STYLES
   ========================================== */
.blog-detail-section {
  padding: 60px 0 80px 0;
  background-color: var(--bg-white);
}

.blog-detail-grid {
  display: grid;
  grid-template-columns: 8.5fr 3.5fr;
  gap: 50px;
  align-items: start;
}

.blog-detail-image-box {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

.blog-detail-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-content {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.75;
}

.blog-detail-content p {
  margin-bottom: 22px;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 18px;
}

.blog-detail-content h2 {
  font-size: 1.95rem;
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 8px;
}

.blog-detail-content h3 {
  font-size: 1.45rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 25px;
  padding-left: 24px;
}

.blog-detail-content li {
  margin-bottom: 12px;
}

.blog-detail-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding: 10px 0 10px 24px;
  font-style: italic;
  font-size: 1.15rem;
  margin: 35px 0;
  color: var(--text-muted);
  background: var(--bg-cream-dark);
  border-radius: 0 8px 8px 0;
}

.blog-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 0.92rem;
  font-family: var(--font-sans);
}

.blog-detail-content th,
.blog-detail-content td {
  padding: 12px 15px;
  border: 1px solid var(--border-cream);
  text-align: left;
}

.blog-detail-content th {
  background: var(--bg-cream-dark);
  color: var(--primary-color);
  font-weight: 700;
}

.blog-detail-content tr:nth-child(even) {
  background: rgba(243, 239, 230, 0.3);
}

/* Sidebar Widgets */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.sidebar-widget {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-post-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.recent-post-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.recent-post-link {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.recent-post-link:hover {
  color: var(--accent-color);
}

.sidebar-cta-widget {
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  border: none;
}

.sidebar-cta-widget h4 {
  color: var(--text-light);
  border-bottom-color: var(--accent-color);
}

.sidebar-cta-widget p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .blog-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .blog-detail-image-box {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .blog-detail-image-box {
    height: 240px;
  }
  
  .blog-detail-content {
    font-size: 1rem;
  }
  
  .blog-detail-content h2 {
    font-size: 1.6rem;
  }
}

.blog-section {
  padding: 80px 0;
  background-color: var(--bg-cream);
}

.blog-filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--bg-white);
  border: 1px solid var(--border-cream);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.blog-search-box {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border-radius: 30px;
  border: 1px solid var(--border-cream);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all var(--transition-fast);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

a.blog-card {
  text-decoration: none;
  color: inherit;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-cream);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 107, 0.4);
}

.blog-card-image-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--accent-color);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: color var(--transition-fast);
  margin-top: auto;
  cursor: pointer;
}

.blog-card-link svg {
  transition: transform var(--transition-fast);
}

.blog-card-link:hover,
.blog-card:hover .blog-card-link {
  color: var(--accent-color);
}

.blog-card-link:hover svg,
.blog-card:hover .blog-card-link svg {
  transform: translateX(4px);
}

/* Modal Article Detail */
.article-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 44, 36, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-modal.visible {
  display: flex;
  opacity: 1;
}

.article-modal-content {
  background: var(--bg-cream);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  border: 1px solid var(--border-cream);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.article-modal.visible .article-modal-content {
  transform: translateY(0);
}

.article-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-cream);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.article-modal-close:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.article-detail-image-box {
  height: 380px;
  width: 100%;
  position: relative;
}

.article-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-body {
  padding: 40px;
}

.article-detail-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.article-detail-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.article-detail-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.25;
}

.article-detail-text {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.article-detail-text p {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.article-detail-text h2,
.article-detail-text h3 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
}

.article-detail-text h2 {
  font-size: 1.8rem;
}

.article-detail-text h3 {
  font-size: 1.4rem;
}

.article-detail-text ul,
.article-detail-text ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-detail-text li {
  margin-bottom: 10px;
}

.article-detail-text blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
  font-style: italic;
  font-size: 1.1rem;
  margin: 30px 0;
  color: var(--text-muted);
}

.article-detail-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.92rem;
  font-family: var(--font-sans);
}

.article-detail-text th,
.article-detail-text td {
  padding: 12px 15px;
  border: 1px solid var(--border-cream);
  text-align: left;
}

.article-detail-text th {
  background: var(--bg-cream-dark);
  color: var(--primary-color);
  font-weight: 700;
}

.article-detail-text tr:nth-child(even) {
  background: rgba(243, 239, 230, 0.3);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-detail-title {
    font-size: 1.8rem;
  }
  .article-detail-body {
    padding: 25px;
  }
  .article-detail-image-box {
    height: 240px;
  }
  /* Extra bottom padding on mobile to clear the floating contact bar */
  .footer {
    padding-bottom: 90px !important;
  }
  .footer-rich {
    padding-bottom: 90px !important;
  }
}



/* Custom styled lists inside service detail pages for Gutenberg block editor compatibility */
.service-detail-content .reveal-on-scroll ul,
.service-detail-content .reveal-on-scroll .wp-block-list {
  list-style: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  margin-bottom: 40px !important;
  margin-left: 0 !important;
}

.service-detail-content .reveal-on-scroll ul li,
.service-detail-content .reveal-on-scroll .wp-block-list li {
  position: relative !important;
  padding-left: 28px !important;
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
  list-style-type: none !important;
}

.service-detail-content .reveal-on-scroll ul li strong,
.service-detail-content .reveal-on-scroll .wp-block-list li strong {
  color: var(--primary-color) !important;
  display: block !important;
  font-size: 0.95rem !important;
  margin-bottom: 4px !important;
}

.service-detail-content .reveal-on-scroll ul li::before,
.service-detail-content .reveal-on-scroll .wp-block-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 5px !important;
  width: 16px !important;
  height: 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A86B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

/* Sidebar form sticky styles */
.service-detail-content form .form-group {
  margin-bottom: 15px;
}
.service-detail-content form .form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary-color);
  text-transform: uppercase;
}
.service-detail-content form .form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.88rem;
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  background: var(--bg-white);
  color: var(--text-dark);
}

/* ==========================================
   MOBILE & TABLET RESPONSIVE OVERRIDES (ELEMENTOR STYLE)
   ========================================== */
@media (max-width: 1024px) {
  /* Fix Mobile Header Dropdown Position & Height */
  .nav {
    position: absolute !important;
    top: 100% !important;
    height: calc(100vh - 100%) !important;
  }

  /* Expandable mobile dropdown */
  .dropdown-menu.mobile-open {
    max-height: 500px !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 15px 0 0 15px !important;
  }

  .nav-dropdown-wrapper .dropdown-trigger.active svg.dropdown-caret {
    transform: rotate(180deg);
  }
}

@media (max-width: 992px) {
  /* Fix Inline Grid Styles on Service Pages & Single Post Pages */
  .service-detail-content > .container,
  .blog-detail-section > .container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Flow the sticky sidebar naturally under the content */
  .service-detail-content .reveal-on-scroll:last-child,
  .blog-detail-section .reveal-on-scroll:last-child,
  .service-detail-content div[style*="position: sticky"],
  .blog-detail-section div[style*="position: sticky"] {
    position: static !important;
    width: 100% !important;
    margin-top: 20px;
  }

  /* Make hero titles responsive */
  .service-detail-hero h1 {
    font-size: 2.2rem !important;
  }

  .training-hero-title {
    font-size: 2.8rem !important;
  }
}

@media (max-width: 576px) {
  /* Smaller padding on mobile sections to feel native */
  section {
    padding: 60px 0 !important;
  }

  .service-detail-hero {
    padding-top: calc(var(--header-height) + 20px) !important;
    padding-bottom: 30px !important;
  }

  /* Make sure forms look neat on mobile */
  .form-control {
    font-size: 0.95rem !important;
    padding: 10px 14px !important;
  }

  /* Fix responsive buttons size */
  .btn {
    width: 100% !important;
    text-align: center !important;
  }

  .header-actions .btn, 
  .bar-actions .btn,
  .contact-bar-item .btn,
  .price-action-btn,
  .ba-editor-floating-btn {
    width: auto !important; /* Keep utility buttons inline */
  }

  /* Sticky contact bar mobile spacing */
  .sticky-contact-bar {
    padding: 10px 15px !important;
  }
}

/* Blog Page mobile enhancements */
@media (max-width: 768px) {
  .blog-filters-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px !important;
    margin-bottom: 25px !important;
  }

  .blog-filter-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .blog-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex: 0 0 auto;
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
  }

  .blog-search-box {
    max-width: 100% !important;
  }

  .blog-grid {
    gap: 20px !important;
  }

  .blog-card-title {
    font-size: 1.2rem !important;
  }

  .blog-card-content {
    padding: 20px !important;
  }
}

/* ==========================================
   Cinzel FONT FOR ALL NUMERIC ELEMENTS
   ========================================== */
.price-value,
.result-price,
.highlight-val,
.course-price,
.course-price-amount,
.price-display,
.calc-price,
.calc-modal-price,
.tariff-price,
.price-amount,
.accordion-price {
  font-family: 'Baskerville Classico Local', 'Baskerville Classico', 'Baskerville', serif !important;
}

/* ==========================================
   PRICE PAGE STYLES (TABLES & RESPONSIVENESS)
   ========================================== */
.price-section {
  padding: 60px 0;
  background-color: var(--bg-white);
}

.price-category {
  margin-bottom: 50px;
}

.price-category-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-cream);
  padding-bottom: 10px;
}

.price-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-radius: 6px;
  border: 1px solid var(--border-cream);
  -webkit-overflow-scrolling: touch;
}

.price-table-wrapper::-webkit-scrollbar {
  height: 6px;
}
.price-table-wrapper::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
.price-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-cream);
  border-radius: 3px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-white);
  font-size: 0.92rem;
}

.price-table th {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
}

.price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-cream);
  color: var(--text-dark);
  vertical-align: middle;
}

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

.price-table tr:nth-child(even) {
  background-color: var(--bg-cream-dark);
}

.price-value {
  font-family: 'Baskerville Classico Local', 'Baskerville Classico', 'Baskerville', serif !important;
  font-weight: bold !important;
  color: var(--primary-color) !important;
  font-size: 1.25rem !important;
  white-space: nowrap;
}

.price-action-btn {
  padding: 8px 20px;
  font-size: 0.78rem;
  border-radius: 4px;
}

.price-info-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .price-category-title {
    font-size: 1.5rem;
  }
  .price-table th, .price-table td {
    padding: 12px 15px;
    font-size: 0.85rem;
  }
  .price-value {
    font-size: 1.1rem !important;
  }
}

/* SEO Content Section Styles */
.seo-content-section {
  padding: 80px 0;
  background-color: #fafbfc;
  border-top: 1px solid #eef2f5;
  border-bottom: 1px solid #eef2f5;
}

.seo-content-wrapper {
  max-width: 850px;
  margin: 0 auto;
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.85;
  font-size: 0.98rem;
}

.seo-content-wrapper h2 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-size: 1.85rem;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.seo-content-wrapper h3 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.seo-content-wrapper p {
  margin-bottom: 18px;
  color: #4a5568;
}

.seo-content-wrapper p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .seo-content-section {
    padding: 50px 0;
  }
  .seo-content-wrapper h2 {
    font-size: 1.5rem;
  }
  .seo-content-wrapper h3 {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-section {
  padding: 100px 0;
  background-color: var(--bg-cream);
  background-image: url('images/process_bg_pattern.png');
  background-repeat: repeat;
  background-size: 400px 400px;
  background-position: center;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.process-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(15, 44, 36, 0.03);
  border: 1px solid rgba(15, 44, 36, 0.05);
  position: relative;
  transition: all 0.35s ease;
}
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(15, 44, 36, 0.06);
  border-color: var(--accent-color);
}
.process-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(197, 168, 107, 0.25);
  line-height: 1;
  margin-bottom: 15px;
}
.process-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.process-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .process-section {
    padding: 60px 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   GUARANTEES SECTION
   ========================================================================== */
.guarantees-section {
  padding: 100px 0;
  background-color: var(--primary-color);
  color: #ffffff;
}
.guarantees-section .section-header h2 {
  color: #ffffff;
}
.guarantees-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.guarantee-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 40px 30px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s ease;
}
.guarantee-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}
.guarantee-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.guarantee-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.guarantee-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .guarantees-section {
    padding: 60px 0;
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: #ffffff;
}
.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(15, 44, 36, 0.08);
  padding: 12px 0;
}
.faq-item:first-child {
  border-top: 1px solid rgba(15, 44, 36, 0.08);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--accent-color);
}
.faq-arrow {
  font-size: 0.75rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 10px;
}
.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  .faq-question {
    font-size: 1rem;
    padding: 14px 5px;
  }
  .faq-answer p {
    font-size: 0.88rem;
  }
}

/* Fix for pasted bold paragraphs with isSelectedEnd class */
.course-program-col p,
.course-program-col p b,
.course-program-col p strong,
p.isSelectedEnd,
p.isSelectedEnd b,
p.isSelectedEnd strong,
[data-ba-meta] p.isSelectedEnd {
  font-weight: 400 !important;
  font-style: normal !important;
}

/* ==========================================================================
   MOBILE TYPOGRAPHY & STATS ENHANCEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero & Section Title sizing for mobile */
  h1, .hero-title, .training-hero-title {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
  }

  h2, .section-title, .section-header h2 {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }

  /* Stats numbers optimization for mobile screens */
  .stat-text h3,
  .stat-text h3 *,
  .stat-text h3[data-ba-meta],
  .stat-text h3[data-ba-meta] * {
    font-size: 2.2rem !important;
    line-height: 1.15 !important;
  }

  .stats-grid .stat-item:nth-child(3) h3,
  .stats-grid .stat-item:nth-child(3) h3 * {
    font-size: 1.35rem !important;
  }

  .training-stat-number,
  .training-stat-number *,
  .training-stat-number[data-ba-meta],
  .training-stat-number[data-ba-meta] * {
    font-size: 1.9rem !important;
    line-height: 1.15 !important;
  }

  .stat-text p,
  .training-stat-label {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 480px) {
  h1, .hero-title, .training-hero-title {
    font-size: 1.85rem !important;
  }

  h2, .section-title, .section-header h2 {
    font-size: 1.45rem !important;
  }

  .stat-text h3,
  .stat-text h3 *,
  .stat-text h3[data-ba-meta],
  .stat-text h3[data-ba-meta] * {
    font-size: 1.95rem !important;
  }

  .training-stat-number,
  .training-stat-number *,
  .training-stat-number[data-ba-meta],
  .training-stat-number[data-ba-meta] * {
    font-size: 1.7rem !important;
  }
}
