/* AH Logistics Website Styles */

/* CSS Variables for Theme Support */
:root {
    /* Light Theme (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #000000;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --accent-primary: #2563eb;
    --accent-secondary: #1d4ed8;
    --accent-tertiary: #3b82f6;
    --border-color: #dee2e6;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    --overlay-color: rgba(0, 0, 0, 0.5);
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #1f2937;
    --footer-text: #ffffff;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --accent-primary: #ffd700;
    --accent-secondary: #ffa500;
    --accent-tertiary: #ffed4e;
    --border-color: #333333;
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-medium: rgba(255, 255, 255, 0.15);
    --shadow-heavy: rgba(255, 255, 255, 0.25);
    --overlay-color: rgba(0, 0, 0, 0.7);
    --card-bg: #1a1a1a;
    --nav-bg: rgba(0, 0, 0, 0.95);
    --footer-bg: #000000;
    --footer-text: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

/* Navigation */
.navbar {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
}

.brand-text {
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--accent-primary);
    color: white !important;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.navbar-toggler {
    border-color: #ffd700;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,215,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 90px;
}
@media (max-width: 576px) {
    .hero-section {
        padding-top: 120px;
    }
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-title,
.hero-subtitle,
.hero-buttons {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffa500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
    color: var(--accent-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 0;
}
.hero-buttons .btn:last-child {
    margin-right: 0;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-top: 2rem;
}
@media (max-width: 576px) {
    .hero-stats {
        margin-top: 1.5rem;
    }
}

.hero-stats .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
}
.hero-stats .col-4 {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
}
@media (max-width: 576px) {
    .hero-stats .row {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats .col-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
    .hero-stats .col-4:last-child {
        margin-bottom: 0;
    }
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: rgb(0, 0, 0);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-heavy);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

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

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

/* Sections */
section {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

section:nth-child(even) {
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Cards */
.service-card,
.benefit-card,
.value-card,
.team-card,
.truck-type-card,
.testimonial-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover,
.benefit-card:hover,
.value-card:hover,
.truck-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.service-icon,
.benefit-icon,
.value-icon,
.truck-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4,
.benefit-card h4,
.value-card h4,
.truck-type-card h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p,
.benefit-card p,
.value-card p {
    color: var(--text-secondary);
}

.dispatch-fee {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Team Cards */
.team-card {
    overflow: hidden;
}

.team-image {
    margin: -2rem -2rem 1.5rem -2rem;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

/* Testimonials */
.testimonial-card {
    position: relative;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author h5 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Service Options */
.service-option-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.service-option-card.featured {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
}

.service-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.service-option-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.option-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.option-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.option-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.option-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.option-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.option-features li i {
    color: var(--accent-primary);
    margin-right: 0.75rem;
    width: 20px;
}

.option-description p {
    color: var(--text-secondary);
    font-style: italic;
}

/* Requirements */
.requirement-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    height: 100%;
}

.requirement-card h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.requirement-card h4 i {
    color: var(--accent-primary);
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.requirement-card li::before {
    content: '•';
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Forms */
.signup-card,
.contact-form-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    color: var(--text-primary);
}

.form-check-input {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

.form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.form-check-label {
    color: var(--text-secondary);
}

.signup-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.signup-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Info */
.contact-info-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-details a {
    color: var(--accent-primary);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-secondary);
}

/* Quick Contact */
.quick-contact-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.quick-contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.quick-contact-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.quick-contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg,black, var(--accent-primary), var(--accent-secondary),black);
    color: white;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.contact-cta-section {
    background: var(--bg-secondary);
}

.contact-options {
    margin-top: 2rem;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
    color: var(--accent-primary);
}

.contact-option i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

/* Accordion */
.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--card-bg);
    color: var(--text-primary);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--accent-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 1.5rem;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
}

.footer-brand h4 {
    color: var(--footer-text);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    color: white;
}

.footer-links h5 {
    color: var(--footer-text);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact h5 {
    color: var(--footer-text);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--accent-primary);
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Floating Buttons */
.whatsapp-float,
.chat-button {
    position: fixed;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float {
    right: 20px;
    background: #25d366;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: white;
}

.chat-button {
    right: 90px;
    background: var(--accent-primary);
    border: none;
    cursor: pointer;
}

.chat-button:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

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

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

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

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-option-card.featured {
        transform: none;
        margin-top: 2rem;
    }
    
    .service-option-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .signup-card,
    .contact-form-card {
        padding: 2rem;
    }
    
    .contact-options .row {
        gap: 1rem;
    }
    
    .contact-option {
        margin-bottom: 1rem;
    }
    
    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .chat-button {
        right: 75px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .service-icon,
    .benefit-icon,
    .value-icon,
    .truck-icon,
    .quick-contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .cta-buttons .btn {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .chat-button,
    .hero-video-container {
        display: none !important;
    }
    
    .hero-section {
        background: var(--bg-primary) !important;
        color: var(--text-primary) !important;
        min-height: auto !important;
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--text-primary) !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.4);
        --shadow-heavy: rgba(0, 0, 0, 0.5);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-video {
        display: none;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus,
.theme-toggle:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* --- Responsive Improvements --- */

/* Make all images and videos responsive */
img, .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}
.hero-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}

/* Ensure all containers have correct padding */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Cards and testimonials stack on mobile */
.row.g-4, .row.g-5, .row {
    flex-wrap: wrap;
}
.col-lg-4, .col-lg-3, .col-md-6, .col-sm-6, .col-4, .col-12 {
    min-width: 100%;
    box-sizing: border-box;
}
@media (min-width: 576px) {
    .col-sm-6 { min-width: 50%; }
}
@media (min-width: 768px) {
    .col-md-6 { min-width: 50%; }
    .col-lg-3 { min-width: 25%; }
    .col-lg-4 { min-width: 33.3333%; }
}
@media (min-width: 992px) {
    .col-lg-3 { min-width: 25%; }
    .col-lg-4 { min-width: 33.3333%; }
}

/* Section padding for mobile */
section, .section {
    padding: 2.5rem 0;
}
@media (max-width: 576px) {
    section, .section {
        padding: 1.5rem 0;
    }
}

/* Service/testimonial/feature cards spacing */
.service-card, .testimonial-card, .team-card, .feature-item, .truck-type-card {
    margin-bottom: 2rem;
}

/* Forms and buttons full width on mobile */
@media (max-width: 768px) {
    .form-control, .form-select, .btn, .btn-lg {
        width: 100% !important;
        min-width: 0;
    }
    .form-label {
        font-size: 1rem;
    }
}

/* Footer and navbar responsive */
.footer .row, .navbar .container {
    flex-wrap: wrap;
}
.footer .col-lg-4, .footer .col-lg-2, .footer .col-lg-3, .footer .col-md-6 {
    min-width: 100%;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .footer .col-lg-4, .footer .col-lg-2, .footer .col-lg-3, .footer .col-md-6 {
        min-width: 0;
        margin-bottom: 0;
    }
}
.footer-contact, .footer-links, .footer-brand {
    text-align: center;
}

/* Social links wrap on mobile */
.social-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

/* Remove horizontal scroll */
html, body {
    overflow-x: hidden;
}

/* Ensure no text is too small or too close to edge */
body, p, .footer, .navbar, .section-title, .section-subtitle {
    font-size: 1rem;
    word-break: break-word;
}
@media (max-width: 576px) {
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 1rem; }
}

/* Utility: Center text on mobile */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Utility: Add gap to rows on mobile */
@media (max-width: 768px) {
    .row {
        gap: 1rem;
    }
}

/* --- End Responsive Improvements --- */

