/* ========================================
   FONTS - CENTRALIZED MANAGEMENT
======================================== */
/* Google Fonts removed - using system fonts from brandbook */

/* ========================================
   BURBELA.COM - CLEAN DESIGN SYSTEM
   ========================================

   Чистий, професійний дизайн з оригінальними кольорами
   Два режими: Desktop (без прокрутки) та Mobile (з прокруткою)
======================================== */


:root {
  /* Brandbook Color Palette */
  --primary-color: #fe8887;        /* Рожевий основний */
  --primary-hover: #ff6b6b;        /* Рожевий при наведенні */
  --text-primary: #1a1a1a;         /* Темний текст */
  --text-secondary: #666666;       /* Сірий текст */
  --text-light: #999999;           /* Світлий текст */
  --text-muted: #999999;           /* Приглушений текст (для disclaimer) */
  --background: #ffffff;           /* Білий фон */
  --background-alt: #f8f9fa;       /* Альтернативний фон */
  --background-hover: #f1f3f4;     /* Фон при наведенні */
  --border: #e1e5e9;               /* Світло-сіра рамка */
  --border-hover: #d1d5db;         /* Рамка при наведенні */
  
  /* Gradients */
  --gradient: linear-gradient(135deg, #fe8887 0%, #ff6b6b 100%);
  
  /* Shadows */
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius: 12px;      /* Основний радіус */
  --radius-sm: 8px;    /* Малий радіус */
  --radius-lg: 16px;   /* Великий радіус */
  
  /* Transitions */
  --transition: all 0.3s ease;
  
  /* Typography - Brandbook Font System */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Font weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Legacy variables for compatibility */
  --color: var(--primary-color);
  --primary: var(--primary-color);
  --secondary: var(--primary-color);
  --dark: var(--text-primary);
  --light: var(--background);
  --border-radius: var(--radius);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   BRANDBOOK TYPOGRAPHY SYSTEM
======================================== */

/* Typography sizes from brandbook */
h1 {
  font-size: 2.5rem; /* 40px */
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2 {
  font-size: 1.1rem; /* 17.6px */
  font-weight: 400;
  color: var(--text-primary);
}

h3 {
  font-size: 0.95rem; /* 15.2px */
  font-weight: 300;
  color: var(--text-primary);
}

/* Main text */
p, .main-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* Buttons */
.btn, .hero-btn, button {
  font-size: 0.85rem; /* 13.6px */
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Meta text */
.meta-text, .footer-text {
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  color: var(--text-secondary);
}

/* ========================================
   HEADER
======================================== */

/* Reset margins and paddings for menu elements to prevent conflicts */
.menu,
.menu ul,
.menu li {
  margin: 0 !important;
  padding: 0 !important;
}

/* UNIFIED MOBILE MENU STYLES */
/* ========================================
   MOBILE MENU - CONSOLIDATED STYLES
======================================== */
@media (max-width: 767px) {
  /* Mobile Menu Container */
  .menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%) !important;
    z-index: 10002 !important;
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 80px 20px !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .menu.active {
    display: flex !important;
    transform: translateX(0) !important;
  }

  /* Menu Items */
  .menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 300px !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .menu.active li {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Animation delays */
  .menu.active li:nth-child(1) { transition-delay: 0.1s !important; }
  .menu.active li:nth-child(2) { transition-delay: 0.2s !important; }
  .menu.active li:nth-child(3) { transition-delay: 0.3s !important; }

  /* Menu Links */
  .menu a {
    display: block !important;
    width: 100% !important;
    padding: 20px 24px !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    text-transform: uppercase !important;
  }
  
  /* Force mobile menu links */
  .menu li a,
  .menu .mobile-service a,
  .menu .dropdown a {
    font-size: 1.1rem !important;
    color: var(--primary) !important;
  }
  
  /* Mobile dropdown styles */
  .menu .dropdown {
    position: relative !important;
  }
  
  .menu .dropdown-content {
    position: static !important;
    display: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .menu .dropdown.active .dropdown-content {
    display: block !important;
  }
  
  .menu .dropdown-content a {
    display: block !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 138, 138, 0.2) !important;
  }
  
  .menu .dropdown-content a:last-child {
    border-bottom: none !important;
  }

  /* Menu Links Hover */
  .menu a:hover {
    color: var(--secondary) !important;
    background: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
  }

  /* Show/hide elements based on screen size */
  .menu .desktop-only {
    display: none !important;
  }
  
  .menu .mobile-only {
    display: block !important;
  }
}

/* ========================================
   DESKTOP MENU STYLES (1201px+)
======================================== */
@media (min-width: 1201px) {
  /* Show/hide elements based on screen size */
  .menu .desktop-only {
    display: block !important;
  }
  
  .menu .mobile-only {
    display: none !important;
  }

  /* Desktop dropdown - pure CSS hover */
  .dropdown {
    position: relative !important;
  }
  
  .dropdown-content {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px !important;
    padding: 0.5rem 0 !important;
    min-width: 200px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1000 !important;
  }
  
  .dropdown:hover .dropdown-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  
  /* Ensure dropdown stays visible when hovering over content */
  .dropdown-content:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  
  .dropdown-content a {
    display: block !important;
    padding: 0.75rem 1.5rem !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px solid rgba(255, 138, 138, 0.1) !important;
  }
  
  .dropdown-content a:last-child {
    border-bottom: none !important;
  }
  
  .dropdown-content a:hover {
    background: linear-gradient(135deg, rgba(255, 138, 138, 0.15) 0%, rgba(255, 107, 107, 0.1) 100%) !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(255, 138, 138, 0.2) !important;
    border-left: 3px solid var(--primary) !important;
    font-weight: 600 !important;
  }

  /* Desktop dropdown arrow */
  .dropdown > a::after {
    content: '▼' !important;
    margin-left: 8px !important;
    font-size: 0.8rem !important;
    transition: transform 0.3s ease !important;
  }

  .dropdown:hover > a::after {
    transform: rotate(180deg) !important;
  }

  /* Desktop Menu Links */
  .menu a {
    color: var(--primary) !important;
    font-weight: 600 !important;
    padding: 0.6rem 1rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    border-radius: 8px !important;
    background: rgba(255, 107, 107, 0.03) !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .menu a:hover {
    color: var(--secondary) !important;
    background: rgba(255, 107, 107, 0.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2) !important;
    text-decoration: none !important;
  }
}

/* ========================================
   TABLET MENU STYLES (768px - 1200px)
   Using same styles as mobile for consistency
======================================== */
@media (max-width: 1200px) and (min-width: 768px) {
  /* Tablet Menu Container */
  .menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%) !important;
    z-index: 10002 !important;
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 80px 20px !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  

  .menu.active {
    display: flex !important;
    transform: translateX(0) !important;
  }

  /* Menu Items */
  .menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 300px !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .menu.active li {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Animation delays */
  .menu.active li:nth-child(1) { transition-delay: 0.1s !important; }
  .menu.active li:nth-child(2) { transition-delay: 0.2s !important; }
  .menu.active li:nth-child(3) { transition-delay: 0.3s !important; }

  /* Menu Links */
  .menu a {
    display: block !important;
    width: 100% !important;
    padding: 20px 24px !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    text-transform: uppercase !important;
  }
  
  /* Force override for all menu links */
  .menu li a,
  .menu .mobile-service a,
  .menu .dropdown a {
    font-size: 2rem !important;
    color: var(--primary) !important;
  }
  
  /* ULTRA SPECIFIC - Force all menu elements */
  .menu.active li a,
  .menu.active .mobile-service a,
  .menu.active .dropdown a,
  .menu li.mobile-service a,
  .menu li.dropdown a {
    font-size: 2rem !important;
    color: var(--primary) !important;
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Make menu items wider to prevent text wrapping */
  .menu li {
    max-width: 100% !important;
  }
  
  /* Menu separators */
  .menu-separator {
    width: 100% !important;
    height: 2px !important;
    background: rgba(255, 138, 138, 0.3) !important;
    margin: 15px 0 !important;
    border-radius: 1px !important;
  }
  
  /* Tablet dropdown styles */
  .menu .dropdown {
    position: relative !important;
  }
  
  .menu .dropdown-content {
    position: static !important;
    display: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .menu .dropdown.active .dropdown-content {
    display: block !important;
  }
  
  .menu .dropdown-content a {
    display: block !important;
    padding: 16px 24px !important;
    font-size: 1.5rem !important;
    color: var(--primary) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 138, 138, 0.2) !important;
  }
  
  .menu .dropdown-content a:last-child {
    border-bottom: none !important;
  }

  /* Menu Links Hover */
  .menu a:hover {
    color: var(--secondary) !important;
    background: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
  }
  
  /* Show/hide elements based on screen size */
  .menu .desktop-only {
    display: none !important;
  }
  
  .menu .mobile-only {
    display: block !important;
  }

  /* Tablet styles for other pages */
  .header-other-pages + main .hero-section .headline {
    font-size: 3rem !important;
    line-height: 1.2 !important;
    color: var(--primary) !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .header-other-pages + main .hero-section .subheadline {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    text-align: justify !important;
    width: 100% !important;
  }
  
  /* Tablet layout: keep side-by-side but improve spacing */
  .header-other-pages + main .hero-section .col-md-7 {
    padding-right: 1rem !important;
  }
  
  .header-other-pages + main .hero-section .ad-illustration {
    min-height: 150px !important;
    padding: 1rem !important;
  }
  
  .header-other-pages + main .hero-section .ad-illustration img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Override Bootstrap mb-5 class for image column on tablet */
  .header-other-pages + main .hero-section .col-md-5.mb-5 {
    margin-bottom: 0 !important;
  }
  
  /* Prevent horizontal scroll on mobile */
  body {
    overflow-x: hidden !important;
  }
  
  /* Body overflow when menu is open */
  body.menu-open {
    overflow: hidden !important;
  }

  /* Стилі для headline та subheadline на планшетах */
  .headline {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .subheadline {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Додаткові відступи для hero секцій на інших сторінках для планшетів */
  main .hero-section {
    height: auto;
    min-height: 100vh;
  }
  
  /* Планшетні стилі для Bootstrap grid */
  main .hero-section .row {
    min-height: 50vh;
  }

}
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
  right: 0 !important;
  z-index: 10001 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 107, 107, 0.15) !important;
  padding: 1rem 2rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  min-height: 70px !important;
  border-bottom: 1px solid rgba(255, 107, 107, 0.2) !important;
  background-clip: padding-box !important;
}

.header::before {
  content: '';
  position: absolute;
    top: 0;
    left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  opacity: 0.1;
  z-index: -1;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

/* Header for other pages (not main page) - more minimal and content-focused */
.header-other-pages {
  background: var(--background) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: var(--shadow) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 1rem 0 !important;
  min-height: 60px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
}

/* Red line using div element */
.header-red-line {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 3px !important;
  background: var(--gradient) !important;
  z-index: 1001 !important;
}

.header-other-pages .logo-link {
  padding: 0.3rem 0.8rem !important;
  font-size: 1rem !important;
  background: transparent !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  transition: var(--transition) !important;
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
}

.header-other-pages .logo-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.4), rgba(255, 138, 138, 0.3), transparent);
  opacity: 0;
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.header-other-pages .logo-link:hover::before {
  left: 200%;
  opacity: 1;
}

.header-other-pages .logo-link:not(:hover)::before {
  left: -200%;
  opacity: 0;
}

.header-other-pages .logo-link:hover {
  transform: translateY(-1px) !important;
  color: var(--primary-color) !important;
}

.header-other-pages .logo-link:hover .logo-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
}

.header-other-pages .logo-icon {
  width: 32px;
  height: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(255, 107, 107, 0.2));
}

.header-other-pages .menu a {
  padding: 0.5rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  background: transparent !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  transition: var(--transition) !important;
}

.header-other-pages .menu a:hover {
  background: var(--background-hover) !important;
  color: var(--primary-color) !important;
  transform: translateY(-1px) !important;
}

.header-other-pages .menu-icon {
  width: auto !important;
  height: auto !important;
  min-height: 40px !important;
  padding: 0.6rem 1rem !important;
  background: rgba(255, 107, 107, 0.03) !important;
  border: 1px solid rgba(255, 107, 107, 0.08) !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.header-other-pages .menu-icon:hover {
  background: rgba(255, 107, 107, 0.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2) !important;
  border-color: rgba(255, 107, 107, 0.15) !important;
}

.logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: var(--primary) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  padding: 0.6rem 1rem !important;
  border-radius: 8px !important;
  background: rgba(255, 107, 107, 0.03) !important;
  border: none !important;
  outline: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 40px !important;
}

.logo-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.4), rgba(255, 138, 138, 0.3), transparent);
  opacity: 0;
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.logo-link:hover::before {
  left: 200%;
  opacity: 1;
}

.logo-link:not(:hover)::before {
  left: -200%;
  opacity: 0;
}

.logo-link:hover {
  transform: translateY(-1px) !important;
}

/* Logo hover effects removed except for shine animation */

.logo-icon {
  width: 32px;
  height: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(255, 107, 107, 0.2));
}

.logo-link:hover .logo-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
}

