/* General Reset */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: #111; /* Black background for yellow/white/black scheme */
  color: #ffd600;
  overflow-x: hidden;
}

/* Contact Us Section */
#contact-us {
  text-align: center;
  padding: 50px 20px;
  background: #181818;
}

/* Section Header */
#contact-us h2 {
  font-size: 2.3rem;
  color: #ffd600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

#contact-us .underline {
  width: 80px;
  height: 4px;
  background: #ffd600;
  margin: 10px auto 20px auto;
  border-radius: 2px;
}

#contact-us p {
  font-size: 16px;
  color: #fffde7;
  margin-bottom: 40px;
}

/* Contact Details */
.contact-details {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.contact-card {
  background: #222; /* Dark card background */
  border-radius: 10px;
  box-shadow: 0px 4px 16px #ffd60022;
  padding: 22px 18px 18px 18px;
  width: 265px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  border: 2px solid #ffd600;
  transition: all 0.5s ease-out, border 0.3s, box-shadow 0.3s;
}

.contact-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-card i {
  font-size: 32px;
  color: #ffd600;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1.10rem;
  margin-bottom: 10px;
  color: #ffd600;
  letter-spacing: 0.5px;
}

.contact-card p {
  font-size: 15px;
  color: #fffde7;
  margin-bottom: 0;
}

.contact-card a {
  color: #ffd600;
  text-decoration: none;
  font-weight: bold;
}

.contact-card a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Map Section */
.map-container {
  margin: 40px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 20px #ffd60033;
}

/* Road and Car Animation */
.road-animation {
  position: relative;
  height: 100px;
  margin-top: 50px;
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #111;
  border-top: 4px dashed #ffd600;
}

.car {
  position: absolute;
  bottom: 60px;
  left: -150px;
  animation: drive 10s linear infinite;
}

.car img {
  width: 100px;
  filter: drop-shadow(0 2px 6px #ffd60088);
}

@keyframes drive {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(120vw);
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .contact-card {
    width: 98vw;
    max-width: 370px;
  }
  #contact-us {
    padding: 32px 8px;
  }
  .map-container {
    margin: 20px 0;
  }
}

@media (max-width: 600px) {
  .contact-card {
    width: 98vw;
    max-width: 98vw;
    padding: 16px 8px 10px 8px;
  }
  #contact-us {
    padding: 18px 2px;
  }
  .road-animation {
    height: 70px;
    margin-top: 30px;
  }
  .car img {
    width: 60px;
  }
}

/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, #1e1e1e, #333);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Headers with Underlines */
.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffcc00;
  position: relative;
}

.header-underline {
  width: 50px;
  height: 3px;
  background: #ffcc00;
  margin: 10px auto 20px auto;
}

/* Company Info */
.footer-company {
  text-align: left;
  max-width: 250px;
}

.company-logo {
  width: 100px;
  margin-bottom: 10px;
}

.footer-company a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-company a:hover {
  text-decoration: underline;
}

/* Quick Links */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffcc00;
}

/* Map Section */
.footer-map iframe {
  border-radius: 10px;
  border: 2px solid #444;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-map iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
}

/* Social Links */
.footer-social .social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-link {
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  transform: scale(1.2);
  color: #ffcc00;
}

/* Newsletter */
.footer-newsletter .newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-input {
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
  width: 250px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-input:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 5px #ffcc00;
}

.newsletter-button {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  background: #ffcc00;
  color: #333;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.newsletter-button:hover {
  transform: scale(1.1);
  background: #e6b800;
}

.newsletter-success {
  margin-top: 10px;
  display: none;
  color: #ffcc00;
  font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #555;
  padding-top: 10px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-input {
    width: 100%;
    max-width: 300px;
  }

  .footer-company,
  .footer-links,
  .footer-social,
  .footer-newsletter {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .newsletter-form {
    justify-content: center;
  }
}