/* ===== MEDICAL TRANSPORT COLOR SCHEME ===== */
:root {
  /* Core Colors */
  --primary: #0D4A6B;        /* Deep teal-blue (trust) */
  --primary-rgb: 13, 74, 107;
  --secondary: #007505;      /* Safety green */
  --accent: #fb4a0a;         /* Urgent coral (use sparingly) */
  
  /* Neutrals */
  --background: #F8F9FA;     /* Soft off-white */
  --surface: #FFFFFF;        /* Card backgrounds */
  --border: #E9ECEF;         /* Subtle dividers */
  --text: #212529;           /* Primary text */
  --text-secondary: #6C757D; /* Secondary text */
  
  /* States */
  --success: #007505;
  --warning: #FFC107;
  --danger: #fb4a0a;
  
  /* Gradients (optional) */
  --primary-gradient: linear-gradient(135deg, #0D4A6B 0%, #1A738C 100%);
}

/* ===== BASE STYLES ===== */
body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 600;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.text-primary {
    color:  var(--primary) !important;
}

.accordion span {
    color:  var(--primary) !important;
    font-weight: 600;
}

.accordion i {
    color:  var(--primary) !important;
}

.accordion i:hover{
     color:  var(--primary) !important;
}

.accordion .card {
    padding: 0 !important;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: #0a3a54; /* Darker shade */
  border-color: #0a3a54;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  border-color: var(--secondary);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}
.btn-secondary:hover {
  background-color: #439A46; /* Darker green */
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}
.btn-accent:hover {
  background-color: #E05A2E; /* Darker coral */
}

/* ===== CARDS & CONTAINERS ===== */
.card {
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
}

.navbar-brand {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.8rem;
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  color: var(--text) !important;
}

.nav-item.active .nav-link {
  color: var(--primary) !important;
  font-weight: bold;
  border-bottom: 2px solid var(--primary);
}

/* ===== FORMS ===== */
.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1.2rem;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

/* ===== ALERTS ===== */
.alert {
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.alert-success {
  background-color: #E8F5E9;
  border-left: 4px solid var(--success);
  color: #2E7D32;
}

.alert-warning {
  background-color: #FFF8E1;
  border-left: 4px solid var(--warning);
  color: #FF8F00;
}

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  color: white;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(rgba(13, 74, 107, 0.7), rgba(13, 74, 107, 0.8)),
    url('../dist/images/page-header.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}


.page-header.bg-light::before {
  background: 
    linear-gradient(rgba(248, 249, 250, 0.9), rgba(240, 248, 255, 0.9)),
    url('../dist/images/page-header.jpg');
  background-size: cover;
  background-position: center;
}


.bg-light {
    background-color: white !important;
}

.breadcrumb {
  background-color: transparent !important;
}

.breadcrumb-item a {
  color: white;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

/* ===== HERO SECTION ===== */
.hero {
  background: 
    linear-gradient(rgba(13, 74, 107, 0.8), rgba(13, 74, 107, 0.8)),
    url('../dist/images/hero-bg.avif') no-repeat center center;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 0;
}

.hero h1 {
    color: white !important;
}

/* ===== BOOKING CARD ===== */
.booking-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--text);
}

/* ===== SECTION TITLE ===== */
.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  padding-bottom: 20px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.section-title:hover:after {
  width: 150px;
}

/* ===== SERVICE CARD ===== */
.service-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ===== STEP CARD ===== */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 30px;
  background: var(--surface);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: none;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  border: none;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  color: white;
}

.footer-title:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #A7D2E5; /* Lighter accent for contrast on dark */
  margin-top: 10px;
}

.footer a {
  color: #A7D2E5;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background-color: var(--primary) !important;
  color: white;
  padding: 2.5rem 0;
}

.stats-section .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.statss-number {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.statss-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: none;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stats-number {
    font-size: 2.25rem;
  }
  
  .stats-label {
    font-size: 0.9rem;
  }
  
  .stats-section {
    padding: 2rem 0;
  }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .card,
  .booking-card,
  .step-card,
  .testimonial-card {
    padding: 1.25rem;
  }

  .hero {
    padding: 4rem 0;
  }
  
  .booking-card {
    margin-top: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
}

/* ===== CONTACT PAGE ENHANCEMENTS ===== */

/* Form Controls */
.form-control {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

/* Invalid Feedback */
.invalid-feedback {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Form Check */
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Alerts */
.alert {
  border: none;
  border-radius: 6px;
}
.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.alert-danger {
  background-color: #fdeaea;
  color: #c62828;
}

/* Contact Info Icons */
.bg-primary {
  background-color: var(--primary) !important;
}

/* Map Container */
.map-container {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

/* CTA & Support Cards */
.card.border-0.shadow-sm {
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card.border-0.shadow-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
}
.btn-primary:hover {
  background-color: #0a3a54;
  border-color: #0a3a54;
  transform: translateY(-2px);
}

/* Breadcrumb Links */
.breadcrumb-item a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
}
.breadcrumb-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Section Spacing */
section.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card-body.p-4.p-md-5 {
    padding: 1.5rem !important;
  }
  
  .map-container iframe {
    height: 300px;
  }
}

/* ===== CONTACT INFO CARD STYLING ===== */

/* Card container */
.card.border-0.shadow-sm {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.border-0.shadow-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Contact Info Icon Circles */
.bg-primary.rounded-circle {
  background-color: #2A4D69 !important; /* Deep navy-blue from your image */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

.bg-primary.rounded-circle i {
  color: white;
  font-size: 1.25rem;
}

/* Contact Info Labels & Text */
.contact-info-item h6 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.contact-info-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Spacing between items */
.d-flex.align-items-start.mb-4 {
  margin-bottom: 1.25rem !important;
}

.sidebar-menu li a.active {
    color: #fff !important;
}

.page-header h1 {
    color: #fff !important;
}

.nav-link.active {
 color: #fff !important;
}

strong {
    color: var(--primary);
}

 .card-body {
  padding: 0px !important;
 }

 select{
  font-size: 1rem !important;
  line-height: 1.2rem !important;
  height: 3rem !important;
 }

 .announcement-bar {
    color: white;
    position: relative;
    z-index: 1030;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.announcement-badge .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-announcement-close {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-announcement-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
    border-color: rgba(255,255,255,0.3);
}

/* Emergency variant */
.announcement-bar.urgent {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%) !important;
    animation: pulse 2s infinite;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(251, 74, 10, 0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(251, 74, 10, 0.3);
    }
    100% {
        box-shadow: 0 4px 12px rgba(251, 74, 10, 0.15);
    }
}

.announcement-bar {
    animation: slideIn 0.5s ease-out;
}

.step-number {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
    font-weight: 700;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Modern CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Modern Title */
.cta-title {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Modern Button Styles */
.btn-modern {
    position: relative;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-modern:active {
    transform: translateY(-1px);
}

/* Button Variants */
.btn-modern.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4a6cf7);
}

.btn-modern.btn-success {
    background: linear-gradient(135deg, var(--success), #28c76f);
}

.btn-modern.btn-outline-accent {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-modern.btn-outline-accent:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* Button Icons */
.btn-icon {
    transition: transform 0.3s ease;
}

.btn-modern:hover .btn-icon {
    transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem !important;
    }
    
    .cta-buttons {
        gap: 1rem !important;
    }
    
    .btn-modern {
        min-width: 140px;
        padding: 0.75rem 1.5rem !important;
    }
}

/* Animation for section entrance */
.cta-section {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}