/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
    overflow-x: hidden;
}

/* ================= HEADER ================= */

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #0a3d2f;
}

/* LOGO */
.logo img {
    height: 70px;
    max-width: 180px;
}

/* MENU */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* ICONS */
.header-icons {
    display: flex;
    gap: 20px;
}

.icon {
    font-size: 20px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* SEARCH */
.search-bar {
    display: none;
    text-align: center;
    padding: 10px;
}

.search-bar input {
    width: 60%;
    padding: 10px;
}

/* ================= MOBILE HEADER ================= */

@media (max-width: 768px) {

    .main-header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    /* LOGO */
    .logo img {
        height: 60px;
        margin-bottom: 8px;
    }

    /* MENU - SINGLE ROW (OPTION A) */
    .nav-menu {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }

    .nav-menu a {
        font-size: 14px;
        white-space: nowrap;
    }

    /* ICONS */
    .header-icons {
        justify-content: center;
        gap: 25px;
    }

    .search-bar input {
        width: 90%;
    }
}

/* ================= CAROUSEL ================= */

.carousel {
    position: relative; /* 🔥 IMPORTANT */
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* MOBILE BANNER */
@media (max-width: 768px) {
    .carousel-slide img {
        height: auto;
        object-fit: contain;
        background: #f5f5f5;
    }
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
}

.dot.active {
    background: #0a3d2f;
}

/* ================= SECTIONS ================= */

.home-about,
.home-products,
.home-certifications,
.home-why-us,
.testimonials {
    padding: 25px;
    background: #ffffff;
}

.about-section {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
    line-height: 1.7;
}

.about-section h1,
.about-section h2 {
    margin-bottom: 15px;
}

.about-section p {
    margin-bottom: 15px;
}

/* TITLES */
.section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
    color: #0a3d2f;
}

/* ================= PRODUCTS ================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-box {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.product-box img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 10px;
}

.shop-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #0a3d2f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.shop-btn:hover {
    background: #145c47;
}

/* MOBILE PRODUCTS */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= TESTIMONIALS ================= */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.testimonial-box img {
    width: 100%;
    border-radius: 8px;
}

/* MOBILE */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= FOOTER ================= */

.main-footer {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background: #0a3d2f;
    color: white;
}

.main-footer div {
    flex: 1;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: center;
}

.footer-center a {
    display: block;
    color: white;
    margin: 5px 0;
    text-decoration: none;
}

.footer-left img {
    width: 120px;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
    .main-footer {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .main-footer div {
        margin-bottom: 20px;
    }
}

/* ================= PRODUCT PAGE ================= */

.product-page {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.product-image img {
    width: 400px;
}

.product-details {
    max-width: 500px;
}

.price {
    font-size: 22px;
    color: green;
}

/* MOBILE */
@media (max-width: 768px) {
    .product-page {
        flex-direction: column;
        text-align: center;
    }

    .product-image img {
        width: 100%;
    }
}
/* ================= Checkout PAGE ================= */
.checkout-page {
    display: flex;
    gap: 40px;
    padding: 40px;
}

/* LEFT FORM */
.checkout-form {
    width: 50%;
}

/* RIGHT SUMMARY */
.order-summary {
    width: 50%;
}

/* INPUT STYLE */
.checkout-form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* BUTTON */
.checkout-form button {
    margin-top: 15px;
    padding: 12px;
    background: #0a3d2f;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
    .checkout-page {
        flex-direction: column;
    }

    .checkout-form,
    .order-summary {
        width: 100%;
    }
}