.logo-text {
  color: var(--primary) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Logo icon hover effects removed */

.menu:not(.header .menu) {
  display: flex !important;
  gap: 1.2rem !important; /* Зменшено з 2rem щоб вмістити в один ряд */
  list-style: none !important;
  flex-wrap: nowrap !important; /* Забороняємо перенос */
  align-items: center !important; /* Вирівнюємо пункти меню по центру */
  height: 100% !important; /* Забезпечуємо повну висоту для правильного центрування */
  margin: 0 !important; /* Видаляємо будь-які margins */
  padding: 0 !important; /* Видаляємо будь-які paddings */
}

.menu li {
  list-style: none !important;
  margin: 0 !important; /* Видаляємо margins з li елементів */
  padding: 0 !important; /* Видаляємо paddings з li елементів */
  display: flex !important; /* Flex для центрування */
  align-items: center !important; /* Центруємо вміст li */
  height: 100% !important; /* Повна висота */
}



/* Desktop menu styles - moved to desktop media query */

/* ========================================
   DROPDOWN MENU STYLES
======================================== */
.menu li {
  position: relative !important;
}

.dropdown {
  position: relative !important;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 200px;
  z-index: 1000;
  padding: 0.5rem 0;
  border: 1px solid rgba(255, 138, 138, 0.2);
}

.dropdown-content a {
  display: block !important;
  padding: 0.8rem 1.2rem !important;
  color: var(--primary) !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border-bottom: 1px solid rgba(255, 138, 138, 0.1);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: linear-gradient(135deg, rgba(255, 138, 138, 0.15) 0%, rgba(255, 107, 107, 0.1) 100%);
  color: var(--primary) !important;
  text-decoration: none !important;
  transform: translateX(8px) scale(1.02) !important;
  box-shadow: 0 4px 15px rgba(255, 138, 138, 0.2) !important;
  border-left: 3px solid var(--primary) !important;
  font-weight: 600 !important;
}

/* Desktop dropdown hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* Desktop dropdown active state */
.dropdown.active .dropdown-content {
  display: block;
}

.dropdown.active > a::after {
  transform: rotate(180deg);
}

/* Mobile hidden dropdown */
.dropdown.mobile-hidden {
  display: none !important;
}

.dropdown > a::after {
  content: ' ▼';
  font-size: 0.8rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

/* Desktop hover removed - mobile only */

/* ========================================
   MODERN MOBILE MENU - BURGER BUTTON
======================================== */
/* Menu button removed - using button instead of checkbox */

/* Сучасна бургер-кнопка */
.menu-icon {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: 10003;
  padding: 0;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 107, 107, 0.05);
  border: 1px solid rgba(255, 107, 107, 0.1);
  outline: none;
}

.menu-icon:hover {
  background: rgba(255, 138, 138, 0.1);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
  border-color: rgba(255, 107, 107, 0.2);
}

.menu-icon:focus {
  background: rgba(255, 138, 138, 0.1);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 3 лінії бургера */
.navicon {
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  left: 0;
  top: 0;
  box-shadow: 0 1px 3px rgba(255, 138, 138, 0.3);
}

.navicon::before,
.navicon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(255, 138, 138, 0.3);
  left: 0;
}

.navicon::before {
  top: -8px;
}

.navicon::after {
  top: 8px;
}

/* Показуємо бургер на мобільних */
@media (max-width: 1200px) {
  .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
  }
  
  .navicon,
  .navicon::before,
  .navicon::after {
    left: 0 !important;
  }
}

