/* OSD Couriers Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1E4D7B;      /* Navy Blue */
    --primary-hover: #153858;
    --secondary-color: #00A8E8;    /* Sky Blue */
    --secondary-hover: #008cc2;
    --dark-color: #1F2937;         /* Charcoal */
    --light-bg: #F8FAFC;           /* Off-white */
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --text-color: #334155;
    --text-muted: #64748B;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}



.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Logo SVG styling */
.logo-icon {
    height: 44px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.phone-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.phone-icon {
    color: var(--secondary-color);
    width: 20px;
    height: 20px;
    animation: pulse 2s infinite;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    background: radial-gradient(circle at 10% 20%, rgba(30, 77, 123, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
    padding: 5rem 2rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content h1 span {
    color: var(--secondary-color);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Quote Estimator Card */
.quote-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.quote-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-bg);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 77, 123, 0.15);
}

/* Results Display */
.quote-results {
    background: linear-gradient(135deg, rgba(30, 77, 123, 0.05) 0%, rgba(0, 168, 232, 0.05) 100%);
    border: 1px dashed var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: none;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.result-row.total {
    border-top: 1px solid rgba(30, 77, 123, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.quote-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.4;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--white);
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.trust-item-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.trust-item-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 77, 123, 0.3);
    background-color: var(--white);
}

.service-icon-wrapper {
    background-color: rgba(0, 168, 232, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card:hover .service-link {
    color: var(--secondary-color);
}

/* Coverage & SEO Section */
.coverage {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
}

.coverage-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.coverage-map-illustration {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0; /* Remove padding to let map span edge-to-edge */
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    height: 520px;
}

/* Map Markers Styling */
.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.map-marker-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border: 1.5px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--secondary-color);
}

.map-marker-dot.primary-hub {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 0 10px var(--primary-color);
}

.map-marker-label {
    margin-top: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 5px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.map-marker-label.hub-label {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(30, 77, 123, 0.3);
}

.pulse {
    animation: marker-pulse 2.5s infinite;
}

@keyframes marker-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 232, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 168, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 232, 0);
    }
}

.towns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.town-badge {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.town-badge:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* FAQs */
.faq {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--dark-color);
}

.accordion-header svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    margin-top: 1rem;
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

/* Contact Area */
.contact {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background-color: rgba(30, 77, 123, 0.1);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem !important;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 480px !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #94A3B8;
    padding: 4rem 2rem 2rem;
    border-top: 5px solid var(--primary-color);
}



.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 3fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background-color: #374151;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Footer Services Grid (3 columns across, 5-6 rows down) */
.footer-links.footer-services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-direction: unset !important;
}

