/* --- VARIABLES --- */
:root {
    --primary-green: #4ba856;
    --primary-dark: #282829;
    --bg-light: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --font-head: 'Pridi', serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(75, 168, 86, 0.3);
}

/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-head);
    box-shadow: 0 5px 15px rgba(75, 168, 86, 0.4);
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(75, 168, 86, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: #fff;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    transition: 0.3s;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 900;
}

.nav-logo-container img {
    max-height: 60px;
    width: auto;
    display: block;
}

.nav-menu a {
    margin-left: 30px;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    color: var(--primary-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* --- CANVAS HERO --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f8f8f8;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
}

.hero-content-inner {
    pointer-events: auto;
    display: inline-block;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    max-width: 900px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- ABOUT SECTION --- */
.about-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-frame {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--primary-green);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 1.2rem;
    border: 1px solid #ddd;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--primary-green);
    flex: 1;
    text-align: center;
    transition: 0.3s;
    max-width: 350px;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- INDUSTRIES TICKER --- */
.marquee-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 25px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 5px solid var(--primary-green);
    border-bottom: 5px solid var(--primary-green);
}

.marquee-track {
    display: inline-block;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 40px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee-item i {
    color: var(--primary-green);
    margin-right: 10px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- PRODUCTS --- */
.bg-pattern {
    background-color: #fbfbfb;
    background-image: linear-gradient(#e8e8e8 1px, transparent 1px), linear-gradient(90deg, #e8e8e8 1px, transparent 1px);
    background-size: 40px 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: 0.4s;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    border-color: var(--primary-green);
}

.prod-img {
    height: 220px;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-weight: 600;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prod-body {
    padding: 30px;
}

.prod-body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.prod-body ul {
    padding-left: 20px;
    list-style: none;
    color: var(--text-light);
    font-size: 0.95rem;
}

.prod-body li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.prod-body li::before {
    content: '•';
    color: var(--primary-green);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* --- CUSTOMERS SECTION --- */
.customer-strip {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.client-logos {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.client-logo-img {
    max-height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.client-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- CONTACT SECTION (UPDATED) --- */
.contact-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Centered Layout without Form */
    max-width: 900px;
    margin: 0 auto;
}

.contact-left {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px;
    position: relative;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMjgyODI5Ii8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiMzMzMiLz4KPC9zdmc+');
    width: 100%;
    /* Full width of the box */
}

/* Header Text area inside contact card */
.contact-text-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Grid layout for links (Address, Phone, Email 1, Email 2) */
.contact-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    /* Removed large bottom margin as gap handles it */
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    /* Ensure cards are same height */
}

.contact-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    transform: translateX(5px);
}

.contact-link i {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-top: 3px;
    transition: 0.3s;
}

.contact-link:hover i {
    color: #fff;
}

/* --- FOOTER --- */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 3px solid var(--primary-green);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-wrap {
        grid-template-columns: 1fr;
    }

    /* Stack the contact links on smaller screens */
    .contact-links-grid {
        grid-template-columns: 1fr;
    }

    .contact-left {
        padding: 40px 20px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 999;
        overflow: hidden;
        max-height: 0;
        transition: max-height 320ms ease;
    }

    .nav-menu.open {
        max-height: 480px;
    }

    .nav-menu a {
        margin: 0;
        padding: 12px 10px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .hamburger {
        display: block;
    }

    .hero-content-inner {
        padding: 30px 20px;
    }

    .hero-content-inner .btn {
        margin: 10px;
    }

    .img-frame {
        height: 300px;
        box-shadow: 10px 10px 0 var(--primary-green);
    }

    .nav-logo-container {
        font-size: 1.5em;
    }

    .nav-logo-container img {
        max-height: 40px;
    }

    .nav-logo-container span {
        display: none;
    }

    .client-logo-img {
        max-height: 40px;
    }
}