/* NHK Logistics - Custom Styles */

/* Root Variables */
:root {
    --primary: #00B4C6;
    --primary-accent: #00B4C6;
    --dark: #0f172a; /* Dark slate blue - better contrast than black */
    --dark-bg: #0f172a; /* Dark slate blue background */
    --white: #FFFFFF;
    --text-white: #ffffff; /* White text for dark background */
    --secondary-accent: #0A5F6D;
    --gray-800: #1e293b; /* Dark slate for cards */
    --gray-700: #334155; /* Medium slate for borders */
    --gray-400: #94a3b8; /* Light gray for secondary text */
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Dark slate theme adjustments */
body {
    background-color: #0f172a;
    color: #ffffff;
}

/* Typography - Responsive */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Mobile Typography Adjustments */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
    }
}

/* Navigation Styles */
.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-accent);
}

.nav-link-mobile {
    padding: 0.75rem 0;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    display: block;
    border-bottom: 1px solid var(--gray-800);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--primary-accent);
    padding-left: 0.5rem;
}

.nav-link-mobile.active {
    color: var(--primary-accent);
    border-left: 3px solid var(--primary-accent);
    padding-left: 0.75rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-accent);
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 198, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid var(--primary-accent);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-accent);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid var(--text-white);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--dark-bg);
}

/* Footer Links */
.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-accent);
    transform: translateX(4px);
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--gray-800);
    color: var(--text-white);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 180, 198, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, rgba(0, 180, 198, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
}

/* Cards */
.card {
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
    box-shadow: 0 10px 30px rgba(0, 180, 198, 0.2);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 180, 198, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-accent);
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.5rem;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 198, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-weight: 500;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-success {
    color: var(--primary-accent);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-success.show {
    display: block;
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--gray-700);
    border-top: 3px solid var(--primary-accent);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
}

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

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: var(--gray-800);
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

/* Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-accent);
}

/* Section Spacing */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff; /* White text for dark background */
}

.section-subtitle {
    text-align: center;
    color: #cbd5e1; /* Light gray for dark background */
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-accent);
}

.bg-primary {
    background-color: var(--primary-accent);
}

.border-primary {
    border-color: var(--primary-accent);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-accent);
    color: var(--text-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
}

/* Smooth Transitions */
a, button {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    header, footer, nav {
        display: none;
    }
}

/* Hero Background Pattern */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(45deg, var(--primary-accent) 25%, transparent 25%),
        linear-gradient(-45deg, var(--primary-accent) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--primary-accent) 75%),
        linear-gradient(-45deg, transparent 75%, var(--primary-accent) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 30px, 30px -30px, -30px 0px; }
    100% { background-position: 60px 60px, 60px 90px, 90px 30px, 30px 60px; }
}

/* Quick Quote Widget */
.quick-quote-widget {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 180, 198, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 180, 198, 0.2);
}

@media (max-width: 767px) {
    .quick-quote-widget {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .quick-quote-widget h3 {
        font-size: 1.125rem !important;
        margin-bottom: 1rem;
    }
    
    .quick-quote-widget .space-y-3 > * + *,
    .quick-quote-widget .space-y-4 > * + * {
        margin-top: 0.75rem;
    }
    
    .quick-quote-widget label {
        font-size: 0.8125rem;
    }
    
    .quick-quote-widget .form-input {
        font-size: 0.875rem;
        padding: 0.625rem 0.75rem;
        min-height: 44px;
    }
    
    .quick-quote-widget button {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
        min-height: 44px;
    }
}

/* Trust Bar */
.trust-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Testimonials Slider */
.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gray-700);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    transform: scale(1);
}

.testimonial-nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(0, 180, 198, 0.2);
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .testimonial-nav-btn {
        width: 2.5rem;
        height: 2.5rem;
        background-color: rgba(0, 180, 198, 0.3);
    }
    
    .testimonial-slide .card {
        padding: 1.5rem !important;
    }
    
    .testimonial-slide p {
        font-size: 1rem !important;
        line-height: 1.7;
    }
}

