/* ===== NITJ Shuttle Tracker - Enhanced Design ===== */

/* === Root Variables === */
:root {
    --primary-color: #003A6A;
    --primary-dark: #002a4d;
    --primary-light: #004d8a;
    --accent-color: #0066cc;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 58, 106, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 58, 106, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 58, 106, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent text size adjustment on mobile */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Improve touch targets */
button, a, select, input {
    touch-action: manipulation;
}

/* Prevent zoom on input focus on iOS */
input, select, textarea {
    font-size: 16px;
}

@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* === Hamburger Menu === */
.hamburger {
    position: fixed;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.hamburger:hover {
    background: var(--primary-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* === Side Navigation === */
.sidenav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.sidenav.active {
    left: 0;
}

.sidenav-header {
    padding: 32px 24px;
    background: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container i {
    font-size: 28px;
    color: var(--white);
}

.sidenav-header h2 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.close-btn i {
    font-size: 20px;
}

.sidenav ul {
    list-style: none;
    padding: 16px 0;
}

.sidenav ul li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.sidenav ul li a i {
    font-size: 18px;
    width: 24px;
}

.sidenav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--white);
    padding-left: 32px;
    color: var(--white);
}

.sidenav-footer {
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 24px;
}

/* === Container === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* === Header === */
header {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    margin: 100px 20px 40px 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.header-content h1 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 600;
}

.header-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* === Status Bar === */
.status-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 40px 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-bg);
    border-radius: 8px;
}

.status-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.status-icon.active {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

.status-icon.inactive {
    background: #6c757d;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes chargingPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7), 0 4px 12px rgba(255, 193, 7, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0), 0 4px 12px rgba(255, 193, 7, 0.5);
    }
}

@keyframes chargingBolt {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Enhanced Charging Animation Styles */
.shuttle-charging-container {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charging-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid #ffc107;
    opacity: 0;
}

.charging-ring-1 {
    width: 60px;
    height: 60px;
    animation: chargingRingExpand 2s ease-out infinite;
}

.charging-ring-2 {
    width: 60px;
    height: 60px;
    animation: chargingRingExpand 2s ease-out infinite 0.6s;
}

.charging-ring-3 {
    width: 60px;
    height: 60px;
    animation: chargingRingExpand 2s ease-out infinite 1.2s;
}

@keyframes chargingRingExpand {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
        border-width: 3px;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
        border-width: 1px;
    }
}

.shuttle-charging-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 50%, #ffc107 100%);
    background-size: 200% 200%;
    animation: chargingGradient 2s ease infinite, chargingBounce 1.5s ease-in-out infinite;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.6), 0 0 30px rgba(255, 193, 7, 0.4);
    position: relative;
    z-index: 2;
}

@keyframes chargingGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes chargingBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

.charging-bolt-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: chargingBoltSpin 2s linear infinite;
    z-index: 3;
}

.bolt-icon {
    color: #ffc107;
    font-size: 16px;
    animation: chargingBoltPulse 1s ease-in-out infinite;
}

@keyframes chargingBoltSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

@keyframes chargingBoltPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.charging-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    font-size: 12px;
    color: #ffc107;
    opacity: 0;
    animation: particleFloat 2s ease-in-out infinite;
}

.particle-1 {
    top: -5px;
    left: 50%;
    animation-delay: 0s;
}

.particle-2 {
    top: 50%;
    right: -5px;
    animation-delay: 0.5s;
}

.particle-3 {
    bottom: -5px;
    left: 50%;
    animation-delay: 1s;
}

.particle-4 {
    top: 50%;
    left: -5px;
    animation-delay: 1.5s;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-15px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.5);
    }
}

.status-content {
    flex: 1;
}

.status-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.status-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.status-value.active {
    color: var(--success-color);
}

/* === Portal Link Section === */
.portal-link-section {
    margin: 40px 20px;
}

.portal-link-card {
    background: linear-gradient(135deg, #003A6A 0%, #0066cc 100%);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.portal-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.portal-info {
    flex: 1;
    min-width: 200px;
}

.portal-info h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
}

.portal-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: #003A6A;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* === Section Header === */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 24px;
    color: var(--primary-color);
}

.section-title h2 {
    font-size: 24px;
    color: var(--text-dark);
    font-weight: 600;
}

