/* General Styles */
body {
    padding-top: 56px; /* Adjust for fixed navbar */
}

section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Home Section */
#home {
    height: 100vh;
    background: url('../assets/bg.jpeg') no-repeat center center/cover;
    color: white;
}

#home h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.vehicle-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicle-card {
    height: 100%;
}

/* Buttons */
.btn-primary {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

#partners .card-body a {
    color: var(--bs-btn-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    #home {
        height: 60vh;
    }
    #home h1 {
        font-size: 2.5rem;
    }
}

#about img {
  max-width: 80%;
  margin: 0 auto;
  display: block;
}

.bg-light {
    background-color: 
#f3f3f3 !important;
}

@media (max-width: 767px) {
  #contact .col-md-6:first-child {
    margin-bottom: 2rem;
  }
}

.navbar-toggler {
  font-size: 1rem;
}

.navbar-toggler-icon {
  width: 1.2em;
  height: 1.2em;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

@media (max-width: 767px) {
  #contact .col-md-6 {
    width: 100%;
  }
}

.logo-text {
  font-size: 0.5rem;
  font-weight: bold;
  margin-top: 2px;
  margin-bottom: 0;
}



#form .form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

#form:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#form {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  margin: 0 auto;
  transition: box-shadow 0.3s ease;
}