/* Import Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Custom Properties for Mint Color Scheme */
:root {
  --mint-primary: #00D4AA;
  --mint-secondary: #00BF9A;
  --mint-dark: #009B7D;
  --mint-light: #E6FFFE;
  --mint-gradient: linear-gradient(135deg, #00D4AA 0%, #00BF9A 100%);
  --mint-glass: rgba(0, 212, 170, 0.1);
  --mint-glass-border: rgba(0, 212, 170, 0.2);
  --dark-bg: #1a1a1a;
  --light-gray: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
}

/* Navigation Active State */
.navbar-nav .nav-link.active {
  color: var(--mint-primary) !important;
  font-weight: 600;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--mint-primary);
  border-radius: 1px;
}

.navbar-nav .nav-link {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--mint-secondary) !important;
}

/* Identity Pages Styling */
.identity-page {
  background: var(--light-gray);
  min-height: 100vh;
  padding-top: 100px;
}

.identity-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.identity-header {
  background: var(--mint-gradient);
  color: white;
  padding: 2rem;
  text-align: center;
}

.identity-form {
  padding: 2rem;
}

.form-floating > .form-control:focus {
  border-color: var(--mint-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
}

.form-check-input:checked {
  background-color: var(--mint-primary);
  border-color: var(--mint-primary);
}

.form-check-input:focus {
  border-color: var(--mint-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
}

.btn-primary {
  background: var(--mint-gradient) !important;
  border: none !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--mint-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  margin: 0;
  overflow-x: hidden;
}

/* Link Styles - All links use mint green */
a {
  color: var(--mint-primary);
  text-decoration: none;
}

a:hover {
  color: var(--mint-secondary);
}

/* Fixed Glass Navigation */
.navbar-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 170, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--mint-primary) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: var(--mint-primary) !important;
}

/* Login Dropdown Styles */
.dropdown-menu {
  border: 1px solid rgba(0, 212, 170, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.dropdown-item {
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(0, 212, 170, 0.1);
  color: var(--mint-primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%2300D4AA" fill-opacity="0.05" points="0,0 1000,300 1000,1000 0,700"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 49%, rgba(0, 212, 170, 0.02) 50%, transparent 51%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: var(--mint-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: center;
}

/* Values Section (replaces stats) */
.values-section {
  background: var(--mint-gradient);
  color: white;
  padding: 3rem 0;
  margin: 3rem 0;
}

.value-item {
  text-align: center;
  margin-bottom: 1rem;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.value-label {
  font-size: 1rem;
  font-weight: 600;
}

/* Button Styles */
.btn-mint {
  background: var(--mint-gradient);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.btn-mint:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
  color: white;
}

.btn-outline-mint {
  border: 2px solid var(--mint-primary);
  color: var(--mint-primary);
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-mint:hover {
  background: var(--mint-primary);
  color: white;
  transform: translateY(-2px);
}

/* Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--mint-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.service-description {
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}

/* Route Cards */
.route-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.route-image {
  height: 200px;
  background: var(--mint-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.route-content {
  padding: 1.5rem;
}

.route-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.route-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.route-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mint-primary);
}

/* Fleet Page Styles */
.fleet-header {
  position: relative;
  overflow: hidden;
}

.fleet-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,200 1000,1000 0,800"/></svg>');
  pointer-events: none;
}

.vehicle-showcase {
  transition: all 0.3s ease;
}

.vehicle-showcase:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.vehicle-specs {
  background: rgba(0, 212, 170, 0.05);
  border-radius: 10px;
  padding: 1rem;
}

.spec-item {
  margin-bottom: 0.5rem;
}

.spec-value {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.spec-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.vehicle-features h6 {
  margin-bottom: 0.5rem;
}

.vehicle-features ul {
  margin-bottom: 0;
}

.amenity-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.15);
}

.amenity-icon {
  margin-bottom: 1rem;
}

/* Routes and Pricing Page Styles */
.route-pricing-header {
  position: relative;
  overflow: hidden;
}

.route-pricing-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,200 1000,1000 0,800"/></svg>');
  pointer-events: none;
}

.vehicle-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.15) !important;
}

