:root {
    --primary-yellow: #FFC400;
    --light-yellow: #FFD54F;
    --accent-green: #4CAF50;
    --dark-green: #388E3C;
    --dark-black: #111111;
    --medium-black: #222;
    --text-gray: #666;
    --light-gray: #f8f9fa;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-black);
    margin: 0;
    padding: 0;
}

/* Top Utility Bar */
.utility-bar {
    background: var(--dark-black);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.utility-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.province-selector-small {
    background: var(--medium-black);
    color: white;
    border: 1px solid #444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.lang-toggle {
    background: none;
    border: 1px solid #444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover {
    color: var(--accent-green);
}

.utility-cta {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.utility-cta:hover {
    color: var(--light-yellow);
}

/* Small Banner */
.small-banner {
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

/* Header */
.main-header {
    background: white;
    /* border-bottom: 3px solid var(--primary-yellow); */
    /* padding: 16px 0; */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark-black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    color: var(--dark-black);
}

.logo-icon {
    color: var(--primary-yellow);
}

.navbar-nav .nav-link {
    color: var(--dark-black);
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

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

.btn-list-business {
    background: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    color: var(--dark-black);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-list-business:hover {
    background: var(--light-yellow);
    color: var(--dark-black);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    padding: 80px 0;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--dark-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.quote-form-container {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-input {
    border: 2px solid #e0e0e0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.2);
}

.btn-quote-primary {
    background: var(--dark-black);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-quote-primary:hover {
    background: var(--medium-black);
    transform: translateY(-2px);
    color: #fdfbd4;
}

.browse-link {
    color: var(--dark-black);
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
    display: inline-block;
}

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

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-black);
    font-weight: 600;
    font-size: 15px;
}

.trust-badge i {
    color: var(--accent-green);
    font-size: 20px;
}

.stats-row {
    text-align: center;
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
}

.stat-separator {
    color: var(--primary-yellow);
    margin: 0 12px;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 4px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--light-yellow);
}

.scroll-card {
    flex: 0 0 280px;
    min-width: 280px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-black);
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.category-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.cat-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-black);
}

.category-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.province-badge {
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    /* position: absolute; */
    top: 12px;
    right: 12px;
}

/* Featured Suppliers */
.suppliers-section {
    padding: 80px 0;
}

.supplier-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
}

.supplier-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.supplier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.supplier-logo {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.supplier-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-black);
    margin: 0 0 4px 0;
}

.supplier-location {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.supplier-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.rating-text {
    font-size: 13px;
    color: var(--text-gray);
}

.btn-quote {
    background: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    color: var(--dark-black);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background: var(--light-yellow);
    transform: translateY(-1px);
}

/* Provider CTA Strip */
.provider-cta {
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta-black {
    background: var(--dark-black);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-black:hover {
    background: var(--medium-black);
    transform: translateY(-2px);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--light-gray);
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-black);
}

.step-desc {
    color: var(--text-gray);
    font-size: 15px;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid var(--accent-green);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.author-info h6 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-black);
}

.author-info small {
    color: var(--text-gray);
}

/* Insights Section */
.insights-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.insight-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.insight-image {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-gray);
}

.insight-content {
    padding: 24px;
}

.insight-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-black);
}

.insight-snippet {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-box {
    background: var(--primary-yellow);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-black);
}

.newsletter-text {
    color: var(--medium-black);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--dark-black);
}

.btn-newsletter {
    background: var(--dark-black);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: var(--medium-black);
    color: white;
    padding: 60px 0 30px;
}

.footer-section h5 {
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 12px;
}

.footer-tagline {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.provinces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 8px;
}

.province-link {
    color: #ccc;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    transition: all 0.3s ease;
}

.province-link:hover {
    background: var(--primary-yellow);
    color: var(--dark-black);
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .utility-controls {
        /* flex-direction: column; */
        gap: 10px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .quote-form-container {
        padding: 24px;
        margin: 0 15px 30px;
    }

    .trust-badges {
        gap: 20px;
    }

    .trust-badge {
        font-size: 13px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .step-card {
        margin-bottom: 30px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* button:focus, select:focus, input:focus, a:focus {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 2px;
} */

.category-card:focus {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-yellow: #FFD700;
        --dark-black: #000;
        --medium-black: #333;
    }
}

@media (max-width: 768px) {
    #navbarNav {
        margin-left: 0% !important;
    }
    .navbar-nav .nav-link {
        color: white !important;
    }
}

#navbarNav{
    margin-left: 20%;
}
