* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #333333;
    min-height: 100vh;
    padding-top: 100px; /* Account for fixed header */
}

/* HEADER */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

/* TOP BAR */
.top-bar {
    background: #222;
    color: #fff;
    padding: 10px;
    text-align: right;
}

.top-bar a {
    color: #25D366;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

/* NAV */
nav {
    background: #fff;
    padding: 15px 30px;
    display: block;
    text-align: center;
    min-height: 60px;
}

nav h1 {
    font-size: 24px;
    margin: 0 0 10px 0;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: break-word;
}

nav ul {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav li {
    display: inline-block;
    margin: 0 10px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

/* DESKTOP NAV */
@media (min-width: 1201px) {
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 30px;
    }

    nav h1 {
        font-size: 32px; /* Made larger for desktop */
        margin: 0;
        white-space: nowrap;
        flex: 1;
    }

    nav ul {
        display: flex;
        gap: 20px;
        flex: 2;
        justify-content: flex-end;
    }

    nav li {
        margin: 0;
    }

    nav a {
        font-size: 16px;
    }
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero-buttons {
    margin-top: 20px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 20px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.primary {
    background: #3498db;
    color: #fff;
}

.secondary {
    background: #2980b9;
    color: #fff;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
}

/* SERVICES */
.services {
    display: flex;
    gap: 20px;
    padding: 40px 20px;
    justify-content: center;
}

.card {
    background: #fff;
    padding: 30px;
    max-width: 300px;
    border-radius: 8px;
    text-align: center;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* MOBILE */
@media (max-width: 1200px) {
    body {
        overflow-x: hidden !important;
    }

    nav {
        padding: 10px 15px !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    nav h1 {
        font-size: 22px !important; /* Nearly double from 12px */
        margin: 0 0 15px 0 !important;
        text-align: center !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        line-height: 1.2 !important;
        display: block !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    nav ul {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        text-align: center !important;
    }

    nav li {
        display: inline-block !important;
        margin: 0 8px !important;
    }

    nav a {
        font-size: 16px !important; /* Nearly double from 10px */
        display: inline-block !important;
    }

    nav {
        padding: 20px 15px !important; /* Increased from 10px */
    }

    .hero {
        padding: 40px 15px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 10px 15px;
        margin: 5px 0;
        font-size: 14px;
    }

    .services {
        flex-direction: column;
        padding: 20px 15px;
    }

    .card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .about {
        padding: 30px 15px;
        margin: 20px auto;
    }

    .about h2 {
        font-size: 24px;
    }

    .about p {
        font-size: 14px;
    }

    .page-header {
        padding: 30px 15px;
    }

    .page-header h2 {
        font-size: 24px;
    }

    .products {
        padding: 20px 15px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .product-card {
        width: 100%;
        padding: 10px;
    }

    .product-card img {
        height: 150px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .product-card .price {
        font-size: 16px;
    }

    .category-title {
        font-size: 22px;
        margin: 40px 0 15px;
    }

    .contact {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .testimonial-card {
        padding: 15px;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .faq-item h3 {
        font-size: 18px;
    }
}
.about {
    background: #f8f9fa;
    padding: 50px 20px;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about h2 {
    margin-bottom: 20px;
    color: #3498db;
}

.about p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
}
.page-header {
    background: #f8f9fa;
    padding: 10px 20px;
    text-align: center;
}

.products {
    background: #f8f9fa;
    padding: 0px 20px 40px 20px;
    max-width: 900px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

th {
    background: #3498db;
    color: #fff;
}

.cta-center {
    text-align: center;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 220px);
    gap: 25px;
    justify-content: center;
}

.product-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 240px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 50%, #27ae60 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

.product-card .code {
    font-size: 12px;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.product-card .price {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
    margin: 10px 0;
    display: block;
}

.product-card .description {
    font-size: 14px;
    color: #34495e;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .add-to-quote-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card .add-to-quote-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.product-card .add-to-quote-btn:hover::before {
    width: 300px;
    height: 300px;
}

.product-card .add-to-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}
.category-title {
    margin: 60px 0 20px;
    font-size: 28px;
    font-weight: bold;
    border-left: 5px solid #3498db;
    padding-left: 15px;
}

.contact {
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    margin-top: 20px;
    width: 100%;
}

/* Accessibility improvements */
.btn:focus, input:focus, textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn.primary {
        background: #000;
        color: #fff;
    }
}

/* Image gallery zoom */
.product-card img.zoomed {
    transform: scale(1.5);
    transition: transform 0.3s ease;
    cursor: zoom-out;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background 0.3s ease;
}

.floating-whatsapp:hover {
    background: #128C7E;
}

/* Version 1.5 Enhanced UI */

/* Loading Animation */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Controls Section */
.controls {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.search-filter {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.search-filter input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.search-filter input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-filter button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-filter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filters select {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filters select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Quote Basket */
#quote-basket {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e1e5e9;
    padding: 25px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#quote-basket h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#quote-basket h3::before {
    content: '🛒';
    font-size: 28px;
}

#basket-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#basket-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.3s ease;
}

#basket-items li:hover {
    background: rgba(52, 152, 219, 0.05);
}

#basket-items li:last-child {
    border-bottom: none;
}

#basket-items li button {
    padding: 6px 12px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

#basket-items li button:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.basket-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.basket-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#clear-basket-btn {
    background: #95a5a6;
    color: white;
}

#clear-basket-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

#submit-quote-btn {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
}

#submit-quote-btn:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* Lightbox */
.lightbox {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox-caption {
    margin-top: 10px;
    text-align: center;
    color: #ccc;
    font-size: 18px;
}

/* Testimonials */
.testimonials {
    background: #f8f9fa;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 30px;
    color: #3498db;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-card cite {
    font-weight: bold;
    color: #3498db;
}
