/* =============================================================================
   DIGIFIN INDIA - Clean Professional Design System
   ============================================================================= */

/* Fix FOUC - Header visibility during load */
[data-include] {
  visibility: visible;
}

[data-include="components/header.html"],
[data-include="components/header.php"] {
  display: contents;
}

/* =============================================================================
   CSS VARIABLES - Professional Color Palette
   ============================================================================= */
:root {
  /* Primary Colors - Professional Navy & Sky Blue */
  --primary: #0f2a5f;
  --primary-light: #1a3d7a;
  --primary-dark: #0a1e45;
  --secondary: #00c2ff;
  --secondary-light: #33d1ff;
  --secondary-dark: #009ecc;
  --accent: #ffc857;
  --accent-light: #ffd478;
  --accent-dark: #e6b34e;

  /* Semantic Colors */
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --error: #ef4444;
  --error-light: #f87171;

  /* Light Mode Surfaces */
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #f0f9ff;
  --surface-hover: #f8fafc;
  --surface-card: #ffffff;
  --surface-chip: #ffffff;

  /* Light Mode Text */
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;

  /* Light Mode Borders & Shadows */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.2);

  /* Gradients */
  --hero-grad: radial-gradient(circle at top right, #e0f2fe 0%, #f8fafc 100%);
  --body-grad: #f8fafc;
  --card-grad: #ffffff;

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

/* Dark Mode Variables */
.dark {
  --primary: #60a5fa;
  --primary-light: #93c5fd;
  --primary-dark: #3b82f6;
  --secondary: #22d3ee;
  --secondary-light: #67e8f9;
  --accent: #fbbf24;
  --accent-light: #fcd34d;

  /* Dark Mode Surfaces - Higher Depth */
  --surface: #0f172a;
  --surface-strong: #020617;
  --surface-muted: #1e293b;
  --surface-hover: #334155;
  --surface-card: #1e293b;
  --surface-chip: #334155;

  /* Dark Mode Text */
  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;

  /* Dark Mode Borders & Shadows */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);

  /* Dark Gradients - Improved Depth */
  --hero-grad: radial-gradient(circle at top right, #1e293b 0%, #020617 100%);
  --body-grad: #020617;
  --card-grad: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);

  /* Dark Glass Effect */
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--body-grad);
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark body {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

/* Links and Buttons */
a, button {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   BUTTONS - Professional Styling
   ============================================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: var(--shadow-md);
}

/* =============================================================================
   HEADER - Modern Sticky Navigation
   ============================================================================= */
.header-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
}

/* Main sticky header - ONLY MENU STICKY */
.sticky-header {
  padding: 0.625rem 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  background: #ffffff; /* Light Mode: White */
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  border-radius: 0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.dark .sticky-header {
  background: #0f2a5f; /* Dark Mode: Navy Blue */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* When scrolled - smaller padding for compact look */
.sticky-header.is-scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.dark .sticky-header.is-scrolled {
  background: var(--primary-dark);
}

/* Notification Strip - Collapsible on scroll */
.notification-strip {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 50px;
  position: relative;
  z-index: 999;
}

.notification-strip.is-hidden {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

.ticker-mask {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  min-width: max-content;
  animation: ticker-slide 25s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 3rem;
  font-weight: 500;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.3);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Glass Panel */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(180%);
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

.glass-panel:hover {
  box-shadow: var(--shadow-lg);
}

/* Navigation Links */
.nav-link {
  position: relative;
  color: var(--text-soft); /* Default for white header */
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dark .nav-link {
  color: rgba(255, 255, 255, 0.85); /* For navy header */
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

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

.dark .nav-link:hover,
.dark .nav-link.is-active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Theme Toggle - Modern Design */
[data-theme-toggle] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

[data-theme-toggle]:hover {
  transform: scale(1.1) rotate(15deg);
  background: var(--surface-hover);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 194, 255, 0.2);
}

[data-theme-toggle]:active {
  transform: scale(0.95);
}

/* Modern Theme Toggle - Desktop */
.theme-toggle-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface), var(--surface-muted));
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.theme-toggle-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.theme-toggle-modern:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 194, 255, 0.3);
}

.theme-toggle-modern:hover::before {
  opacity: 0.1;
}

.theme-toggle-modern:active {
  transform: scale(0.95);
}

