 /* =========================================================
   RESET & GLOBAL
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}


/* =========================================================
   HEADER & NAVIGATION
========================================================= */

.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-container {
    min-height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.plo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    margin-right: 15px;
    flex-shrink: 0;
}

.pongu {
    font-size: clamp(0.95rem, 1.5vw, 1.5rem);
    color: #1b5e20;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Times New Roman", Times, serif;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(15px, 2.2vw, 25px);
}

.nav-links a {
    font-weight: 600;
    color: #444;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #2e7d32;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQBqYSWlBxZeeo0sRuQ41iYaF5MSEwxd0ZRD6r-NSdzzcItF0xEkPER7i8&s=10")
        center / cover no-repeat;

    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.btn-primary {
    background-color: #2e7d32;
    color: #ffffff;
    width: 100%;
}

.btn-primary:hover {
    background-color: #1b5e20;
}

.btn-hero {
    background-color: #2e7d32;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 14px 30px;
    width: auto;
}

.btn-hero:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding: clamp(45px, 7vw, 60px) 0;
    background: #ffffff;
    text-align: center;
}

.about-section h2 {
    color: #1b5e20;
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 15px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}


/* =========================================================
   CATALOG
========================================================= */

.catalog-section {
    padding: clamp(45px, 7vw, 60px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    color: #1b5e20;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.product-grid {
    display: grid;

    /* Automatically adapts to available screen width */
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 280px), 1fr)
    );

    gap: 25px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #eee;
}

.product-card-body {
    padding: 20px;

    display: flex;
    flex-direction: column;

    flex-grow: 1;
}

.product-card-body h3 {
    font-size: 1.15rem;
    color: #1b5e20;
    margin-bottom: 10px;
}

.product-card-body p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}


/* =========================================================
   FEATURES
========================================================= */

.features-section {
    background: #e8f5e9;
    padding: clamp(45px, 7vw, 60px) 0;
    text-align: center;
}

.features-section h2 {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    color: #1b5e20;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 250px), 1fr)
    );

    gap: 30px;
    margin-top: 30px;
}

.feature-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-box h4 {
    color: #1b5e20;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.9rem;
    color: #666;
}


/* =========================================================
   CERTIFICATION SECTION
========================================================= */

.hjuy {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px 20px 10px;
}

.ttrtrtrt {
    font-weight: bold;
    font-size: 17px;
}

.surtification {
    width: min(100% - 40px, 1100px);
    margin: 10px auto 40px;

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(130px, 1fr)
    );

    gap: 25px;

    align-items: start;
    justify-items: center;

    height: auto;
}

.list {
    width: 100%;
    min-height: 140px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    font-weight: bold;
}

.photo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 14px;
    margin-bottom: 8px;
}

.rrr {
    font-size: 0.85rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: clamp(45px, 7vw, 60px) 0;
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.contact-info,
.contact-form {
    min-width: 0;
}

.contact-info h3,
.contact-form h3 {
    color: #1b5e20;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #555;
    overflow-wrap: anywhere;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 44px;

    padding: 10px;

    font-size: 0.95rem;

    border: 1px solid #ccc;
    border-radius: 4px;

    font-family: inherit;

    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2e7d32;
    outline: 2px solid rgba(46, 125, 50, 0.15);
}


/* =========================================================
   MODAL
========================================================= */

.modal-overlay {
    display: none;

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6);

    justify-content: center;
    align-items: center;

    padding: 20px;

    z-index: 1000;

    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;

    padding: 30px;

    border-radius: 8px;

    width: min(500px, 100%);

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    position: relative;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;

    width: 40px;
    height: 40px;

    font-size: 24px;

    cursor: pointer;

    border: none;
    background: none;

    color: #888;
}

.close-btn:hover {
    color: #000;
}

.modal-card h3 {
    color: #2e7d32;
    margin-bottom: 20px;

    border-bottom: 2px solid #e8f5e9;

    padding-bottom: 10px;

    padding-right: 35px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #1b5e20;
    color: #ffffff;
    text-align: center;

    padding: 25px 20px;

    font-size: 0.9rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .header-container {
        flex-direction: column;
        justify-content: center;
        padding: 12px 20px;
        gap: 10px;
    }

    .logo {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 24px, 1200px);
    }

    .header-container {
        min-height: auto;
        padding: 10px 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .plo {
        width: 58px;
        height: 58px;
        margin-right: 10px;
    }

    .pongu {
        font-size: 0.82rem;
        letter-spacing: 0.5px;
    }

    .nav-links {
        width: 100%;
        gap: 8px 14px;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .hero {
        min-height: 430px;
        padding: 60px 15px;
    }

    .hero h2 {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .hero p {
        font-size: 0.98rem;
    }

    .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card img {
        height: 240px;
    }

    .product-card-body {
        padding: 17px;
    }

    .surtification {
        width: min(100% - 24px, 500px);
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
    }

    .photo {
        width: 75px;
        height: 75px;
    }

    .rrr {
        font-size: 0.78rem;
    }

    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }

    .modal-card {
        padding: 22px 18px;
        max-height: calc(100vh - 40px);
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .pongu {
        font-size: 0.72rem;
    }

    .plo {
        width: 50px;
        height: 50px;
    }

    .nav-links {
        gap: 7px 10px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .hero {
        min-height: 400px;
    }

    .product-card img {
        height: 210px;
    }

    .surtification {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   ACCESSIBILITY / TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .product-card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .btn:hover {
        transform: none;
    }
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   YOUR EXISTING UNUSED CLASS
========================================================= */

.oplicod {
    height: 50px;
    width: 50px;
    margin-top: 10px;
}