:root {
  /* Color Palette */
  --orange-primary: #fd8a2d;
  --orange-accent: #fe5f1e;
  --orange-deep: #ff570d;
  --bg-light: #fff7f2;

  --icon-green: #207736;
  --box-shadow: rgba(0, 0, 0, 0.1);
  --text-dark: #222;
  --text-dark-1: #666;
  --text-light: #fff;
  --text-light-1: #ccc;

  /* Fixed sizes */
  --header-height: 80px;
  --header-height-mobile: 70px;

  /* Typography scale */
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */
  --font-size-5xl: 3rem; /* 48px */
  --font-size-6xl: 3.75rem; /* 60px */
  --font-size-7xl: 5rem; /* 80px */
}

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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: var(--font-size-base);
}

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

/* Header Styles */
.header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 40px;
  box-shadow: 0 2px 20px var(--box-shadow);
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 1001;
}

.logo-container h1 {
  color: var(--orange-primary);
  font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-3xl));
  font-weight: bold;
  white-space: nowrap;
}

.img-logo {
  width: clamp(32px, 5vw, 40px);
  height: auto;
  margin-right: 10px;
}

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

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--orange-primary);
}

.emergency-contact,
.mobile-emergency-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange-deep);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 500;
  font-size: var(--font-size-sm);
  white-space: nowrap;
  max-width: 50vw;
}

/* .emergency-contact i {
  width: 16px;
  height: 16px;
} */

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  color: var(--orange-primary);
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height-mobile);
  left: 0;
  width: 100%;
  background: var(--text-light);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--box-shadow);
  z-index: 1000;
  padding: 1.5rem;
  max-height: calc(100vh - var(--header-height-mobile));
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.mobile-menu-toggle:hover {
  background-color: var(--bg-light);
}

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

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: var(--font-size-lg);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(253, 138, 45, 0.1);
  transition: color 0.3s ease;
  display: block;
}

.mobile-menu a:hover {
  color: var(--orange-primary);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  max-height: calc(100vh - var(--header-height));
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 50vh;
  object-fit: cover;
  display: block;
}

.heartbeat-container {
  position: absolute;
  width: 400px;
  height: 100px;
  top: 30%;
  left: 0;
}

.heartbeat-line {
  animation: heartbeat 3s linear infinite;
}

@keyframes heartbeat {
  0% {
    stroke-dasharray: 0 600;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 600 600;
    stroke-dashoffset: -600;
  }
}

.hero-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(253, 139, 45, 0.31) 100%);
  padding: clamp(2rem, 5vw, 4rem) 1rem clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.hero-content h2 {
  font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-5xl));
  color: var(--orange-deep);
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  font-weight: bold;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(var(--font-size-base), 2.5vw, var(--font-size-xl));
  color: var(--text-dark-1);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--icon-green);
  /* color: var(--orange-deep); */
  font-weight: 500;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

/* .feature i {
  width: 20px;
  height: 20px;
} */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-header h2 {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-4xl));
  color: var(--orange-deep);
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.3;
}

.section-header p {
  font-size: clamp(var(--font-size-base), 2.5vw, var(--font-size-lg));
  color: var(--text-dark-1);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--bg-light);
}

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

.about-text h3 {
  color: var(--orange-deep);
  font-size: clamp(var(--font-size-lg), 3vw, var(--font-size-2xl));
  margin-bottom: 1rem;
  font-weight: bold;
}

.about-text p {
  margin-bottom: 2rem;
  color: var(--text-dark-1);
  line-height: 1.8;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

.about-text ul {
  list-style: none;
}

.about-text li {
  margin-bottom: 1rem;
  color: var(--text-dark-1);
  line-height: 1.6;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: var(--text-light);
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--box-shadow);
}

.stat-number {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-4xl));
  font-weight: bold;
  color: var(--orange-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-dark-1);
  font-weight: 500;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

/* Services Section */
.services {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--text-light);
}

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

.service-card {
  background: var(--text-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon .material-symbols-outlined {
  color: var(--icon-green);
  font-size: clamp(var(--font-size-5xl), 3vw, var(--font-size-6xl));
}

.service-card h3 {
  color: var(--orange-deep);
  font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-xl));
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-dark-1);
  line-height: 1.6;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

/* Contact Section */
.contact {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--bg-light);
}

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

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--text-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--box-shadow);
}

.contact-icon .material-symbols-outlined {
  color: var(--icon-green);
  font-size: clamp(var(--font-size-3xl), 3vw, var(--font-size-4xl));
}

.contact-details h3 {
  color: var(--orange-deep);
  font-size: clamp(var(--font-size-base), 2.5vw, var(--font-size-xl));
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-details p {
  color: var(--text-dark-1);
  line-height: 1.6;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--box-shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-light);
  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,
.footer-section h4 {
  color: var(--orange-primary);
  margin-bottom: 1rem;
  font-size: clamp(var(--font-size-base), 2.5vw, var(--font-size-lg));
}

.footer-section p {
  color: var(--text-light-1);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light-1);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

.footer-section ul li a:hover {
  color: var(--orange-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 2px solid var(--orange-primary);

}

.social-links i {
  color: var(--text-light-1);
  font-size: clamp(var(--font-size-xl), 1vw, var(--font-size-2xl));
}


.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: var(--text-light-1);
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-base));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

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

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

/* 768px */
@media (max-width: 920px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  .header-container {
    height: var(--header-height-mobile);
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

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

  .hero {
    min-height: 40vh;
    max-height: calc(100vh - var(--header-height-mobile));
  }

  .hero-image {
    min-height: 40vh;
  }

  .hero-features {
    flex-direction: column;
    align-content: center;
    gap: 1rem;
  }

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

  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-item {
    flex-direction: row;
    text-align: start;
  }

  .social-links {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header-container {
    padding: 0 15px;
  }

  .hero-content {
    padding: 1.5rem 1rem 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .about {
    padding: 3rem 0;
  }

  .services {
    padding: 3rem 0;
  }

  .contact {
    padding: 3rem 0;
  }

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

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

/* Hover effects */
.service-card:hover h3 {
  color: var(--orange-primary);
}

.contact-item:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Focus states for accessibility */
.nav-menu a:focus,
.mobile-menu-toggle:focus {
  outline: 2px solid var(--orange-primary);
  outline-offset: 2px;
}

/* Ensure mobile menu doesn't affect body scroll */
body.mobile-menu-open {
  overflow: hidden;
}
