/* ================= FONTS ================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f6f7fb;
    color: #333;
    min-height: 100vh;
    padding-top: 70px; /* space for fixed header */
}

/* ================= LINKS ================= */
a {
    text-decoration: none;
    color: inherit;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 1000;
}

.header_content {
    height: 64px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================= LOGO ================= */
.logo img {
    height: 100px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* ================= NAV ================= */
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    font-size: 15px;
    color: #444;
}

.nav a:hover,
.nav a.active {
    color: #1a73e8;
}

/* ================= BUTTON ================= */
.btn {
    padding: 8px 18px;
    border-radius: 30px;
    background: #1a73e8;
    color: white;
    font-size: 14px;
    display: inline-block;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: white;
    padding: 90px 24px;
    box-shadow: -3px 0 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: right 0.3s ease;
    z-index: 2000;
}

.mobile-menu.open {
    right: 0;
}

/* ================= PAGE HERO ================= */
.page-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-hero p {
    color: #555;
    font-size: 16px;
}

/* ================= PRODUCT GRID ================= */
.product-grid {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

/* ================= PRODUCT CARD ================= */
.product-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.product-card img {
    height: 160px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.product-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

/* ================= FOOTER ================= */
.footer {
    background: #1a73e8;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */
/* ================= GLOBAL MOBILE FIX ================= */
@media (max-width: 768px) {

    /* BODY */
    body {
        padding-top: 64px;
    }

    /* HEADER */
    .header_content {
        height: 64px;
        padding: 0 16px;
    }

    /* LOGO */
    .logo img {
        height: 40px;
        max-width: 150px;
    }

    /* DESKTOP NAV */
    .desktop-nav,
    .nav {
        display: none;
    }

    /* HAMBURGER */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    /* MOBILE MENU */
    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100%;
        background: white;
        padding: 90px 24px;
        box-shadow: -3px 0 12px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 2000;
    }

    .mobile-menu.open {
        right: 0;
    }

    /* HERO SECTIONS */
    .hero,
    .page-hero {
        min-height: auto;
        padding: 80px 20px 60px;
        text-align: center;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 28px;
    }

    .hero-content p,
    .page-hero p {
        font-size: 15px;
    }

    /* HERO BUTTONS */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    /* SECTIONS */
    .section,
    .content-section,
    .contact-section,
    .product-grid,
    .principles-section,
    .cert-section {
        padding: 60px 16px;
    }

    /* GRIDS → SINGLE COLUMN */
    .contact-section,
    .quality-grid,
    .principles-grid,
    .stats-section {
        grid-template-columns: 1fr;
    }

    /* PRODUCT CARDS */
    .product-card img,
    .carousel-card img {
        height: 140px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    /* CAROUSEL */
    .carousel-track {
        padding: 10px 20px;
    }

    .carousel-btn {
        display: none;
    }

    /* FORMS */
    .contact-form form {
        padding: 20px;
    }

    /* FOOTER */
    .footer {
        padding: 24px 16px;
        font-size: 14px;
    }
}