/* Mobile Theme Toggle */
.theme-toggle-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.theme-toggle-mobile:hover {
  transform: scale(1.1);
  background: var(--surface-hover);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.theme-toggle-mobile:active {
  transform: scale(0.9);
}

/* Theme Icon Wrapper */
.theme-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.theme-icon-light,
.theme-icon-dark {
  position: absolute;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-icon-light {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.theme-icon-dark {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Dark mode icon states */
.dark .theme-icon-light {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.dark .theme-icon-dark {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* Add subtle glow effect for dark mode */
.dark [data-theme-toggle],
.dark .theme-toggle-modern,
.dark .theme-toggle-mobile {
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.dark [data-theme-toggle]:hover,
.dark .theme-toggle-modern:hover,
.dark .theme-toggle-mobile:hover {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4), var(--shadow-lg);
}

/* Mobile Menu */
[data-mobile-menu] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--surface-strong);
  backdrop-filter: blur(20px);
  z-index: 90;
  padding: 6rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-mobile-menu].active {
  transform: translateY(0);
}

/* =============================================================================
   MEGA MENU - Professional Dropdown
   ============================================================================= */
.mega-menu-wrapper {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 900px;
  max-width: 95vw;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-2xl);
  backdrop-filter: blur(20px);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

/* Invisible bridge to maintain hover between trigger and menu */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

.mega-menu-wrapper:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mega-menu-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text-soft);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.mega-menu-item:hover {
  background: var(--surface-muted);
  color: var(--primary);
  transform: translateX(4px);
}

.mega-menu-item i {
  font-size: 1.25rem;
  color: var(--secondary);
  width: 2rem;
  text-align: center;
}

.mega-menu-item img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.mega-menu-item span {
  font-weight: 500;
}

/* Arrow indicator for mega menu */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: var(--surface-strong);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

/* Mega menu trigger hover effect */
.mega-menu-trigger {
  position: relative;
  cursor: pointer;
}

.mega-menu-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 2rem;
  background: transparent;
}

/* =============================================================================
   HERO SECTION - Cinematic Design
   ============================================================================= */
.hero-panel {
  background: var(--hero-grad);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
}

.dark .hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Hero Orbs - Decorative Elements */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: float-orb 8s ease-in-out infinite;
}

.hero-orb-one {
  top: 10%;
  right: 5%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.3) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-orb-two {
  bottom: 10%;
  left: 5%;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.25) 0%, transparent 70%);
  animation-delay: 4s;
}

@keyframes float-orb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Section Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 200, 87, 0.1));
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 194, 255, 0.2);
}

.dark .section-label {
  color: var(--secondary-light);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(245, 158, 11, 0.2));
  border-color: rgba(6, 182, 212, 0.3);
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  animation: pulse-dot 2s infinite;
}

/* Stat Chips */
.stat-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.stat-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.stat-chip p:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.dark .stat-chip p:first-child {
  color: var(--secondary-light);
}

/* Floating Chips */
.floating-chip {
  position: absolute;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  z-index: 20;
  animation: float-chip 6s ease-in-out infinite;
}

.floating-chip:nth-child(odd) {
  animation-delay: 2s;
}

@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =============================================================================
   SERVICE CARDS - Modern Design
   ============================================================================= */
.service-card, .info-card, .contact-card, .testimonial-card {
  position: relative;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.25rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transform-origin: center bottom;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.dark .service-card, .dark .info-card, .dark .contact-card, .dark .testimonial-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(0, 194, 255, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

/* Service Icons */
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-soft);
}

/* =============================================================================
   TESTIMONIAL CARDS
   ============================================================================= */
.testimonial-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.rating-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
}

/* =============================================================================
   INFO CARDS - Mission/Vision
   ============================================================================= */
.info-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* =============================================================================
   CONTACT FORM
   ============================================================================= */
.contact-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* =============================================================================
   PARTNER LOGOS
   ============================================================================= */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* =============================================================================
   HERO SERVICE CAROUSEL
   ============================================================================= */
.hero-service-carousel {
  position: relative;
  overflow: hidden;
}

.hero-service-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-service-slide {
  flex: 0 0 100%;
  min-width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s ease;
}

.hero-service-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-service-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border-radius: 1.5rem;
  padding: 2rem;
  color: var(--text);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  transition: all 0.4s ease;
}

.hero-service-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-5px);
}

.hero-service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.05), transparent 70%);
  border-radius: 50%;
}



