:root {
  --brand-primary: #f5a623;
  --brand-primary-dark: #d48a1a;
  --brand-secondary: #667eea;
  --brand-dark: #1a202c;
  --brand-darker: #0f141f;
  --orange-1: rgba(245, 166, 35, 0.5);
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --border-light: #e2e8f0;
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: swap;
}

.o-line1 { border-color: var(--orange-1); }
.orange-text { color: var(--brand-primary); }

/* Logo Font */
.logo-text {
  font-family: 'Poppins', sans-serif;
}
.logo-business {
  font-weight: 700;
}
.logo-support {
  font-weight: 300;
}

/* Fix white-on-white text issues */
.service-card {
  background: white !important;
  border: 1px solid #e2e8f0 !important;
}

.service-title {
  color: #1a202c !important;
}

.service-description {
  color: #4a5568 !important;
}

.service-features li {
  color: #4a5568 !important;
}

/* Fix hero section text visibility */
.hero-section .text-white {
  color: white !important;
}

.hero-section .text-gray-300 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.hero-section .text-gray-400 {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Fix benefit items in dark section */
.benefit-title {
  color: white !important;
}

.benefit-description {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Fix human benefit section */
.human-benefit-title {
  color: #1a202c !important;
}

.human-benefit-description {
  color: #4a5568 !important;
}

/* Fix help items */
.help-title {
  color: #1a202c !important;
}

/* Ensure all sections have proper backgrounds */
.bg-white {
  background-color: white !important;
}

/* Fix button text wrapping */
.btn-primary-modern {
  white-space: nowrap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
#site-header {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: all 0.3s ease;
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.nav-link {
  position: relative;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), #f5b234);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

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

.dropdown-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Button Styles */
.btn-primary-modern {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #f5b234 100%);
  color: white;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-primary-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary-modern:hover::before {
  left: 100%;
}

.btn-primary-modern:hover {
  color: rgba(17,24,39,var(--tw-text-opacity));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
  background: linear-gradient(135deg, #f5b234 0%, var(--brand-primary) 100%);
}

/* Mobile Menu Styles - FIXED */
#mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

#mobile-menu.show {
  transform: translateX(0);
}

#mobile-menu:not(.hidden) {
  transform: translateX(0);
}

#mobile-backdrop {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

#mobile-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
}

#mobile-backdrop:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* Mobile accordion styles - FINAL FIXED */
.mobile-nav-accordion-content {
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.mobile-nav-accordion-content.open {
  max-height: 500px;
  overflow: visible;
}
.mobile-nav-accordion-btn .fa-chevron-down { transition: transform 0.3s ease; }
.mobile-nav-accordion-btn.active i:last-child { transform: rotate(180deg); }



/* Body overflow control */
body.overflow-hidden {
  overflow: hidden;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1a202c 0%, #292929 100%);
  position: relative;
  font-size: initial;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(245, 166, 35, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(245, 166, 35, 0.05) 0%, transparent 50%);
  z-index: 1;
}

/* Services Section */
.service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--brand-primary);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

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

/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
  position: relative;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateX(8px);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
#site-footer {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
  position: relative;
  overflow: hidden;
}

.footer-link {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: var(--brand-primary);
}
/* Legal Links */
.legal-link {
  position: relative;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.legal-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-primary);
  transition: width 0.3s ease;
}

.legal-link:hover {
  color: white;
}

.legal-link:hover .legal-underline {
  width: 100%;
}

/* Divider Styles */
.section-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.wave-divider {
  height: 120px;
  background: transparent;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-divider.light-to-dark .wave-fill {
  fill: #111827;
}

.wave-divider.dark-to-light .wave-fill {
  fill: white;
}

.wave-divider.rotate-180 svg {
  transform: rotate(180deg);
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Critical CSS Loading */
.critical-css {
  opacity: 0;
}

.critical-css-loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem !important;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .wave-divider {
    height: 60px;
  }
  
  #mobile-menu {
    width: 100%;
  }
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SEO Section Styles */
.seo-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.seo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.seo-card:hover::before {
  left: 100%;
}

.image-hover {
  transition: all 0.3s ease;
}

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

.cta-gradient {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.help-item {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.help-item:hover {
  border-color: currentColor;
  transform: translateX(8px);
}

.trust-item {
  transition: all 0.3s ease;
}

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

/* Print Styles */
@media print {
  .btn-primary-modern,
  .btn-primary-hero,
  .social-link,
  .newsletter-btn {
    background: #000 !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  
  .hero-section {
    background: #fff !important;
    color: #000 !important;
  }
}

.faq-item.active {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: currentColor !important;
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.faq-question:hover {
  transform: translateX(4px);
}