* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0066cc;
  --secondary-color: #004c99;
  --accent-color: #3399ff;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--white);
}

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

/* Header Styles */
.promo-banner {
  background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
  color: var(--white);
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.promo-banner p {
  margin: 0;
}

.promo-link {
  color: var(--white);
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.promo-link:hover {
  opacity: 0.8;
}

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
}

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

.nav {
  display: none;
}

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

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

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.cta {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: none;
}

.cta:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  padding: 120px 30px 30px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

/* Mobile menu backdrop */
.mobile-menu::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: -1;
}

.mobile-menu.active::after {
  opacity: 1;
  visibility: visible;
}

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

.mobile-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
}

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

.mobile-menu .nav {
  display: block;
}

.mobile-menu .nav ul {
  padding: 0;
  margin: 0;
}

.mobile-menu .cta {
  display: inline-block;
  margin-top: 1rem;
  text-align: center;
  width: 100%;
}

.mobile-menu .cta:hover {
  background: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 102, 204, 0.75), rgba(0, 76, 153, 0.75)),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1920&q=80")
      center/cover no-repeat;
  color: var(--white);
  padding: 80px 20px 60px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.three-steps {
  padding: 40px 20px;
  background: var(--white);
  text-align: center;
}

.three-steps h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066cc, #3399ff);
  border-radius: 50%;
  color: var(--white);
}

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

.step-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

/* Services Section */
.services {
  padding: 40px 20px;
  background: var(--primary-color);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

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

.service-card:hover::before {
  left: 100%;
}

.service-card:active {
  transform: translateY(-4px);
}

/* Special Offer Section */
.special-offer {
  padding: 40px 20px;
  background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
  color: var(--white);
  text-align: center;
}

.offer-container {
  max-width: 800px;
  margin: 0 auto;
}

.offer-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.offer-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.offer-price {
  margin-bottom: 1rem;
}

.price-large {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.offer-description {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.offer-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.offer-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Portfolio Section */
.portfolio {
  padding: 40px 20px;
  background: var(--bg-light);
  text-align: center;
}

.portfolio h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.portfolio-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: left;
  border: 2px solid transparent;
}

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

.portfolio-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.portfolio-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.portfolio-card:hover .tag {
  background: var(--primary-color);
  color: var(--white);
}

/* Why Choose Section */
.why-choose {
  padding: 40px 20px;
  text-align: center;
  background: var(--white);
}

.why-choose h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.why-choose p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.metric-card {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  background: var(--white);
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.metric-label {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 40px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-column p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer-column .emergency {
  color: #50a0e0;
  font-weight: 600;
  margin-top: 0.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

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

.footer-tagline {
  color: #9ca3af;
  font-size: 0.9rem;
  font-style: italic;
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.footer-schedule {
  flex: 1;
  min-width: 200px;
}

.footer-schedule h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-weight: 600;
}

.footer-schedule p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 0.9rem;
}

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

/* Tablet Styles */
@media (min-width: 640px) {
  .hero {
    padding: 100px 40px 80px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

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

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .services,
  .why-choose {
    padding: 50px 40px;
  }

  .portfolio {
    padding: 50px 40px;
  }

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

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

  .special-offer {
    padding: 50px 40px;
  }

  .offer-container h2 {
    font-size: 2.5rem;
  }

  .price-large {
    font-size: 4.5rem;
  }

  .three-steps {
    padding: 50px 40px;
  }

  .footer {
    padding: 50px 40px 25px;
  }

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

/* Desktop Styles */
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }

  .nav {
    display: block;
  }

  .cta {
    display: inline-block;
  }

  .hero {
    padding: 120px 40px 100px;
    min-height: 600px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-content p {
    font-size: 1.3rem;
  }

  .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .service-card {
    padding: 3rem 2rem;
    font-size: 1.25rem;
  }

  .services,
  .why-choose {
    padding: 60px 40px;
  }

  .portfolio {
    padding: 60px 40px;
  }

  .portfolio h2 {
    font-size: 2.5rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .metric-number {
    font-size: 3.5rem;
  }

  .three-steps {
    padding: 60px 40px;
  }

  .three-steps h2 {
    font-size: 2.5rem;
  }

  .services h2,
  .why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
  }

  .why-choose p {
    font-size: 1.2rem;
  }

  .footer {
    padding: 60px 40px 30px;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Extra Large Screens */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .service-grid {
    gap: 3rem;
  }

  .service-card {
    padding: 3.5rem 2.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
