body {
  font-family: Arial, sans-serif;
  background-color: #0d0d0d;
  color: #f1f1f1;
  padding-top: 60px;
}

.navbar {
  background-color: #111;
}

.navbar-brand {
  color: #ffffff !important;
  font-weight: bold;
  font-size: 1.5rem;
}

.hero {
  background: url('images/car7.jpg') center/cover no-repeat;
  min-height: 100vh;
  
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  flex-direction: column;
}



.lead {
  color: #0f7a3d;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: -40px; /* поднимаем/опускаем */
}

@media (max-width: 576px) {
  .hero-logo {
    max-width: 200px;
  }
  .hero-content {
    margin-top: 20px;
  }
  .form-section {
    padding: 15px;
  }
}

.hero h1 {
  font-size: 3rem;
  color: #ffffff;
  font-weight: bold;
}

.hero-logo {
  max-width: 300px; /* размер можно менять */
  height: auto;
}

.form-section {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 12px;
}

.form-section input, 
.form-section button {
  border-radius: 8px;
}

/* Анимация появления */
.anim-slidedown {
  opacity: 0;
  transform: translateY(-20px);
  animation: slideDown 1s ease forwards;
  animation-delay: 0.5s;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-highlight {
  color: #0f7a3d;
  text-decoration: underline;
}

.btn-green {
  background-color: #0f7a3d;
  color: #fff;
}

.btn-green:hover {
  background-color: #0c5c2d;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: #0f7a3d;
}

.card {
  background-color: #1a1a1a;
  border: none;
  border-radius: 10px;
  color: #ddd;
}

.card h5 {
  color: #0f7a3d;
}

footer {
  background-color: #111;
  padding: 30px 0;
  text-align: center;
  color: #777;
}

.img-white {
    filter: brightness(0) invert(1);
}


.service-card {
  position: relative;
  height: 300px;              /* одинаковая высота */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;       /* прижимаем текст вниз */
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-overlay {
  background: rgba(0, 30, 20, 0.7); /* тёмный полупрозрачный фон */
  color: #fff;
  padding: 20px;
  width: 100%;
}

.service-overlay h5 {
  font-size: 1.2rem;
  font-weight: bold;
}

.service-overlay p {
  margin: 5px 0;
  font-weight: 500;
}

.service-overlay ul {
  padding-left: 20px;
  margin: 5px 0;
  font-size: 0.9rem;
}

.order-link {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

.order-link:hover {
  color: #0f7a3d;
}

.order-link {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

.order-link:hover {
  color: #0f7a3d;
}

.section::before {
  content: "";
  display: block;
  height: 100px; /* высота navbar */
  margin-top: -80px;
  visibility: hidden;
}

.white-text {
  color: #fff;
}

.import-car {
  max-height: 300px; /* регулируй под себя */
  object-fit: cover; /* обрежет картинку, но сохранит пропорции */
  width: 100%;
}

.green-text {
  color: #0f7a3d;
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ffffff;
    text-decoration: none;
}

.social-icons a:hover {
    color: #0f7a3d;
}

@media (max-width: 768px) {
  .map {
    height: 20rem; /* планшеты */
  }
}

@media (max-width: 576px) {
  .map {
    height: 15rem; /* телефоны */
  }
}

.small-text {
  font-size: 11px;
}

.step-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-card h5 {
  color: #0f7a3d;
  font-weight: bold;
}