body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f9f9f9;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1b5e20;
    color: white;
    padding: 10px 20px;
}
.header {
    position: sticky;
    top: 0;
    z-index: 999;
}

h2 {
    color: #1b5e20;
}
.logo-container {
    display: flex;
    align-items: center;
    flex: 1; 
    max-width: 80%;
}

.logo {
    width: 60px;
    margin-right: 10px;
}

/* ARROWS */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

/* DOTS */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    background: #ccc;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #ffeb3b; /* yellow */
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 550px;
    z-index: 1;
}

/* IMAGES */
.hero-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
    transition: opacity 1s ease-in-out;

    z-index: 1;
    pointer-events: none;
}

.hero-slider img.active {
    opacity: 1;
}

/* GRADIENT OVERLAY (MIDDLE LAYER) */
.hero-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.3)
    );

    z-index: 2;
    pointer-events: none;
}

/* TEXT (TOP LAYER) */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 5; /* ABOVE gradient */
    color: white;
    text-align: center;

    width: 80%;
}

.hero-overlay h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-overlay p {
    font-size: 1.3rem;
}
nav a {
    color: #ffeb3b;
    margin: 10px;
    text-decoration: none;
}
nav a:hover {
    color: white;
}

/* SECTIONS */
section {
    padding: 20px;
}

.mission-vision {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 20px;
}

.mission, .vision {
    flex: 1;
    background: #f1f8e9;
    padding: 20px;
    border-left: 5px solid #1b5e20;
    border-radius: 10px;
}

/* PRODUCT SLIDER */
.product-section {
    text-align: center;
}

.product-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 25px;
    padding: 20px;
}

/* CARD */
.product-card {
    min-width: 180px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* 3D HOVER EFFECT */
.product-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* IMAGE */
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-card p {
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .mission-vision {
        flex-direction: column;
    }
}
@media (max-width: 992px) {
    .product-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-slider {
        grid-template-columns: 1fr;
    }
}
/* works on phone */

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ffeb3b; /* yellow */
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
}
.btn:hover {
    background: #fdd835;
}
.footer {
    background: #000; /* black */
    color: white;
    padding: 30px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer a {
    color: #ffeb3b;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    color: #aaa;
}

.footer-bottom a {
    color: #ffeb3b; /* yellow */
    font-weight: bold;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

section ul {
    line-height: 1.6;
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    position: relative;
    z-index: 10000;
    font-size: 28px;
    cursor: pointer;
    color: #ffeb3b;

    margin-left: auto;
    flex-shrink: 0;
}

/* MOBILE NAV */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%; /* 🔥 attach directly below header */
        right: 0;
        left: 0;   /* 🔥 makes it full width */

        background: #1b5e20;

        display: none;
        flex-direction: column;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    nav.show {
        display: flex;
    }
    .logo-container h1 {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
nav {
    z-index: 1001;
}
.logo-container h1 {
        font-size: 16px;
    }
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.team-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #1b5e20;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card h3 {
    color: #1b5e20;
    margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/*css for product page*/
.product-display {
    text-align: center;
    padding: 40px 20px;
}

.product-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT IMAGE */
.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* RIGHT TEXT */
.product-info {
    flex: 1;
    text-align: left;
}

.product-info h2 {
    color: #1b5e20;
}

/* NAV BUTTONS */
.product-nav {
    margin: 20px;
}

.product-nav button {
    padding: 10px 15px;
    margin: 5px;
    font-size: 20px;
    cursor: pointer;
    background: #1b5e20;
    color: white;
    border: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        text-align: center;
    }

    .product-info {
        text-align: center;
    }
}

/* contact page*/
.contact-section {
    padding: 40px 20px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* FOCUS EFFECT */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid #1b5e20;
}

/* BUTTON */
.contact-form button {
    cursor: pointer;
}

#order-section {
    text-align: left;
    background: #f1f8e9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

#order-section select,
#order-section input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#order-section h3 {
    margin-top: 15px;
    color: #1b5e20;
}
.product-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.product-row select,
.product-row input {
    flex: 1;
}