/* 
   klimatamir.pro - Modern Premium Design System
   Target: Izmir Klima Servisi (Tamir, Bakım, Onarım)
   Vanilla CSS with CSS Custom Variables & Ultra-Smooth Micro-animations
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* Color Variables & Styling Tokens */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - HSL Custom Tailored (Light Theme Default) */
  --primary: hsl(198, 100%, 45%);       /* Electric Cooling Blue */
  --primary-hover: hsl(198, 100%, 38%);
  --secondary: hsl(18, 100%, 52%);       /* Sunset Heating Orange */
  --secondary-hover: hsl(18, 100%, 45%);
  --dark: hsl(222, 47%, 12%);           /* Deep Slate Blue */
  --dark-surface: hsl(222, 47%, 16%);
  
  --white: hsl(0, 0%, 100%);
  --light: hsl(210, 40%, 98%);          /* Super Light Gray-Blue */
  --border: hsl(214, 32%, 91%);
  --border-focus: hsl(198, 100%, 80%);
  
  /* Text Colors */
  --text-primary: hsl(222, 47%, 15%);
  --text-secondary: hsl(215, 16%, 45%);
  --text-light: hsl(210, 40%, 96%);

  /* Header background */
  --header-bg: rgba(255, 255, 255, 0.8);
  --card-bg: hsl(0, 0%, 100%);

  /* Utility Specs */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -1px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 16px -6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.1), 0 10px 20px -10px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(37, 211, 102, 0.35); /* WhatsApp Green Glow */
  --shadow-primary-glow: 0 0 25px rgba(0, 168, 232, 0.25);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-theme: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Premium Dark Theme Overrides */
[data-theme="dark"] {
  --white: hsl(222, 35%, 8%);
  --light: hsl(222, 35%, 11%);
  --border: hsl(222, 25%, 18%);
  --border-focus: hsl(198, 100%, 35%);
  
  /* Text Colors */
  --text-primary: hsl(210, 40%, 96%);
  --text-secondary: hsl(215, 16%, 70%);
  --text-light: hsl(210, 40%, 98%);
  
  --dark: hsl(210, 40%, 98%);
  --dark-surface: hsl(222, 30%, 15%);
  --header-bg: rgba(15, 23, 42, 0.8);
  --card-bg: hsl(222, 30%, 12%);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: var(--transition-theme);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  transition: var(--transition-theme);
}

p {
  color: var(--text-secondary);
  transition: var(--transition-theme);
}

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

ul {
  list-style: none;
}

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

input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: var(--light);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Typography Scale */
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -1.5px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.8px; }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; letter-spacing: -0.5px; }
h4 { font-size: 1.25rem; font-weight: 600; }

/* Global Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg {
  background-color: var(--light);
}

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

.section-title-wrapper {
  max-width: 650px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background-color: hsl(198, 100%, 94%);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 8px rgba(0, 168, 232, 0.1);
  transition: var(--transition-theme);
}
[data-theme="dark"] .section-tag {
  background-color: hsl(198, 40%, 15%);
  color: hsl(198, 100%, 65%);
}

.section-title {
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 168, 232, 0.35);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 90, 0, 0.2);
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 90, 0, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  background-color: rgba(0, 168, 232, 0.05);
}

.btn-whatsapp {
  background-color: hsl(142, 70%, 43%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background-color: hsl(142, 70%, 36%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Header & Navigation */
.header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-theme), height 0.3s ease, box-shadow 0.3s ease;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--dark);
}

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

.logo-dot {
  color: var(--secondary) !important;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50px;
  transition: var(--transition);
}

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

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

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--light);
  transform: rotate(15deg) scale(1.05);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.theme-toggle .sun-icon { display: block; }
.theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: block; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 50px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white);
  z-index: 105;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px 32px;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-left: 1px solid var(--border);
}

.nav-drawer.active {
  right: 0;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.nav-drawer-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.nav-drawer-link.active {
  color: var(--primary);
}

.nav-drawer-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.nav-drawer-contact-info {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: hsl(142, 70%, 43%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  animation: pulse-ring 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: hsl(142, 70%, 36%);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-tooltip {
  background-color: var(--white);
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Reveal Base */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 85% 20%, hsl(198, 100%, 95%) 0%, var(--white) 65%);
  overflow: hidden;
  transition: var(--transition-theme);
}
[data-theme="dark"] .hero {
  background: radial-gradient(circle at 85% 20%, hsl(198, 50%, 15%) 0%, var(--white) 65%);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Realtime Active Tracker */
.active-tracker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-theme);
}

.active-dot {
  width: 9px;
  height: 9px;
  background-color: hsl(142, 70%, 45%);
  border-radius: 50%;
  position: relative;
}

.active-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  border-radius: inherit;
  animation: pulse-active 1.5s infinite;
}

