/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1e3a8a;
  --secondary-orange: #f59e0b;
  --success-green: #10b981;
  --emergency-red: #dc2626;
  --dark-gray: #1f2937;
  --light-gray: #f8fafc;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.nav-brand h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.phone-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--emergency-red);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

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

.phone-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.phone-number {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    #1e40af 50%,
    var(--secondary-orange) 100%
  );
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.emergency-badge {
  display: inline-block;
  background: var(--emergency-red);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-button {
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.cta-button.emergency {
  background: var(--emergency-red);
  color: white;
}

.cta-button.secondary {
  background: white;
  color: var(--primary-blue);
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
  margin-top: 2rem;
}

.trust-item {
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Emergency Services Section */
.emergency-services {
  background: var(--emergency-red);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.emergency-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.emergency-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.emergency-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.emergency-feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.emergency-feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.emergency-call-button {
  display: inline-block;
  background: white;
  color: var(--emergency-red);
  padding: 15px 40px;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emergency-call-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
  padding: 80px 0;
}

.services {
  background: var(--light-gray);
}

.services h2,
.why-choose-us h2,
.service-area h2,
.contact h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.services-intro {
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #64748b;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.service-card p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.service-list li {
  padding: 0.3rem 0;
  color: #64748b;
  position: relative;
  padding-left: 1.2rem;
}

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

/* Why Choose Us Section */
.why-choose-us {
  background: white;
  padding: 80px 0;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-us-text h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.why-us-text p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.family-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value h4 {
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.testimonials h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.testimonial {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary-orange);
}

.testimonial p {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.testimonial cite {
  color: #64748b;
  font-weight: 600;
}

/* Service Area Section */
.service-area {
  background: var(--primary-blue);
  color: white;
  text-align: center;
}

.service-area h2 {
  color: white;
}

.service-area-intro {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.service-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.area-column h3 {
  color: var(--secondary-orange);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.area-column ul {
  list-style: none;
  padding: 0;
}

.area-column li {
  padding: 0.3rem 0;
  font-size: 1.1rem;
}

.service-promise {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Contact */
.contact {
  background: var(--light-gray);
  color: var(--dark-gray);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header p {
  font-size: 1.2rem;
  color: #64748b;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-method h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-logo {
  /* justify-content: center;
  align-items: center; */
  align-self: center;
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emergency-red);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.submit-button {
  width: 100%;
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 1rem;
}

.submit-button:hover {
  background: #1e40af;
}

.form-note {
  text-align: center;
  color: #64748b;
  margin: 0;
}

.form-note a {
  color: var(--emergency-red);
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: var(--secondary-orange);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  color: #9ca3af;
  padding: 0.2rem 0;
}

.footer-phone {
  color: var(--emergency-red);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  margin: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    position: relative;
  }

  .nav {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-phone {
    order: -1;
    margin: 0;
    justify-content: center;
    background: var(--emergency-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 0.5rem;
  }

  .nav-phone .phone-link {
    color: white;
    font-size: 1rem;
  }

  .nav-phone .phone-link:hover {
    color: white;
  }

  .nav-brand {
    order: 1;
    justify-content: center;
  }

  .nav-brand h1 {
    font-size: 1.1rem;
  }

  .brand-logo {
    height: 32px;
  }

  .nav-toggle {
    order: 2;
    align-self: flex-end;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .nav-menu {
    position: static;
    flex-direction: column;
    background-color: transparent;
    width: 100%;
    text-align: center;
    box-shadow: none;
    padding: 1rem 0 0 0;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero {
    margin-top: 0;
    padding-top: 2rem;
  }

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

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

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

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

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

  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }

  .emergency-features {
    grid-template-columns: 1fr;
  }

  .why-us-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-areas {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 60px 0;
  }

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

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

@media (max-width: 480px) {
  .nav {
    padding: 1rem;
  }

  .nav-brand h1 {
    font-size: 1rem;
  }

  .brand-logo {
    height: 28px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .container {
    padding: 0 15px;
  }

  .emergency-call-button {
    font-size: 1.1rem;
    padding: 12px 25px;
  }

  .contact-phone {
    font-size: 1.3rem;
  }
}
