body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.top-bar {
    background-color: #444;
    color: #fff;
    text-align: center;
    padding: 5px 0 !important;
    font-size: 12px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-bar a {
    color: #ff6f61;
    text-decoration: none;
    margin: 0 3px !important;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #ff3b2f;
}

.top-bar i {
    margin-right: 5px;
    color: #ff6f61;
    vertical-align: middle;
}

header {
    background: #333;
    color: #fff;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6f61;
}

#hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: background-image 0.5s ease-in-out;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    will-change: background-image;
}

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

.hero-content {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
    position: relative;
    margin-top: 60px;
}

.hero-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    width: 250px;
    z-index: 2;
}

.hero-sidebar h3 {
    margin-top: 0;
    color: #ff6f61;
}

.hero-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-sidebar ul li {
    margin: 10px 0;
}

.hero-sidebar ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.hero-sidebar ul li a:hover {
    color: #ff3b2f;
}

#quotation-form {
    display: flex;
    flex-direction: column;
}

#quotation-form label {
    color: #fff;
    margin-top: 10px;
}

#quotation-form input {
    padding: 5px;
    margin-top: 5px;
    border-radius: 3px;
    border: none;
    outline: none;
}

#quotation-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
}

#quotation-form optgroup {
    font-weight: bold;
    color: #333;
    background-color: #f8f8f8;
}

#quotation-form option {
    padding: 5px;
    color: #666;
    background-color: white;
}

#quotation-form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#quotation-form button:hover {
    background-color: #ff3b2f;
}

#quotation-form select:hover {
    border-color: #ff6f61;
}

#quotation-form select:focus {
    outline: none;
    border-color: #ff6f61;
    box-shadow: 0 0 5px rgba(255, 111, 97, 0.2);
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff3b2f;
}

#products {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.product-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: #fff;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.card h3 {
    margin-top: 15px;
    color: #333;
}

.card p {
    color: #666;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

.card ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0 0;
}

.card ul li {
    background: #f0f0f0;
    margin: 5px 0;
    padding: 8px;
    border-radius: 5px;
    color: #333;
    transition: background-color 0.3s;
}

.card ul li:hover {
    background-color: #e0e0e0;
}

#cta {
    background: #333;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

#cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

#cta p {
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

#cta .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

#cta .cta-button:hover {
    background-color: transparent;
    border-color: #ff6f61;
    transform: translateY(-3px);
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.social-media {
    list-style: none;
    display: flex;
    padding: 0;
}

.social-media li {
    margin: 0 10px;
}

.social-media li a {
    color: #fff;
    text-decoration: none;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
}

#statistics {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
    margin-top: 20px;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    margin: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 150px;
}

.stat-item h3 {
    margin: 0;
    font-size: 24px;
    color: #ff6f61;
}

.stat-item p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #333;
}

/* Update these mobile navigation styles in styles.css */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
        z-index: 2000;
    }

    header {
        padding: 10px 15px;
        position: fixed;
        width: 100%;
        box-sizing: border-box;
        background: rgba(51, 51, 51, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: row;
        justify-content: space-between;
    }

    header .logo h1 {
        font-size: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: auto;
        min-height: fit-content;
        background: rgba(51, 51, 51, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease-in-out;
        z-index: 1500;
        padding: 20px 0;
        border-radius: 0 0 0 10px;
    }

    .nav-menu.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin: 0;
        padding: 10px 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        font-size: 1.1rem;
        padding: 8px 20px;
        display: block;
    }

    /* Hero Section */
    #hero {
        margin-top: 50px;
        min-height: calc(100vh - 50px);
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
    }

    .hero-content {
        width: calc(100% - 20px);
        max-width: none;
        padding: 20px;
        margin: 10px;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-sidebar {
        position: static;
        width: calc(100% - 20px);
        max-width: none;
        margin: 10px;
        padding: 15px;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
    }

    /* Form Elements */
    #quotation-form {
        width: 100%;
        box-sizing: border-box;
    }

    #quotation-form label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    #quotation-form select,
    #quotation-form input {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
        padding: 12px;
        font-size: 1rem;
    }

    #quotation-form button {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        margin-top: 10px;
    }

    /* Products Section */
    #products {
        padding: 30px 15px;
    }

    .product-cards {
        padding: 0 10px;
        gap: 25px;
    }

    .card {
        width: 100%;
        margin: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .card img {
        height: 180px;
    }

    /* Statistics Section */
    #statistics {
        padding: 30px 15px;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .stat-item {
        width: 100%;
        margin: 0;
        padding: 15px;
    }

    /* CTA Section */
    #cta {
        padding: 40px 20px;
    }

    #cta h2 {
        font-size: 1.8rem;
    }

    #cta p {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .social-media {
        justify-content: center;
        gap: 20px;
    }

    /* WhatsApp Button */
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button img {
        width: 45px;
        height: 45px;
    }

    /* Container fixes */
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

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

    .stat-item {
        padding: 20px 15px;
    }

    .card h3 {
        font-size: 1.4rem;
    }

    #cta h2 {
        font-size: 1.6rem;
    }

    #cta .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    header {
        padding: 8px 12px;
    }

    header .logo h1 {
        font-size: 18px;
    }

    #hero {
        margin-top: 45px;
        min-height: calc(100vh - 45px);
    }

    .hero-content,
    .hero-sidebar {
        margin: 5px;
        padding: 15px;
    }
}

/* Add these touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    nav ul li a,
    .cta-button,
    .card,
    #quotation-form button,
    .social-media li a {
        padding: 12px 20px;
    }

    input,
    select,
    button {
        min-height: 44px;
        font-size: 16px;
    }

    .card ul li {
        padding: 12px;
        margin: 8px 0;
    }
}

/* Add this to ensure all elements respect border-box */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}