@keyframes pulse-active {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hero-title {
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 40px;
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 460px;
}

.illustration-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  background: linear-gradient(135deg, hsl(198, 100%, 93%) 0%, hsl(18, 100%, 93%) 100%);
  animation: morphing-blob 12s infinite alternate ease-in-out;
  z-index: 1;
}
[data-theme="dark"] .illustration-bg {
  background: linear-gradient(135deg, hsl(198, 40%, 18%) 0%, hsl(18, 40%, 18%) 100%);
}

.illustration-card {
  position: absolute;
  background-color: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 280px;
  transform: rotate(-3deg);
  animation: float-card-1 6s infinite ease-in-out;
}

.illustration-card-2 {
  position: absolute;
  bottom: 40px;
  right: 10px;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 240px;
  transform: rotate(3deg);
  animation: float-card-2 6s infinite ease-in-out 3s;
}

.badge-round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-blue {
  background-color: hsl(198, 100%, 94%);
  color: var(--primary);
}
[data-theme="dark"] .badge-blue {
  background-color: hsl(198, 40%, 16%);
}

.badge-orange {
  background-color: hsl(18, 100%, 94%);
  color: var(--secondary);
}
[data-theme="dark"] .badge-orange {
  background-color: hsl(18, 40%, 16%);
}

.illustration-card h4, .illustration-card-2 h4 {
  font-size: 1.05rem;
}

.illustration-card p, .illustration-card-2 p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@keyframes morphing-blob {
  0% { border-radius: 42% 58% 54% 46% / 55% 45% 55% 45%; }
  100% { border-radius: 58% 42% 46% 54% / 45% 55% 45% 55%; }
}

@keyframes float-card-1 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(-1.5deg); }
}

@keyframes float-card-2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

/* Neden Biz (Features Grid) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::after {
  height: 100%;
}

.feature-icon-wrapper {
  margin-bottom: 24px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background-color: hsl(198, 100%, 95%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-theme);
}
[data-theme="dark"] .feature-icon {
  background-color: hsl(198, 40%, 15%);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* How It Works (Stepper System) */
.stepper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 50px;
}

.stepper-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: var(--border);
  z-index: 1;
  transition: var(--transition-theme);
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-item:hover .step-icon-wrapper {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.step-item.active .step-icon-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-primary-glow);
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Brand Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.brand-badge {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 18px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.brand-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-md);
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 232, 0.2);
}

.service-card-image {
  height: 220px;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-theme);
}

.service-card-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image svg {
  transform: scale(1.15) rotate(5deg);
}

.service-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  margin-bottom: 12px;
}

.service-card-body p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.service-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.15rem;
}

.service-price span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(5px);
}

/* Call to Action Banner */
.cta-banner {
  background-color: var(--dark-surface);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.cta-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 232, 0.2);
}

.blog-card-image {
  height: 220px;
  background-color: var(--light);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-theme);
}

.blog-card-image svg {
  width: 60px;
  height: 60px;
  opacity: 0.75;
}

.blog-badge-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--white);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-theme);
}
[data-theme="dark"] .blog-badge-tag {
  background-color: var(--dark-surface);
}

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

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.blog-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-body .read-more {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-body .read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.blog-card-body .read-more:hover svg {
  transform: translateX(5px);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--dark);
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-primary);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
  background-color: var(--primary);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0 28px;
}

.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: hsl(198, 100%, 95%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-theme);
}
[data-theme="dark"] .contact-detail-icon {
  background-color: hsl(198, 40%, 15%);
}

.contact-detail-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.contact-detail-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-detail-text p {
  font-size: 0.95rem;
}

.districts-covered {
  background-color: var(--light);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.districts-covered h4 {
  margin-bottom: 16px;
}

.district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-tag {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Form Styling */
.contact-form-card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--light);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 4px var(--border-focus);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Blog Post Page Styles */
.blog-post-header {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background-color: var(--light);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-theme);
}

.blog-post-meta-wrapper {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.blog-post-content-container {
  padding: 80px 0;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
}

.blog-article-content {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--text-primary);
  line-height: 1.85;
}

.blog-article-content h2 {
  margin: 40px 0 20px 0;
  font-size: 1.85rem;
}

.blog-article-content h3 {
  margin: 30px 0 15px 0;
  font-size: 1.45rem;
}

.blog-article-content p {
  margin-bottom: 24px;
}

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

.blog-article-content li {
  margin-bottom: 10px;
}

.blog-article-content blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--light);
  padding: 22px 28px;
  margin: 32px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  transition: var(--transition-theme);
}

