/* ============================================
   SWATHI SAFETY NETS - Premium CSS Design System
   Blue & White Theme | Glassmorphism | Mobile-First
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Blue Palette */
  --primary-900: #0D47A1;
  --primary-800: #1565C0;
  --primary-700: #1976D2;
  --primary-600: #1E88E5;
  --primary-500: #2196F3;
  --primary-400: #42A5F5;
  --primary-300: #64B5F6;
  --primary-200: #90CAF9;
  --primary-100: #BBDEFB;
  --primary-50: #E3F2FD;
  --primary-25: #F1F8FE;

  /* Dark Shades */
  --dark-900: #0a1220;
  --dark-800: #0d1f33;
  --dark-700: #142847;
  --dark-600: #1a3460;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8faf8;
  --gray-100: #f0f4f0;
  --gray-200: #e0e7e0;
  --gray-300: #c8d0c8;
  --gray-400: #a0ada0;
  --gray-600: #6b7c6b;
  --gray-700: #4a5a4a;
  --gray-800: #2d3a2d;
  --gray-900: #1a241a;

  /* Accent - Gold (for trust/ratings) */
  --gold: #FFB300;
  --gold-light: #FFD54F;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1565C0 0%, #1976D2 50%, #2196F3 100%);
  --gradient-hero: linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #1976D2 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(243,249,255,0.6));
  --gradient-dark: linear-gradient(180deg, #0a1220 0%, #142847 100%);
  --gradient-accent: linear-gradient(135deg, #2196F3, #64B5F6);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 71, 161, 0.06);
  --shadow-md: 0 4px 16px rgba(13, 71, 161, 0.1);
  --shadow-lg: 0 8px 32px rgba(13, 71, 161, 0.12);
  --shadow-xl: 0 16px 48px rgba(13, 71, 161, 0.16);
  --shadow-glow: 0 0 30px rgba(33, 150, 243, 0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --container-padding: 0 20px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-base);
}

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

h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--gray-700);
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  padding: 6px 16px;
  background: var(--primary-25);
  border-radius: 50px;
  border: 1px solid var(--primary-50);
}

.section-header h2 {
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--gray-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary,
.btn-call {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.35);
}

.btn-primary:hover,
.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(33, 150, 243, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary-700);
  border: 2px solid var(--primary-400);
}

.btn-outline:hover {
  background: var(--primary-25);
  border-color: var(--primary-600);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ---------- Top Contact Bar ---------- */
.top-bar {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.82rem;
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-item i {
  color: var(--primary-300);
}

.top-bar-item a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-item a:hover {
  color: var(--white);
}

.top-bar-right {
  display: flex;
  gap: 12px;
}

.top-bar-right a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.top-bar-right a:hover {
  color: var(--white);
  transform: scale(1.15);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(33, 150, 243, 0.1);
  transition: var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.logo-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.65rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-700);
  background: var(--primary-25);
}

.header-cta {
  display: flex;
  gap: 10px;
}

.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary-700);
  border-radius: 3px;
  transition: var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 30px 40px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}

.mobile-menu a {
  padding: 16px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--primary-600);
  padding-left: 10px;
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(66, 165, 245, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(30, 136, 229, 0.08) 0%, transparent 50%);
  z-index: 1;
}

/* Net pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image img {
  width: 100%;
  height: 105%;
  object-fit: cover;
  opacity: 0.2;
  animation: scrollBackground 15s linear infinite;
}

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

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--primary-200);
}

.hero-badge i {
  color: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
}

.hero h1 .highlight {
  color: var(--primary-300);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta .btn {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.hero-cta .btn-hero-call {
  background: var(--white);
  color: var(--primary-800);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-hero-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-cta .btn-hero-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.hero-cta .btn-hero-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.hero-cta .btn-hero-inspection {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-cta .btn-hero-inspection:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

/* Trust Badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.trust-item i {
  color: var(--primary-300);
  font-size: 0.85rem;
}

/* Hero Visual / Image Side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-image-card .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 59, 13, 0.8) 100%);
}

.hero-stats-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 16px;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-stat .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat .stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating shapes */
.hero-shape {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(33, 150, 243, 0.15);
  z-index: 0;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -80px;
  animation: float 6s ease-in-out infinite reverse;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  padding: 0;
  margin-top: -50px;
  position: relative;
  z-index: 3;
}

.stats-bar .container {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 30px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box {
  text-align: center;
  padding: 10px;
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--gray-200);
}

.stat-box .stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  background: var(--primary-25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.3rem;
}

