:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --accent-gray: #2a2a2a;
    --light-gray: #f8f9fa;
    --border-gray: #e0e0e0;

    /* Light mode (default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #f8f9fa;
    --text-primary: #2a2a2a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #3a3a3a;
}

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

body {
    font-family: 'Lexend Exa', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Neurodivergent-friendly: High contrast, clear hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Top Contact Bar */
.top-bar {
    background-color: #0a0a0a;
    color: var(--primary-white);
    padding: 0.75rem 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: var(--primary-white);
    text-decoration: none;
    margin-right: 2rem;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.whatsapp-btn {
    background-color: #25D366;
    color: var(--primary-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #20BA59;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    color: var(--primary-white);
    font-size: 1.3rem;
    margin: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Mobile adjustments for top bar */
@media (max-width: 767px) {
    .top-bar .social-links {
        gap: 0.75rem;
    }

    .top-bar .social-links a {
        font-size: 1.1rem;
    }
}

/* Dark Mode Toggle Switch */
.theme-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-white);
    font-family: 'Lexend Exa', sans-serif;
    font-size: 0.9rem;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    border: 2px solid var(--primary-white);
    transition: all 0.3s;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background-color: var(--primary-white);
    border-radius: 50%;
    transition: transform 0.3s;
}

[data-theme="dark"] .toggle-switch::after {
    transform: translateX(24px);
}

/* Navigation */
.navbar {
    background-color: transparent !important;
    position: relative;
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    margin-bottom: 0;
    height: 0;
    overflow: hidden;
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.navbar-brand {
    display: none;
}

.brand-text {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 5rem;
    margin-top: 0;
    color: var(--primary-white);
    background-color: #000000;
}

.hero .container {
    width: 100%;
}

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

.hero-brand-logo {
    margin-bottom: 2rem;
}

.main-brand-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .lead {
    font-size: 0.88rem;
    margin-bottom: 2rem;
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
}

.btn-primary-custom {
    background-color: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-white);
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-white);
    border-color: var(--primary-white);
}