.blog-article-content blockquote p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.blog-article-content th, .blog-article-content td {
  border: 1px solid var(--border);
  padding: 14px 18px;
  text-align: left;
}

.blog-article-content th {
  background-color: var(--light);
  font-weight: 700;
  transition: var(--transition-theme);
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.sidebar-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 10px;
  display: inline-block;
}

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

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

.recent-post-item a {
  font-weight: 700;
  font-size: 0.98rem;
}

.recent-post-item a:hover {
  color: var(--primary);
}

.recent-post-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Service Pricing Calculator (Modern Visual Card Layout) */
.price-calculator {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-group {
  margin-bottom: 30px;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: block;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}

.calc-btn {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  user-select: none;
}

.calc-btn svg {
  width: 30px;
  height: 30px;
  stroke: var(--text-secondary);
  fill: none;
  transition: var(--transition);
}

.calc-btn:hover {
  border-color: var(--primary);
  background-color: var(--light);
  transform: translateY(-3px);
}

.calc-btn.selected {
  border-color: var(--primary);
  background-color: hsl(198, 100%, 95%);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.15);
}
[data-theme="dark"] .calc-btn.selected {
  background-color: hsl(198, 40%, 15%);
  color: hsl(198, 100%, 65%);
}

.calc-btn.selected svg {
  stroke: var(--primary);
}
[data-theme="dark"] .calc-btn.selected svg {
  stroke: hsl(198, 100%, 65%);
}

.calculator-result-box {
  background-color: hsl(198, 100%, 96%);
  border: 1px solid hsl(198, 100%, 90%);
  padding: 24px 32px;
  border-radius: var(--radius-sm);
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: var(--transition-theme);
}
[data-theme="dark"] .calculator-result-box {
  background-color: hsl(198, 40%, 14%);
  border-color: hsl(198, 40%, 20%);
}

.calculator-price-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

/* Testimonials Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 32px;
}

.carousel-slide {
  min-width: calc(33.333% - 22px);
  flex-shrink: 0;
  display: flex;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.carousel-dot.active {
  background-color: var(--primary);
  transform: scale(1.35);
  box-shadow: 0 0 8px rgba(0, 168, 232, 0.3);
}

/* Footer */
.footer {
  background-color: var(--dark-surface);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--border);
  transition: var(--transition-theme);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-column h3, .footer-column h4 {
  color: var(--white);
  margin-bottom: 24px;
}

.footer-column p {
  color: var(--text-light);
  margin-bottom: 24px;
  opacity: 0.85;
}

.footer-logo {
  color: var(--white) !important;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px) rotate(8deg);
  box-shadow: var(--shadow-md);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.footer-link {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--primary);
  opacity: 1;
  transform: translateX(6px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  color: var(--text-light);
  opacity: 0.85;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* Responsiveness - Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-container {
    display: none; /* Hide interactive card illustration on smaller viewports */
  }

  .cta-banner {
    padding: 40px;
  }
  
  .cta-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  
  .cta-actions {
    justify-content: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-post-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-slide {
    min-width: calc(50% - 16px);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .stepper-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  
  .stepper-grid::before {
    top: 5%;
    left: 40px;
    width: 3px;
    height: 90%;
  }
  
  .step-item {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 24px;
  }
  
  .step-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .carousel-slide {
    min-width: 100%;
  }
  
  .price-calculator {
    padding: 24px;
  }
  
  .contact-form-card {
    padding: 24px;
  }
}

/* Premium Image Enhancements */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--card-bg);
  position: relative;
  z-index: 1;
  transition: var(--transition-theme);
}

[data-theme="dark"] .hero-main-image {
  border-color: var(--border);
}

.service-image, .blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image,
.blog-card:hover .blog-image {
  transform: scale(1.08);
}

.service-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail-image:hover {
  transform: scale(1.02);
}

.blog-post-main-image {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Service Detail Layout & Mobile Compatibility */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail-row-last {
  margin-bottom: 0;
}

.service-detail-list {
  padding-left: 20px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-detail-row > div:nth-child(1) {
    order: 2 !important; /* Stack text content below the image on mobile */
  }
  
  .service-detail-row > div:nth-child(2) {
    order: 1 !important; /* Image on top */
    min-height: 280px !important;
    height: 280px !important;
  }
  
  /* For alternating layouts, force correct stacking order */
  .service-detail-row > div[style*="order:1"] {
    order: 2 !important;
  }
  
  .service-detail-row > div[style*="order:2"] {
    order: 1 !important;
    min-height: 280px !important;
    height: 280px !important;
  }
}

@media (max-width: 576px) {
  .service-detail-list {
    grid-template-columns: 1fr;
  }
}


