/* Custom Styles for Royal Worldwide Air Ambulance Website */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #343a40;
}

.navbar-brand {
  color: #dc3545 !important;
  font-size: 1.8rem;
  font-weight: 700;
}
.navbar-brand .logo-img {
  max-height: 32px;
  width: auto;
  vertical-align: middle;
}

.navbar-nav .nav-link {
  color: #343a40;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid #dc3545;
  border-radius: 5px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: #dc3545;
  color: #fff;
  transform: scale(1.05);
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 5px;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.carousel-item img {
  max-height: 600px;
  object-fit: cover;
}

.service-box {
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.card {
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.nav-tabs .nav-link {
  color: #343a40;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
  color: #dc3545;
  border-bottom: 2px solid #dc3545;
}

.tab-content {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 5px;
}

.btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}

.btn-outline-danger:hover,
.btn-outline-danger.active {
  background: #dc3545;
  color: #fff;
}

.quote-form,
.detailed-quote-form,
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.quote-form .form-control,
.detailed-quote-form .form-control,
.contact-form .form-control {
  border-radius: 5px;
  border: 1px solid #ced4da;
}

.quote-form .form-control:focus,
.detailed-quote-form .form-control:focus,
.contact-form .form-control:focus {
  border-color: #dc3545;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}

.form-check {
  margin-bottom: 0.5rem;
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
}

.milestone {
  position: relative;
  padding: 1rem;
}

.milestone-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.accordion-button {
  font-weight: 500;
  background: #dc3545 !important;
  color: #fff !important;
  border: none;
  transition: background 0.3s, color 0.3s;
}

.accordion-button:not(.collapsed) {
  background: #c82333 !important;
  color: #fff !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.experience-counter {
  text-align: center;
}

.experience-counter h3 {
  margin-bottom: 0.5rem;
}

#faqs img {
  max-width: 100%;
}

#faqs .faq-small {
  max-width: 50%;
  margin: 0 auto 1rem;
}

.map-placeholder {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.promise-item {
  padding: 1rem;
}

.promise-item i {
  color: #dc3545;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-controls .carousel-control-prev,
.carousel-controls .carousel-control-next {
  position: static;
  width: 40px;
  height: 40px;
  background: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-controls .carousel-control-prev-icon,
.carousel-controls .carousel-control-next-icon {
  background-size: 50%;
}

#testimonials .carousel-inner .card {
  margin: 0 auto;
  max-width: 500px;
}

.service-toggles .accordion-item {
  border: none;
}

.service-image {
  height: 300px;
  object-fit: cover;
}

.service-content .content {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 5px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
  animation: shake 0.5s ease-in-out;
}

.glass-card.border-danger {
  border: 2px solid #dc3545;
  border-radius: 10px;
}

.glass-card.border-primary {
  border: 2px solid #007bff;
  border-radius: 10px;
}

.glass-card.border-top-orange {
  border-top: 3px solid #fd7e14;
  border-radius: 10px;
}

.glass-card.border-top-green {
  border-top: 3px solid #28a745;
  border-radius: 10px;
}

.glass-card.border-top-blue {
  border-top: 3px solid #007bff;
  border-radius: 10px;
}

.glass-card.border-top-danger {
  border-top: 3px solid #dc3545;
  border-radius: 10px;
}

.glass-card.border-top-purple {
  border-top: 3px solid #6f42c1;
  border-radius: 10px;
}

.glass-card.border-top-teal {
  border-top: 3px solid #20c997;
  border-radius: 10px;
}

.text-orange {
  color: #fd7e14;
}

.text-green {
  color: #28a745;
}

.text-blue {
  color: #007bff;
}

.text-danger {
  color: #dc3545;
}

.border-top-danger {
  border-top: 3px solid #dc3545;
}

footer a {
  color: #ffd700;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 1000;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.1);
}

/* Shake Animation for Glass Cards */
@keyframes shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(5px, 0) rotate(2deg); }
  50% { transform: translate(0, 0) rotate(0deg); }
  75% { transform: translate(-5px, 0) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
  .carousel-item img {
    max-height: 400px;
  }
  .tab-content {
    padding: 1rem;
  }
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
  .counter {
    font-size: 2rem;
  }
  .milestone-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
  }
  #faqs .faq-small {
    max-width: 70%;
  }
  .card-img-top {
    height: 150px;
  }
  .col-md-4 {
    margin-bottom: 2rem;
  }
  .carousel-controls {
    margin-bottom: 1rem;
  }
  .service-image {
    height: 200px;
  }
  .service-toggles {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
  .service-box {
    margin-bottom: 1rem;
  }
  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  .logo-img {
    max-height: 24px;
  .faq-small {
    max-width: 100%;
  }
  .card-img-top {
    height: 120px;
  }
  .service-image {
    height: 150px;
  }
  .card-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
      }
      .card-overlay .card-body {
        position: relative;
        z-index: 2;
      }
      @media (max-width: 768px) {
        .card-overlay .card-img-top {
          height: 150px;
        }
        .card-overlay .card-body {
          padding: 1rem;
        }
      }
 }