/* --- Base Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
}

/* Base Font Sizes (Desktop) */
h1 { font-size: 3.2rem; margin-bottom: 1.2rem; line-height: 1.2; color: #1a1a1a; }
h2 { font-size: 2.5rem; margin-bottom: 0.5rem; text-align: center; color: #222; }
h3 { font-size: 1.6rem; margin-bottom: 0.8rem; color: #0056b3; }
h4 { font-size: 1.3rem; margin-bottom: 0.5rem; color: #222; }
p { font-size: 1.1rem; margin-bottom: 1.2rem; color: #555; }
.section-subtitle { text-align: center; font-size: 1.2rem; color: #666; margin-bottom: 3rem; }

/* --- Layout & Flexbox Defaults --- */
section {
    padding: 5rem 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Header & Navigation --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 10%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container .logo {
    max-height: 65px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    white-space: nowrap; 
}

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.burger-menu .bar {
    width: 28px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: 0.3s;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: #0056b3;
    color: #fff;
}

.btn.primary:hover {
    background-color: #004494;
}

.btn.secondary {
    background-color: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn.secondary:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn.whatsapp {
    background-color: #25D366;
    color: #ffffff;
    width: 100%;
}

.btn.whatsapp:hover {
    background-color: #1ebe57;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* --- Hero Section --- */
.hero {
    flex-direction: row;
    justify-content: space-between;
    background-color: #eef5ff;
    padding: 6rem 10%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    flex: 1.2;
    padding-right: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Purpose Section --- */
.purpose-section {
    background-color: #0056b3; 
    color: #ffffff;
    text-align: center;
    padding: 4rem 10%;
}

.purpose-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.purpose-content h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.purpose-content p {
    color: #e0e0e0;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 0;
}

/* --- About Section --- */
.about-section {
    flex-direction: row;
    background-color: #ffffff;
    gap: 4rem;
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    text-align: left;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Categories Section --- */
.categories-section {
    background-color: #f7f9fc;
}

.category-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.card img {
    height: 90px;
    width: auto;
    margin-bottom: 1.5rem;
}

/* Flex-grow pushes the new price list buttons to the bottom of the card */
.card p {
    flex-grow: 1; 
    margin-bottom: 1.5rem;
}

.category-btn {
    width: 100%;
    font-size: 0.95rem;
}

/* --- Products Section --- */
.products-section {
    background-color: #ffffff;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.product-card {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fcfcfc;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    gap: 1.5rem; 
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.product-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: #f9f9f9;
}

.faq-grid {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    flex: 1 1 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item h4 {
    color: #0056b3;
    margin-bottom: 0;
    font-size: 1.15rem;
}

.faq-item p {
    color: #555;
    margin-bottom: 0;
    font-size: 1rem;
}

/* --- Split Dynamic Contact Section --- */
.contact-section {
    background-color: #eef5ff;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1000px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden; 
}

.contact-info-panel {
    flex: 1;
    background-color: #0056b3;
    color: #ffffff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-panel p {
    color: #d1e4ff;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.info-item p, .info-item a {
    color: #e0e0e0;
    margin: 0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-form-panel {
    flex: 1.5;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #d1d9e6;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: all 0.3s ease; 
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.2);
    background-color: #ffffff;
}

.submit-btn {
    align-self: flex-start;
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.form-response {
    margin-top: 1rem;
    font-weight: bold;
}

/* --- Dynamic Multi-Column Footer --- */
.main-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 10% 2rem 10%;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 3rem;
    border-bottom: 1px solid #333;
    padding-bottom: 3rem;
}

.footer-col {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    max-height: 55px;
    width: auto;
    align-self: flex-start;
    background-color: #ffffff; 
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #0056b3;
}

.footer-col p {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.6;
}

.footer-col a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    width: fit-content;
}

.footer-col a:hover {
    color: #0056b3;
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

.developer-credit a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.developer-credit a:hover {
    color: #ffffff;
}

/* ========================================================
   MEDIA QUERIES (Handling Responsive Layout & Typography)
   ======================================================== */

@media (max-width: 1024px) {
    section { padding: 4rem 5%; }
    
    .main-header { padding: 0.6rem 5%; }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        align-items: center;
        margin-bottom: 3rem;
    }
    .about-section {
        flex-direction: column;
        text-align: center;
    }
    .about-content h2 { text-align: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.15rem; }
    p { font-size: 0.95rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    
    .purpose-content h2 { font-size: 1.8rem; }
    .purpose-content p { font-size: 1.1rem; }

    .btn { padding: 0.75rem 1.4rem; font-size: 0.95rem; }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        padding: 1.5rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        text-align: center;
        gap: 1.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .category-cards {
        flex-direction: column;
    }

    .product-card {
        flex: 1 1 100%;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .contact-wrapper {
        flex-direction: column; 
    }
    
    .contact-info-panel, .contact-form-panel {
        padding: 2rem 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}