/* Приховуємо на десктопі */
@media (min-width: 1201px) {
  .menu-icon,
  .navicon,
  .navicon::before,
  .navicon::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* ============ CONTENT PADDING FOR ALL PAGES ============ */
.content-section {
  padding-top: 65px; /* Оптимальний відступ від меню на десктопі */
}

/* Скасовуємо відступ для .container всередині секцій з py-5 */
.benefits-section.py-5 .container,
.theme-bg-light-gradient.py-5 .container,
.author-section.py-5 .container {
  padding-top: 0 !important;
}

/* ============ CONTACT FORM STYLES ============ */
.contact-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-form-overlay.show {
  opacity: 1;
  visibility: visible;
}

.contact-form-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10003;
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  width: 480px;
  max-width: calc(100vw - 30px);
  max-height: calc(100vh - 30px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.contact-form-container.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.contact-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px 15px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  border-radius: 12px 12px 0 0;
  position: relative;
  z-index: 1;
}

.contact-form-header h4 {
  font-family: var(--font-family);
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.contact-form-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-close:hover {
  background: #f0f0f0;
  color: var(--text-primary);
}

.contact-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-family);
  background: var(--background);
  transition: all 0.3s ease;
  box-sizing: border-box;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 138, 138, 0.1);
  transform: translateY(-2px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 120px;
  font-family: var(--font-family);
}

.contact-form button {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 5px;
  position: relative;
  overflow: hidden;
}

.contact-form button:hover:not(.loading) {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 138, 138, 0.4);
}

.contact-form button.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.contact-form button.loading::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.contact-success {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  border-left: 4px solid #28a745;
}

.contact-error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  border-left: 4px solid #dc3545;
}

/* Mobile styles */
@media (max-width: 768px) {
  .contact-form-container {
    width: calc(100vw - 20px);
    max-width: none;
    max-height: calc(100vh - 80px);
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .contact-form-header {
    padding: 20px 25px 15px;
  }

  .contact-form-header h4 {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 25px;
    gap: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 14px 16px;
    font-size: 16px;
  }

  .contact-form textarea {
    min-height: 100px;
  }

  .contact-form button {
    padding: 15px 20px;
    font-size: 16px;
  }
}

/* Contact Menu Item - simplified */
.menu a[href="#"] {
  cursor: pointer !important;
}
.contact-menu-item {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: var(--transition);
}

.contact-menu-item:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-2px);
}

/* ========================================
   MODERN MOBILE MENU - ANIMATIONS
======================================== */
/* Анімація бургера при активному стані */
.menu-icon.active .navicon {
  background: transparent;
  box-shadow: none;
}

.menu-icon.active .navicon::before {
  transform: rotate(45deg) translate(6px, 6px);
  top: 0;
  background: var(--secondary);
  box-shadow: 0 2px 8px rgba(255, 138, 138, 0.4);
}

.menu-icon.active .navicon::after {
  transform: rotate(-45deg) translate(6px, -6px);
  top: 0;
  background: var(--secondary);
  box-shadow: 0 2px 8px rgba(255, 138, 138, 0.4);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  padding: 70px 20px 40px; /* Збільшений відступ знизу після кнопок */
  box-sizing: border-box;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none; /* Дозволяємо взаємодію з текстом */
}

.hero-content {
  max-width: 1200px;
    width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -30px; /* Зменшуємо відступ між логотипом та текстом */
}

.hero-logo {
  margin-bottom: 0.5rem; /* Зменшуємо відступ після логотипу */
  animation: logoScale 8s ease-in-out infinite;
}

@keyframes logoScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: none; /* Прибираємо тінь з логотипу */
}

.hero-text h1 {
  font-family: var(--font-family);
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: #2c3e50;
  margin-bottom: 0.8rem;
  text-shadow: none;
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #00c2ff 0%,
    #33ff8c 25%,
    #ffc640 50%,
    #e54cff 75%,
    #00c2ff 100%
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: auroraGradient 24s ease-in-out infinite;
}