/* Section Styling */
section {
    padding: 5rem 0;
    scroll-margin-top: 100px; /* Offset for fixed navbar when scrolled */
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

/* About Section */
.about-section {
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

/* Statistics boxes - always white background */
.stats-box {
    background-color: #FFFFFF !important;
    color: #2a2a2a !important;
}

[data-theme="dark"] .stats-box {
    background-color: #FFFFFF !important;
    color: #2a2a2a !important;
}

/* Services Section */
.service-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 0;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--text-primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.funding-options-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

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

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* Fleet Section */
.fleet-section {
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.fleet-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.fleet-carousel .carousel-item {
    height: 350px;
}

.fleet-carousel .carousel-item .fleet-images-wrapper {
    display: flex;
    gap: 10px;
    height: 100%;
}

.fleet-carousel .carousel-item img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--text-primary);
}

@media (max-width: 768px) {
    .fleet-carousel .carousel-item {
        height: 300px;
    }

    .fleet-carousel .carousel-item .fleet-images-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .fleet-carousel .carousel-item .fleet-images-wrapper img {
        display: none;
    }

    .fleet-carousel .carousel-item .fleet-images-wrapper img:first-child {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.fleet-carousel .carousel-control-prev,
.fleet-carousel .carousel-control-next {
    width: 5%;
}

.fleet-carousel .carousel-control-prev-icon,
.fleet-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

.fleet-carousel .carousel-indicators {
    margin-bottom: -30px;
}

.fleet-carousel .carousel-indicators button {
    background-color: var(--text-primary);
}

.partner-logo {
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.partner-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .partner-logo {
        max-width: 250px;
    }

    .partner-logos-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Fleet Info Section */
.fleet-info-section {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.info-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
}

.info-card:hover {
    border-color: var(--text-primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.info-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.info-card ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-primary);
}

.info-card ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.info-card ul li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

/* Industry Landscape Section */
.industry-section {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.industry-card {
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
    padding: 15px;
    background-color: var(--bg-primary);
}

.industry-card h5 {
    color: var(--text-primary);
    font-weight: 600;
}

.industry-card p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.contact-section a {
    color: #2a2a2a;
    text-decoration: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .contact-section a {
    color: #FFFFFF;
}

.contact-section a:hover {
    text-decoration: underline;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 0;
    padding: 0.875rem;
    font-family: 'Lexend Exa', sans-serif;
    font-size: 1rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--text-primary);
    box-shadow: none;
    background-color: var(--bg-primary);
}

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

.btn-submit {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
    padding: 0.875rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

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

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--primary-white);
    text-decoration: none;
    margin: 0 1rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        margin-top: 0;
        padding-top: 2rem;
        min-height: auto;
    }

    .hero .row {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-brand-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .main-brand-logo {
        max-width: 280px;
    }

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

    .hero-logos {
        margin-top: 1rem;
    }

    .hero-logo-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-logo {
        max-width: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .top-bar {
        text-align: center;
        padding: 0.75rem 0;
        margin-bottom: 0;
    }

    .top-bar a {
        display: block;
        margin: 0.5rem 0;
    }

    .brand-text {
        display: none;
    }

    .navbar {
        padding: 0;
        margin-bottom: 0;
        margin-top: 0;
        height: 0;
    }

    section {
        scroll-margin-top: 80px; /* Slightly less offset on mobile */
    }

    /* Fleet carousel mobile styles */
    .fleet-carousel .carousel-item {
        height: 500px !important;
    }

    .fleet-carousel .carousel-item .fleet-images-wrapper {
        flex-direction: column !important;
        gap: 10px !important;
        display: flex !important;
    }

    .fleet-carousel .carousel-item .fleet-images-wrapper img {
        display: block !important;
        width: 100% !important;
        height: 245px !important;
        border: none !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .fleet-carousel .carousel-item .fleet-images-wrapper img:first-child,
    .fleet-carousel .carousel-item .fleet-images-wrapper img:nth-child(2) {
        display: block !important;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 991px) {
    .main-brand-logo {
        max-width: 300px;
    }

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

    .hero-logo {
        max-width: 200px;
    }
}
.ecowebworks-credit a:hover {
    opacity: 0.7;
}
/* TrustPilot Reviews Styling */

/* TrustPilot Reviews Styling */

/* Reviews Section - Dark Mode Support */
.reviews-section {
    background-color: var(--bg-secondary) !important;
    transition: background-color 0.3s ease;
}

.reviews-section .section-title {
    color: var(--text-primary);
}

.reviews-section .section-subtitle {
    color: var(--text-secondary);
}

/* Compact Widget in Hero - White Text */
.hero .brtpmj_compact_container,
.hero .brtpmj_compact_container * {
    color: var(--primary-white) !important;
}

.hero .brtpmj_cmp_score,
.hero .brtpmj_cmp_ttl_rvws {
    color: var(--primary-white) !important;
}

.hero .brtpmj_cmp_logo {
    filter: brightness(0) invert(1);
}

/* Reviews Container - Dark Mode Support */
.brtpmj_reviews_container {
    background-color: transparent !important;
}

[data-theme="dark"] .brtpmj_reviews_container {
    background-color: transparent !important;
}

/* Business Ratings Header */
.brtpmj_business_ratings {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .brtpmj_business_ratings {
    color: var(--text-primary) !important;
}

.brtpmj_business_ratings a {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .brtpmj_business_ratings a {
    color: var(--text-primary) !important;
}

/* Individual Review Cards - Dark Mode Support */
.brtpmj_single_rvw {
    background-color: var(--bg-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .brtpmj_single_rvw {
    background-color: var(--bg-primary) !important;
    border-color: var(--border-color) !important;
}

/* Review Text Content */
.brtpmj_sr_ab_name,
.brtpmj_sr_title h4 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .brtpmj_sr_ab_name,
[data-theme="dark"] .brtpmj_sr_title h4 {
    color: var(--text-primary) !important;
}

.brtpmj_sr_ab_date,
.brtpmj_sr_text p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .brtpmj_sr_ab_date,
[data-theme="dark"] .brtpmj_sr_text p {
    color: var(--text-secondary) !important;
}

/* Author Image/Initial Circle */
.brtpmj_sr_ab_img {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .brtpmj_sr_ab_img {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Carousel Navigation Buttons */
.brtpmj-slider-btn {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
}

[data-theme="dark"] .brtpmj-slider-btn {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-primary) !important;
}

.brtpmj-slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .brtpmj-slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Keep star ratings gold/yellow in both modes */
.brtpmj_cmp_score_img,
.brtpmj_br_score_img,
.brtpmj_sr_rating {
    /* Stars are already images, no color change needed */
}
/* Hide customer initial/avatar circles */
.brtpmj_sr_ab_img {
    display: none !important;
}

/* Ensure compact widget is responsive */
@media (max-width: 768px) {
    .hero .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
        gap: 1rem !important;
    }

    .hero .brtpmj_compact_container {
        text-align: center;
        width: 100%;
    }
}