* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
}

/* HEADER */

.logo {
    font-size: 22px;
    font-weight: bold;
}

.search-box {
    width: 40%;
    padding: 8px;
}

nav a {
    margin-left: 15px;
    color: white;
    text-decoration: none;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: #e8f5e9;
}

.hero h1 {
    font-size: 36px;
}

.hero button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #0a3d2f;
    color: white;
    border: none;
    cursor: pointer;
}

/* PRODUCTS */

.product img {
    width: 100%;
}

.product button {
    margin-top: 10px;
    padding: 8px;
    background: #0a3d2f;
    color: white;
    border: none;
    cursor: pointer;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #0a3d2f;
    color: white;
}

/* MOBILE */
@media(max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    .search-box {
        width: 100%;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }
}




/* HEADER */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #0a3d2f;
}

/* LOGO BIGGER */
.logo img {
    height: 75px; /* increased size */
    width: auto;         /* maintain aspect ratio */
    max-width: 180px;    /* prevents oversize logos */
    object-fit: contain;
}

/* NAV MENU */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* RIGHT ICONS */
.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon {
    font-size: 20px;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

/* SEARCH BAR (HIDDEN INITIALLY) */
.search-bar {
    display: none;
}

.search-bar.active {
    display: block;
}

.search-bar input {
    width: 60%;
    padding: 10px;
    border: 1px solid #ccc;
}

/* MOBILE */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-bar input {
        width: 90%;
    }
}




.main-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    background: #0a3d2f;
    color: white;
    width: 100%;
}

.main-footer div {
    flex: 1;
    padding: 10px;
}

.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;      /* control size */
    height: auto;      /* keep proportion */
    max-width: 100%;
    object-fit: contain;
}





.about-section {
    padding: 40px;
    background: #ffffff;
    line-height: 1.7;
}

.about-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-section h2 {
    margin-top: 25px;
    color: #0a3d2f;
}

.about-section p {
    margin: 10px 0;
}

.about-section ul {
    margin: 15px 0;
    padding-left: 20px;
}





.policy-section {
    padding: 40px;
    background: #ffffff;
    line-height: 1.8;
    color: #333;
}

.policy-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0a3d2f;
}

.policy-section h2 {
    margin-top: 25px;
    font-size: 20px;
    color: #0a3d2f;
}

.policy-section p {
    margin: 10px 0;
    font-size: 15px;
}






.home-about,
.home-products,
.home-certifications,
.home-why-us {
    padding: 40px;
    background: #ffffff;
    margin-bottom: 20px;
}

.home-about h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0a3d2f;
}

.home-products h2,
.home-certifications h2,
.home-why-us h2 {
    margin-bottom: 15px;
    color: #0a3d2f;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.product-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.product-box h3 {
    margin-bottom: 10px;
}

.home-certifications ul,
.home-why-us ul {
    padding-left: 20px;
    line-height: 1.8;
}




.cta-line {
    text-align: center;
    font-weight: 600;
    background: #e8f5e9;
    padding: 10px;
    border-radius: 6px;
    margin: 20px auto;
    width: fit-content;
}




/* SECTION TITLE CENTER */
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #0a3d2f;
}

/* GRID - 3 PER ROW */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* PRODUCT BOX */
.product-box {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* PRODUCT IMAGE */
.product-box img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* BUTTON */
.shop-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #0a3d2f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

/* HOVER EFFECT */
.shop-btn:hover {
    background: #145c47;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}




/* SECTION */
.testimonials {
    padding: 40px;
    background: #f9f9f9;
}

/* HEADING */
.testimonial-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #0a3d2f;
}

/* GRID */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* BOX */
.testimonial-box {
    background: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* IMAGE */
.testimonial-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* MOBILE */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}




.carousel {
    position: relative;
    overflow: hidden;
}
.carousel {
    width: 100%;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s linear;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}


/* DOTS */
.dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    display: inline-block;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #0a3d2f;
}

/* MOBILE */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 250px;
    }
}





/* PRODUCT PAGE LAYOUT */

.product-page {
    display: flex;
    gap: 40px;
    padding: 40px;
    align-items: center;
}

/* LEFT IMAGE */
.product-image img {
    width: 400px;
    border-radius: 10px;
}

/* RIGHT DETAILS */
.product-details {
    max-width: 500px;
}

.product-details h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.price {
    font-size: 22px;
    color: green;
    font-weight: bold;
}

.product-details select {
    padding: 8px;
    margin-top: 10px;
    width: 200px;
}

.add-cart-btn {
    background: black;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-page {
        flex-direction: column;
        text-align: center;
    }

    .product-image img {
        width: 100%;
    }
}
.cart-page {
    padding: 40px;
}

.checkout-btn {
    background: black;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}
.checkout-page {
    display: flex;
    gap: 40px;
    padding: 40px;
}

/* FORM */
.checkout-form {
    width: 50%;
}

.checkout-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.checkout-form button {
    background: black;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
}

/* ORDER SUMMARY */
.order-summary button {
    padding: 5px 10px;
    margin: 2px;
    cursor: pointer;
}