.hero-text h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  -webkit-background-clip: text;
  background-clip: text;
  animation: auroraShine 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-text h1::after {
  display: none;
}

@keyframes auroraGradient {
  0%, 100% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 200% 0%;
  }
  75% {
    background-position: 100% 0%;
  }
}

@keyframes auroraShine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* @keyframes auroraGlow видалено - не потрібне світіння */

/* @keyframes textGlow видалено - не потрібна анімація тіней */

.hero-text h2 {
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary); /* Акцентний колір #FF8A8A */
  margin-bottom: 1.2rem;
  font-style: normal;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.4;
}

.hero-description {
  font-family: var(--font-family);
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: var(--font-weight-regular);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ========================================
   TYPEWRITER ANIMATION
======================================== */
.typewrite {
  margin-bottom: 2.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typewrite .wrap {
  display: inline-block;
  color: #2c3e50; /* Темно-синій колір як друкарська фарба */
  font-weight: 300; /* Тонкий шрифт як на машинці */
  font-size: 1.1rem;
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace; /* Моноширинний шрифт як на машинці */
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Тінь як від друку */
  letter-spacing: 1px; /* Міжбуквений інтервал як на машинці */
  line-height: 1.4;
}

.typewrite .wrap::after {
  content: '█'; /* Блок замість вертикальної лінії - як на старих машинках */
  color: #2c3e50; /* Той самий колір що й текст */
  animation: blink-caret 0.75s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
}


.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.hero-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  width: 180px;
  min-width: 180px;
}

.hero-btn.primary-btn {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-card);
}