.stat-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-box p {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ---------- Services Section ---------- */
.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(33, 150, 243, 0.06);
  transition: var(--transition-base);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33, 150, 243, 0.15);
}

.service-card-icon {
  padding: 30px 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-icon-circle {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.25);
}

.service-card-icon h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-800);
}

.service-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.service-card-body {
  padding: 0 24px 12px;
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.service-card-benefits {
  padding: 0 24px;
  margin-bottom: 16px;
}

.service-card-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-700);
  padding: 4px 0;
}

.service-card-benefits li i {
  color: var(--primary-500);
  font-size: 0.75rem;
}

.service-card-cta {
  display: flex;
  gap: 10px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-100);
  margin-top: 8px;
}

.service-card-cta .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  justify-content: center;
}

/* ---------- Gallery Section ---------- */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  group: true;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13, 59, 13, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.gallery-overlay-cta {
  display: flex;
  gap: 8px;
}

.gallery-overlay-cta .btn {
  padding: 8px 14px;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

/* Gallery - always show CTA on mobile */
.gallery-mobile-cta {
  display: none;
  gap: 8px;
  padding: 12px;
  background: var(--gray-50);
}

.gallery-mobile-cta .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.8rem;
}

/* ---------- Why Choose Us ---------- */
.why-choose {
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(76,175,80,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,175,80,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-choose .section-header h2 {
  background: linear-gradient(135deg, #A5D6A7, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-choose .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.why-choose .section-header .section-label {
  background: rgba(33, 150, 243, 0.15);
  border-color: rgba(33, 150, 243, 0.3);
  color: var(--primary-300);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateY(-5px);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.why-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.why-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- Reviews Section ---------- */
.reviews {
  background: var(--gray-50);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(33, 150, 243, 0.06);
  transition: var(--transition-base);
  position: relative;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-card .quote-icon {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  color: var(--primary-50);
  font-family: serif;
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.review-stars i {
  color: var(--gold);
  font-size: 0.9rem;
}

.review-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.review-author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-800);
}

.review-author-info span {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ---------- Areas Section ---------- */
.areas {
  background: var(--white);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.area-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.area-card:hover {
  background: var(--primary-25);
  border-color: var(--primary-200);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.area-card i {
  color: var(--primary-500);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.area-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 4px;
}

.area-card p {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ---------- FAQ Section ---------- */
.faq {
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-800);
  font-family: var(--font-heading);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary-700);
}

.faq-question i {
  color: var(--primary-500);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: center;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--gradient-hero);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(33, 150, 243, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(66, 165, 245, 0.15) 0%, transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 16px;
  background: none;
  -webkit-text-fill-color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-900);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--primary-400);
  width: 18px;
  text-align: center;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
  color: var(--primary-300);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-300);
  padding-left: 5px;
}

.footer-links a i {
  margin-right: 6px;
  font-size: 0.7rem;
  color: var(--primary-500);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary-700);
  border-color: var(--primary-600);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer Map */
.footer-map {
  padding: 40px 0 0;
}

.footer-map iframe {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: brightness(0.85) contrast(1.1);
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

/* ---------- Floating Buttons ---------- */
.floating-buttons {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-spring);
  position: fixed;
  z-index: 9999;
  pointer-events: auto;
}

#float-whatsapp {
  left: 20px;
  bottom: 20px;
}

#float-call {
  right: 20px;
  bottom: 90px;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-btn-call {
  background: var(--gradient-primary);
}

/* Pulse animation */
.float-btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 3px solid #25D366;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.float-btn-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 3px solid var(--primary-400);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 0.5s;
}

/* Tooltip for floating buttons */
.float-btn .float-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark-800);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition-fast);
}

.float-btn .float-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--dark-800);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-base);
  z-index: 997;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
}

/* ---------- Animations ---------- */
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay for children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children > *:nth-child(10) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(11) { transition-delay: 0.55s; }

/* ---------- Gallery Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- RESPONSIVE DESIGN (Mobile-First) ---------- */