@media (max-width: 992px) {
    .footer-links.footer-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .footer-links.footer-services-grid {
        grid-template-columns: 1fr !important;
    }
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* Responsiveness */
.dashboard-mobile-header {
    display: none;
}
.sidebar-backdrop {
    display: none;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .coverage-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    /* Dashboard Mobile Styles */
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 280px;
        z-index: 150;
        transform: translateX(-100%);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        box-shadow: var(--shadow-lg);
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(31, 41, 55, 0.5);
        z-index: 140;
        backdrop-filter: blur(4px);
        display: none;
    }

    .sidebar-backdrop.active {
        display: block;
    }

    .dashboard-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--white);
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 100;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    }

    .dashboard-mobile-header .menu-toggle {
        display: flex;
    }

    .dashboard-main {
        padding: 1.5rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        align-items: stretch;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 99;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .nav-login-btn {
        display: inline-block;
        text-align: center;
        width: 100%;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .phone-cta {
        justify-content: center;
        padding: 0.75rem 0;
        width: 100%;
        border-top: 1px solid var(--border-color);
        margin-top: 0.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .towns-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-graphic-card {
        min-height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .coverage-map-illustration {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .towns-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-page {
        padding: 1rem;
    }

    .nav-container {
        padding: 1rem;
    }
    
    .logo-subtitle {
        display: none;
    }
}

/* Hero Graphic Card */
.hero-graphic-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

/* Nav Login Button Accent */
.nav-login-btn {
    font-weight: 600 !important;
    color: var(--secondary-color) !important;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-login-btn:hover {
    background-color: rgba(0, 168, 232, 0.05);
    border-color: var(--secondary-color);
    color: var(--secondary-hover) !important;
}

/* Login Page Layout */
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(30, 77, 123, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
    padding: 2rem;
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 450px;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Dashboard Portal Layout */
.dashboard-layout {
    min-height: 100vh;
    background-color: var(--light-bg);
    display: grid;
    grid-template-columns: 260px 1fr;
}

.dashboard-sidebar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-link.active,
.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.dashboard-main {
    padding: 2.5rem;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.dashboard-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.bookings-table th,
.bookings-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.completed {
    background-color: #DEF7EC;
    color: #03543F;
}

.status-badge.in-transit {
    background-color: #E1EFFE;
    color: #1E429F;
}

.status-badge.pending {
    background-color: #FEF08A;
    color: #713F12;
}



/* Full Brand Logo Scaling */
.logo-full-img {
    height: 52px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: var(--transition);
}

.logo-full-img:hover {
    transform: scale(1.02);
}

.sidebar-logo-full {
    height: 44px;
    width: auto;
    max-width: 100%;
    display: block;
}

/* Service Detail Page Styles */
.service-hero {
    position: relative;
    background: linear-gradient(rgba(30, 77, 123, 0.88), rgba(31, 41, 55, 0.92)), url('../assets/oxford-courier-vans.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 5rem 2rem;
    overflow: hidden;
}

.service-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.service-hero-content h1 {
    color: var(--white);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.service-hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.badge-drivers-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge-drivers {
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--white);
    font-weight: 800;
    font-size: 0.6rem;
    line-height: 1.1;
    text-transform: uppercase;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.badge-drivers span.badge-num {
    font-size: 1rem;
    display: block;
    margin-bottom: 2px;
}

.service-hero-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.service-hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.service-hero-features li svg {
    color: var(--secondary-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.service-details-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.service-details-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-details-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-details-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-details-content li {
    margin-bottom: 0.5rem;
}

.service-why {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.service-why h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-item-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.why-item h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.why-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.service-cta-strip {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    padding: 3.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 0 auto 5rem;
    max-width: 1200px;
    box-shadow: var(--shadow-lg);
}

.service-cta-strip h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-cta-strip p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Service Detail Media Queries */
@media (max-width: 992px) {
    .service-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .service-hero {
        padding: 4rem 1.5rem;
    }
    .service-hero-content h1 {
        font-size: 2.2rem;
    }
    .service-details-section {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 4rem 1.5rem;
    }
    .service-why {
        padding: 2rem;
    }
}

/* Responsive Footer Coverage Grid */
.footer-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1.5rem;
}
@media (max-width: 768px) {
    .footer-coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .footer-coverage-grid {
        grid-template-columns: 1fr;
    }
}

/* Redesigned Booking Inquiry Form Styling */
.vehicle-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.vehicle-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    text-align: center;
    background-color: var(--light-bg);
    transition: var(--transition);
    position: relative;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vehicle-card:hover {
    border-color: var(--secondary-color);
}

.vehicle-card:has(input:checked),
.vehicle-card.active {
    border-color: var(--primary-color);
    background-color: rgba(30, 77, 123, 0.05);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.vehicle-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vehicle-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    display: block;
}

.vehicle-card-weight {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

/* Collection Day Grid */
.collection-day-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.day-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.day-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.day-card span {
    display: block;
    padding: 0.75rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--light-bg);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-color);
}

.day-card:hover span {
    border-color: var(--secondary-color);
}

.day-card:has(input:checked) span,
.day-card.active span {
    border-color: var(--primary-color);
    background-color: rgba(30, 77, 123, 0.05);
    color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

@media (max-width: 480px) {
    .vehicle-selector-grid {
        grid-template-columns: 1fr;
    }
}

/* Multi-step Form Wizard */
.form-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.progress-bar {
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: var(--transition);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.5rem;
    transition: var(--transition);
    text-align: center;
}

.progress-step.active .step-num {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

.progress-step.completed .step-num {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Step Panels */
.form-step-panel {
    display: none;
    animation: formFadeIn 0.4s ease-out;
}

.form-step-panel.active {
    display: block;
}

/* Fleet Image Card */
.fleet-image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.fleet-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

@media (max-width: 480px) {
    .step-label {
        font-size: 0.65rem;
    }
    .step-num {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    .progress-bar {
        top: 15px;
    }
}

/* Vehicle Carousel Selection */
.vehicle-carousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.carousel-control {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0 0.75rem;
    user-select: none;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
}

.carousel-control:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.carousel-slides-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 180px;
}

.vehicle-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    animation: slideFadeIn 0.3s ease;
}

.vehicle-slide.active {
    display: flex;
}

.carousel-vehicle-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
}

.vehicle-slide-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vehicle-slide-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.15rem;
}

.vehicle-slide-weight {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Vehicle Sprite Styling */
.vehicle-sprite {
    width: 150px;
    height: 75px;
    background-size: 200% 400%;
    background-repeat: no-repeat;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    margin-bottom: 0.5rem;
}
.vehicle-sprite.car { background-position: 0% 0%; }
.vehicle-sprite.small-van { background-position: 100% 0%; }
.vehicle-sprite.swb { background-position: 0% 33.333%; }
.vehicle-sprite.lwb { background-position: 100% 33.333%; }
.vehicle-sprite.xlwb { background-position: 0% 66.666%; }
.vehicle-sprite.luton { background-position: 100% 66.666%; }
.vehicle-sprite.lorry { background-position: 0% 100%; }
.vehicle-sprite.not-sure { background-position: 100% 100%; }

/* timeline style */
.form-progress,
.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

.timeline .ball,
.progress-step {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E6E6E6;
    color: #5D5F6A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 2;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.timeline .ball.active,
.timeline .ball.completed,
.progress-step.active,
.progress-step.completed {
    background: #0D65D9;
    color: #ffffff;
    border-color: #0D65D9;
}

.timeline .line,
.progress-bar {
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: #E6E6E6;
    transform: translateY(-50%);
    z-index: 1;
}

/* Vehicle Selector 4-Column Grid (carSelect) */
.vehicle-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.carSelect {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.4rem 0.2rem;
    cursor: pointer;
    text-align: center;
    background-color: #ffffff;
    transition: all 0.2s ease;
    position: relative;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #575757 !important;
    line-height: 1.2;
    min-height: 80px;
    box-sizing: border-box;
}

.carSelect:hover {
    border-color: #0D65D9;
    background-color: #f9f9f9;
}

/* Active State */
.carSelect:has(input:checked),
.carSelect.active {
    border-color: #0D65D9;
    background-color: rgba(13, 101, 217, 0.08);
    color: #0D65D9 !important;
    box-shadow: 0 0 0 1px #0D65D9;
}

.carSelect .vehicle-sprite {
    width: 76px;
    height: 38px;
    margin-bottom: 0.25rem;
    transition: transform 0.2s ease;
}

.carSelect:hover .vehicle-sprite {
    transform: scale(1.05);
}

/* Form items structure */
.formSection {
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.formSection p {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem 0;
}

/* Input Fields styling */
.formContainer .form-control,
#contact-form .form-control {
    background: #f2f2f2 !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    height: 44px !important;
    line-height: 44px !important;
    display: block;
    width: 100%;
    padding: 0 0.75rem !important;
    font-size: 0.95rem !important;
    color: #222 !important;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.formContainer .form-control:focus,
#contact-form .form-control:focus {
    background-color: #fff !important;
    border-color: #0D65D9 !important;
    box-shadow: 0 0 0 3px rgba(13, 101, 217, 0.15) !important;
    outline: 0;
}

.formContainer select.form-control,
#contact-form select.form-control {
    height: 44px !important;
    line-height: 44px !important;
}

/* CTA Buttons */
.cta {
    background: #0D65D9;
    border: 1px solid #0D65D9;
    padding: 12px 20px;
    display: block;
    width: 100%;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cta:hover {
    background: #174889;
    border-color: #174889;
    color: #fff !important;
}

button.cta {
    border: none;
}

.ctaContainer {
    margin-top: 1.5rem;
}

/* Horizontal Slideshow Carousel Viewport */
.slides-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.slides-container {
    display: flex;
    width: 300%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slides-container .form-step-panel {
    width: 33.3333%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0.1rem 0.5rem;
    display: block !important;
}








