* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, sans-serif; line-height:1.6; color:#333; }

.hero {
  background: url('hero-bg.jpg') center/cover no-repeat;
  height:80vh; position:relative;
}
.hero-highlights {
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  text-align: left;
  font-size: 1rem;
}
.hero-highlights ul {
  list-style: none;
  padding-left: 0;
}

.hero-highlights li {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #fff;
}
.hero-highlights p {
  margin: 5px 0;
}

.hero .overlay {
  position:absolute; top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.5); display:flex;
  flex-direction:column; justify-content:center; align-items:center;
  color:#fff; text-align:center;
}
.btn-primary {
  display:inline-block; padding:12px 24px;
  background:#3396cb; color:#fff; text-decoration:none;
  border-radius:4px; margin-top:20px;
}
.features {
  display:flex; justify-content:center; padding:40px 20px;
  gap:40px; background:#f9f9f9;
}
.feature-item { text-align:center; width:200px; }
.feature-item img { width:80px; margin-bottom:12px; }

.form-section {
  padding:60px 20px; text-align:center;
}
.form-section form {
  max-width:400px; margin:20px auto;
  display:flex; flex-direction:column; gap:12px;
}
.form-section input {
  padding:10px; font-size:16px;
  border:1px solid #ccc; border-radius:4px;
}
.form-section p {
  color: #444;
  line-height: 1.6;
}

footer {
  background:#222; color:#eee; text-align:center;
  padding:20px 10px;
}
.navbar {
    background-color: #fff;
    border-bottom: 2px solid #eee;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logo {
    height: 200px;
    width: auto;
  }
  
  .phone-number {
    font-size: 2.3rem;
    font-weight: bold;
    color: #002fff;
  }
  
  .form-section select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .form-section label {
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
    display: block;
  }
  
  #offerAmount {
    font-size: 1.25rem;
    color: green;
    font-weight: bold;
    margin: 10px 0;
  }
  
  #vinField {
    transition: all 0.3s ease-in-out;
  }
  /* Responsive Nav */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .logo {
    height: 150px;
    width: auto;
    max-width: 100%;
  }

  .logo-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .phone-number {
    font-size: 2.3rem;
    font-weight: bold;
    color: #002fff;
    margin-top: 10px;
  }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 40px 20px;
  }

  .hero .overlay {
    position: static;
    padding: 20px;
  }

  .hero-highlights {
    max-width: 100%;
    font-size: 0.95rem;
  }
}

/* Responsive Features Section */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .feature-item {
    width: 90%;
  }
}

/* Responsive Form Section */
@media (max-width: 768px) {
  .form-section form {
    padding: 0 10px;
  }

  .form-section input,
  .form-section select {
    width: 100%;
  }
}

.why-choose {
  background-color: #f0f8ff;
  padding: 60px 20px;
  text-align: center;
}

.why-choose h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.why-choose p {
  font-size: 1.1rem;
  color: #333;
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.why-list li {
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.call-message {
  font-size: 1.2rem;
  margin-top: 30px;
}

.call-to-action {
  margin-top: 15px;
  font-size: 1.3rem;
  font-weight: bold;
}

.call-to-action a {
  color: #3396cb;
  text-decoration: none;
}

/* Responsive Phone Number Fix */
@media (max-width: 768px) {
  .phone-number {
    font-size: 1.8rem;            /* Slightly larger than before */
    white-space: nowrap;         /* Prevent wrapping to a new line */
    overflow: hidden;
    text-overflow: ellipsis;     /* Optional: trims overflow with "..." if screen too narrow */
    text-align: center;
    width: 100%;
    margin-top: 10px;
  }

  .phone-number a {
    color: #002fff;
    text-decoration: none;
    font-weight: bold;
  }
}