.hero-service-icon {
  /* Handled primarily by Tailwind in app.js now */
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-service-card:hover .hero-service-icon {
  transform: scale(1.1) rotate(5deg);
}

.hero-service-icon i {
  font-size: 1.5rem;
}

.hero-service-card h3 {
  color: var(--primary);
  /* other styles handled by Tailwind classes */
}


/* Hero Carousel Navigation */
.hero-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.hero-carousel-dots {
  display: flex;
  gap: 0.5rem;
}

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

.hero-carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.hero-carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
}

.hero-carousel-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.1);
}

/* =============================================================================
   FLOATING ACTION BUTTONS
   ============================================================================= */
.floating-actions-tray {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fab-button {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-button:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.fab-button.whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.fab-button.whatsapp:hover {
  background: #128c7e;
  border-color: #128c7e;
}

.fab-button.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

.fab-button.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* =============================================================================
   FOOTER - Professional Design
   ============================================================================= */
footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-light);
}

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

/* Footer Social Icons */
footer .flex a {
  position: relative;
  overflow: hidden;
}

footer .flex a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

footer .flex a:hover::before {
  opacity: 1;
}

/* Footer Bottom Section */
footer > div:last-child {
  position: relative;
}

footer > div:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Dark mode footer adjustments */
.dark footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.dark footer::before {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
}

/* =============================================================================
   SWIPER CUSTOMIZATION
   ============================================================================= */
.swiper-button-next,
.swiper-button-prev {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 700;
}

.swiper-pagination-bullet {
  background: var(--border);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: 2rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* =============================================================================
   TOAST NOTIFICATIONS
   ============================================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 150%);
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* =============================================================================
   SCROLL PROGRESS
   ============================================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  z-index: 110;
  transition: width 0.1s ease;
}

/* =============================================================================
   PAGE SHELL - Background Decorations
   ============================================================================= */
.page-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.3;
}

.page-shell::before {
  top: 20%;
  right: -10%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.3), transparent 70%);
}

.page-shell::after {
  bottom: 20%;
  left: -10%;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.25), transparent 70%);
}

/* =============================================================================
   GRADIENT RING EFFECT
   ============================================================================= */
.gradient-ring {
  position: relative;
}

