/*--------------------------------------------------------------
# Global Styles & Variables
--------------------------------------------------------------*/
:root {
  --bs-primary-rgb: 8, 132, 189; /* MooVoo Primary Blue */
  --bs-secondary-rgb: 108, 117, 125; /* Standard Grey */
  --bs-success-rgb: 25, 135, 84;  /* Standard Success Green */
  --bs-warning-rgb: 255, 193, 7;  /* Standard Warning Yellow */
  --bs-light-rgb: 248, 249, 250; /* Light Grey Background */
  --bs-dark-rgb: 26, 26, 26;     /* Dark background/text */
  --accent-color-rgb: 247, 160, 78; /* MooVoo Orange */

  --gradient-start: #0884bd; /* Primary Blue */
  --gradient-end: #f7a04e;   /* Accent Orange */

  --default-font: 'Inter', sans-serif;
  --heading-font: 'Montserrat', sans-serif;

  --bs-border-radius: 0.375rem;
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
  --bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);

  /* Service Specific Colors (Used for defaults if needed) */
  --service-color-taxi: #f7a04e;
  --service-color-ride: #0884bd;
  --service-color-micromobility: #fd7e14;
  --service-color-transit: #6f42c1;
  --service-color-charge: #198754;
}

/* Base styling */
body {
  font-family: var(--default-font);
  color: #444;
  background-color: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: rgb(var(--bs-dark-rgb));
}

a {
  color: rgb(var(--bs-primary-rgb));
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: rgba(var(--bs-primary-rgb), 0.8);
  text-decoration: none;
}

/* Section styling */
.section {
  padding: 80px 0;
  overflow-x: hidden;
}
.bg-light {
    background-color: rgb(var(--bs-light-rgb)) !important;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
}

.gradient-underline {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  transition: all 0.3s ease-in-out;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-width: 2px;
}
.btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}
.btn.lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--bs-box-shadow);
}
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.5);
}
.btn-primary {
    background-color: rgb(var(--bs-primary-rgb));
    border-color: rgb(var(--bs-primary-rgb));
    color: #fff; /* Ensure text is white */
}
.btn-primary:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.85);
    border-color: rgba(var(--bs-primary-rgb), 0.85);
    color: #fff;
}
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.75);
    color: rgba(255, 255, 255, 0.9);
}
.btn-outline-light:hover {
    background-color: #fff;
    color: var(--bs-dark);
    border-color: #fff;
}
.btn-outline-light:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
}
.btn-outline-primary {
    border-color: rgb(var(--bs-primary-rgb));
    color: rgb(var(--bs-primary-rgb));
}
.btn-outline-primary:hover {
    background-color: rgb(var(--bs-primary-rgb));
    color: #fff;
}
.btn-outline-secondary {
    border-color: rgb(var(--bs-secondary-rgb));
    color: rgb(var(--bs-secondary-rgb));
}
.btn-outline-secondary:hover {
    background-color: rgb(var(--bs-secondary-rgb));
    color: #fff;
}
.btn-outline-secondary:focus-visible {
     box-shadow: 0 0 0 0.25rem rgba(var(--bs-secondary-rgb), 0.5);
}
.btn-outline-accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Scroll Indicator */
.scroll-indicator {
    height: 4px; width: 0;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    position: fixed; top: 0; left: 0; z-index: 1040;
    transition: width 0.1s ease-out;
}

/* Skip Link */
.skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus {
    position: fixed; top: 10px; left: 10px; width: auto; height: auto;
    padding: 10px 15px; background-color: #fff; color: #000; z-index: 2000;
    border: 1px solid #ccc; box-shadow: var(--bs-box-shadow-lg);
    border-radius: var(--bs-border-radius); text-decoration: none;
}

