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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background-color: #f7f9fc;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100vh;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover,
a:focus {
  text-decoration: underline;
  outline: none;
}

/* Containers */
.site-header {
  background-color: #0056b3;
  padding: 0.75rem 1rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-wrapper {
  position: relative;
  width: 2rem;
  height: 2rem;
}

.dollar-bg {
  color: #003d7a;
  font-size: 2rem;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.75;
}

.car-foreground {
  color: #f8c146;
  font-size: 1.3rem;
  position: absolute;
  left: 0.5rem;
  top: 0.3rem;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  user-select: none;
}

.cta-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-pill {
  background-color: #f8c146;
  color: #003d7a;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgb(248 193 70 / 0.6);
  transition: background-color 0.3s ease;
}

.phone-pill:hover,
.phone-pill:focus {
  background-color: #e1ad2f;
  outline: none;
}

.phone-pill i {
  font-size: 1.1rem;
}

.phone-text {
  font-size: 1rem;
}

.btn-quote {
  background-color: #f8c146;
  color: #003d7a;
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgb(248 193 70 / 0.6);
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn-quote:hover,
.btn-quote:focus {
  background-color: #e1ad2f;
  outline: none;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('layout.png') no-repeat center center/cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 2rem 1rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  width: 100%;
}

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

.left-col {
  max-width: 600px;
}

.hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero h2 {
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.benefits {
  list-style-type: disc;
  margin-left: 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  color: #ffd54f;
}

.benefits li {
  margin-bottom: 0.5rem;
}

/* Form Card */
.right-col {
  background-color: rgba(255 255 255 / 0.9);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  max-width: 400px;
  color: #222;
  font-weight: 500;
}

.form-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #003d7a;
  line-height: 1.2;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: #f8c146;
  outline: none;
  box-shadow: 0 0 6px #f8c146aa;
}

.quote-form textarea {
  resize: vertical;
  min-height: 80px;
}

.cta-btn {
  background-color: #f8c146;
  color: #003d7a;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgb(248 193 70 / 0.6);
}

.cta-btn:hover,
.cta-btn:focus {
  background-color: #e1ad2f;
  outline: none;
}

/* Info Strip */
.info-strip {
  background-color: #003d7a;
  color: #f8c146;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.info-card {
  flex: 1 1 180px;
  text-align: center;
  font-weight: 600;
}

.info-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Services */
.services {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.services h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.services p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
}

/* Testimonials */
.testimonials {
  max-width: 900px;
  margin: 3rem auto 5rem;
  padding: 0 1rem;
  text-align: center;
}

.testimonials h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

/* Floating Phone Button */
.floating-phone {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #f8c146;
  color: #003d7a;
  font-size: 1.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgb(248 193 70 / 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.floating-phone:hover,
.floating-phone:focus {
  background-color: #e1ad2f;
  outline: none;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .right-col {
    max-width: 100%;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

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

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

  .hero h2 {
    font-size: 1.2rem;
  }

  .phone-pill {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .btn-quote {
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
  }

  .info-container {
    flex-direction: column;
    gap: 1rem;
  }
}
