/* ==========================================================================
   Base CSS & Variables
   ========================================================================== */
:root {
    /* Color System */
    --clr-primary: #15803d;       /* Forest Green */
    --clr-primary-light: #22c55e; /* Neon Green */
    --clr-primary-dark: #166534;  /* Dark Forest Green */
    --clr-accent: #facc15;        /* Gold/Yellow Accent */
    
    --clr-dark: #0f172a;          /* Slate Dark */
    --clr-dark-card: #1e293b;     /* Slate Card Dark */
    --clr-light: #f8fafc;         /* Soft Off-White */
    --clr-light-alt: #f1f5f9;     /* Light Grey */
    
    --clr-text-dark: #0f172a;
    --clr-text-light: #f8fafc;
    --clr-text-muted: #64748b;
    --clr-text-muted-light: #94a3b8;
    
    /* Layout & Styling */
    --ff-heading: 'Prompt', sans-serif;
    --ff-body: 'Inter', 'Prompt', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --header-height: 80px;
}

/* Reset Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--clr-text-dark);
    background-color: var(--clr-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--clr-primary-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--ff-heading);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
    color: white;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-phone {
    background-color: var(--clr-accent);
    color: var(--clr-dark);
    font-weight: 600;
}

.btn-phone:hover {
    background-color: #eab308; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.4);
}

.btn-facebook {
    background-color: #1877f2;
    color: white;
}

.btn-facebook:hover {
    background-color: #0d65d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.btn-line {
    background-color: #06c755;
    color: white;
}

.btn-line:hover {
    background-color: #05a044;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.4);
}

/* Pulsing Button Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(250, 204, 21, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--ff-heading);
}

.logo-icon {
    color: var(--clr-primary-light);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--clr-dark);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--ff-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--clr-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    /* Main Background image fallback to illustration */
    background-image: url('assets/hero-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--clr-text-light);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to ensure high contrast/readability of text */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(21, 128, 61, 0.8) 50%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--clr-primary-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--ff-heading);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--clr-text-muted-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.feature-item i {
    color: var(--clr-primary-light);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-title {
    max-width: 600px;
    margin: 0 auto 60px;
}

.sub-title {
    display: inline-block;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-primary-light);
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--clr-dark);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--clr-light-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(34, 197, 94, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.1));
    color: var(--clr-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
    color: white;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--clr-dark);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--clr-light-alt);
    padding-top: 20px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--clr-text-dark);
    font-weight: 500;
}

.card-features li i {
    color: var(--clr-primary-light);
    font-size: 0.85rem;
}

/* ==========================================================================
   Estimator Section
   ========================================================================== */
.estimator {
    background-color: var(--clr-light);
}

.estimator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.estimator-info h2 {
    font-size: 2.25rem;
    color: var(--clr-dark);
    margin-bottom: 24px;
}

.estimator-info p {
    color: var(--clr-text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.estimate-note {
    display: flex;
    gap: 15px;
    background-color: rgba(34, 197, 94, 0.05);
    border-left: 4px solid var(--clr-primary-light);
    padding: 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.estimate-note i {
    color: var(--clr-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.estimate-note span {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.estimator-card {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-dark);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--clr-light-alt);
    background-color: var(--clr-light-alt);
    color: var(--clr-text-dark);
    outline: none;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='currentColor' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-control:focus {
    border-color: var(--clr-primary-light);
    background-color: white;
}

.estimator-result {
    display: none; /* Shown dynamically with JS */
    margin-top: 30px;
}

.result-divider {
    height: 1px;
    background-color: var(--clr-light-alt);
    margin-bottom: 24px;
}

.result-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.result-label {
    font-family: var(--ff-heading);
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

.result-price {
    font-family: var(--ff-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
}

.result-currency {
    font-family: var(--ff-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-primary);
}

.route-info {
    text-align: center;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    margin-bottom: 24px;
}

.result-actions {
    display: flex;
    gap: 15px;
}

.result-actions .btn {
    flex: 1;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background-color: var(--clr-light-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.image-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.image-card img {
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--clr-dark);
    color: white;
    padding: 20px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-num {
    font-family: var(--ff-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-accent);
    line-height: 1;
}

.exp-text {
    font-family: var(--ff-heading);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

.about-content .highlight-p {
    font-size: 1.15rem;
    color: var(--clr-primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--clr-text-muted);
    margin-bottom: 30px;
}

.driver-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.driver-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--clr-light-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-size: 1.5rem;
}

.driver-details h4 {
    color: var(--clr-dark);
    font-size: 1.1rem;
}

.driver-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.stat-icon {
    color: var(--clr-primary-light);
    font-size: 1.3rem;
}

.stat-item h5 {
    font-size: 1rem;
    color: var(--clr-dark);
    margin-bottom: 4px;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--clr-light);
}

.contact-card-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--clr-dark);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-action-side {
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-action-side h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-action-side p {
    color: var(--clr-text-muted-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.cta-vertical-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.qr-code-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.qr-code-placeholder i {
    font-size: 2.2rem;
    color: var(--clr-primary-light);
}

.qr-code-placeholder span {
    font-size: 0.85rem;
    color: var(--clr-text-muted-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0b0f19;
    color: var(--clr-text-light);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: var(--clr-text-muted-light);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--clr-primary-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--clr-text-muted-light);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--clr-primary-light);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--clr-text-muted-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--clr-primary-light);
    width: 20px;
}

.footer-contact a:hover {
    color: var(--clr-primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--clr-text-muted-light);
}

/* ==========================================================================
   Responsive Styles (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .estimator-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-card-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-action-side {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    /* Navigation Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        padding: 40px 24px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .header-cta {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .btn-phone {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Hamburger animation */
    .menu-toggle-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Hero Adjustments */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    /* Contact Page spacing */
    .contact-details-side,
    .contact-action-side {
        padding: 40px 24px;
    }
    
    /* Footer layout */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .result-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   Drivers Team Section
   ========================================================================== */
.drivers-team {
    background-color: var(--clr-light);
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.driver-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.driver-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(34, 197, 94, 0.2);
}

.driver-card-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.1));
    color: var(--clr-primary);
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.driver-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.driver-card:hover .driver-card-avatar {
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
    color: white;
}

.driver-card h3 {
    font-size: 1.25rem;
    color: var(--clr-dark);
    margin-bottom: 6px;
}

.driver-card .driver-role {
    font-size: 0.85rem;
    color: var(--clr-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.driver-card-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--clr-light-alt);
    padding-top: 20px;
}

.driver-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-family: var(--ff-heading);
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.driver-contact-btn.phone {
    background-color: var(--clr-light-alt);
    color: var(--clr-text-dark);
}

.driver-contact-btn.phone:hover {
    background-color: var(--clr-accent);
    color: var(--clr-dark);
}

.driver-contact-btn.line {
    background-color: rgba(6, 199, 85, 0.1);
    color: #06c755;
}

.driver-contact-btn.line:hover {
    background-color: #06c755;
    color: white;
}

.driver-contact-btn.facebook {
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.driver-contact-btn.facebook:hover {
    background-color: #1877f2;
    color: white;
}

/* ==========================================================================
   LINE QR Code Modal Styling
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 450px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.close-modal {
    position: absolute;
    right: 24px;
    top: 16px;
    color: var(--clr-text-muted);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--clr-text-dark);
}

.modal-content h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--clr-dark);
}

.modal-qr-container {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    border: 2px solid var(--clr-light-alt);
    border-radius: var(--border-radius-md);
    padding: 10px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-qr-container img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.modal-content p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

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

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
