@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;600;700&display=swap');

:root {
    --primary: #2d5a27;
    /* Deep Forest Green */
    --primary-light: #4c8c4a;
    --accent: #f9a825;
    /* Energetic Amber/Yellow */
    --bg-light: #fdfdfd;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    direction: rtl;
    /* Force RTL */
    text-align: right;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #f0f7f0 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    /* Adjusted for RTL */
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(76, 140, 74, 0.05) 0%, transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
    background-color: var(--primary-light);
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* Main Content */
.content-section {
    padding: 6rem 0;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Article Styling */
.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #333;
}

.article-body p {
    margin-bottom: 2rem;
}

.article-body h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 3rem 0 1.5rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .grid-features {
        grid-template-columns: 1fr;
    }
}