/* Live Indicator Badge */
.live-indicator-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    animation: liveBadgePulse 2s ease-in-out infinite;
    margin-left: 12px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: liveDotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

.live-text {
    color: white;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

@keyframes liveBadgePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(40, 167, 69, 0.6), 0 0 20px rgba(40, 167, 69, 0.4);
    }
}

@keyframes liveDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* === Call Section === */
.call-section {
    margin: 40px 20px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.call-section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 28px;
    margin-bottom: 32px;
}

/* Combined Call Shuttle Card */
.call-shuttle-card {
    background: linear-gradient(135deg, #003A6A 0%, #0066cc 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.shuttle-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: white;
}

.call-shuttle-card h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

.call-shuttle-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 24px;
}

.location-selector-inline {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: left;
}

.location-selector-inline label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #003A6A;
    font-size: 15px;
}

.location-selector-inline label i {
    color: #0066cc;
    margin-right: 6px;
}

.location-selector-inline select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-selector-inline select:focus {
    outline: none;
    border-color: #003A6A;
    box-shadow: 0 0 0 3px rgba(0, 58, 106, 0.1);
}

.call-shuttle-btn {
    width: 100%;
    padding: 16px 32px;
    background: white;
    color: #003A6A;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.call-shuttle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.call-shuttle-btn i {
    font-size: 20px;
}

/* Emergency Call Card */
.emergency-call-card {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.emergency-icon-large {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    color: white;
}

.emergency-call-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 600;
}

.emergency-call-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 20px;
}

.emergency-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: #dc3545;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.emergency-call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.emergency-call-btn i {
    font-size: 18px;
}

