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

html, body {
    max-width: 100vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Colors */
:root {
    --calico-red: #C41E3A;
    --calico-dark: #8B1538;
    --calico-light: #E8D5DA;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;

    /* Light mode colors */
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --header-bg: rgba(255, 255, 255, 0.95);
    --input-bg: #ffffff;
    --input-border: #ced4da;
}

/* Dark mode colors */
body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #e9ecef;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --header-bg: rgba(26, 26, 26, 0.95);
    --input-bg: #2d2d2d;
    --input-border: #404040;
    --gray-light: #2d2d2d;
}

/* Header */
.navbar {
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo {
    height: 45px;
    width: auto;
}

.logo-text h1 {
    color: var(--calico-red);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: -5px;
}

.logo-text span {
    color: var(--gray-medium);
    font-size: 12px;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--calico-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--calico-red);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-weight: 400;
}

.dropdown-link:hover {
    background: var(--calico-light);
    color: var(--calico-red);
}

/* Mobile Menu */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--calico-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: 2px solid var(--calico-red);
    border-radius: 50px;
    width: 60px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 6px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dark-mode-toggle:hover {
    background: var(--calico-light);
}

.dark-mode-toggle .moon,
.dark-mode-toggle .sun {
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.dark-mode-toggle .sun {
    opacity: 1;
}

.dark-mode-toggle .moon {
    opacity: 0.3;
}

body.dark-mode .dark-mode-toggle .sun {
    opacity: 0.3;
}

body.dark-mode .dark-mode-toggle .moon {
    opacity: 1;
}

body.dark-mode .dark-mode-toggle {
    background: var(--calico-red);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    background-image: url('images/herodark.png'), url('images/herodark2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 70px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 20px;
}

.hero-content {
    max-width: 600px;
    margin-left: 40px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Success Page */
.success-section {
    margin-top: 70px;
    padding: 80px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 30px;
}

.success-content h1 {
    font-size: 36px;
    color: var(--calico-red);
    margin-bottom: 20px;
}

.success-content p {
    font-size: 18px;
    color: var(--gray-medium);
    margin-bottom: 30px;
    line-height: 1.6;
}

.next-steps {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
}

.next-steps h3 {
    color: var(--calico-red);
    margin-bottom: 15px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.next-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--calico-red);
    font-weight: bold;
}

.action-buttons {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.auto-redirect {
    font-size: 14px;
    color: var(--gray-medium);
    font-style: italic;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--calico-red);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-button:hover {
    background: var(--calico-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--calico-red);
    border: 2px solid var(--calico-red);
}

.cta-button.secondary:hover {
    background: var(--calico-red);
    color: white;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: #fff;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    color: var(--gray-dark);
    margin-bottom: 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    padding: 8px 0;
    color: var(--gray-medium);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 12px;
    border-left: 4px solid var(--calico-red);
}

.stat-item h3 {
    font-size: 36px;
    color: var(--calico-red);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--gray-medium);
    font-weight: 500;
}

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

.categories h2 {
    text-align: center;
    font-size: 36px;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-medium);
    font-size: 18px;
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 25px;
}

.category-content h3 {
    font-size: 22px;
    color: var(--gray-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.category-content p {
    color: var(--gray-medium);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-count {
    color: var(--calico-red);
    font-weight: 500;
    font-size: 14px;
}

/* Featured Products */
.featured-products {
    padding: 80px 20px;
    background: #fff;
}

.featured-products h2 {
    text-align: center;
    font-size: 36px;
    color: var(--gray-dark);
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.product-image {
    height: 200px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 20px;
}

.product-sku {
    font-size: 14px;
    color: var(--calico-red);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 16px;
    color: var(--gray-dark);
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-description {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.4;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-categories {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-tag {
    background: var(--calico-light);
    color: var(--calico-red);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.view-all {
    text-align: center;
}

/* Category Page Specific */
.page-header {
    background: linear-gradient(135deg, var(--calico-red) 0%, var(--calico-dark) 100%);
    color: white;
    padding: 120px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.filters {
    background: white;
    padding: 20px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filters-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group label {
    font-weight: 500;
    color: var(--gray-dark);
    margin-right: 10px;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-size: 14px;
    min-width: 150px;
    background: var(--input-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--calico-red);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 0 5px;
    color: var(--gray-medium);
}

/* Contact Page */
.contact-section {
    padding: 50px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-info h3 {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--calico-red);
    text-decoration: none;
}

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

.contact-form {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--calico-red);
}

/* Footer */
footer {
    background: var(--gray-dark);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    color: #adb5bd;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    text-align: center;
    color: #adb5bd;
}

/* Mobile Menu - will be overridden by media query below */

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

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
        margin-right: 10px;
    }


    .nav-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.mobile-active {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 999;
        animation: slideDown 0.3s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .hero {
        min-height: 400px;
        text-align: center;
    }

    .hero-overlay {
        padding: 40px 20px;
    }

    .hero-content {
        margin-left: 0;
        margin: 0 auto;
        max-width: calc(100vw - 40px);
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        width: 100%;
        max-width: none;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        width: 100%;
    }

    .results-info {
        flex-direction: column;
        gap: 10px;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--calico-light);
    border-top: 4px solid var(--calico-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }

.hidden {
    display: none !important;
}
/* ===== Enhanced Visual Design Improvements ===== */

/* JotForm Button Styles */
.jotform-method {
    position: relative;
    background: linear-gradient(135deg, var(--calico-light) 0%, #f8f9fa 100%);
    border: 2px solid var(--calico-red);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.jotform-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.jotform-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--calico-red) 0%, var(--calico-dark) 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.jotform-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
    background: linear-gradient(135deg, var(--calico-dark) 0%, var(--calico-red) 100%);
}

.jotform-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

/* Enhanced Contact Method Cards */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-method h4 {
    color: var(--calico-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Improved Visual Spacing for Where-to-Buy */
.dealer-info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dealer-benefits {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--calico-red);
}

.contact-info-box {
    background: linear-gradient(135deg, var(--calico-red) 0%, var(--calico-dark) 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.contact-info-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-direct {
    margin-top: 1rem;
}

.contact-direct a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
}

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

/* Enhanced Form Container */
.form-container {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.form-container h3 {
    color: var(--calico-red);
    margin-bottom: 1rem;
    text-align: center;
}

/* Visual Improvements for Dealer Benefits */
.dealer-benefits ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.dealer-benefits ul li:last-child {
    border-bottom: none;
}

.dealer-benefits ul li::before {
    color: var(--calico-red);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Mobile Responsiveness for New Styles */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .jotform-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .dealer-benefits {
        padding: 1.5rem;
    }

    .contact-info-box {
        padding: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}


/* Checkbox styling for contact preferences and product categories */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.checkbox-item:last-child {
    border-bottom: none;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid var(--gray-light);
    border-radius: 4px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.checkbox-item:hover .checkmark {
    border-color: var(--calico-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background-color: var(--calico-red);
    border-color: var(--calico-red);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* Mobile Menu Improvements */
@media (max-width: 768px) {
    .nav-menu.mobile-active .nav-link,
    .nav-menu.mobile-active .dropdown-toggle {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: var(--text-color);
        font-weight: 500;
    }

    .nav-menu.mobile-active .dropdown {
        position: static;
    }

    .nav-menu.mobile-active .dropdown-menu {
        position: static;
        display: none;
        background: rgba(0,0,0,0.05);
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
    }

    .nav-menu.mobile-active .dropdown.mobile-open .dropdown-menu {
        display: block;
    }

    .nav-menu.mobile-active .dropdown-link {
        padding: 12px 40px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 0.9rem;
        color: var(--gray-medium);
    }

    .nav-menu.mobile-active .dropdown-link:hover {
        background: rgba(196, 30, 58, 0.1);
        color: var(--calico-red);
    }

    .nav-menu.mobile-active .nav-link:hover,
    .nav-menu.mobile-active .dropdown-toggle:hover {
        background: rgba(196, 30, 58, 0.1);
        color: var(--calico-red);
    }

    .nav-menu.mobile-active .nav-link.active {
        background: var(--calico-red);
        color: white;
    }

    /* Improved text wrapping for mobile */
    .container {
        max-width: calc(100vw - 20px);
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    p, h1, h2, h3, h4, h5, h6, li, span, div {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    /* Prevent aggressive word breaking on stats and short content */
    .stat-item h3, .stat-item p, .nav-link {
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    /* Ensure all text content wraps properly */
    .page-header h1, .page-header p,
    .contact-info p, .contact-info h4,
    .dealer-info p, .dealer-info h3,
    .about-text p, .hero-content h1, .hero-content p {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}
