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

body {
    background-color: #ffffff;
    color: #333333;
    font-family: Arial, sans-serif;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Rest of the base styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    color: #007bff;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #000000;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('/static/images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
}

/* Partners Section */
.partner-logo-scroll {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #f8f9fa;
    padding: 20px 0;
}

.logos {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 40px;
}

.partner-logo {
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo-scroll:hover .logos {
    animation-play-state: paused;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.contact-info i {
    font-size: 2.8rem;
    color: #007bff;
    margin-bottom: 1.8rem;
    background: rgba(0,123,255,0.1);
    padding: 20px;
    border-radius: 50%;
}

.contact-info h3 {
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-info p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.map-container {
    margin-top: 60px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
    
    .contact-info i {
        font-size: 2.4rem;
        padding: 15px;
    }
    
    .map-container {
        margin-top: 40px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        display: block;
        width: 100%;
        text-align: center;
        color: #fff;
    }

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

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

    .partner-logo {
        height: 60px;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.show-more-btn {
    display: block;
    width: fit-content;
    margin: 3rem auto;
    padding: 12px 40px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,123,255,0.2);
    text-align: center;
}

.show-more-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

@media (max-width: 768px) {
    .show-more-btn {
        padding: 10px 30px;
        font-size: 0.9rem;
        margin: 2rem auto;
    }
}