/* === Emergency Section === */
.emergency-section {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.emergency-section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.emergency-section h2 i {
    color: var(--danger-color);
}

.emergency-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.emergency-contact-card {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.emergency-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.emergency-contact-card.ambulance {
    border-left: 4px solid #dc3545;
}

.emergency-contact-card.ambulance:hover {
    border-color: #dc3545;
}

.emergency-contact-card.gate {
    border-left: 4px solid #ffc107;
}

.emergency-contact-card.gate:hover {
    border-color: #ffc107;
}

.emergency-icon-compact {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.emergency-contact-card.ambulance .emergency-icon-compact {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.emergency-contact-card.gate .emergency-icon-compact {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
}

.emergency-info {
    flex: 1;
}

.emergency-info h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.emergency-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.emergency-info .phone-number {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
    display: block;
}

.emergency-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.emergency-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 58, 106, 0.3);
}

.emergency-contact-card.ambulance .emergency-btn {
    background: #dc3545;
}

.emergency-contact-card.ambulance .emergency-btn:hover {
    background: #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.emergency-contact-card.gate .emergency-btn {
    background: #ffc107;
    color: #000;
}

.emergency-contact-card.gate .emergency-btn:hover {
    background: #ff9800;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* === Compact Call Shuttle Section === */
.call-section-compact {
    margin: 20px 20px;
    padding: 0;
}

.call-shuttle-compact {
    background: linear-gradient(135deg, #003A6A 0%, #0066cc 100%);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.shuttle-header-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: white;
}

.shuttle-header-compact i {
    font-size: 24px;
}

.shuttle-header-compact h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.call-controls-compact {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.button-group-compact {
    display: flex;
    gap: 8px;
}

.location-select-compact {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-select-compact:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.call-btn-compact {
    padding: 12px 20px;
    background: white;
    color: #003A6A;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.call-btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.call-btn-compact i {
    font-size: 16px;
}

.call-btn-compact.route-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 16px;
}

.call-btn-compact.route-btn:hover {
    background: white;
    color: #003A6A;
}

.call-btn-compact.eta-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 16px;
}

.call-btn-compact.eta-btn:hover {
    background: white;
    color: #ffc107;
}

.call-btn-compact.call-primary {
    background: white;
    color: #003A6A;
    min-width: 140px;
    justify-content: center;
}

/* Old styles - keeping for backward compatibility */
.call-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.call-card {
    background: var(--light-bg);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.call-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.call-card.emergency-card {
    border-color: var(--danger-color);
}

.call-card.emergency-card:hover {
    border-color: var(--danger-color);
}

.call-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.call-card.emergency-card i {
    color: var(--danger-color);
}

.call-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.call-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.call-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.shuttle-btn {
    background: var(--primary-color);
    color: var(--white);
}

.shuttle-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.ambulance-btn {
    background: var(--danger-color);
    color: var(--white);
}

.ambulance-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* === Map Section === */
.map-section {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.route-calculation-section {
    margin-top: 20px;
    text-align: center;
}

.route-calculation-section .calculate-btn {
    max-width: 400px;
    margin: 0 auto;
}

.map-controls {
    display: flex;
    gap: 12px;
}

.map-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.map-btn i {
    font-size: 16px;
}

.map-btn.active,
.map-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.map-container {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 50%, #e8f4f8 100%);
    border-radius: 16px;
    padding: 40px;
    margin-top: 24px;
    box-shadow: inset 0 2px 8px rgba(0, 58, 106, 0.08);
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    animation: mapRotate 30s linear infinite;
}

@keyframes mapRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.route-map {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Route Path Glow Effect */
.route-path-glow {
    fill: none;
    stroke: #0066cc;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.3;
    filter: blur(4px);
}

/* Route Path */
.route-path {
    fill: none;
    stroke: url(#roadGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawPath 3s ease-in-out forwards;
    filter: url(#shadow);
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

/* Direction Arrows */
.direction-arrows {
    animation: fadeIn 2s ease-in-out 3s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Stop Circle Borders */
.stop-circle-border {
    fill: none;
    stroke: #003A6A;
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.stop-circle-border-highlight {
    fill: none;
    stroke: #ff6b00;
    stroke-width: 3;
    animation: highlightPulse 2s infinite;
}

@keyframes highlightPulse {
    0%, 100% {
        stroke-width: 3;
        opacity: 1;
    }
    50% {
        stroke-width: 5;
        opacity: 0.7;
    }
}

/* Highlight Pulse Animation */
.highlight-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        r: 24;
        opacity: 0.3;
    }
    50% {
        r: 28;
        opacity: 0.1;
    }
}

/* Location Pin Animation */
.location-pin {
    animation: bounce 2s infinite;
    transform-origin: 450px 435px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Stop Hover Effects */
.stop:hover .stop-circle-border {
    stroke: #0066cc;
    stroke-width: 3.5;
}

.stop:hover circle[r="6"],
.stop:hover circle[r="8"] {
    fill: #0066cc;
    transform: scale(1.2);
    transform-origin: center;
}

.stop-label {
    fill: #003A6A;
    font-size: 13px;
    font-weight: 600;
    text-anchor: middle;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

.stop-label-highlight {
    fill: #ff6b00;
    font-size: 14px;
    font-weight: 700;
    text-anchor: middle;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    animation: textGlow 2s infinite;
}

@keyframes textGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Shuttle Animation */
.shuttle {
    offset-path: path('M 100 300 L 200 300 L 250 250 L 350 250 L 400 200 L 500 200 L 550 250 L 600 250 L 650 300 L 700 300 L 700 400 L 600 400 L 550 450 L 450 450 L 400 400 L 300 400 L 250 350 L 150 350 L 100 300');
    animation: moveShuttle 24s linear infinite;
}

@keyframes moveShuttle {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Stop Highlight on Hover */
.stop {
    cursor: pointer;
    transition: all 0.3s ease;
}

.stop:hover {
    filter: drop-shadow(0 0 8px rgba(0, 102, 204, 0.6));
}
    offset-path: path('M 100 300 L 200 300 L 250 250 L 350 250 L 400 200 L 500 200 L 550 250 L 600 250 L 650 300 L 700 300 L 700 400 L 600 400 L 550 450 L 450 450 L 400 400 L 300 400 L 250 350 L 150 350 L 100 300');
    animation: moveShuttle 24s linear infinite;
}

@keyframes moveShuttle {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* === Schedule Section === */
.schedule-section {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.schedule-tabs {
    display: flex;
    gap: 12px;
}

.tab-btn {
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.tab-btn i {
    font-size: 16px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.schedule-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.schedule-card {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    display: flex;
    gap: 16px;
    align-items: center;
}

.schedule-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.schedule-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.schedule-icon.morning {
    background: #ff9a56;
    color: var(--white);
}

.schedule-icon.afternoon {
    background: #ffd89b;
    color: var(--text-dark);
}

.schedule-icon.evening {
    background: #667eea;
    color: var(--white);
}

.schedule-icon.night {
    background: #434343;
    color: var(--white);
}

.schedule-info {
    flex: 1;
}

.schedule-info h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
}

.time-range {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.frequency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.frequency i {
    font-size: 11px;
}

/* === Live Updates Section === */
.live-updates-section {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.live-indicator {
    color: var(--danger-color);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.updates-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 8px;
}

.update-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.update-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.update-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.update-content {
    flex: 1;
}

.update-time {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-content p {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

/* === Quick Actions === */
.quick-actions {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-card {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.action-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--white);
    transition: var(--transition);
}

.action-card:hover .action-icon {
    background: var(--white);
    color: var(--primary-color);
}

.action-card h3 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.action-card:hover h3,
.action-card:hover p {
    color: var(--white);
}

.action-card p {
    color: var(--text-light);
    font-size: 13px;
    transition: var(--transition);
}

/* === Statistics Section === */
.stats-section {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 4px;
    font-weight: 700;
}

.stat-info p {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

/* === Route Details === */
.route-details {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.stops-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.stop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.stop-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.stop-item.highlight {
    background: var(--primary-color);
    color: var(--white);
    border-left-color: var(--white);
}

.stop-number {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.stop-item.highlight .stop-number {
    background: var(--white);
    color: var(--primary-color);
}

.stop-info {
    flex: 1;
}

.stop-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.stop-item.highlight .stop-name {
    color: var(--white);
}

.stop-time {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.stop-item.highlight .stop-time {
    color: rgba(255, 255, 255, 0.9);
}

/* === Contact Section === */
.contact-section {
    margin: 40px 20px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.contact-card {
    background: var(--light-bg);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--white);
}

.contact-icon.driver {
    background: #667eea;
}

.contact-icon.office {
    background: #f5576c;
}

.contact-icon.emergency {
    background: var(--danger-color);
}

.contact-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-number i {
    color: var(--primary-color);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.contact-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.contact-btn.emergency {
    background: var(--danger-color);
}

.contact-btn.emergency:hover {
    background: #c82333;
}

/* === Feedback Section === */
.feedback-section {
    margin: 40px 20px;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.feedback-form {
    max-width: 700px;
    margin: 0 auto;
}

.rating-container {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--light-bg);
    border-radius: 16px;
}

.rating-container label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}

.rating-container label i {
    color: var(--primary-color);
    font-size: 20px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.star {
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition);
    color: #ddd;
}

.star:hover,
.star.active {
    color: #ffc107;
    transform: scale(1.2);
}

.star i {
    transition: var(--transition);
}

.star.active i {
    font-weight: 900;
}

.rating-text {
    display: block;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.textarea-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.textarea-wrapper i {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--text-light);
    font-size: 18px;
}

.feedback-form textarea {
    width: 100%;
    padding: 20px 20px 20px 52px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    resize: vertical;
    transition: var(--transition);
    background: var(--light-bg);
}

.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 58, 106, 0.1);
    background: var(--white);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.submit-btn i {
    font-size: 18px;
}

/* === Footer === */
footer {
    margin: 40px 20px 20px 20px;
    padding: 48px 40px 24px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 32px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-section ul li a i {
    font-size: 12px;
}

.emergency-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.emergency-list li i {
    font-size: 24px;
    width: 40px;
}

.emergency-list li div {
    flex: 1;
}

.emergency-list li strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.emergency-list li span {
    opacity: 0.9;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.8;
    margin: 8px 0;
    font-size: 14px;
}

.footer-bottom i.fa-heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* === Responsive Design === */

/* Tablets and Medium Screens */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 32px;
    }

    .header-content p {
        font-size: 16px;
    }

    .section-title {
        flex-wrap: wrap;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .status-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .call-section {
        padding: 32px 24px;
    }

    .call-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .call-controls-compact {
        flex-direction: column;
    }
    
    .button-group-compact {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .call-btn-compact.call-primary {
        width: 100%;
        grid-column: 1 / -1;
    }

    .stops-list,
    .actions-grid,
    .stats-grid,
    .contact-grid,
    .schedule-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        padding: 20px;
    }
    
    #realMap {
        height: 400px;
    }

    .stop-label {
        font-size: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .map-controls {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    /* Base adjustments */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 10px;
    }

    header {
        padding: 40px 20px;
        margin: 70px 8px 20px 8px;
        border-radius: 12px;
    }

    .hamburger {
        top: 12px;
        left: 12px;
        width: 42px;
        height: 42px;
    }
    
    .header-content h1 {
        font-size: 24px;
    }
    
    .header-content p {
        font-size: 14px;
    }
    
    /* Status Bar */
    .status-bar {
        margin: 16px 8px;
        padding: 12px;
        gap: 10px;
    }
    
    .status-item {
        padding: 10px;
        gap: 8px;
    }
    
    .status-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .status-label {
        font-size: 11px;
    }
    
    .status-value {
        font-size: 13px;
    }
    
    /* Section Headers */
    .section-title {
        gap: 8px;
    }
    
    .section-title h2 {
        font-size: 18px;
    }
    
    .section-title i {
        font-size: 18px;
    }
    
    /* Live/Charging Badge */
    .live-indicator-badge {
        padding: 4px 8px;
        margin-left: 6px;
        gap: 6px;
    }
    
    .live-dot {
        width: 7px;
        height: 7px;
    }
    
    .live-text {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    
    /* Map Section */
    .map-section {
        margin: 16px 8px;
        padding: 16px;
    }
    
    #realMap {
        height: 320px;
        border-radius: 12px;
    }
    
    .map-container {
        padding: 12px;
        margin-top: 12px;
    }
    
    .map-controls {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .map-btn {
        padding: 8px 14px;
        font-size: 12px;
        flex: 1;
        min-width: 100px;
    }
    
    /* Call Section Compact */
    .call-section-compact {
        margin: 16px 8px;
    }
    
    .call-shuttle-compact {
        padding: 16px;
    }
    
    .shuttle-header-compact {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .shuttle-header-compact i {
        font-size: 20px;
    }
    
    .shuttle-header-compact h3 {
        font-size: 15px;
    }
    
    .call-controls-compact {
        gap: 10px;
    }
    
    .location-select-compact {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .button-group-compact {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .call-btn-compact {
        padding: 10px 12px;
        font-size: 13px;
        gap: 4px;
    }
    
    .call-btn-compact i {
        font-size: 14px;
    }
    
    .call-btn-compact span {
        display: none;
    }
    
    .call-btn-compact.route-btn::after {
        content: 'Route';
    }
    
    .call-btn-compact.eta-btn::after {
        content: 'ETA';
    }
    
    .call-btn-compact.call-primary span {
        display: inline;
    }
    
    /* Route Info Card */
    .route-info-card {
        padding: 14px;
        margin-top: 12px;
    }
    
    .route-info-card h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .route-info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .route-info-item .value {
        font-size: 18px;
    }
    
    .route-info-item .label {
        font-size: 10px;
    }
    
    /* Emergency Section */
    .emergency-section {
        margin: 16px 8px;
        padding: 16px;
    }
    
    .emergency-section h2 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .emergency-contacts-grid {
        gap: 12px;
    }
    
    .emergency-contact-card {
        padding: 14px;
        gap: 10px;
        flex-direction: row;
    }
    
    .emergency-icon-compact {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .emergency-info h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .emergency-info p {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .emergency-info .phone-number {
        font-size: 12px;
    }
    
    .emergency-btn {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* Live Updates */
    .live-updates-section {
        margin: 16px 8px;
        padding: 16px;
    }
    
    .updates-container {
        max-height: 250px;
    }
    
    .update-item {
        padding: 10px;
        gap: 8px;
    }
    
    .update-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .update-content p {
        font-size: 13px;
    }
    
    /* Route Details */
    .route-details {
        margin: 16px 8px;
        padding: 16px;
    }
    
    .stop-item {
        padding: 10px;
        gap: 8px;
    }
    
    .stop-number {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .stop-name {
        font-size: 13px;
    }
    
    .stop-time {
        font-size: 11px;
    }
    
    /* Contact Section */
    .contact-section {
        margin: 16px 8px;
        padding: 16px;
    }
    
    .contact-card {
        padding: 16px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .contact-card h3 {
        font-size: 15px;
    }
    
    .contact-number {
        font-size: 13px;
    }
    
    .contact-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Footer */
    footer {
        margin: 16px 8px 12px 8px;
        padding: 24px 16px 16px 16px;
        border-radius: 12px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section h4 {
        font-size: 15px;
    }
    
    /* Charging Animation - Mobile Optimization */
    .shuttle-charging-container {
        width: 50px;
        height: 50px;
    }
    
    .shuttle-charging-icon {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }
    
    .charging-bolt-badge {
        width: 24px;
        height: 24px;
        top: -8px;
        right: -8px;
    }
    
    .bolt-icon {
        font-size: 14px;
    }
    
    .particle {
        font-size: 10px;
    }
}
        top: 16px;
        left: 16px;
    }

    .sidenav {
        width: 280px;
        left: -280px;
    }

    .header-content h1 {
        font-size: 28px;
    }

    .header-icon {
        font-size: 48px;
    }
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    border: 2px solid var(--light-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--accent-color));
}

/* === Utility Classes === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ===== MOBILE RESPONSIVE DESIGN ===== */

/* Tablets and Small Laptops */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    header {
        margin: 90px 15px 30px 15px;
        padding: 40px 30px;
    }
    
    .status-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets Portrait */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .hamburger {
        top: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
    }
    
    .sidenav {
        width: 280px;
        left: -280px;
    }
    
    header {
        margin: 80px 10px 25px 10px;
        padding: 35px 25px;
    }
    
    .header-content h1 {
        font-size: 28px;
    }
    
    .header-content p {
        font-size: 15px;
    }
    
    .header-icon {
        font-size: 40px;
    }
    
    .status-bar {
        grid-template-columns: 1fr;
        margin: 30px 10px;
        padding: 20px;
    }
    
    .status-item {
        padding: 14px;
    }
    
    .status-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .status-value {
        font-size: 14px;
    }
    
    .portal-link-card {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }
    
    .portal-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .section-title i {
        font-size: 20px;
    }
    
    .live-indicator-badge {
        padding: 5px 10px;
        margin-left: 8px;
    }
    
    .live-dot {
        width: 8px;
        height: 8px;
    }
    
    .live-text {
        font-size: 11px;
    }
    
    .call-section {
        margin: 30px 10px;
        padding: 28px 20px;
    }
    
    .call-section h2 {
        font-size: 24px;
    }
    
    .call-shuttle-card {
        padding: 32px 24px;
    }
    
    .shuttle-icon-large {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    
    .call-shuttle-card h3 {
        font-size: 22px;
    }
    
    .location-selector-inline {
        padding: 20px;
    }
    
    .call-shuttle-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .emergency-call-card {
        padding: 28px 20px;
    }
    
    .emergency-icon-large {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
    
    .emergency-call-card h3 {
        font-size: 20px;
    }
    
    .call-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .call-card {
        padding: 28px;
    }
    
    .map-section {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .map-controls {
        flex-wrap: wrap;
    }
    
    .map-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .map-container {
        padding: 25px;
    }
    
    #realMap {
        height: 400px;
    }
    
    .location-selector {
        flex-direction: column;
    }
    
    .location-selector > div {
        min-width: 100%;
    }
    
    .calculate-btn {
        width: 100%;
    }
    
    .route-info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .route-info-item .value {
        font-size: 20px;
    }
    
    .schedule-section {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .schedule-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .schedule-content {
        grid-template-columns: 1fr;
    }
    
    .live-updates-section {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .updates-container {
        max-height: 300px;
    }
    
    .quick-actions {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-section {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .route-details {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .stops-list {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-section {
        margin: 30px 10px;
        padding: 30px 20px;
    }
    
    .stars {
        gap: 8px;
    }
    
    .star {
        font-size: 32px;
    }
    
    footer {
        margin: 30px 10px 15px 10px;
        padding: 36px 24px 20px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .hamburger {
        top: 12px;
        left: 12px;
        width: 40px;
        height: 40px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
    
    .sidenav {
        width: 260px;
        left: -260px;
    }
    
    .sidenav-header {
        padding: 24px 16px;
    }
    
    .sidenav-header h2 {
        font-size: 18px;
    }
    
    .sidenav ul li a {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .container {
        padding: 10px;
    }
    
    header {
        margin: 70px 8px 20px 8px;
        padding: 28px 20px;
        border-radius: 12px;
    }
    
    .header-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .header-content p {
        font-size: 14px;
    }
    
    .header-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .status-bar {
        margin: 20px 8px;
        padding: 16px;
        gap: 12px;
    }
    
    .status-item {
        padding: 12px;
        gap: 10px;
    }
    
    .status-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .status-label {
        font-size: 11px;
    }
    
    .status-value {
        font-size: 13px;
    }
    
    .portal-link-section {
        margin: 20px 8px;
    }
    
    .portal-link-card {
        padding: 24px 16px;
        gap: 16px;
    }
    
    .portal-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    
    .portal-info h3 {
        font-size: 18px;
    }
    
    .portal-info p {
        font-size: 13px;
    }
    
    .portal-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-title h2 {
        font-size: 18px;
    }
    
    .section-title i {
        font-size: 18px;
    }
    
    .live-indicator-badge {
        padding: 4px 8px;
        margin-left: 6px;
        gap: 6px;
    }
    
    .live-dot {
        width: 7px;
        height: 7px;
    }
    
    .live-text {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    
    .call-section {
        margin: 20px 8px;
        padding: 24px 16px;
    }
    
    .call-section h2 {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .call-shuttle-card {
        padding: 28px 20px;
    }
    
    .shuttle-icon-large {
        width: 60px;
        height: 60px;
        font-size: 30px;
        margin-bottom: 16px;
    }
    
    .call-shuttle-card h3 {
        font-size: 20px;
    }
    
    .call-shuttle-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .location-selector-inline {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .location-selector-inline label {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .location-selector-inline select {
        padding: 12px;
        font-size: 14px;
    }
    
    .call-shuttle-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .call-shuttle-btn i {
        font-size: 18px;
    }
    
    .emergency-call-card {
        padding: 24px 16px;
    }
    
    .emergency-icon-large {
        width: 56px;
        height: 56px;
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .emergency-call-card h3 {
        font-size: 18px;
    }
    
    .emergency-call-card p {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .emergency-call-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .emergency-call-btn i {
        font-size: 16px;
    }
    
    .emergency-section {
        margin: 30px 10px;
        padding: 24px;
    }
    
    .emergency-section h2 {
        font-size: 20px;
    }
    
    .emergency-contacts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .emergency-contact-card {
        padding: 20px;
        gap: 12px;
    }
    
    .emergency-icon-compact {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .emergency-info h4 {
        font-size: 15px;
    }
    
    .emergency-info p {
        font-size: 12px;
    }
    
    .emergency-info .phone-number {
        font-size: 13px;
    }
    
    .emergency-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .emergency-section {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .emergency-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .emergency-contacts-grid {
        gap: 12px;
    }
    
    .emergency-contact-card {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .emergency-icon-compact {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .emergency-info h4 {
        font-size: 14px;
    }
    
    .emergency-info p {
        font-size: 11px;
    }
    
    .emergency-info .phone-number {
        font-size: 12px;
    }
    
    .emergency-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    
    .call-section-compact {
        margin: 16px 8px;
    }
    
    .call-shuttle-compact {
        padding: 16px 20px;
    }
    
    .shuttle-header-compact i {
        font-size: 20px;
    }
    
    .shuttle-header-compact h3 {
        font-size: 16px;
    }
    
    .call-controls-compact {
        flex-direction: column;
        gap: 10px;
    }
    
    .location-select-compact {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .call-btn-compact {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .call-card {
        padding: 24px 16px;
    }
    
    .call-card i {
        font-size: 40px;
    }
    
    .call-card h3 {
        font-size: 18px;
    }
    
    .call-card p {
        font-size: 13px;
    }
    
    .call-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .map-section {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .map-controls {
        gap: 8px;
    }
    
    .map-btn {
        padding: 8px 14px;
        font-size: 12px;
        flex: 1;
    }
    
    .map-btn i {
        font-size: 14px;
    }
    
    .map-container {
        padding: 16px;
        margin-top: 16px;
    }
    
    #realMap {
        height: 350px;
        border-radius: 8px;
    }
    
    .location-selector {
        margin-top: 12px;
        padding: 16px;
        gap: 12px;
    }
    
    .location-selector label {
        font-size: 13px;
    }
    
    .location-selector select {
        padding: 10px;
        font-size: 13px;
    }
    
    .calculate-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .route-info-card {
        padding: 16px;
        margin-top: 12px;
    }
    
    .route-info-card h3 {
        font-size: 14px;
    }
    
    .route-info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .route-info-item .value {
        font-size: 18px;
    }
    
    .route-info-item .label {
        font-size: 10px;
    }
    
    .schedule-section {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .schedule-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1;
    }
    
    .schedule-card {
        padding: 16px;
        gap: 12px;
    }
    
    .schedule-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .schedule-info h3 {
        font-size: 16px;
    }
    
    .time-range {
        font-size: 13px;
    }
    
    .frequency {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .live-updates-section {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .updates-container {
        max-height: 250px;
    }
    
    .update-item {
        padding: 12px;
        gap: 10px;
    }
    
    .update-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .update-content p {
        font-size: 13px;
    }
    
    .quick-actions {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .action-card {
        padding: 20px;
    }
    
    .action-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .action-card h3 {
        font-size: 15px;
    }
    
    .action-card p {
        font-size: 12px;
    }
    
    .stats-section {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .stat-card {
        padding: 16px;
        gap: 12px;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .stat-info h3 {
        font-size: 24px;
    }
    
    .stat-info p {
        font-size: 12px;
    }
    
    .route-details {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .stop-item {
        padding: 12px;
        gap: 10px;
    }
    
    .stop-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .stop-name {
        font-size: 14px;
    }
    
    .stop-time {
        font-size: 11px;
    }
    
    .contact-section {
        margin: 20px 8px;
        padding: 20px 16px;
    }
    
    .contact-card {
        padding: 24px 16px;
    }
    
    .contact-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
    
    .contact-card h3 {
        font-size: 16px;
    }
    
    .contact-number {
        font-size: 14px;
    }
    
    .contact-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .feedback-section {
        margin: 20px 8px;
        padding: 24px 16px;
    }
    
    .rating-container {
        padding: 20px 16px;
    }
    
    .rating-container label {
        font-size: 16px;
    }
    
    .stars {
        gap: 6px;
    }
    
    .star {
        font-size: 28px;
    }
    
    .feedback-form textarea {
        padding: 16px 16px 16px 44px;
        font-size: 14px;
    }
    
    .textarea-wrapper i {
        top: 16px;
        left: 16px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }
    
    footer {
        margin: 20px 8px 12px 8px;
        padding: 28px 16px 16px 16px;
        border-radius: 16px;
    }
    
    .footer-content {
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .footer-section h3 {
        font-size: 20px;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .footer-section p {
        font-size: 14px;
    }
    
    .footer-section ul li a {
        font-size: 14px;
    }
    
    .emergency-list li i {
        font-size: 20px;
        width: 32px;
    }
    
    .emergency-list li strong {
        font-size: 14px;
    }
    
    .emergency-list li span {
        font-size: 13px;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
}

/* Small Mobile Phones */
@media (max-width: 360px) {
    .header-content h1 {
        font-size: 20px;
    }
    
    .section-title h2 {
        font-size: 16px;
    }
    
    .section-title i {
        font-size: 16px;
    }
    
    .call-section h2 {
        font-size: 16px;
    }
    
    #realMap {
        height: 280px;
    }
    
    .route-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .map-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .status-bar {
        padding: 10px;
    }
    
    .status-item {
        padding: 8px;
    }
    
    .call-shuttle-compact {
        padding: 12px;
    }
    
    .shuttle-header-compact h3 {
        font-size: 14px;
    }
    
    .emergency-contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-btn {
        width: 100%;
        justify-content: center;
    }
    
    .live-indicator-badge {
        padding: 3px 6px;
        margin-left: 4px;
    }
    
    .live-text {
        font-size: 9px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        margin-top: 60px;
        padding: 20px;
    }
    
    .header-content h1 {
        font-size: 20px;
    }
    
    .header-icon {
        font-size: 28px;
    }
    
    #realMap {
        height: 250px;
    }
    
    .updates-container {
        max-height: 200px;
    }
    
    .status-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-section {
        padding: 12px;
    }
    
    .call-shuttle-compact {
        padding: 12px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .map-btn,
    .call-btn-compact,
    .emergency-btn,
    .contact-btn {
        min-height: 44px;
        padding: 12px 16px;
    }
    
    .location-select-compact {
        min-height: 44px;
    }
    
    button,
    a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}


/* Next Stop Alert Animations */
@keyframes alertPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255, 152, 0, 0.6), 0 0 0 8px rgba(255, 152, 0, 0.2);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
