/* =========================
   RESET & GLOBAL STYLES
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f6f6;
    color: #333;
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */
header {
    background: linear-gradient(135deg, #0b3d2e, #145a32);
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 28px;
}

/* =========================
   NAVIGATION
========================= */
nav {
    background-color: #145a32;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color: #1e8449;
}

/* DROPDOWN */
nav ul li ul {
    display: none;
    position: absolute;
    background-color: #145a32;
    top: 100%;
    left: 0;
    min-width: 200px;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li a {
    padding: 12px;
}

/* =========================
   HERO SECTION
========================= */
.hero {
    background: #e8f8f5;
    text-align: center;
    padding: 60px 20px;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

/* =========================
   PRODUCTS GRID
========================= */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px;
}

/* PRODUCT CARD */
.product-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* TEXT */
.product-card h3 {
    margin: 15px 0 10px;
}

.product-card p {
    font-size: 14px;
    color: #666;
}

/* BUTTON */
.product-card button {
    margin-top: 10px;
    background: #1e8449;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.product-card button:hover {
    background: #145a32;
}

/* =========================
   CATEGORY TITLE
========================= */
.section-title {
    text-align: center;
    margin: 30px 0 10px;
    font-size: 24px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #0b3d2e;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* =========================
   BUTTON (GENERAL)
========================= */
.btn {
    display: inline-block;
    background: #1e8449;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.btn:hover {
    background: #145a32;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li ul {
        position: static;
    }

    .hero h2 {
        font-size: 24px;
    }

    .products {
        padding: 20px;
    }
}