﻿ 
:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bf0d;
    --dark-color: #1a1a1a;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-color);
    }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d1b 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
        background-size: cover;
        opacity: 0.1;
    }

    .hero h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        animation: fadeInUp 1s ease-out;
    }

    .hero p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        animation: fadeInUp 1.2s ease-out;
    }

.btn-custom {
    background: var(--secondary-color);
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    animation: fadeInUp 1.4s ease-out;
}

    .btn-custom:hover {
        background: #88aa0a;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(151, 191, 13, 0.3);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--secondary-color);
    }

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.product-icon {
    font-size: 4rem;
    color: var(--primary-color);
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-body {
    padding: 25px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.service-box {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
    height: 100%;
}

    .service-box:hover {
        border-color: var(--primary-color);
        box-shadow: 0 10px 30px rgba(44, 95, 45, 0.1);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white !important;
    font-size: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d1b 100%);
    color: white;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

    .contact-item i {
        font-size: 1.8rem;
        margin-right: 20px;
        color: var(--secondary-color);
        width: 40px;
    }

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #e9ecef;
    margin-bottom: 20px;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: none;
    }

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: var(--secondary-color);
        }

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: all 0.3s;
}

    .social-icons a:hover {
        background: var(--secondary-color);
        transform: translateY(-3px);
    }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

.product-tabs .nav-link {
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

    .product-tabs .nav-link i {
        font-size: 18px;
    }

    .product-tabs .nav-link.active {
        color: #d90000;
    }

        .product-tabs .nav-link.active::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #d90000;
            border-radius: 2px;
        }

/* product card (image style) */
.product-img-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}

    .product-img-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

    .product-img-card:hover {
        transform: translateY(-8px);
    }

.product-img-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(127, 191, 141, 0.8); /* green with transparency */
    text-align: center;
    padding: 10px 0;
    color: white;
    font-weight: bold;
    border-bottom-left-radius: 12px; /* match image rounding */
    border-bottom-right-radius: 12px;
}

    .product-img-overlay h5 {
        color: #fff;
        margin: 0;
        font-weight: 600;
    }
/* Default: normal desktop */
/*.logo-img {
    width: 10%;
    position: absolute;
    top: -2px;
}*/

/* Very large screens (e.g., > 1400px) */
/*@media (min-width: 1400px) {
    .logo-img {
        width: 7%;
    }
}*/

/* Mobile screens (<= 767px) */
/*@media (max-width: 767px) {
    .logo-img {
        width: 30%;
    }
}*/

 
