:root {
  /* Premium Colors (HSL for dynamic tuning) */
  --primary-h: 222;
  --primary-s: 47%;
  --primary-l: 11%;

  --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  /* #0f172a Deep Blue */
  --primary-light: hsl(var(--primary-h), var(--primary-s), 20%);
  --primary-alpha: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.85);

  --accent-h: 24;
  --accent-s: 95%;
  --accent-l: 53%;

  --accent-color: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  /* #f97316 Vibrant Orange */
  --accent-hover: hsl(var(--accent-h), var(--accent-s), 45%);
  --accent-light: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.1);
  --accent-glow: 0 0 20px hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.4);

  --text-dark: #1e293b;
  --text-main: #475569;
  --text-light: #94a3b8;
  --bg-color: #fafafa;
  --bg-soft: #f1f5f9;
  --border-color: rgba(0, 0, 0, 0.06);

  --whatsapp-color: #25d366;
  --whatsapp-hover: #128c7e;
  --phone-color: #3b82f6;
  /* Modern Blue */

  /* Modern Typography */
  --font-family: 'Outfit', 'Inter', system-ui, sans-serif;

  /* Premium Shadows (Layered) */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 15px rgba(249, 115, 22, 0.3);

  /* Smooth Transitions & Micro animations */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  /* Snappy smooth */
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Geometry */
  --max-width: 1200px;
}

/* Base Reset & Google Fonts Prep */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Premium Buttons (Glass & Neumorphic touch) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: var(--transition-slow);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #ff5a00);
  color: white;
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(249, 115, 22, 0.4);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Utilities */
.text-accent {
  color: var(--accent-color);
}

.text-primary {
  color: var(--primary-color);
}

.bg-soft {
  background-color: var(--bg-soft);
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: 100px 0;
}

/* Typography elements */
.section-title {
  font-size: 42px;
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(to right, var(--primary-color), var(--text-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--accent-color), #ff9a44);
  border-radius: var(--radius-full);
}

.section-title.left-align::after {
  left: 0;
  transform: none;
}

.section-desc {
  font-size: 18px;
  color: var(--text-main);
  max-width: 700px;
  margin: 0 auto 56px;
  font-weight: 400;
}

/* Header & Trust Strip */
.top-strip {
  background-color: var(--primary-light);
  color: white;
  font-size: 14px;
  padding: 8px 0;
}

.strip-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strip-phone {
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.strip-phone:hover {
  color: var(--accent-color);
}

/* Premium Glassmorphic Header */
.main-header {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition);
}

.main-header.scrolled .header-content {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.logo-text span {
  color: var(--accent-color);
  margin: 0 4px;
}

/* Navigation */
.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  transition: var(--transition);
}

.mobile-toggle span:first-child {
  top: 0;
}

.mobile-toggle span:nth-child(2) {
  top: 11px;
}

.mobile-toggle span:last-child {
  top: 22px;
}

.mobile-toggle.active span:first-child {
  transform: rotate(45deg);
  top: 11px;
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:last-child {
  transform: rotate(-45deg);
  top: 11px;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 100px 20px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  transform: translateX(0);
}

.mobile-nav-inner ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-nav-inner a {
  font-size: 24px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  display: block;
}

/* Mobile-First Sticky Bottom Action Bar */
.mobile-bottom-bar {
  display: none;
  /* Hidden on desktop by default */
}

/* Premium Card & Content Interactions */
.service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-slow) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-xl) !important;
  border-color: transparent !important;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 2px var(--accent-light);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover::after {
  opacity: 1;
}

/* Base card styling override */
.service-card h3 a {
  font-size: 24px;
  background: linear-gradient(90deg, var(--primary-color), var(--text-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition);
}

.service-card:hover h3 a {
  background: linear-gradient(90deg, var(--accent-color), #ff5a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pulse Animation for CTA */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.pulse-btn {
  animation: pulse 2s infinite;
}

/* Footer structure */
.main-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-col p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent-color);
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 14px;
}

/* Responsive & Mobile-First Adjustments (Fluid Typography & Padding) */
@media (max-width: 992px) {

  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .top-strip {
    display: none;
  }
}

@media (max-width: 576px) {

  /* Fluid Spacing */
  .section-padding {
    padding: 60px 0;
  }

  /* Fluid Typography */
  h1 {
    font-size: clamp(32px, 8vw, 42px) !important;
  }

  h2 {
    font-size: clamp(26px, 7vw, 32px) !important;
  }

  h3 {
    font-size: clamp(20px, 6vw, 24px) !important;
  }

  .section-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .section-desc {
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* Mobile Bottom Action Bar (Thumb Zone) */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: white;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    height: 70px;
    /* Safe area for thumb */
  }

  .mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
  }

  .mb-whatsapp {
    background-color: var(--whatsapp-color);
  }

  .mb-whatsapp:active {
    background-color: var(--whatsapp-hover);
  }

  .mb-phone {
    background: linear-gradient(135deg, var(--accent-color), #ff5a00);
  }

  .mb-phone:active {
    background: var(--accent-hover);
  }

  /* Padding bottom body to prevent content from hiding behind sticky bar */
  body {
    padding-bottom: 70px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .header-content {
    height: 70px;
  }
}