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

:root {
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #10b981;
  --accent-hover: #059669;
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --text: #0f172a;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.1);
  --emergency: #dc2626;
  --emergency-hover: #b91c1c;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Floating Contact Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

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

.phone-btn {
  background: var(--emergency);
  color: white;
}

.phone-btn:hover {
  background: var(--emergency-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(220, 38, 38, 0.4);
}

.whatsapp-btn {
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.logo svg {
  color: var(--accent);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--emergency);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header-phone:hover {
  background: var(--emergency-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0v60M0 30h60" stroke="rgba(255,255,255,0.03)" fill="none"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-primary {
  background: var(--emergency);
  color: white;
}

.btn-primary:hover {
  background: var(--emergency-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
  background: #25d366;
  color: white;
}

.btn-secondary:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-light {
  background: white;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
}

.hero-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.feature-item svg {
  color: var(--accent);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary);
  text-wrap: balance;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-icon.urgent {
  background: rgba(220, 38, 38, 0.1);
  color: var(--emergency);
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Coverage Section */
.coverage {
  padding: 100px 0;
}

.coverage-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 60px;
}

.coverage-col {
  background: white;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.coverage-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
}

.coverage-title svg {
  color: var(--accent);
}

.coverage-list {
  list-style: none;
}

.coverage-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.coverage-list li:last-child {
  border-bottom: none;
}

.coverage-list li::before {
  content: "📍";
  position: absolute;
  left: 0;
}

/* Why Us Section */
.why-us {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.why-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.why-card:hover::before {
  transform: scaleY(1);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow);
}

.why-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 12px;
}

.why-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.why-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Emergency CTA Section */
.emergency-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--emergency) 0%, var(--emergency-hover) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.emergency-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.emergency-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.emergency-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.emergency-text {
  flex: 1;
  min-width: 300px;
}

.emergency-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.emergency-description {
  font-size: 18px;
  opacity: 0.95;
}

.emergency-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: var(--primary);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-phone:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .float-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .float-btn span {
    display: none;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .btn-large {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }

  .hero-features {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

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

  .coverage-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .emergency-content {
    flex-direction: column;
    text-align: center;
  }

  .emergency-buttons {
    width: 100%;
    flex-direction: column;
  }

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

  .section-title {
    font-size: 32px;
  }

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

  .header-phone span {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 14px;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }
}