.gradient-ring::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.4), rgba(255, 200, 87, 0.3), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-ring:hover::before {
  opacity: 1;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */
@media (max-width: 1024px) {
  .nav-actions {
    display: none;
  }

  footer {
    text-align: center;
  }

  footer .grid {
    grid-template-columns: 1fr !important;
  }

  footer .flex {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .floating-chip {
    display: none;
  }

  .hero-orb {
    opacity: 0.3;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .floating-actions-tray {
    bottom: 1rem;
    right: 1rem;
  }

  .fab-button {
    width: 3rem;
    height: 3rem;
  }
}

@media (max-width: 640px) {
  .glass-panel {
    border-radius: 1rem;
  }

  .hero-panel {
    border-radius: 1rem;
  }

  .service-card,
  .testimonial-card,
  .info-card,
  .contact-card {
    border-radius: 1rem;
    padding: 1.5rem;
  }

  .stat-chip {
    padding: 1rem;
  }
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation Utilities */
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out forwards;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* =============================================================================
   TYPING EFFECT
   ============================================================================= */
.typing-text {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: typingGradient 4s ease-in-out infinite;
  display: inline;
}

@keyframes typingGradient {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--secondary);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: rgba(0, 194, 255, 0.3);
  color: var(--text);
}

.dark ::selection {
  background: rgba(6, 182, 212, 0.3);
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================================
   MEGA MENU STYLES
   ============================================================================= */
.mega-menu-wrapper {
  position: relative;
  padding-bottom: 1.5rem; /* Hover Bridge */
  margin-bottom: -1.5rem;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 90vw;
  max-width: 850px;
  background: var(--surface);
  backdrop-filter: blur(25px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  padding: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 40px 100px -20px rgba(15, 42, 95, 0.25);
  z-index: 1000;
  pointer-events: none;
}

.mega-menu-wrapper:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
  pointer-events: auto;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.mega-menu-column h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
}

.mega-menu-item {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 1.25rem;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.mega-menu-item:hover {
  background: var(--surface-muted);
  border-color: var(--border);
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.mega-menu-item:hover span {
  color: var(--primary);
}

.mega-menu-item img, 
.mega-menu-item i {
  width: 1.75rem !important;
  height: 1.75rem !important;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 194, 255, 0.15));
  font-size: 1.5rem;
  color: var(--secondary);
}

.mega-menu-item span {
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Dark mode mega menu overrides */
.dark .mega-menu {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.6);
}

.dark .mega-menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .mega-menu-item:hover span {
  color: #ffffff;
}

/* Ensure subpages load correct icons if they are in the folder but referenced locally */
/* Since all pages are in root, simple 'assets/icons/...' works. */
/* =============================================================================
   SERVICE PAGE COMPACT REFINEMENTS - Enhanced & Better Design
   ============================================================================= */
.service-hero-section {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .service-hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
}

.service-image-compact {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(15, 42, 95, 0.12));
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.dark .service-image-compact {
  filter: drop-shadow(0 15px 40px rgba(0, 194, 255, 0.12));
}

.service-image-compact:hover {
  transform: translateY(-5px) scale(1.02);
}

.image-container-refined {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 2rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.image-container-refined:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}

.dark .image-container-refined {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
}

/* Compact Feature Cards */
.feature-card-compact {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card-compact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card-compact:hover {
  transform: translateY(-4px) translateX(4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 194, 255, 0.3);
}

.feature-card-compact:hover::before {
  opacity: 1;
}

.dark .feature-card-compact {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card-compact .icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  transition: transform 0.4s ease;
}

.feature-card-compact:hover .icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

/* Compact Stat Cards */
.stat-chip-compact {
  padding: 1.25rem !important;
  border-radius: 1.25rem !important;
  border: 1px solid var(--border) !important;
  background: var(--surface-strong) !important;
  transition: all 0.3s ease;
}

.stat-chip-compact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary) !important;
}

.dark .stat-chip-compact {
  background: rgba(30, 41, 59, 0.5) !important;
}

/* Compact Benefit List */
.benefit-item-compact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
}

.benefit-item-compact:hover {
  background: var(--surface-hover);
  transform: translateX(4px);
  border-color: var(--secondary);
}

.dark .benefit-item-compact {
  background: rgba(30, 41, 59, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
}

.benefit-item-compact:hover {
  background: rgba(30, 41, 59, 0.5);
}

/* Compact Section Spacing */
.section-compact {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-compact {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Compact CTA Section */
.cta-compact {
  padding: 2rem 1.5rem;
  border-radius: 2rem;
}

@media (min-width: 768px) {
  .cta-compact {
    padding: 3rem 2rem;
    border-radius: 2.5rem;
  }
}

/* Better Design - Service Grid */
.service-detail-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Image section compact */
.image-section-compact {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.image-section-compact:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.image-section-compact img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}

/* Compact Title Section */
.title-compact h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.title-compact p {
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 600px;
}

/* Better icon styling */
.service-icon-large {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.feature-card-compact:hover .service-icon-large {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

/* Compact breadcrumb */
.breadcrumb-compact {
  font-size: 0.8rem;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

/* Better card text styling */
.feature-card-compact h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card-compact p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Stat card better styling */
.stat-chip-compact .stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-chip-compact h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-chip-compact p {
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Better hover effects */
.hover-lift-compact {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift-compact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Compact button adjustments */
.btn-compact {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Grid layout improvements */
.two-col-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Better feature icon backgrounds */
.icon-sky { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.icon-emerald { background: linear-gradient(135deg, #10b981, #34d399); }
.icon-amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.icon-sky-dark { background: linear-gradient(135deg, #0284c7, #0369a1); color: white; }
.icon-emerald-dark { background: linear-gradient(135deg, #059669, #047857); color: white; }
.icon-amber-dark { background: linear-gradient(135deg, #d97706, #b45309); color: white; }

/* Better CTA button styling */
.cta-btn-white {
  background: white;
  color: var(--primary);
  padding: 0.875rem 1.75rem;
  border-radius: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-btn-white:hover {
  background: var(--surface-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.875rem 1.75rem;
  border-radius: 1rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Dark mode adjustments */
.dark .bg-sky-50, 
.dark .bg-emerald-50, 
.dark .bg-amber-50 {
  background-color: var(--surface-chip) !important;
  border: 1px solid var(--border-strong) !important;
}

.dark .section-compact {
  background: var(--body-grad) !important;
}

.dark .service-hero-section {
  background: var(--hero-grad) !important;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
  color: var(--text) !important;
}

.dark p, .dark span:not(.text-gradient) {
  color: var(--text-soft) !important;
}

.dark .text-muted, .dark .text-slate-500 {
  color: var(--text-muted) !important;
}