.testimonial-nav-btn:hover {
    background-color: var(--primary-accent);
    color: var(--text-white);
    transform: scale(1.1);
}

/* Coverage Map */
.map-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.map-region {
    fill: var(--gray-800);
    stroke: var(--gray-700);
    stroke-width: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-region:hover,
.map-region.active {
    fill: var(--primary-accent);
    opacity: 0.7;
}

.map-route {
    stroke: var(--primary-accent);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 5,5;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.map-route-animated {
    animation: routeDash 3s linear infinite;
    opacity: 0.5;
}

.map-container:hover .map-route {
    opacity: 0.7;
}

.map-region.active ~ .map-route,
.map-region:hover ~ .map-route {
    opacity: 0.9;
    stroke-width: 3;
}

@keyframes routeDash {
    0% { 
        stroke-dashoffset: 0; 
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
    100% { 
        stroke-dashoffset: 20; 
        opacity: 0.5;
    }
}

/* Map Markers */
.map-marker {
    fill: var(--primary-accent);
    stroke: var(--dark-bg);
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(0, 180, 198, 0.6));
    cursor: pointer;
}

.map-region:hover ~ .map-marker[data-region],
.map-marker[data-region]:hover {
    fill: var(--white);
    filter: drop-shadow(0 0 8px rgba(0, 180, 198, 1));
}

.map-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-white);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--primary-accent);
    pointer-events: none;
    z-index: 10;
    font-size: 0.875rem;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    margin-top: -10px;
}

.map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary-accent);
}

/* Region Info Card */
.region-info-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid var(--primary-accent);
    border-radius: 0.75rem;
    padding: 1.5rem;
    min-width: 280px;
    max-width: 400px;
    z-index: 20;
    box-shadow: 0 10px 40px rgba(0, 180, 198, 0.3);
    animation: slideInScale 0.3s ease-out;
}

.region-info-card.hidden {
    display: none;
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Tracking Teaser */
.tracking-teaser-input {
    background-color: var(--gray-800);
    border: 2px solid var(--gray-700);
    border-radius: 0.5rem;
    padding: 1rem;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: 1;
}

.tracking-teaser-input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 198, 0.1);
}

/* Trust Metrics */
.trust-metric {
    text-align: center;
    padding: 1rem;
}

.trust-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

.trust-metric-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-accent), var(--secondary-accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.75rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-accent);
    border: 3px solid var(--dark-bg);
    box-shadow: 0 0 0 2px var(--primary-accent);
}

.timeline-item.active::before {
    animation: pulse 2s infinite;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--gray-400);
    line-height: 1.6;
}

/* Leadership Cards */
.leadership-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 180, 198, 0.3);
}

.leadership-avatar {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    border: 4px solid rgba(0, 180, 198, 0.3);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.5);
    transition: transform 0.3s ease;
}

.modal:not(.hidden) {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--gray-700);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--primary-accent);
    transform: rotate(90deg);
}

/* Certifications */
.certification-badge {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    border: 2px solid var(--gray-700);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certification-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 198, 0.1), transparent);
    transition: left 0.5s ease;
}

.certification-badge:hover::before {
    left: 100%;
}

.certification-badge:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 180, 198, 0.2);
}

.cert-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: rgba(0, 180, 198, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
}

.cert-download-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-accent);
    color: var(--text-white);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-download-btn:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-2px);
}

/* Vision/Mission/Values Cards */
.value-card {
    background: linear-gradient(135deg, rgba(0, 180, 198, 0.05), rgba(10, 95, 109, 0.05));
    border: 1px solid rgba(0, 180, 198, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 180, 198, 0.2);
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(0, 180, 198, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-accent);
}

.breadcrumb-separator {
    color: var(--gray-600);
}

.breadcrumb-current {
    color: var(--text-white);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--gray-800);
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.faq-item:hover {
    background: rgba(0, 180, 198, 0.05);
}

