/* General Styles */
:root {
    --primary-color: #1e8449;
    /* Muted Green */
    --primary-dark: #196f3d;
    --secondary-color: #e6d5c3;
    /* Kraft Brown */
    --text-color: #555;
    --heading-color: #333;
    --light-bg: #f9fbfd;
    --white: #ffffff;
    --font-main: 'Almarai', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* RTL/LTR Support */
html[dir="rtl"] .logo i {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="ltr"] .logo i {
    margin-right: 8px;
    margin-left: 0;
}

html[dir="ltr"] .language-switcher {
    margin-right: 20px;
    margin-left: 0;
}

html[dir="ltr"] .contact-list i {
    margin-right: 15px;
    margin-left: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 132, 73, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp-lg {
    background-color: #25D366;
    color: var(--white);
    font-size: 1.2rem;
    width: 100%;
    max-width: 300px;
}

.btn-whatsapp-lg:hover {
    background-color: #128C7E;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
}

.logo i {
    margin-left: 8px;
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.language-switcher {
    margin-left: 20px;
}

.lang-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.lang-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.lang-btn i {
    font-size: 1rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--heading-color);
}

/* Hero Section */
.hero {
    height: 85vh;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 100px;
    /* For shape divider */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #888;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.about-text p {
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

.img-placeholder {
    width: 100%;
    height: 350px;
    background-color: #edf2f7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary-color);
    box-shadow: 20px 20px 0 var(--secondary-color);
    overflow: hidden;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Eco-Solutions Section */
.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.eco-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.eco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.eco-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 132, 73, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.eco-card h3 {
    margin-bottom: 15px;
    color: var(--heading-color);
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.industry-item:hover {
    border-color: var(--primary-color);
    background-color: #f0fff4;
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.industry-item h4 {
    color: var(--heading-color);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-img {
    height: 200px;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #cbd5e0;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    text-align: center;
}

.card-body h3 {
    margin-bottom: 10px;
    color: var(--heading-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
    padding-bottom: 50px;
}

.contact-wrapper {
    background-color: #1e8449;
    border-radius: 20px;
    padding: 60px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(30, 132, 73, 0.2);
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-list {
    margin-top: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-list i {
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-list a {
    color: var(--white);
    text-decoration: underline;
}

.contact-action {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    color: #888;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--white);
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .language-switcher {
        margin-left: 10px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .contact-list i {
        margin-left: 10px;
        margin-right: 0;
    }

    .img-placeholder {
        box-shadow: none;
        margin-bottom: 30px;
    }
}