/*--------------------------------------------------------------
# Header (Dark Theme)
--------------------------------------------------------------*/
#mainNavbar {
    padding: 0.75rem 0;
    transition: padding 0.3s ease;
    background-color: rgb(var(--bs-dark-rgb)) !important;
}
#mainNavbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.navbar-dark .navbar-brand { font-family: var(--heading-font); font-weight: 800; font-size: 1.8rem; color: #fff; }
.navbar-dark .navbar-brand span { color: rgb(var(--bs-primary-rgb)); }
.navbar-dark .navbar-nav .nav-link { font-weight: 600; color: rgba(255, 255, 255, 0.8); position: relative; padding-bottom: 8px; transition: color 0.3s ease; }
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active { color: #fff; }
.navbar-dark .navbar-nav .nav-link::before { content: ""; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; transform: translateX(-50%); background-color: rgb(var(--bs-primary-rgb)); visibility: hidden; transition: all 0.3s ease-in-out; }
.navbar-dark .navbar-nav .nav-link:hover::before, .navbar-dark .navbar-nav .nav-link.active::before { visibility: visible; width: 30%; }
.navbar-dark .navbar-toggler { border-color: rgba(255, 255, 255, 0.1); }
.navbar-dark .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.navbar-dark .nav-link.dropdown-toggle { color: rgba(255, 255, 255, 0.8); }
.navbar-dark .nav-link.dropdown-toggle:hover { color: #fff; }
.navbar-dark .dropdown-menu { background-color: #fff; }
.navbar-dark .dropdown-item { color: var(--bs-dark); }
.navbar-dark .dropdown-item:hover, .navbar-dark .dropdown-item:focus { background-color: rgba(var(--bs-primary-rgb), 0.1); color: var(--bs-dark); }
.navbar-dark .dropdown-item i { color: rgb(var(--bs-primary-rgb)); }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  min-height: 90vh;
  /* *** IMPORTANT: REPLACE with your actual image path *** */
  background: url('../images/moovoo-hero-placeholder.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* Optional: Parallax effect */
  position: relative;
  color: #fff;
}
.hero-section:before { content: ""; background-color: #111; position: absolute; inset: 0; z-index: -1; }
.hero-overlay { position: absolute; inset: 0; background: rgba(var(--bs-dark-rgb), 0.6); z-index: 0; }
.hero-section .container { z-index: 1; }
.hero-title { font-family: var(--heading-font); font-size: clamp(2.5rem, 6vw, 4rem); text-shadow: 0 2px 5px rgba(0,0,0,0.6); font-weight: 800; }
.hero-title .highlight { color: rgb(var(--bs-primary-rgb)); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); opacity: 0.9; font-weight: 300; }
.hero-cta .btn { padding: 0.8rem 1.8rem; font-weight: 600; }
.hero-scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-size: 1.5rem; animation: bounce 2s infinite; transition: color 0.3s ease; }
.hero-scroll-down:hover { color: white; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-list li { line-height: 1.8; }
.about-list i { font-size: 1.1rem; line-height: 1; }
.about-list span { flex: 1; }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.service-card { border: 1px solid #eee; border-radius: 0.5rem; overflow: hidden; box-shadow: var(--bs-box-shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; background-color: #fff; display: flex; flex-direction: column; height: 100%; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--bs-box-shadow); border-color: transparent; }
.service-card .card-body { padding: 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; flex-grow: 1; }
.service-icon { font-size: 2.5rem; width: 70px; height: 70px; line-height: 70px; border-radius: 50%; margin-bottom: 1.5rem; display: inline-block; transition: all 0.3s ease; }
.service-card:hover .service-icon { transform: scale(1.1); }
/* Assign colors */
.service-card--taxi .service-icon { background-color: rgba(var(--accent-color-rgb), 0.1); color: rgb(var(--accent-color-rgb)); }
.service-card--ride .service-icon { background-color: rgba(var(--bs-primary-rgb), 0.1); color: rgb(var(--bs-primary-rgb)); }
.service-card--bike .service-icon, .service-card--tricycle .service-icon { background-color: rgba(253, 126, 20, 0.1); color: #fd7e14; }
.service-card--bus .service-icon { background-color: rgba(111, 66, 193, 0.1); color: #6f42c1; }
.service-card--charge .service-icon { background-color: rgba(var(--bs-success-rgb), 0.1); color: rgb(var(--bs-success-rgb)); }
.service-title { font-size: 1.3rem; margin-bottom: 0.75rem; font-weight: 700; }
.service-card .card-text { color: #555; margin-bottom: 1.5rem; flex-grow: 1; font-size: 0.95rem; }
.service-badge { display: inline-block; padding: 0.4em 0.8em; font-size: 0.8rem; font-weight: 600; border-radius: var(--bs-border-radius-pill); background-color: #e9ecef; color: #495057; margin-top: auto; }

/*--------------------------------------------------------------
# Cities Section
--------------------------------------------------------------*/
/* Filters */
.city-filters-wrapper input[type="text"], .city-filters-wrapper .form-select { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.city-filters-wrapper .input-group:focus-within, .city-filters-wrapper .form-select:focus { border-color: rgb(var(--bs-primary-rgb)); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25); }
.city-filters-wrapper .input-group-text { background-color: transparent; }
/* Subsections */
.cities-subsection { padding-bottom: 2rem; }
.cities-subsection-title { font-family: var(--heading-font); font-weight: 700; color: #444; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.cities-subsection-title::after { content: ''; position: absolute; display: block; width: 60px; height: 3px; background: rgb(var(--bs-primary-rgb)); bottom: 0; left: 50%; transform: translateX(-50%); }
#cities-coming-soon .cities-subsection-title::after { background: rgb(var(--bs-warning-rgb)); }
.city-counter { font-style: italic; color: #6c757d; }
/* City Card Base */
.city-card { border: 1px solid #e9ecef; border-radius: 0.5rem; background-color: #ffffff; transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out; overflow: hidden; }
/* Available Card */
.city-card-link { display: block; color: inherit; text-decoration: none; }
.city-card-link:hover, .city-card-link:focus { color: inherit; text-decoration: none; }
.city-card-link:hover .city-card--available, .city-card-link:focus-visible .city-card--available { transform: translateY(-4px); box-shadow: var(--bs-box-shadow); border-color: rgba(var(--bs-primary-rgb), 0.5); cursor: pointer; }
.city-card-link:focus-visible { outline: none; }
.city-card-link:focus-visible .city-card--available { box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.4); }
/* Coming Soon Card */
.city-card--coming-soon { background-color: #fdfdfd; }
.city-card--coming-soon:hover { transform: translateY(-2px); box-shadow: var(--bs-box-shadow-sm); border-color: #dee2e6; }
.notify-btn:focus-visible { outline: none; box-shadow: 0 0 0 0.25rem rgba(var(--bs-warning-rgb), 0.5); border-color: rgb(var(--bs-warning-rgb)); }
/* Card Flag */
.city-flag-container { background-color: #f1f3f5; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.city-flag { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.city-card:hover .city-flag { transform: scale(1.04); }
/* Card Body */
.city-card .card-body { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; min-height: 190px; }
.city-details .city-name { font-weight: 700; color: #212529; font-size: 1.15rem; }
.city-details .city-country { font-size: 0.85rem; color: #6c757d; }
/* Card Meta & Icons */
.city-meta-wrapper { padding-top: 1rem; border-top: 1px solid #e9ecef; margin-top: auto; display: flex; flex-direction: column; }
.city-meta { margin-bottom: 1rem; min-height: 40px; }
.city-meta .service-icon { font-size: 0.9rem; color: #6c757d; background-color: #f1f3f5; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s ease; }
.city-meta .service-icon.planned { opacity: 0.6; }
.city-meta .service-icon:hover { background-color: rgb(var(--bs-primary-rgb)); color: white; transform: translateY(-2px) scale(1.05); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); opacity: 1; }
.city-meta .badge { font-size: 0.75rem; font-weight: 500; padding: 0.5em 0.8em; }
/* Card CTAs */
.view-details-prompt { transition: transform 0.2s ease, color 0.2s ease; font-size: 0.85rem; margin-top: 0.5rem; color: var(--bs-secondary); }
.city-card-link:hover .view-details-prompt { transform: translateX(4px); color: rgb(var(--bs-primary-rgb)) !important; }
.notify-btn { font-size: 0.85rem; font-weight: 500; padding: 0.5rem 1rem; transition: all 0.2s ease; }
.notify-btn:hover { transform: scale(1.03); box-shadow: var(--bs-box-shadow-sm); }
.btn-outline-secondary.notify-btn:hover { background-color: rgb(var(--bs-secondary-rgb)); color: white; }
/* "No Cities" Placeholders */
#noAvailableCitiesMessage, #noComingSoonCitiesMessage { border: 1px dashed #dee2e6; background-color: #fff !important; }

/*--------------------------------------------------------------
# On Demand Section
--------------------------------------------------------------*/
#on-demand-services { border-top: 1px solid #eee; border-bottom: 1px solid #eee; }

/*--------------------------------------------------------------
# Download Section
--------------------------------------------------------------*/
.download-section {
  /* Keep existing padding or adjust */
}

.download-buttons-wrapper .btn-download {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem; /* Adjust padding */
  border-radius: var(--bs-border-radius-pill); /* Keep pill shape */
  text-align: left;
  transition: all 0.3s ease;
  min-width: 180px; /* Ensure minimum width */
  box-shadow: var(--bs-box-shadow-sm);
  border: 2px solid transparent; /* Prepare for focus */
}

.download-buttons-wrapper .btn-download:hover {
  transform: translateY(-3px);
  box-shadow: var(--bs-box-shadow);
}

.download-buttons-wrapper .btn-download i {
  line-height: 1; /* Ensure icon aligns well */
}

.download-buttons-wrapper .btn-download .button-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.download-buttons-wrapper .btn-download .text-line-1 {
  font-size: 0.75rem; /* Smaller text for top line */
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download-buttons-wrapper .btn-download .text-line-2 {
  font-size: 1.1rem; /* Larger text for bottom line */
  font-weight: 600;
}

/* Specific Platform Styles */
.download-buttons-wrapper .btn-download-apple {
  background-color: #000;
  color: #fff;
  border-color: #000;
}
.download-buttons-wrapper .btn-download-apple:hover {
  background-color: #333;
  border-color: #333;
  color: #fff;
}
.download-buttons-wrapper .btn-download-apple:focus-visible {
   box-shadow: 0 0 0 0.25rem rgba(80, 80, 80, 0.5); /* Darker focus */
   outline: none;
   border-color: #fff; /* White border on focus */
}


.download-buttons-wrapper .btn-download-google {
  background-color: #fff;
  color: #333;
  border-color: #ccc;
}
.download-buttons-wrapper .btn-download-google:hover {
  background-color: #f8f9fa;
  border-color: #bbb;
  color: #000;
}
.download-buttons-wrapper .btn-download-google:focus-visible {
   box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.5); /* Use primary focus */
   outline: none;
   border-color: rgb(var(--bs-primary-rgb));
}

/* Optional: Generic Button Style */
.download-buttons-wrapper .btn-download-generic {
    background-color: rgb(var(--bs-primary-rgb));
    color: #fff;
    border-color: rgb(var(--bs-primary-rgb));
}
.download-buttons-wrapper .btn-download-generic:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.85);
    border-color: rgba(var(--bs-primary-rgb), 0.85);
    color: #fff;
}
.download-buttons-wrapper .btn-download-generic:focus-visible {
   box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.5);
   outline: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer { font-size: 0.9rem; }
.footer-logo { font-family: var(--heading-font); font-weight: 800; font-size: 2rem; color: #fff; text-decoration: none; display: inline-block; }
.footer-logo span { color: rgb(var(--bs-primary-rgb)); }
.footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { padding-left: 0; list-style: none; }
.footer-links li { padding: 8px 0; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; display: inline-block; }
.footer-links a:hover { color: #fff; text-decoration: none; padding-left: 5px; }
.social-links a { color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); transition: all 0.3s ease; /* margin-right: 5px; Removed - using gap */ }
.social-links a:hover { color: var(--bs-dark); background-color: #fff; transform: scale(1.1); }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.15) !important; }

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-to-top { position: fixed; visibility: hidden; opacity: 0; right: 15px; bottom: 15px; z-index: 999; background: rgb(var(--bs-primary-rgb)); width: 44px; height: 44px; border-radius: 50%; transition: all 0.4s; border: none; }
.back-to-top i { font-size: 1.5rem; color: #fff; line-height: 0; }
.back-to-top:hover { background: rgba(var(--bs-primary-rgb), 0.85); color: #fff; }
.back-to-top.active { visibility: visible; opacity: 1; }
.back-to-top:focus-visible { outline: none; box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.5); }

/*--------------------------------------------------------------
# Modal (Notify Me)
--------------------------------------------------------------*/
.modal-content { border-radius: 0.5rem; }
.modal-header .modal-title { font-weight: 700; }
.modal-body label { font-weight: 500; }
.modal-body .form-control { border-radius: var(--bs-border-radius-pill); padding: 0.6rem 1.2rem; }
.modal-body .form-control:focus { border-color: rgb(var(--bs-primary-rgb)); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25); }
.modal-body .form-check-input:focus { box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25); }
.modal-body .form-check-input:checked { background-color: rgb(var(--bs-primary-rgb)); border-color: rgb(var(--bs-primary-rgb)); }

/*--------------------------------------------------------------
# Tooltips
--------------------------------------------------------------*/
.tooltip-inner { background-color: #343a40; color: white; font-size: 0.75rem; padding: 0.3rem 0.6rem; border-radius: 0.25rem; }
.tooltip.bs-tooltip-top .tooltip-arrow::before { border-top-color: #343a40; }
.tooltip.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: #343a40; }
.tooltip.bs-tooltip-start .tooltip-arrow::before { border-left-color: #343a40; }
.tooltip.bs-tooltip-end .tooltip-arrow::before { border-right-color: #343a40; }