.faq-item.active {
    background: rgba(0, 180, 198, 0.1);
    border-color: var(--primary-accent);
    box-shadow: 0 4px 12px rgba(0, 180, 198, 0.1);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s ease;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary-accent);
}

.faq-item.active .faq-question {
    color: var(--primary-accent);
}

.faq-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-accent);
    opacity: 0.5;
    min-width: 2rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-number {
    opacity: 1;
    transform: scale(1.1);
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-accent);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    color: var(--gray-400);
    line-height: 1.8;
    padding: 0 1.5rem;
}

.faq-answer-content {
    padding-bottom: 1.5rem;
    padding-left: 3rem;
    animation: fadeInUp 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 0.5rem;
}

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

/* Pricing Estimator */
.pricing-estimator {
    background: linear-gradient(135deg, rgba(0, 180, 198, 0.05), rgba(10, 95, 109, 0.05));
    border: 1px solid rgba(0, 180, 198, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.pricing-estimator-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.5rem;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pricing-estimator-input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 198, 0.1);
}

.pricing-estimator-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.875rem;
}

.pricing-disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1rem;
    line-height: 1.5;
}

/* Industry Filter Tabs */
.industry-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-800);
}

.industry-filter-tab {
    padding: 0.75rem 1.5rem;
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 2rem;
    color: var(--gray-400);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.industry-filter-tab:hover {
    border-color: var(--primary-accent);
    color: var(--text-white);
    transform: translateY(-2px);
}

.industry-filter-tab.active {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--text-white);
}

/* Industry Cards */
.industry-card {
    transition: all 0.3s ease;
}

.industry-card.hidden {
    display: none;
}

.industry-pain-points {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 3px solid rgba(239, 68, 68, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.industry-pain-points-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(239, 68, 68, 0.9);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.industry-solutions {
    background-color: rgba(0, 180, 198, 0.1);
    border-left: 3px solid var(--primary-accent);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.industry-solutions-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-accent);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tracking Page */
.tracking-input-wrapper {
    position: relative;
}

.tracking-scan-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.tracking-sidebar {
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.tracking-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1rem;
}

.tracking-progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tracking-progress-step::after {
    content: '';
    position: absolute;
    top: 1rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--gray-700);
    z-index: 0;
}

.tracking-progress-step:last-child::after {
    display: none;
}

.tracking-progress-step.active::after {
    background-color: var(--primary-accent);
}

.tracking-step-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.tracking-progress-step.active .tracking-step-icon {
    background-color: var(--primary-accent);
}

.tracking-progress-step.completed .tracking-step-icon {
    background-color: var(--primary-accent);
}

.tracking-step-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.tracking-progress-step.active .tracking-step-label,
.tracking-progress-step.completed .tracking-step-label {
    color: var(--text-white);
}

/* Quote Stepper */
.quote-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.quote-stepper::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--gray-700);
    z-index: 0;
}

.stepper-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.stepper-step.completed {
    cursor: pointer;
}

.stepper-step:not(.completed):not(.active) {
    cursor: default;
}

.stepper-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--gray-800);
    border: 2px solid var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-400);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.stepper-step.active .stepper-number {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--text-white);
    transform: scale(1.1);
}

.stepper-step.completed .stepper-number {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--text-white);
}

.stepper-step.completed .stepper-number::after {
    content: '✓';
    font-size: 1.25rem;
}

.stepper-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-align: center;
    transition: color 0.3s ease;
}

.stepper-step.active .stepper-label {
    color: var(--primary-accent);
    font-weight: 600;
}

.stepper-step.completed .stepper-label {
    color: var(--text-white);
}

.quote-stepper .stepper-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: calc(50% + 1.5rem);
    width: calc(100% - 3rem);
    height: 2px;
    background-color: var(--gray-700);
    z-index: 0;
    transition: background-color 0.3s ease;
}

.quote-stepper .stepper-step.completed:not(:last-child)::after {
    background-color: var(--primary-accent);
}