.vehicle-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.vehicle-details {
  background: rgba(0, 212, 170, 0.05);
  border-radius: 10px;
  padding: 1rem;
}

.price-display {
  background: rgba(0, 212, 170, 0.1);
  border-radius: 10px;
  padding: 1rem;
}

.text-mint-primary {
  color: var(--mint-primary) !important;
}

/* Booking Page Styles */
.booking-header {
  position: relative;
  overflow: hidden;
}

.progress-steps {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.step-item.active .step-circle {
  background-color: var(--mint-primary);
  color: white;
}

.step-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.step-item.active .step-label {
  color: var(--mint-primary);
  font-weight: 600;
}

.step-connector {
  flex: 1;
  height: 2px;
  background-color: #e9ecef;
  margin: 0 1rem;
}

.bg-mint-light {
  background-color: rgba(0, 212, 170, 0.1) !important;
}

.payment-summary {
  background-color: rgba(0, 212, 170, 0.1);
  border-radius: 10px;
}

/* Form Styles */
.form-control:focus {
  border-color: var(--mint-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
}

.form-control.is-valid {
  border-color: var(--mint-primary);
}

.was-validated .form-control:valid {
  border-color: var(--mint-primary);
}

.form-select:focus {
  border-color: var(--mint-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
}

.invalid-feedback {
  display: block;
}

/* Footer */
.footer-modern {
  background: var(--dark-bg);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mint-primary);
  margin-bottom: 1rem;
}

.footer-text {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-link {
  color: #cccccc;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--mint-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--mint-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .progress-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0.5rem 0;
  }
  
  .value-item {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding-top: 100px;
  }
  
  .btn-mint, .btn-outline-mint {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .vehicle-card {
    margin-bottom: 2rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--mint-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mint-secondary);
}

/* Smooth Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glass Effects */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Sticky Sidebar */
.sticky-top {
  position: sticky;
  top: 100px;
  z-index: 1020;
}

/* Loading States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Alert Styles */
.alert-mint-light {
  background-color: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: var(--mint-dark);
}

/* Eco Badge Styles */
.eco-badge {
  background: rgba(0, 212, 170, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.eco-badge:hover {
  background: rgba(0, 212, 170, 0.15);
  transform: translateY(-5px);
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Route Cards Vertical Alignment */
.route-cards-container .row {
  display: flex;
  align-items: stretch;
}

.route-cards-container .col-lg-4,
.route-cards-container .col-md-6 {
  display: flex;
}

.route-cards-container .route-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.route-cards-container .route-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.route-cards-container .d-flex.justify-content-between {
  margin-top: auto;
}

/* Fix icon spacing in list items */
.service-icon-list {
  width: 60px;
  height: 60px;
  min-width: 60px;
  flex-shrink: 0;
  background: var(--mint-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

/* Hide family satisfaction badge on smaller screens */
@media (max-width: 991px) {
  .family-satisfaction-badge {
    display: none !important;
  }
}

/* WhatsApp button styles */
.whatsapp-link {
  background-color: #25D366 !important;
  border-color: #25D366 !important;
  color: white !important;
}

.whatsapp-link:hover {
  background-color: #128C7E !important;
  border-color: #128C7E !important;
  color: white !important;
}

/* Contact Cards */
.contact-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 170, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--mint-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.3);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card .service-icon {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-card:hover .service-icon {
  transform: scale(1.1);
}

.contact-card h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-card .text-muted {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-card .btn {
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 25px;
  transition: all 0.3s ease;
  min-width: 140px;
}

/* Enhanced WhatsApp styling for visibility */
.contact-card .whatsapp-link {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%) !important;
  border: none !important;
  color: white !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-card .whatsapp-link::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;
}

.contact-card .whatsapp-link:hover::before {
  left: 100%;
}

.contact-card .whatsapp-link:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #128C7E 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: white !important;
}

/* WhatsApp icon enhancement */
.contact-card .whatsapp-link .fab.fa-whatsapp {
  font-size: 1.1em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive design for contact cards */
@media (max-width: 768px) {
  .contact-card {
    padding: 2rem 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-card .btn {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}