.hero-btn.secondary-btn {
  background: var(--background);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.hero-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.hero-btn.primary-btn:hover {
  background: var(--gradient);
  box-shadow: 0 4px 15px rgba(254, 136, 135, 0.4);
}

.hero-btn.secondary-btn:hover {
  background: var(--background-hover);
  border-color: var(--border-hover);
}

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

/* ========================================
   MAIN CONTAINER - SERVICES GRID
======================================== */
  .wrapper {
  width: 100vw;
  height: auto;
  min-height: calc(100vh - 160px); /* Space for footer */
    overflow: visible;
  position: relative;
  display: grid;
    grid-template-areas:
    "left-top right-top"
    "left-btm right-btm";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
    gap: 2vh;
  padding: 2vh;
  padding-top: 65px; /* Оптимальний відступ від меню */
  place-items: stretch;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

/* ========================================
   SERVICES GRID AREAS
======================================== */
.left_top {
  grid-area: left-top;
}

.right_top {
  grid-area: right-top;
}

.left_btm {
  grid-area: left-btm;
}

.right_btm {
  grid-area: right-btm;
}

/* ========================================
   MOBILE RESPONSIVE HERO
======================================== */
@media (max-width: 1200px) {
  .hero-section {
    height: 100vh;
    padding: 70px 15px 40px;
    box-sizing: border-box;
    max-width: none;
    width: 100%;
    margin: 0;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    /* Aurora effect inherited from main styles */
  }
  
  .hero-text h2 {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .typewrite .wrap {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn {
    width: 250px;
    min-width: 250px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    height: 100vh;
    padding: 70px 10px 30px;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.1;
    /* Aurora effect inherited from main styles */
  }
  
  .hero-text h2 {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-logo img {
    max-width: 250px;
  }

  .typewrite .wrap {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .services-section-title h2 {
    font-size: 1.8rem;
  }
  
  .services-section-title p {
    font-size: 0.95rem;
  }

  .service-section .services {
    font-size: 1.4rem;
  }

  .service-section .service-description {
    font-size: 0.9rem;
    max-width: 200px;
  }

  .service-section {
    padding: 2vh 1vh;
  }

  /* Збільшуємо відступи для мобільних пристроїв */
  .content-section {
    padding-top: 120px; /* Збільшений відступ від меню на мобільних */
  }
  
  .wrapper {
    padding-top: 120px; /* Збільшений відступ для wrapper на мобільних */
  }
  
  /* Скасовуємо відступ для .container всередині секцій з py-5 на мобільних */
  .benefits-section.py-5 .container,
  .theme-bg-light-gradient.py-5 .container,
  .author-section.py-5 .container {
    padding-top: 0 !important;
  }
  
  /* Додаткові відступи між секціями на мобільних */
  .benefits-section,
  .theme-bg-light-gradient {
    margin-bottom: 0;
  }
  
  .author-section {
    margin-bottom: 0;
  }
  
  /* Збільшуємо відступи для секцій на мобільних */
  .benefits-section {
    padding: 2rem 0;
  }
  
  .author-section {
    padding: 2rem 0 !important;
  }
  
  /* Прибираємо нижній відступ з останньої секції перед футером */
  .author-section.py-5 {
    padding-bottom: 0 !important;
  }
  
  /* Мобільні стилі для headline та subheadline на інших сторінках */
  .headline {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .subheadline {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Додаткові відступи для hero секцій на інших сторінках */
  main .hero-section {
    padding-top: 80px !important;
    height: auto;
    min-height: 100vh;
  }

  /* Спеціальне правило для showreels.html */
  .header-other-pages + main .hero-section {
    padding-top: 80px !important;
  }

  /* Додаткове правило з високою специфічністю */
  body .header-other-pages + main .hero-section {
    padding-top: 80px !important;
  }
  
  /* Мобільні стилі для Bootstrap grid */
  main .hero-section .row {
    min-height: auto;
    flex-direction: column;
  }
  
  main .hero-section .col-12 {
    margin-bottom: 0;
  }
  
  /* Prevent content from overflowing on mobile */
  .wrapper {
    width: 100% !important;
    max-width: none !important;
    overflow-x: hidden !important;
  }
  
  main {
    width: 100% !important;
    max-width: none !important;
  }
  
  .hero-section {
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Force container reset for mobile */
  .container, .container-fluid {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Prevent all sections from overflowing */
  section, .section {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Specific section overrides */
  .benefits-section, .author-section, .theme-bg-light-gradient {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Prevent images and media from overflowing */
  img, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Prevent text from overflowing */
  h1, h2, h3, h4, h5, h6, p, span, div, a, li, td, th {
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Prevent horizontal overflow on mobile */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Bootstrap grid fixes for mobile */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .col-lg-6, .col-md-6, .col-12 {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

/* ========================================
   SERVICES SECTION TITLE
======================================== */
.services-section-title {
  text-align: center;
  margin: 4rem 0 0 0;
  padding: 0 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.services-section-title h2 {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-section-title p {
  font-family: var(--font-family);
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   SERVICES CONTAINER
======================================== */
.services-container {
display: contents;
}

/* ========================================
   SERVICES SECTIONS
======================================== */
.left_top {
  grid-area: left-top;
  text-align: center;
  color: #9BC2F7;
  position: relative;
  z-index: 10;
}

.right_top {
  grid-area: right-top;
  text-align: center;
  color: #D0A2FF;
  position: relative;
  z-index: 10;
}

.left_btm {
  grid-area: left-btm;
  text-align: center;
  color: #F6C118;
  position: relative;
  z-index: 10;
}

.right_btm {
  grid-area: right-btm;
  text-align: center;
  color: #698AFF;
  position: relative;
  z-index: 15;
  margin-bottom: 2rem;
}

.service-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3vh 2vh;
  width: 100%;
  height: 100%;
  min-height: 400px;
  text-align: center;
  position: relative;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-section:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-section img {
  width: 100%;
  max-width: 300px; /* Стандартизовано розмір */
  height: 200px; /* Фіксована висота для рівномірності */
  margin: 0 auto 1.5rem;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-section:hover img {
  transform: scale(1.1);
}

.service-section .services {
  font-family: var(--font-family); /* System fonts для заголовків */
  font-size: 1.6rem; /* Збільшено для більш професійного вигляду */
  font-weight: var(--font-weight-bold);
  color: currentColor;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.service-section .services::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  border-radius: 2px;
}

.service-section .service-description {
  font-family: var(--font-family);
  font-size: 1rem; /* Збільшено для кращої читабельності */
  font-weight: var(--font-weight-regular);
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  margin: 0;
  max-width: 300px; /* Збільшено до ширини картинки */
  text-align: center;
  padding: 0 10px;
}

.service-section a {
display: flex;
  flex-direction: column;
align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  padding: 10px;
  border-radius: 8px;
}

.service-section a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   DESKTOP VERSION (>1200px) - NO SCROLL
======================================== */
@media (min-width: 1201px) {
  .wrapper {
    height: auto;
    overflow: visible;
    min-height: calc(100vh - 160px); /* Space for footer */
  }

  .service-section img {
    width: 100%;
    max-width: 320px; /* Стандартизовано для десктопу */
    height: 220px; /* Фіксована висота для десктопу */
  }

  .service-section .services {
    font-size: 1.8rem; /* Збільшено для десктопу */
  }

  .service-section .service-description {
    font-size: 1.1rem;
    max-width: 280px;
  }

  .logo_center img {
    max-width: 350px;
  }


  .hero-text .subtitle {
    font-size: 1.2rem; /* Зменшено з 1.4rem для балансу */
  }


  /* CTA button styles moved to cta-buttons.css */
}

/* ========================================
   MOBILE VERSION (≤1200px) - WITH SCROLL
======================================== */
@media (max-width: 1200px) {
  html,
  body {
    height: auto;
    overflow-y: visible;
  }

  .wrapper {
    height: auto;
    min-height: calc(100vh - 160px); /* Space for footer */
    overflow: visible;
    grid-template-areas:
      "logo"
      "services";
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 2vh;
    padding: 0 15px;
    padding-top: 75px; /* Оптимальний відступ для планшетів */
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Збільшуємо відступи для планшетів */
  .content-section {
    padding-top: 75px; /* Оптимальний відступ від меню на планшетах */
  }
  
  /* Скасовуємо відступ для .container всередині секцій з py-5 на планшетах */
  .benefits-section.py-5 .container,
  .theme-bg-light-gradient.py-5 .container,
  .author-section.py-5 .container {
    padding-top: 0 !important;
  }

  .logo_center {
    grid-area: logo;
  }

  .services-section-title {
    margin: 3rem 0 0 0;
    padding: 0 15px;
    max-width: 100%;
  }
  
  .services-section-title h2 {
    font-size: 2rem;
  }
  
  .services-section-title p {
    font-size: 1rem;
  }

  .services-container {
    grid-area: services;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .left_top,
  .right_top,
  .left_btm,
  .right_btm {
    width: 100%;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .right_btm {
    margin-bottom: 2rem;
  }

  .service-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .logo_center img {
    width: 200px;
  }


  .hero-text .subtitle {
    font-size: 1rem;
  }

/* CTA button styles moved to cta-buttons.css */

  .service-section img {
    width: 100%;
    max-width: 250px; /* Стандартизовано для планшетів */
    height: 180px; /* Фіксована висота для планшетів */
  }

  .service-section .services {
    font-size: 1.1rem; /* Зменшено з 1.3rem */
  }

  /* Contact Menu Item on Mobile */
  .contact-menu-item {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Modern Mobile Menu */
  .header {
    position: fixed !important;
    padding: 0.8rem 1.2rem !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .logo-link {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }
  
  .logo-icon {
    width: 28px !important;
    height: 28px !important;
  }
  
  
  /* Mobile styles for other pages header */
  .header-other-pages {
    padding: 0.8rem 1.2rem !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .header-other-pages .logo-link {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }
  
  .header-other-pages .logo-icon {
    width: 28px !important;
    height: 28px !important;
  }
  
  
  .header-other-pages .menu-icon {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    cursor: pointer !important;
    z-index: 10003 !important;
    padding: 0 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 107, 107, 0.08) !important;
    border: 1px solid rgba(255, 107, 107, 0.15) !important;
    outline: none !important;
    flex-shrink: 0 !important;
  }
  
  /* Mobile menu styles for other pages - REMOVED (using unified styles above) */
  
  .header-other-pages .dropdown > a::after {
    display: none !important;
  }
  
  .header-other-pages .menu-icon:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2) !important;
    border-color: rgba(255, 107, 107, 0.2) !important;
  }
  
  .header-other-pages .navicon,
  .header-other-pages .navicon::before,
  .header-other-pages .navicon::after {
    left: 0 !important;
  }
  
  /* Burger animation for other pages */
  .header-other-pages .menu-icon.active .navicon {
    background: transparent !important;
    box-shadow: none !important;
  }
  
  .header-other-pages .menu-icon.active .navicon::before {
    transform: rotate(45deg) translate(6px, 6px) !important;
    top: 0 !important;
    background: var(--secondary) !important;
    box-shadow: 0 2px 8px rgba(255, 138, 138, 0.4) !important;
  }
  
  .header-other-pages .menu-icon.active .navicon::after {
    transform: rotate(-45deg) translate(6px, -6px) !important;
    top: 0 !important;
    background: var(--secondary) !important;
    box-shadow: 0 2px 8px rgba(255, 138, 138, 0.4) !important;
  }
  
  /* Mobile hero section for other pages */
  
  .header-other-pages + main .hero-section .headline {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    color: var(--primary) !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .header-other-pages + main .hero-section .subheadline {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  /* Mobile layout: text full width, image below */
  .header-other-pages + main .hero-section .row {
    flex-direction: column !important;
  }
  
  .header-other-pages + main .hero-section .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .header-other-pages + main .hero-section .col-md-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  
  .header-other-pages + main .hero-section .promo {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  
  .header-other-pages + main .hero-section .col-md-5 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  
  /* Override Bootstrap mb-5 class for image column */
  .header-other-pages + main .hero-section .col-md-5.mb-5 {
    margin-bottom: 0 !important;
  }
  
  .header-other-pages + main .hero-section .ad-illustration {
    min-height: 100px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  
  .header-other-pages + main .hero-section .ad-illustration img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    transform: none !important;
  }
  
  /* Fix author section spacing on mobile */
  .author-section {
    margin-top: 0 !important;
  }
  
  .author-section .container {
    padding-top: 1rem !important;
  }
  
  /* Override general col-12 margin for other pages */
  .header-other-pages + main .hero-section .col-12 {
    margin-bottom: 0 !important;
  }
  
  /* Fix container padding on mobile - smaller to prevent horizontal scroll */
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  
  /* Fix benefits section on mobile */
  .benefits-section .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Fix item spacing on mobile */
  .benefits-section .item {
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-bottom: 1rem !important;
  }
  
  /* Prevent horizontal scroll */
  body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure all content fits */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  
  /* Fix any elements that might cause overflow */
  * {
    box-sizing: border-box !important;
  }
}

/* Desktop styles for other pages */
@media (min-width: 1201px) {
  .header-other-pages .menu {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding-top: 0 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .header-other-pages .menu li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .header-other-pages .menu a {
    padding: 0.8rem 1.2rem !important;
    font-size: 1rem !important;
    background: rgba(255, 107, 107, 0.02) !important;
    border-radius: 6px !important;
    width: auto !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }
  
  
  .header-other-pages .menu a:hover {
    background: rgba(255, 107, 107, 0.08) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.15) !important;
  }
  
  .header-other-pages .dropdown-content {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px !important;
    padding: 0.5rem 0 !important;
    min-width: 200px !important;
    z-index: 1000 !important;
  }
  
  .header-other-pages .dropdown:hover .dropdown-content {
    display: block !important;
  }
  
  .header-other-pages .dropdown > a::after {
    content: '▼' !important;
    margin-left: 0.5rem !important;
    font-size: 0.7rem !important;
    transition: transform 0.3s ease !important;
  }
  
  .header-other-pages .dropdown:hover > a::after {
    transform: rotate(180deg) !important;
  }
}

/* Tablet styles for other pages - moved to main tablet media query */

/* ========================================
   TYPOGRAPHY - HEADINGS & TEXT
======================================== */
/* Заголовки використовують system fonts */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family); /* System fonts для всіх заголовків */
}

/* Параграфи та основний текст використовують system fonts */
p, span, div, a, li, td, th, label, input, textarea, button {
  font-family: var(--font-family); /* System fonts для основного тексту */
  font-size: 1rem; /* Нормальний розмір шрифта для контенту */
}

/* Збільшений розмір шрифта для контенту на планшетах */
@media (max-width: 1200px) and (min-width: 768px) {
  body {
    font-size: 1.3rem !important; /* Збільшений базовий розмір для планшетів */
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  
  html {
    width: 100% !important;
    max-width: none !important;
  }
  
  p, span, div, a, li, td, th, label, input, textarea, button {
    font-size: 1.3rem !important; /* Збільшений розмір для планшетів */
  }
  
  .hero-description,
  .subheadline,
  .service-description {
    font-size: 1.4rem !important; /* Ще більший для описів */
  }
  
  /* Fix container centering on tablets */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* Fix benefits section on tablets */
  .benefits-section .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Fix wrapper width on tablets */
  .wrapper {
    width: 100% !important;
    max-width: none !important;
    overflow-x: hidden !important;
  }
  
  /* Fix main width on tablets */
  main {
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Fix hero-section width on tablets */
  .hero-section {
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Fix footer width on tablets */
  .footer-content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
  }
  
  .footer-legal {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
  }
  
  /* Fix header width on tablets */
  header {
    width: 100% !important;
    max-width: none !important;
  }
  
  .header-other-pages {
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Override desktop styles for tablets - force reset */
  .wrapper {
    width: 100% !important;
    max-width: none !important;
    overflow-x: hidden !important;
  }
  
  main {
    width: 100% !important;
    max-width: none !important;
  }
  
  .hero-section {
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Force container reset for tablets */
  .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Prevent horizontal overflow on tablets */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Force override specific desktop max-width constraints */
  .wrapper, main, .hero-section, .container, .container-fluid {
    max-width: none !important;
  }
  
  /* Specific overrides for common elements */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .col-lg-6, .col-md-6, .col-12 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Prevent content from overflowing on tablets */
  .hero-content {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .hero-text {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .hero-logo {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .hero-logo img {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Prevent all sections from overflowing */
  section, .section {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Specific section overrides */
  .benefits-section, .author-section, .theme-bg-light-gradient {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Prevent images and media from overflowing */
  img, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Prevent text from overflowing */
  h1, h2, h3, h4, h5, h6, p, span, div, a, li, td, th {
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Fix item spacing on tablets */
  .benefits-section .item {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Ensure all content fits */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  
  /* Fix any elements that might cause overflow */
  * {
    box-sizing: border-box !important;
  }
  
  /* Fix image overflow in hero section on tablets */
  .header-other-pages + main .hero-section .ad-illustration img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    transform: none !important;
  }
}

/* ========================================
   TYPEWRITER EFFECT
======================================== */
.typewrite {
  font-family: var(--font-family); /* System fonts для тексту */
  font-weight: var(--font-weight-regular);
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.typewrite > .wrap {
  border-right: 0.08em solid var(--primary);
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary); }
}

/* ========================================
   ANIMATIONS
======================================== */
/* Logo center animation removed - now using hero section */

/* ========================================
   FOOTER
======================================== */
.footerMainPage {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 40px 20px 20px;
  border-top: 3px solid var(--primary);
  position: relative;
  clear: both;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #bdc3c7;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 0;
  display: block;
}

.footer-section ul li a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 138, 138, 0.3);
}

.footer-cta:hover {
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 138, 138, 0.4);
}

.footer-cta:focus {
  outline: none;
  box-shadow: none;
}

.footer-cta:active {
  outline: none;
  box-shadow: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: #95a5a6;
  margin: 0;
  opacity: 0.8;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #95a5a6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
  opacity: 1;
}

/* Responsive footer links */
@media (max-width: 768px) {
  .footer-legal {
    gap: 10px;
  }
  
  .footer-links {
    gap: 15px;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

.footerText {
  font-family: var(--font-family); /* System fonts для тексту */
  font-size: 0.9rem;
  color: var(--dark);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 15px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.footerText a {
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footerText a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Social Media Links */
.footer-section .social-media,
.social-media {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-section .social-media a,
.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-media a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 138, 138, 0.3);
  border-color: transparent;
}

/* Ensure Font Awesome works properly */
.fab:before,
.fas:before,
.far:before,
.fal:before {
  font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free", "Font Awesome 5 Regular", "Font Awesome 5 Solid";
}

/* Error pages social media */
.error-social-media {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  display: flex !important;
  gap: 10px !important;
  z-index: 1000 !important;
}

.error-social-media a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background: var(--gradient) !important;
  color: white !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.error-social-media a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 3px 10px rgba(255, 138, 138, 0.4) !important;
}

.error-social-media a i {
  font-weight: normal !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Desktop adjustments */
/* Desktop adjustments - margin-top removed */

/* Mobile adjustments */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 30px;
  }
  
  .footer-section .social-media {
    justify-content: center;
  }
}

/* ========================================
   FLOATING CONTACT BUTTON - REMOVED
======================================== */
/* Magic Wand Button Removed */

/* All Magic Wand Button Styles Removed */

/* ========================================
   ADDITIONAL STYLES FOR OTHER PAGES
======================================== */

/* Bootstrap-like utility classes */
.text-center { text-align: center !important; }
.text-white { color: white !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.pt-5 { padding-top: 1.5rem !important; }
.py-5 { padding-top: 1.5rem !important; padding-bottom: 3rem !important; }
.p-3 { padding: 1rem !important; }
.p-lg-4 { padding: 1.5rem !important; }
.pr-md-3 { padding-right: 1rem !important; }
.pr-lg-5 { padding-right: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.align-self-center { align-self: center !important; }

/* Section specific styles */
.benefits-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.5rem 0;
}

.theme-bg-light-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.theme-bg-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
}

.single-col-max {
  max-width: 600px;
}

/* Item styles */
.item {
  margin-bottom: 2rem;
}

.item-inner {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.item-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.item-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.item-heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

/* Author section */
.author-section {
  background: linear-gradient(135deg, var(--primary) 0%, #d65a5a 100%);
  padding: 1.5rem 0;
}

/* Hero section for other pages - better text and image formatting */
/* Desktop styles for other pages only */

.header-other-pages + main .hero-section .headline {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  text-align: center !important;
  width: 100% !important;
}

.header-other-pages + main .hero-section .subheadline {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: #666 !important;
  margin-bottom: 2rem !important;
  text-align: justify !important;
  width: 100% !important;
}

.header-other-pages + main .hero-section .ad-illustration {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 350px !important;
  padding: 1rem !important;
}

.header-other-pages + main .hero-section .ad-illustration img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.author-profile {
  margin-bottom: 2rem;
}

.author-profile .author-pic {
  width: 100px;
  height: 100px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  animation: none;
}

.author-profile .author-pic:hover {
  transform: none;
  box-shadow: none;
  animation-play-state: paused;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(255, 255, 255, 0.1);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Services Overview in Portfolio */
.services-overview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-title {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.service-name {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.4;
  margin: 0;
}

.author-pic {
  width: 100px;
  height: 100px;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.author-bio {
  color: white;
  max-width: 800px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
}

.author-bio p {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-bio h4 {
  color: white;
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
}

.author-bio h5 {
  color: white;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  text-align: left;
}

.author-bio ul {
  list-style: none;
  padding: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
}

.author-bio ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

.author-bio ul li::before {
  content: none;
}

/* Prevent checkmark from appearing in menu */
.menu li::before {
  content: none !important;
}

.author-bio a {
  color: white;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  font-size: inherit; /* Успадковує розмір шрифту від батьківського елемента */
}

.author-bio a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.author-bio a:hover {
  color: #f0f0f0;
}

.author-bio a:hover::after {
  width: 100%;
}

.author-bio .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.author-bio .btn:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* About CTA Button - Fixed hover animation */
.about-cta-button {
  display: inline-block !important;
  background: white !important;
  color: var(--primary) !important;
  padding: 15px 40px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  border: 2px solid white !important;
  box-sizing: border-box !important;
  vertical-align: top !important;
  position: relative !important;
}

/* Remove underline animation for buttons */
.about-cta-button::after {
  display: none !important;
}

.about-cta-button:hover {
  transform: translateY(-3px) !important;
  background: var(--primary) !important;
  color: white !important;
  box-shadow: 0 8px 25px rgba(255, 138, 138, 0.3) !important;
}

.about-cta-button:hover::after {
  display: none !important;
}

/* Book cover holder */
.book-cover-holder {
  text-align: center;
}

.book-cover-holder img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Ad illustration - unified image styles */
.ad-illustration {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.ad-illustration img {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive for ad illustrations */
@media (max-width: 768px) {
  .ad-illustration {
    min-height: 120px;
  }
  
  .ad-illustration img {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .ad-illustration {
    min-height: 80px;
  }
  
  .ad-illustration img {
    max-width: 250px;
  }
}

/* Promo styles */
.promo {
  padding-right: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .promo {
    padding-right: 0;
    text-align: center;
  }
}

/* Hero section for other pages (not main page) */
main .hero-section {
  height: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Bootstrap grid adjustments for hero sections */
main .hero-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Override container width on tablets */
@media (max-width: 1200px) and (min-width: 768px) {
  main .hero-section .container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
  }
  
  /* Force override all container styles */
  .container, .container-fluid {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

main .hero-section .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 60vh;
}

.headline {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.subheadline {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   UTILITIES
======================================== */
.visually-hidden {
position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ******************************
:: 5.0 PRELOADER AREA CSS
****************************** */
.preloader-main {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99999;
}

.preloader-main .preloader-wapper {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.preloader-main .loader-section {
  position: fixed;
  top: 0;
  height: 100%;
  width: calc(50% + 1px);
  background-color: var(--background);
}

.preloader-main .loader-section.section-left {
  left: 0;
}

.preloader-main .loader-section.section-right {
  right: 0;
}

.preloader-main .preloader {
  position: relative;
  display: block;
  height: 80px;
  width: 170px;
  top: -40px;
  z-index: 99;
}

.preloader-main .loaded .section-right {
  -webkit-transform: translateX(101%);
  transform: translateX(101%);
  -webkit-transition: 0.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 1);
  transition: 0.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

.preloader-main .loaded .section-left {
  -webkit-transform: translateX(-101%);
  transform: translateX(-101%);
  -webkit-transition: 0.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 1);
  transition: 0.5s 0.2s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

.preloader-main .loaded .preloader {
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}

.preloader-main circle.dot:nth-of-type(1) {
  -webkit-animation: slide 2s ease infinite;
  animation: slide 2s ease infinite;
}

.preloader-main circle.dot:nth-of-type(2) {
  -webkit-transform: translateX(55px);
  transform: translateX(55px);
  -webkit-animation: slide 2s ease infinite;
  animation: slide 2s ease infinite;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

@-webkit-keyframes slide {

  0%,
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  50% {
    -webkit-transform: translateX(70px);
    transform: translateX(70px);
  }
}

@keyframes slide {

  0%,
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  50% {
    -webkit-transform: translateX(70px);
    transform: translateX(70px);
  }
}

/* ============ GDPR CONSENT CHECKBOX ============ */
.consent-checkbox {
  margin: 15px 0;
}

/* Special styling for contact form checkbox */
.contact-form .consent-checkbox {
  margin: 8px 0 12px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  color: #555;
}

.consent-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  background: var(--background);
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top: 1px;
}

.consent-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.consent-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
  font-weight: bold;
}

.consent-text {
  flex: 1;
}

.consent-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.consent-text a:hover {
  text-decoration: underline;
}

/* Focus styles for accessibility */
.consent-label:focus-within .checkmark {
  box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.2);
}

/* ========================================
   BRANDBOOK COMPONENT STYLES
======================================== */

/* Header styles according to brandbook */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

/* Logo styles */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

.logo-link:hover {
  color: var(--primary-color);
}

.logo-icon {
  width: 32px;
  height: 32px;
  transition: var(--transition);
}

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

.logo-text {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* Menu styles */
.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.menu a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.menu a:hover {
  background: var(--background-hover);
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  padding: 0.5rem 0;
  backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: linear-gradient(135deg, var(--background-hover) 0%, rgba(255, 138, 138, 0.05) 100%);
  color: var(--primary-color);
  transform: translateX(4px);
  border-left: 3px solid var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

/* Dropdown arrow */
.dropdown > a::after {
  content: ' ▼';
  font-size: 0.7rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
  color: var(--primary-color);
}

/* Footer styles according to brandbook */
.footerMainPage {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 3rem;
}

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

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

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

/* Social media links */
.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-media a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.copyright-notice {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.75rem;
  transition: var(--transition);
}

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

/* ========================================
   BRANDBOOK RESPONSIVE STYLES
======================================== */

/* Tablet (768px) */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  .logo img {
    width: 60px;
    height: 60px;
  }
  
  /* Header */
  .header {
    padding: 0.75rem 0;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .header .logo-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  
  .header .menu-icon {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    margin-right: 1.5rem !important;
  }
  
  /* Header other pages tablet */
  .header-other-pages {
    padding: 0.75rem 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .header-other-pages .logo-link {
    padding: 0.3rem 0.8rem !important;
    font-size: 1rem !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  
  .header-other-pages .menu-icon {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    margin-right: 1.5rem !important;
  }
  
  /* Red line tablet */
  .header-red-line {
    height: 2.5px !important;
  }
  
  /* Footer */
  .footerMainPage {
    padding: 1.25rem 0;
    margin-top: 2.5rem;
  }
  
  .footer-legal {
    margin-top: 0.75rem;
    padding: 0 1rem;
    padding-top: 0.75rem;
  }
  
  .copyright-notice {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }
  
  .usage-disclaimer {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  /* Contact form */
  .contact-form-container {
    width: 90%;
    max-height: 85vh;
  }
  
  .contact-form {
    padding: 18px;
    gap: 12px;
  }
  
  .contact-form .consent-checkbox {
    margin: 6px 0 10px 0;
    padding: 8px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  .logo img {
    width: 50px;
    height: 50px;
  }
  
  /* Header */
  .header {
    padding: 0.5rem 0;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .header .logo-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  
  .header .menu-icon {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    margin-right: 1rem !important;
  }
  
  /* Header other pages mobile */
  .header-other-pages {
    padding: 0.5rem 0 !important;
    min-height: 55px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .header-other-pages .logo-link {
    padding: 0.25rem 0.6rem !important;
    font-size: 1rem !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  
  .header-other-pages .menu-icon {
    width: 35px !important;
    height: 35px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    margin-right: 1rem !important;
  }
  
  /* Red line mobile */
  .header-red-line {
    height: 2px !important;
  }
  
  /* Footer */
  .footerMainPage {
    padding: 1rem 0;
    margin-top: 2rem;
  }
  
  .footer-legal {
    margin-top: 0.5rem;
    padding: 0 0.75rem;
    text-align: center;
  }
  
  .copyright-notice {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
  }
  
  .usage-disclaimer {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.3;
  }
  
  /* Grid adjustments */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Buttons */
  .hero-btn {
    width: 200px;
    min-width: 200px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* CTA buttons mobile */
  .cta-button {
    width: 100%;
    max-width: 280px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: 100px;
  }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .consent-label {
    font-size: 12px;
    gap: 8px;
  }
  
  .checkmark {
    width: 16px;
    height: 16px;
  }
  
  .consent-label input[type="checkbox"]:checked + .checkmark::after {
    font-size: 10px;
  }
  
  /* Contact form mobile adjustments */
  .contact-form .consent-checkbox {
    margin: 5px 0 8px 0;
    padding: 8px;
  }
  
  .contact-form-container {
    width: 95%;
    max-height: 90vh;
  }
  
  .contact-form {
    padding: 15px;
    gap: 10px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .contact-form textarea {
    min-height: 70px;
    max-height: 100px;
  }
  
}

/* ========================================
   SERVICES PAGE - RESPONSIVE DESIGN
======================================== */

/* Tablet styles (768px - 991px) */
@media (max-width: 991.98px) {
  .services-list li {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .logo-animated {
    max-width: 250px !important;
    margin: 1rem auto 1.5rem auto !important;
    display: block;
  }
  
  .services-list h4 {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* Mobile styles (up to 767px) */
@media (max-width: 767.98px) {
  .services-list li {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }
  
  .logo-animated {
    max-width: 280px !important;
    margin: 1.5rem auto 2rem auto !important;
    display: block;
  }
  
  .services-list h4 {
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
    text-align: center;
  }
  
  /* Stack columns vertically on mobile */
  .col-12 {
    text-align: center;
  }
  
  .services-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Small mobile styles (up to 575px) */
@media (max-width: 575.98px) {
  .services-list li {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.4rem !important;
  }
  
  .logo-animated {
    max-width: 250px !important;
    margin: 1.2rem auto 1.8rem auto !important;
    display: block;
  }
  
  .services-list h4 {
    font-size: 1.2rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .services-list {
    max-width: 350px;
  }
}

/* ========================================
   PRIVACY POLICY & TERMS STYLES
   ======================================== */

.privacy-policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.privacy-policy-content h1,
.terms-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.privacy-policy-content .section,
.terms-content .section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid var(--primary-color);
}

.privacy-policy-content .section h2,
.terms-content .section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.privacy-policy-content .section h3,
.terms-content .section h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.cookie-type {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin: 16px 0;
    border-left: 4px solid #4CAF50;
}

.cookie-type.consent {
    border-left-color: #FF8A8A;
}

.cookie-type .item {
    margin: 8px 0;
    padding-left: 16px;
    position: relative;
}

.cookie-type .item::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.privacy-policy-content ul,
.terms-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.privacy-policy-content li,
.terms-content li {
    margin: 8px 0;
    color: var(--text-secondary);
}

.privacy-policy-content a,
.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy-content a:hover,
.terms-content a:hover {
    text-decoration: underline;
}

/* Accent color for footer branding */
.accent-color {
    color: var(--primary-color);
    font-weight: 700;
}