/* Step Content */
.step-content {
    animation: fadeIn 0.3s ease;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.5);
    transition: transform 0.3s ease;
}

.success-modal:not(.hidden) {
    transform: translate(-50%, -50%) scale(1);
}

.success-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal-overlay.active {
    opacity: 1;
}

.reference-id {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    letter-spacing: 0.1em;
    padding: 1rem;
    background-color: rgba(0, 180, 198, 0.1);
    border-radius: 0.5rem;
    text-align: center;
    margin: 1rem 0;
}

/* CBM Calculator */
.cbm-calculator {
    background-color: rgba(0, 180, 198, 0.05);
    border: 1px solid rgba(0, 180, 198, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.cbm-result {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-top: 0.5rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 2rem;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-700);
    transition: 0.3s;
    border-radius: 2rem;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    left: 0.25rem;
    bottom: 0.25rem;
    background-color: var(--text-white);
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-accent);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(1.5rem);
}

/* Review Summary */
.review-summary {
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.75rem;
    padding: 2rem;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 200px;
    background-color: rgba(15, 23, 42, 0.9);
    color: var(--white);
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.875rem;
    border: 1px solid var(--primary-accent);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.9) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Copy Button */
.copy-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Office Hours Card */
.office-hours-card {
    background: linear-gradient(135deg, rgba(0, 180, 198, 0.05), rgba(10, 95, 109, 0.05));
    border: 1px solid rgba(0, 180, 198, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

/* Map Placeholder */
.map-placeholder {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 180, 198, 0.03) 2px, rgba(0, 180, 198, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 180, 198, 0.03) 2px, rgba(0, 180, 198, 0.03) 4px);
    background-size: 50px 50px;
}

/* Map Loading State */
.map-loading {
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.map-loading.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Smooth Page Transitions */
main {
    animation: fadeIn 0.4s ease-in;
}

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

/* Back to Top Button */
#back-to-top {
    box-shadow: 0 4px 12px rgba(0, 180, 198, 0.3);
}

#back-to-top:hover {
    box-shadow: 0 6px 20px rgba(0, 180, 198, 0.5);
}

/* Legal Content Styles */
.legal-content h2 {
    color: var(--primary-accent);
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 180, 198, 0.3);
}

.legal-content h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--text-white);
    font-weight: 600;
}

.legal-content a {
    color: var(--primary-accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--white);
}