/* Tablet & below (max 1024px) */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-image-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box:nth-child(2)::after {
    display: none;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  /* Hide top bar on mobile */
  .top-bar {
    display: none;
  }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left {
    justify-content: center;
    gap: 12px;
  }

  .top-bar-right {
    display: none;
  }

  .top-bar-item:nth-child(3) {
    display: none;
  }

  /* Header Mobile */
  .nav-menu,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Mobile Contact Header */
  .mobile-contact-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 0 24px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary-50);
  }

  .mobile-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--primary-25);
    color: var(--primary-700);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-fast);
  }

  .mobile-contact-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .mobile-contact-item i {
    font-size: 1.3rem;
    color: var(--primary-600);
  }

  .mobile-contact-item:active,
  .mobile-contact-item:hover {
    background: var(--primary-100);
    color: var(--primary-800);
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-visual {
    display: none;
  }

  .hero-cta .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
  }

  /* Stats Mobile */
  .stats-bar {
    margin-top: -30px;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 16px;
  }

  .stat-box::after {
    display: none !important;
  }

  .stat-box h3 {
    font-size: 1.4rem;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 50%, rgba(13, 59, 13, 0.85) 100%);
  }

  .gallery-mobile-cta {
    display: flex;
  }

  /* Why Choose Us Mobile */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .why-card {
    padding: 20px 14px;
  }

  /* Reviews Mobile */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Areas Mobile */
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .area-card {
    padding: 14px;
  }

  /* FAQ Mobile */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.88rem;
  }

  .faq-answer-content {
    padding: 0 18px 16px;
    font-size: 0.85rem;
  }

  /* CTA Mobile */
  .cta-section {
    padding: 60px 0;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Floating Buttons Mobile */
  .floating-buttons {
    bottom: 20px;
    right: 16px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .float-btn .float-tooltip {
    display: none;
  }

  .scroll-top {
    bottom: 105px;
    left: 16px;
    width: 40px;
    height: 40px;
  }

  /* Tawk Mobile Positioning */
  .tawk-min-container {
    bottom: 20px !important;
    left: 16px !important;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .stats-bar .container {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card-cta {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  /* Tawk Small Mobile Positioning */
  .tawk-min-container {
    bottom: 16px !important;
    left: 12px !important;
  }

  .scroll-top {
    bottom: 90px;
    left: 12px;
  }

  /* Mobile Contact Header - Extra Small Screens */
  .mobile-contact-header {
    grid-template-columns: 1fr;
  }

  .mobile-contact-item:nth-child(3) {
    grid-column: auto;
  }

  .mobile-contact-item {
    font-size: 0.75rem;
    padding: 10px;
  }

  .mobile-contact-item i {
    font-size: 1.1rem;
  }
}

/* ==================== ENHANCED REVIEW STYLING ==================== */
.review-avatar {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.review-card {
  position: relative;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.3), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.review-author-info span i {
  color: var(--primary-500);
  margin-right: 4px;
}

/* ==================== ENHANCED FORM STYLING ==================== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #2196F3;
  background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2196F3;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  font-family: 'Inter', sans-serif;
}

/* ==================== FORM MODAL STYLES ==================== */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.form-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.form-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
  z-index: 1001;
}

.form-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-close-btn:hover {
  color: #333;
}

.form-modal-content h3 {
  color: var(--dark-900);
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-modal-content > p {
  color: var(--gray-600);
  font-size: 14px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--dark-900);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-form {
  background-color: var(--secondary-500) !important;
  color: white !important;
}

.btn-form:hover {
  background-color: var(--secondary-600) !important;
}

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

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Form Modal Mobile */
@media (max-width: 768px) {
  .form-modal-content {
    padding: 30px 24px;
    width: 95%;
  }

  .form-modal-content h3 {
    font-size: 20px;
  }

  .form-close-btn {
    top: 12px;
    right: 12px;
  }
}

/* ==================== TAWK.TO WIDGET POSITIONING ==================== */
/* Repositioning Tawk widget to bottom-right above floating buttons */
#tawk-bubble-container,
#tawk-min-container,
.tawk-bubble-container,
.tawk-min-container,
#tawk-button-circle,
.tawk-button-circle,
.tawk-wrapper,
#tawk-wrapper {
  position: fixed !important;
  left: auto !important;
  right: 20px !important;
  top: auto !important;
  bottom: 160px !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 997 !important;
}

/* Add explicit fallback for the minimized Tawk container */
.tawk-min-container {
  bottom: 160px !important;
  right: 20px !important;
}

/* Adjust scroll-to-top button to avoid overlap with Tawk on right side */
.scroll-top {
  bottom: 110px;
  left: 24px;
}

/* Ensure proper spacing between floating buttons and Tawk */
.floating-buttons {
  inset: 0;
}

/* Ensure Tawk iframe and elements don't interfere */
#tawk-iframe,
.tawk-iframe {
  z-index: 997 !important;
}

/* ==================== PREFERS REDUCED MOTION ==================== */

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .floating-buttons,
  .scroll-top,
  .top-bar,
  .mobile-menu-btn,
  .mobile-menu {
    display: none !important;
  }
}