/* Last Updated Badge */
.last-updated {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(0, 180, 198, 0.1);
    border: 1px solid rgba(0, 180, 198, 0.3);
    border-radius: 1rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile Navigation Improvements */
@media (max-width: 1023px) {
    header nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    header .h-20 {
        height: 4rem;
    }
    
    #mobile-menu {
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
    }
    
    #mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Mobile Typography & Spacing */
@media (max-width: 767px) {
    /* Keep base font size readable */
    html {
        font-size: 16px; /* Standard readable size */
    }
    
    body {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Headings - Larger and readable */
    h1 {
        font-size: 2.25rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.875rem !important;
        line-height: 1.3;
        margin-bottom: 0.875rem;
    }
    
    h3 {
        font-size: 1.5rem !important;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    h4 {
        font-size: 1.25rem !important;
    }
    
    /* Section spacing */
    .section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1.125rem !important;
        line-height: 1.6;
    }
    
    /* Paragraph text */
    p {
        font-size: 1rem !important;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
    
    /* List items */
    li {
        font-size: 1rem !important;
        line-height: 1.7;
    }
    
    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Buttons - Touch friendly */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Better touch target */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }
    
    /* Cards */
    .card {
        padding: 1.75rem !important;
    }
    
    .card h3 {
        font-size: 1.375rem !important;
        margin-bottom: 0.75rem;
    }
    
    .card p {
        font-size: 1rem !important;
    }
    
    /* Hero Section */
    .hero-gradient {
        min-height: 70vh !important;
        padding-top: 5rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Forms */
    .form-input,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
    }
    
    textarea {
        min-height: 120px;
        padding: 1rem;
    }
    
    label {
        font-size: 1rem !important;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }
    
    /* Grid adjustments */
    .grid {
        gap: 1.5rem !important;
    }
    
    /* Trust bar */
    .trust-bar {
        padding: 1.5rem 0 !important;
    }
    
    .trust-logo {
        width: 80px !important;
        height: 40px !important;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Testimonials */
    .testimonials-slider {
        padding: 2rem 0 !important;
    }
    
    /* Map */
    .map-container {
        padding: 1rem !important;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1.25rem !important;
        font-size: 1.0625rem;
        font-weight: 600;
    }
    
    .faq-number {
        font-size: 1.125rem !important;
        min-width: 2rem !important;
    }
    
    .faq-answer-content {
        padding-left: 2.5rem !important;
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Footer */
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Back to top button */
    #back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
    }
    
    /* Quick quote widget */
    #quick-quote-form {
        flex-direction: column !important;
    }
    
    #quick-quote-form input,
    #quick-quote-form select {
        width: 100% !important;
    }
    
    /* Tracking teaser */
    #tracking-teaser-form {
        flex-direction: column !important;
    }
    
    /* Pricing estimator */
    .pricing-estimator {
        padding: 1.5rem !important;
    }
    
    /* Leadership cards */
    .leadership-card {
        margin-bottom: 1.5rem;
    }
    
    /* Timeline */
    .timeline {
        padding-left: 2rem;
    }
    
    /* Region info card */
    .region-info-card {
        min-width: 90% !important;
        max-width: 90% !important;
        padding: 1.25rem !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 479px) {
    html {
        font-size: 15px; /* Still readable, not too small */
    }
    
    h1 {
        font-size: 2rem !important;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.375rem !important;
    }
    
    .section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .section-title {
        font-size: 1.875rem !important;
    }
    
    .card {
        padding: 1.5rem !important;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    p, li, span {
        font-size: 0.9375rem !important;
        line-height: 1.7;
    }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    footer .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Prevent horizontal scroll */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
    }
    
    img,
    svg,
    video {
        max-width: 100%;
        height: auto;
    }
    
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Touch-friendly interactive elements */
@media (max-width: 767px) {
    a,
    button,
    .nav-link,
    .nav-link-mobile,
    .faq-question,
    .copy-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve tap targets */
    .testimonial-dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    /* Better spacing for mobile */
    .space-y-6 > * + * {
        margin-top: 1.5rem;
    }
    
    .space-y-8 > * + * {
        margin-top: 2rem;
    }
}

/* Landscape mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-gradient {
        min-height: 60vh !important;
    }
    
    header .h-20 {
        height: 3.5rem;
    }
    
    #mobile-menu {
        top: 3.5rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 767px) {
    /* Improve text readability */
    p, li, span {
        line-height: 1.7;
        font-size: 1rem;
    }
    
    /* Better spacing for lists */
    ul, ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Form labels */
    label {
        font-size: 1rem;
        margin-bottom: 0.625rem;
        font-weight: 500;
    }
    
    /* Navigation links */
    .nav-link-mobile {
        font-size: 1rem;
        padding: 1rem 0;
    }
    
    /* Footer text */
    footer {
        font-size: 0.9375rem;
    }
    
    footer h3 {
        font-size: 1.125rem !important;
    }
    
    /* Override Tailwind text sizes for mobile readability */
    .text-xs {
        font-size: 0.8125rem !important; /* 13px */
    }
    
    .text-sm {
        font-size: 0.9375rem !important; /* 15px */
    }
    
    .text-base {
        font-size: 1rem !important; /* 16px */
    }
    
    .text-lg {
        font-size: 1.125rem !important; /* 18px */
    }
    
    .text-xl {
        font-size: 1.25rem !important; /* 20px */
    }
    
    .text-2xl {
        font-size: 1.5rem !important; /* 24px */
    }
    
    .text-3xl {
        font-size: 1.875rem !important; /* 30px */
    }
    
    .text-4xl {
        font-size: 2.25rem !important; /* 36px */
    }
    
    .text-5xl {
        font-size: 2.5rem !important; /* 40px */
    }
    
    /* Hero text adjustments */
    .text-5xl.md\:text-6xl.lg\:text-7xl {
        font-size: 2.5rem !important;
    }
    
    /* Counter numbers */
    .counter {
        font-size: 2rem !important;
    }
    
    /* Service card headings */
    .card h3.text-xl {
        font-size: 1.25rem !important;
    }
    
    /* Quick quote widget */
    .quick-quote-widget h3 {
        font-size: 1.5rem !important;
    }
    
    /* Better spacing */
    .mb-6 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-8 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mb-3 {
        margin-bottom: 0.875rem !important;
    }
    
    .mb-2 {
        margin-bottom: 0.5rem !important;
    }
    
    /* Input focus states */
    input:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: var(--primary-accent);
        box-shadow: 0 0 0 3px rgba(0, 180, 198, 0.1);
    }
    
    /* Better table handling */
    table {
        font-size: 0.85rem;
    }
    
    /* Modal improvements */
    .modal-content {
        width: 95% !important;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* Prevent text selection on buttons */
    button, .btn-primary, .btn-secondary {
        -webkit-tap-highlight-color: rgba(0, 180, 198, 0.2);
        user-select: none;
    }
    
    /* Smooth scrolling */
    html {
        scroll-padding-top: 5rem;
    }
    
    /* Better image handling */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Card improvements */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Section titles */
    .section-title {
        text-align: center;
    }
    
    /* Quick Quote Widget */
    .quick-quote-widget {
        padding: 1.5rem !important;
    }
    
    /* Testimonial slider */
    .testimonial-slide {
        padding: 0 0.5rem;
    }
    
    .testimonial-nav-btn {
        width: 36px;
        height: 36px;
        padding: 0.5rem;
    }
    
    /* Map container */
    .map-container svg {
        height: 300px;
    }
    
    /* Hero section improvements */
    .hero-gradient {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        min-height: auto !important;
    }
    
    /* Hero content on mobile */
    .hero-gradient .container {
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Hero text on mobile */
    .hero-gradient h1 {
        font-size: 1.875rem !important;
        line-height: 1.2;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-gradient p {
        font-size: 0.9375rem !important;
        line-height: 1.6;
        margin-bottom: 1rem !important;
    }
    
    /* Hero buttons on mobile */
    .hero-gradient .btn-primary,
    .hero-gradient .btn-outline {
        font-size: 0.875rem !important;
        padding: 0.625rem 1rem !important;
        min-height: 44px;
    }
    
    /* Quick quote widget on mobile */
    .hero-gradient .quick-quote-widget {
        margin-top: 1.5rem !important;
        padding: 1.25rem !important;
    }
    
    .hero-gradient .quick-quote-widget h3 {
        font-size: 1.125rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-gradient .quick-quote-widget .form-input {
        padding: 0.625rem 0.75rem !important;
        font-size: 0.875rem !important;
        min-height: 44px;
    }
    
    .hero-gradient .quick-quote-widget label {
        font-size: 0.8125rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-gradient .quick-quote-widget button {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
        min-height: 44px;
    }
    
    /* Better button spacing */
    .btn-primary + .btn-outline,
    .btn-outline + .btn-primary {
        margin-top: 0;
    }
    
    /* Stats counter spacing */
    .counter {
        margin-bottom: 0.5rem;
    }
    
    /* Service cards */
    .card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem;
    }
    
    .card p {
        font-size: 0.9375rem !important;
        line-height: 1.6;
    }
    
    /* Testimonial text */
    .testimonial-slide p {
        font-size: 1rem !important;
        line-height: 1.7;
    }
    
    /* Why Choose Us icons */
    .w-16.h-16 {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    /* Better list spacing */
    ul.space-y-2 li {
        margin-bottom: 0.5rem;
        font-size: 0.9375rem;
    }
}

