﻿/* ==========================================================================
   Bio Farm (بايو فارم) - شركة رائدة في الاقتصاد الدائري والزراعة العضوية في مصر
   الشعار اللفظي: زراعة عضوية... لحياة صحية
   Pure Vanilla CSS (100% متوافق مع استضافة Netlify المجانية)
   ========================================================================== */

:root {
    /* 1. الألوان الرسمية للعلامة التجارية */
    --primary-dark: #1B5E20;       /* أخضر غابي داكن */
    --primary: #2E7D32;            /* أخضر زراعي حيوي */
    --primary-light: #4CAF50;      /* أخضر ورقي نضر */
    --primary-soft: #E8F5E9;       /* أخضر فاتح ناعم */

    --earth-dark: #4E342E;         /* بني ترابي داكن */
    --earth: #5D4037;              /* بني التربة والكمبوست */
    --earth-light: #8D6E63;        /* بني ترابي معتدل */
    --earth-soft: #EFEBE9;         /* بني ترابي فاتح ناعم */

    --bg-creamy: #F7F5EE;          /* الخلفية الرئيسية: كريمي دافئ مريح للعين */
    --bg-white: #FFFFFF;           /* كروت بيضاء نقية */
    --border-soft: #E6E2D5;        /* حدود ناعمة للكروت */
    --border-light: #F0EDE4;

    --text-heading: #1B381E;       /* عناوين بلون أخضر غابي شديد الدكنة */
    --text-body: #2C3E2D;          /* نصوص قراءة مريحة وعالية التباين */
    --text-muted: #5A6D5C;         /* نصوص فرعية وتوضيحية */
    --text-light: #849686;

    --whatsapp: #25D366;           /* لون واتساب المعتمد */
    --whatsapp-dark: #128C7E;

    /* الخطوط */
    --font-main: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;

    /* الظلال والانحناءات */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 15px rgba(27, 94, 32, 0.05);
    --shadow-card: 0 8px 24px rgba(46, 125, 50, 0.08);
    --shadow-hover: 0 14px 34px rgba(46, 125, 50, 0.14);

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   إعادة الضبط والقواعد الأساسية (Base & Reset)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    direction: rtl;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-creamy);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* نصوص التمييز */
.text-forest { color: var(--primary-dark) !important; }
.text-earth { color: var(--earth) !important; }
.text-whatsapp { color: var(--whatsapp) !important; }
.text-green-bold { color: var(--primary); font-weight: 800; }

/* ==========================================================================
   العناوين وفواصل الأقسام (Section Titles)
   ========================================================================== */
.section-title-wrap {
    margin-bottom: 3.5rem;
}

.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid rgba(46, 125, 50, 0.2);
    margin-bottom: 0.85rem;
}

.sub-badge.badge-white {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.section-main-title {
    font-size: 2.35rem;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-inline: auto;
    line-height: 1.7;
}

.title-separator {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--earth) 100%);
    border-radius: 4px;
    margin: 1.1rem auto 0;
}

/* ==========================================================================
   الأزرار (Buttons)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(27, 94, 32, 0.4);
    color: #FFFFFF;
}

.btn-whatsapp-hero {
    background-color: var(--whatsapp);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-hero:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    color: #FFFFFF;
}

.btn-whatsapp-header {
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 800;
    padding: 0.6rem 1.3rem;
    font-size: 0.92rem;
    border: 1.5px solid rgba(46, 125, 50, 0.25);
}

.btn-whatsapp-header:hover {
    background-color: var(--whatsapp);
    color: #FFFFFF;
    border-color: var(--whatsapp);
}

.btn-whatsapp-card {
    background-color: #E8F8EE;
    color: #128C7E;
    font-weight: 700;
    border: 1px solid #A7E3BC;
}

.btn-whatsapp-card:hover {
    background-color: var(--whatsapp);
    color: #FFFFFF;
    border-color: var(--whatsapp);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    color: #FFFFFF;
}

.btn-lg {
    padding: 0.95rem 2.2rem;
    font-size: 1.08rem;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   الشريط العلوي (Top Announcement Bar)
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, #154519 100%);
    color: #FFFFFF;
    font-size: 0.88rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.pulse-leaf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--primary-light);
    color: #FFFFFF;
    border-radius: 50%;
    margin-inline-end: 0.5rem;
    font-size: 0.8rem;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    white-space: nowrap;
}

.top-whatsapp {
    color: #A7F3D0;
    font-weight: 700;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-whatsapp:hover {
    color: #FFFFFF;
}

.v-divider {
    color: rgba(255, 255, 255, 0.3);
}

.top-phone:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   الهيدر وشريط التنقل والشعار (Navbar & Logo)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1.5px solid var(--border-soft);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-card);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

/* تصميم الشعار المعتمد لشركة Bio Farm */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-graphic-wrapper {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biofarm-svg-logo {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.brand-logo:hover .biofarm-svg-logo {
    transform: rotate(12deg) scale(1.06);
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.logo-name-en {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.logo-name-ar {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--earth);
    line-height: 1.1;
}

.logo-tagline-text {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* القائمة */
.nav-list {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-link {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-body);
    padding: 0.4rem 0.2rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
   1. الهيدر (Hero Section)
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #F7F5EE 0%, #EFEBE0 50%, #E7E3D2 100%);
    padding: 4.5rem 0 6rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
}

.hero-pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(46, 125, 50, 0.08) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--bg-white);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-soft);
    margin-bottom: 1.4rem;
}

.hero-tag-badge .badge-icon {
    color: var(--primary);
    font-size: 1.05rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.22;
    margin-bottom: 1.4rem;
}

.highlight-green {
    color: var(--primary-dark);
    position: relative;
}

.highlight-earth {
    color: var(--earth);
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 2.2rem;
    max-width: 620px;
}

.hero-subtitle strong {
    color: var(--primary-dark);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(46, 125, 50, 0.15);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.trust-badge-item i {
    color: var(--earth);
    font-size: 1.1rem;
}

/* Hero Visual Card */
.hero-visual-side {
    position: relative;
}

.hero-card-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 8px solid var(--bg-white);
    background: linear-gradient(135deg, #E8F5E9 0%, #EFEBE9 100%);
}

.hero-main-photo {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-card-frame:hover .hero-main-photo {
    transform: scale(1.03);
}

.floating-stat-box {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.9rem 1.3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid var(--border-soft);
    animation: floatVertical 4s ease-in-out infinite;
}

.floating-stat-box strong {
    display: block;
    font-size: 0.96rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.floating-stat-box small {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon-wrap.bg-earth {
    background-color: var(--earth-soft);
    color: var(--earth);
}

.box-top {
    top: 25px;
    inset-inline-start: -25px;
}

.box-bottom {
    bottom: 30px;
    inset-inline-end: -25px;
    animation-delay: 2s;
}

@keyframes floatVertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ==========================================================================
   شريط المؤشرات الحية (Metrics Bar)
   ========================================================================== */
.metrics-bar {
    position: relative;
    z-index: 5;
    margin-top: -3.5rem;
    margin-bottom: 4rem;
}

.metrics-grid {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 2.2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border: 1px solid var(--border-soft);
}

.metric-card {
    text-align: center;
    position: relative;
}

.metric-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    inset-inline-end: 0;
    height: 70%;
    width: 1px;
    background-color: var(--border-soft);
}

.metric-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.1;
}

.metric-unit {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--earth);
    margin-inline-start: 0.2rem;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 700;
    margin-top: 0.4rem;
}

/* ==========================================================================
   2. من نحن (About Us)
   ========================================================================== */
.about-section {
    padding: 5rem 0;
}

.about-main-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}

.about-lead-box {
    background: linear-gradient(135deg, var(--bg-creamy) 0%, #F1EFE6 100%);
    border-radius: var(--radius-md);
    padding: 2rem 2.5rem;
    border-inline-start: 6px solid var(--primary);
    margin-bottom: 2.8rem;
}

.about-paragraph {
    font-size: 1.18rem;
    line-height: 1.85;
    color: var(--text-body);
}

.about-paragraph strong {
    color: var(--primary-dark);
}

/* نقاط القوة (3 بطاقات سريعة) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background-color: var(--bg-white);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.pillar-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
}

.pillar-icon-box.bg-forest {
    background-color: var(--primary-soft);
    color: var(--primary-dark);
}

.pillar-icon-box.bg-earth {
    background-color: var(--earth-soft);
    color: var(--earth);
}

.pillar-icon-box.bg-leaf {
    background-color: #E0F2F1;
    color: #00796B;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.pillar-desc {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pillar-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--earth);
    background-color: var(--bg-creamy);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-soft);
    align-self: flex-start;
}

/* ==========================================================================
   3. نموذج الاقتصاد الدائري (Circular Economy)
   ========================================================================== */
.circular-section {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, #1B5E20 0%, #17421B 100%);
    color: #FFFFFF;
}

.circular-section .section-main-title {
    color: #FFFFFF;
}

.circular-section .section-desc {
    color: #C8E6C9;
}

.circular-section .sub-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: #A5D6A7;
    border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   حلقة الاقتصاد الدائري التفاعلية (Circular Recycling Wheel System)
   ========================================================================== */
.recycle-wheel-system {
    position: relative;
    max-width: 1040px;
    margin: 3.5rem auto 2.5rem;
}

/* المركز الدائري التفاعلي */
.recycle-center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.core-circle {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2E7D32 0%, #1B5E20 70%, #0F3813 100%);
    border: 4px solid #81C784;
    box-shadow: 0 0 35px rgba(76, 175, 80, 0.45), inset 0 0 25px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    user-select: none;
    transition: var(--transition);
}

.core-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(129, 199, 132, 0.6), inset 0 0 25px rgba(0, 0, 0, 0.3);
}

.core-spin-icon {
    font-size: 2.8rem;
    color: #A5D6A7;
    margin-bottom: 0.35rem;
    animation: rotateRecycle 10s linear infinite;
}

@keyframes rotateRecycle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.core-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
}

.core-sub {
    font-size: 0.76rem;
    color: #C8E6C9;
    font-weight: 700;
    margin: 0.2rem 0 0.35rem;
}

.core-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.18);
    color: #E8F5E9;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* هالات النبض الدائرية */
.core-pulse-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px dashed rgba(129, 199, 132, 0.4);
    animation: pulseRingAnim 4s linear infinite;
    pointer-events: none;
}

.core-pulse-ring.ring-2 {
    inset: -28px;
    border-color: rgba(165, 214, 167, 0.2);
    animation-duration: 6s;
}

@keyframes pulseRingAnim {
    0% { transform: rotate(0deg) scale(0.98); opacity: 0.7; }
    50% { transform: rotate(180deg) scale(1.02); opacity: 0.3; }
    100% { transform: rotate(360deg) scale(0.98); opacity: 0.7; }
}

/* شبكة مواضع المراحل الأربعة في دائرة الريسيكل */
.recycle-nodes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8rem;
    row-gap: 3.5rem;
    position: relative;
    z-index: 5;
}

.recycle-card {
    background-color: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(129, 199, 132, 0.28);
    border-radius: 22px;
    padding: 2.2rem 2rem;
    transition: var(--transition);
    position: relative;
}

.recycle-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #81C784;
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.node-badge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.node-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--earth-light) 0%, var(--earth) 100%);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.node-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #A5D6A7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.node-direction-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(129, 199, 132, 0.2);
    color: #81C784;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(129, 199, 132, 0.3);
}

.node-direction-arrow.arrow-loop {
    color: #FDE047;
    background-color: rgba(253, 224, 71, 0.2);
    border-color: rgba(253, 224, 71, 0.4);
    animation: rotateLoop 4s linear infinite;
}

@keyframes rotateLoop {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.node-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
}

.node-desc {
    font-size: 0.95rem;
    color: #E8F5E9;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.node-footer-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: #A5D6A7;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(165, 214, 167, 0.25);
}

/* شريط إغلاق الحلقة */
.closed-loop-ribbon {
    margin-top: 3.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1.5px dashed #81C784;
    border-radius: var(--radius-full);
    padding: 0.9rem 2rem;
    text-align: center;
    color: #FFFFFF;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.closed-loop-ribbon i {
    font-size: 1.4rem;
    color: #FDE047;
}

@media (max-width: 900px) {
    .recycle-center-core {
        position: static;
        transform: none;
        margin: 0 auto 2.5rem;
        display: flex;
        justify-content: center;
    }
    .recycle-nodes-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 1.5rem;
    }
    .closed-loop-ribbon {
        border-radius: var(--radius-md);
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   4. منتجاتنا وحلولنا (Products & Solutions)
   ========================================================================== */
.products-section {
    padding: 5.5rem 0;
}

.products-detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.product-feature-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.card-img-holder {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F5E9 0%, #D7CCC8 100%);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-feature-card:hover .product-card-img {
    transform: scale(1.06);
}

.product-category-tag {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 14px;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tag-earth { background-color: var(--earth); color: #FFFFFF; }
.tag-protein { background-color: var(--primary-dark); color: #FFFFFF; }
.tag-feed { background-color: #D97706; color: #FFFFFF; }
.tag-forest { background-color: #047857; color: #FFFFFF; }

.card-content-holder {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prod-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.35;
    margin-bottom: 0.85rem;
}

.prod-en-sub {
    font-size: 0.82rem;
    color: var(--earth);
    font-weight: 700;
    display: block;
}

.prod-card-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.specs-mini-list {
    background-color: var(--bg-creamy);
    border-radius: var(--radius-sm);
    padding: 1rem;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.spec-mini-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--text-body);
    line-height: 1.45;
}

.spec-mini-item i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.card-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.availability-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.availability-badge i {
    font-size: 0.55rem;
    color: var(--primary-light);
}

/* ==========================================================================
   5. المواصفات القياسية والرقابة (Specifications)
   ========================================================================== */
.specs-section {
    padding: 5.5rem 0;
    background-color: #EFEBE0;
}

.specs-grid-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: start;
}

.specs-table-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
    padding: 2.2rem;
}

.table-headline {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
}

.specs-table th,
.specs-table td {
    padding: 1.05rem 1.25rem;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.92rem;
}

.specs-table thead th {
    background-color: var(--bg-creamy);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.96rem;
}

.highlight-cell {
    font-weight: 800;
    color: var(--earth-dark);
    background-color: #FBF9F3;
    white-space: nowrap;
}

.qa-side-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.qa-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.qa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary);
}

.qa-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}

.qa-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.45rem;
}

.qa-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   6. حاسبة الكمبوست (Interactive Calculator)
   ========================================================================== */
.calculator-section {
    padding: 5rem 0;
}

.calc-wrapper {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1F4E24 100%);
    border-radius: 26px;
    padding: 3.5rem;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    box-shadow: var(--shadow-hover);
}

.calc-intro h2 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 1rem 0;
}

.calc-intro p {
    color: #D1FAE5;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.calc-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.4rem;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calc-tip i {
    color: #FDE047;
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.calc-form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    color: var(--text-body);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: start;
}

.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background-color: var(--bg-creamy);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3.5px rgba(46, 125, 50, 0.15);
}

.calc-results-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background-color: var(--bg-creamy);
    border-radius: var(--radius-md);
    border: 1.5px dashed var(--primary);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border-soft);
}

.res-num {
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: 900;
}

/* ==========================================================================
   7. تواصل معنا (Contact Section)
   ========================================================================== */
.contact-section {
    padding: 5.5rem 0;
}

.contact-grid-main {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-feature-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.6rem 1.8rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-subtle);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.contact-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary);
}

.contact-feature-card.highlight-whatsapp {
    border-color: var(--whatsapp);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-icon-box.bg-whatsapp {
    background-color: #E8F8EE;
    color: #25D366;
}

.contact-icon-box.bg-forest {
    background-color: var(--primary-soft);
    color: var(--primary-dark);
}

.contact-icon-box.bg-earth {
    background-color: var(--earth-soft);
    color: var(--earth);
}

.contact-feature-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.2rem;
}

.contact-lead-num {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-dark);
    direction: ltr;
    display: inline-block;
}

.contact-subtext {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Contact Form Column */
.form-wrapper-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}

.form-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.form-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* ==========================================================================
   الزر العائم للواتساب (Floating WhatsApp Button)
   ========================================================================== */
.floating-wa-btn {
    position: fixed;
    bottom: 25px;
    inset-inline-start: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: var(--transition);
}

.floating-wa-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #FFFFFF;
}

.floating-wa-tooltip {
    position: absolute;
    inset-inline-start: 72px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(27, 94, 32, 0.95);
    color: #FFFFFF;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.floating-wa-btn:hover .floating-wa-tooltip {
    opacity: 1;
}

/* ==========================================================================
   صندوق التنبيهات (Toast Notifications)
   ========================================================================== */
.toast-wrapper {
    position: fixed;
    bottom: 25px;
    inset-inline-end: 25px;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bio-toast {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background-color: var(--bg-white);
    color: var(--text-body);
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    border-inline-start: 5px solid var(--primary);
    min-width: 320px;
    max-width: 440px;
    font-size: 0.92rem;
    font-weight: 700;
    animation: toastSlide 0.35s ease forwards;
}

@keyframes toastSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   الفوتر (Main Footer)
   ========================================================================== */
.company-footer {
    background-color: #123315;
    color: #E8F5E9;
    padding-top: 5rem;
    border-top: 4px solid var(--primary);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-block {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.footer-brand-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
}

.footer-tagline {
    font-size: 0.82rem;
    color: #A5D6A7;
    font-weight: 700;
}

.footer-about-p {
    font-size: 0.92rem;
    color: #B2D8B5;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.footer-badges-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-badges-strip span {
    background-color: rgba(255, 255, 255, 0.08);
    color: #A5D6A7;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.footer-col-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-list a {
    color: #C8E6C9;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: #FFFFFF;
    transform: translateX(-5px);
}

.footer-links-list a i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.footer-direct-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.92rem;
    color: #C8E6C9;
}

.footer-direct-contact p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-direct-contact a {
    color: #FFFFFF;
    font-weight: 700;
}

.footer-direct-contact a:hover {
    color: var(--whatsapp);
}

.footer-bottom-bar {
    padding: 1.75rem 0;
    font-size: 0.88rem;
    color: #A5D6A7;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links span {
    font-size: 0.82rem;
    color: #81C784;
}

/* ==========================================================================
   التجاوب مع الشاشات والموبايل (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-subtitle {
        margin-inline: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust-row {
        justify-content: center;
    }

    .hero-visual-side {
        max-width: 540px;
        margin-inline: auto;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .products-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .circular-flow-wrapper {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .specs-grid-layout {
        grid-template-columns: 1fr;
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-grid-main {
        grid-template-columns: 1fr;
    }

    .footer-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .nav-actions .btn-whatsapp-header {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        background-color: var(--bg-white);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        padding: 5rem 2rem 2rem;
        z-index: 1050;
        /* مخفية خارج الشاشة من جهة اليمين (لا تسبب تمرير أفقي في RTL) */
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.35s ease, visibility 0.35s;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-main-title {
        font-size: 1.85rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .metric-card:nth-child(2)::after {
        display: none;
    }

    .products-detailed-grid {
        grid-template-columns: 1fr;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .metric-card:not(:last-child)::after {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .about-main-card {
        padding: 1.5rem;
    }

    .form-wrapper-box {
        padding: 1.5rem;
    }

    .calc-wrapper {
        padding: 2rem 1.25rem;
    }
}

/* ==========================================================================
   ������� ������ ������ ������� �������������� ��������
   ========================================================================== */
.official-logo-img {
    height: 58px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.brand-logo:hover .official-logo-img {
    transform: scale(1.04);
}

.footer-logo-img {
    height: 65px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    background-color: #FFFFFF;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.infographic-feature-box {
    margin-top: 4rem;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
}

.infographic-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
}

.official-infographic-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    border: 4px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.official-infographic-img:hover {
    transform: scale(1.02);
}

.infographic-points-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.infographic-points-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: #E8F5E9;
    line-height: 1.6;
}

.infographic-points-list li i {
    font-size: 1.3rem;
    color: #A5D6A7;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.infographic-points-list li strong {
    display: block;
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

/* ���� ������� �������� �������� */
.knowledge-section {
    padding: 5.5rem 0;
    background-color: #F1EFE6;
}

.knowledge-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.knowledge-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border-soft);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.knowledge-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.knowledge-img-wrap {
    background-color: #F7F5EE;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1.5px solid var(--border-soft);
}

.knowledge-poster-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.knowledge-body {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-pill {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 0.85rem;
}

.bg-earth-pill { background-color: var(--earth-soft); color: var(--earth-dark); }
.bg-forest-pill { background-color: var(--primary-soft); color: var(--primary-dark); }

.knowledge-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.knowledge-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.knowledge-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.knowledge-checklist li {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.knowledge-checklist li i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.knowledge-solution {
    background-color: var(--bg-creamy);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
    line-height: 1.55;
    margin-top: auto;
}

.knowledge-solution i {
    font-size: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.text-red-bold { color: #D32F2F; font-size: 1.05rem; }

@media (max-width: 992px) {
    .infographic-grid {
        grid-template-columns: 1fr;
    }
    .knowledge-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   دورة الاقتصاد الدائري في Bio Farm (تصميم تفاعلي مترابط باتجاه عقارب الساعة)
   ========================================================================== */
.circular-section {
    background-color: #F7F5EE;
    position: relative;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
}

/* شعار وهوية بايو فارم في زاوية القسم */
.circular-corner-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 auto 1.5rem 0;
    padding: 0.55rem 1.25rem;
    background: #FFFFFF;
    border: 1.5px solid rgba(46, 125, 50, 0.25);
    border-radius: var(--radius-full);
    width: fit-content;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.08);
}

.circular-brand-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
}

.circular-brand-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.circular-brand-text .brand-en {
    font-size: 1.15rem;
    font-weight: 900;
    color: #1B5E20;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.circular-brand-text .brand-tag {
    font-size: 0.78rem;
    color: #5D4037;
    font-weight: 700;
}

/* ألوان الأيقونات المعبرة */
.text-amber { color: #E65100; }
.text-gold { color: #F59E0B; }
.text-blue { color: #0288D1; }
.text-green { color: #2E7D32; }
.text-red { color: #D32F2F; }
.text-facebook { color: #1877F2 !important; }
.bg-facebook { background-color: #E7F3FF !important; color: #1877F2 !important; }

/* أزرار فيسبوك وشبكات التواصل */
.top-facebook { color: #90CAF9; font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--transition); }
.top-facebook:hover { color: #FFFFFF; transform: translateY(-1px); }
.contact-feature-card.highlight-facebook { border-color: rgba(24, 119, 242, 0.3); background: linear-gradient(135deg, #FFFFFF 0%, #F5F9FF 100%); }
.contact-feature-card.highlight-facebook:hover { border-color: #1877F2; box-shadow: 0 12px 28px rgba(24, 119, 242, 0.16); transform: translateY(-4px); }
.footer-social-links { display: flex; align-items: center; gap: 0.65rem; margin-top: 1.25rem; }
.footer-social-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); color: #FFFFFF; font-size: 1.05rem; transition: var(--transition); border: 1px solid rgba(255, 255, 255, 0.18); text-decoration: none; }
.footer-social-btn:hover { transform: translateY(-3px); }
.footer-social-btn.fb:hover { background-color: #1877F2; border-color: #1877F2; color: #FFFFFF; box-shadow: 0 6px 15px rgba(24, 119, 242, 0.4); }
.footer-social-btn.wa:hover { background-color: #25D366; border-color: #25D366; color: #FFFFFF; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); }
.footer-social-btn.mail:hover { background-color: var(--earth); border-color: var(--earth); color: #FFFFFF; box-shadow: 0 6px 15px rgba(93, 64, 55, 0.4); }
.footer-social-btn.phone:hover { background-color: var(--primary-light); border-color: var(--primary-light); color: #FFFFFF; box-shadow: 0 6px 15px rgba(46, 125, 50, 0.4); }
.footer-mini-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #90CAF9; font-weight: 600; font-size: 0.88rem; padding: 0.4rem 0.95rem; background: rgba(24, 119, 242, 0.15); border: 1px solid rgba(24, 119, 242, 0.35); border-radius: var(--radius-full); transition: var(--transition); text-decoration: none; }
.footer-mini-link:hover { background: #1877F2; color: #FFFFFF; border-color: #1877F2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3); }

/* ==========================================================================
   تحسينات عرض الموبايل (Mobile Fixes)
   ========================================================================== */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* خلفية القائمة تحت الهيدر عشان ما تغطيش القائمة نفسها */
    .mobile-nav-backdrop {
        z-index: 999;
    }

    /* منع عناصر الجريد من التمدد أعرض من الشاشة */
    .specs-grid-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .specs-grid-layout > *,
    [class*="grid"] > * {
        min-width: 0;
    }

    /* جدول المواصفات: تمرير أفقي داخلي بدل توسيع الصفحة */
    .specs-table-wrapper {
        padding: 1.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.75rem 0.6rem;
        font-size: 0.9rem;
    }

    /* القيم زي "50% – 60%" تفضل في سطر واحد */
    .highlight-cell {
        white-space: nowrap;
        font-size: 0.85rem;
        padding-inline: 0.4rem;
    }

    /* الأزرار الطويلة تنكسر لسطرين بدل ما تخرج برة الشاشة */
    .btn {
        white-space: normal;
        text-align: center;
        max-width: 100%;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }
}

/* ==========================================================================
   تحسينات تصميم الموبايل والتابلت (بدون حذف أي محتوى)
   ========================================================================== */

/* عناصر خاصة بالموبايل: مخفية على الكمبيوتر */
.header-call-btn,
.mobile-nav-contact,
.swipe-hint {
    display: none;
}

/* الكروت العايمة على صورة الهيرو: تفضل جوه الصورة على التابلت والموبايل */
@media (max-width: 992px) {
    .box-top {
        top: 12px;
        inset-inline-start: 12px;
    }

    .box-bottom {
        bottom: 12px;
        inset-inline-end: 12px;
    }

    .floating-stat-box {
        max-width: calc(100% - 24px);
    }
}

@media (max-width: 768px) {
    /* مساحة أكبر للكلام: هوامش جانبية ومسافات بين الأقسام أقل */
    .container {
        padding-inline: 1rem;
    }

    .about-section,
    .circular-section,
    .products-section,
    .knowledge-section,
    .specs-section,
    .calculator-section,
    .contact-section {
        padding: 3.5rem 0;
    }

    .section-title-wrap {
        margin-bottom: 2.25rem;
    }

    /* ---------- الهيدر: زر اتصال سريع ---------- */
    .header-call-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--primary-soft);
        color: var(--primary-dark);
        font-size: 1rem;
    }

    /* بيانات التواصل أسفل قائمة الموبايل */
    .mobile-nav-contact {
        display: flex;
        flex-direction: column;
        gap: 0.9rem;
        width: 100%;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-soft);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-body);
    }

    .mobile-nav-contact a {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        word-break: break-all;
    }

    .mobile-nav-contact i {
        color: var(--primary);
        width: 18px;
        text-align: center;
    }

    /* ---------- الهيرو: الأزرار تبان من أول شاشة ---------- */
    .hero-section {
        padding: 2.5rem 0 5rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-tag-badge {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.85;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        margin-bottom: 1.75rem;
    }

    .hero-main-photo {
        height: 280px;
    }

    .hero-card-frame {
        border-width: 5px;
    }

    .floating-stat-box {
        padding: 0.55rem 0.8rem;
        gap: 0.6rem;
    }

    .floating-stat-box strong {
        font-size: 0.85rem;
    }

    .floating-stat-box small {
        font-size: 0.72rem;
    }

    .stat-icon-wrap {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    /* ---------- الأرقام: مربعين في مربعين ---------- */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
        padding: 1.5rem 1rem;
    }

    .metric-card::after,
    .metric-card:not(:last-child)::after {
        display: none;
    }

    .metric-number {
        font-size: 2rem;
    }

    .metric-label {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* ---------- من نحن: الكلام ياخد عرض الشاشة ---------- */
    .about-main-card {
        padding: 1rem;
    }

    .about-lead-box {
        padding: 1.25rem 1rem;
        border-inline-start-width: 4px;
        margin-bottom: 1.5rem;
    }

    .about-paragraph {
        font-size: 1rem;
        line-height: 1.95;
    }

    .pillars-grid {
        gap: 1rem;
    }

    .pillar-card {
        padding: 1.5rem 1.25rem;
    }

    /* ---------- المنتجات: كروت جنب بعض بالسحب ---------- */
    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: -1rem 0 1rem;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--primary);
    }

    .products-detailed-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        margin-inline: -1rem;
        padding: 0.25rem 1rem 1.25rem;
        scroll-padding-inline: 1rem;
        scrollbar-width: thin;
    }

    .product-feature-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .product-feature-card:hover {
        transform: none;
    }

    .card-img-holder {
        height: 190px;
    }

    .card-content-holder {
        padding: 1.25rem;
    }

    /* ---------- جدول المواصفات: كل صف كارت ---------- */
    .specs-table-wrapper {
        padding: 1rem;
        overflow-x: visible;
    }

    .specs-table thead {
        display: none;
    }

    .specs-table,
    .specs-table tbody,
    .specs-table tr,
    .specs-table td {
        display: block;
        width: 100%;
    }

    .specs-table tr {
        background-color: var(--bg-white);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-md);
        padding: 0.9rem 1rem;
        margin-bottom: 0.85rem;
    }

    .specs-table td {
        border: none;
        padding: 0.3rem 0;
        font-size: 0.95rem;
        text-align: start;
    }

    .specs-table td:first-child {
        font-size: 1rem;
        color: var(--primary-dark);
        padding-bottom: 0.5rem;
        margin-bottom: 0.4rem;
        border-bottom: 1px dashed var(--border-soft);
    }

    .specs-table td:nth-child(2)::before,
    .specs-table td:nth-child(3)::before {
        display: block;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--text-muted);
    }

    .specs-table td:nth-child(2)::before {
        content: "النسبة في بايو فارم";
    }

    .specs-table td:nth-child(3)::before {
        content: "الفائدة المباشرة للتربة والمحصول";
    }

    .specs-table .highlight-cell {
        background: none;
        font-size: 1.05rem;
        white-space: nowrap;
        padding-inline: 0;
    }
}

/* زر الإنفوجرافيك: أبيض عشان يبان على الخلفية الخضرا */
.circular-section .diagram-preview-card .btn-primary {
    background: #FFFFFF;
    color: var(--primary-dark);
    border-color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.circular-section .diagram-preview-card .btn-primary:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

/* أسفل كارت المنتج: حالة التوفر فوق وزر الطلب بعرض الكارت */
.card-action-bar {
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
}

.card-action-bar .btn {
    width: 100%;
}

.card-content-holder {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ==========================================================================
   دورة الاقتصاد الدائري — دائرة في النص و 4 مراحل حواليها (مع عقارب الساعة)
   ========================================================================== */
.circular-corner-brand {
    margin-inline: auto;
}

.cycle-wheel {
    --wheel-size: 460px;
    max-width: 1180px;
    margin: 3rem auto 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--wheel-size) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem 2.5rem;
    align-items: center;
}

.wheel-steps {
    display: contents;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --------- الدائرة --------- */
.wheel-ring {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    container-type: inline-size;
}

.wheel-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wheel-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 34;
}

.wheel-arc {
    fill: none;
    stroke: #A5D6A7;
    stroke-width: 7;
    stroke-linecap: round;
}

.wheel-svg marker path {
    fill: #A5D6A7;
}

.wheel-flow {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1 16;
    opacity: 0.75;
    animation: wheelFlow 1.6s linear infinite;
}

@keyframes wheelFlow {
    to { stroke-dashoffset: -34; }
}

/* محطات المراحل على الدائرة */
.wheel-node {
    --node-color: var(--primary);
    position: absolute;
    width: clamp(48px, 15cqw, 70px);
    height: clamp(48px, 15cqw, 70px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--node-color);
    color: var(--node-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.1rem, 5.5cqw, 1.6rem);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.12), 0 10px 22px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.wheel-node.step-earth {
    --node-color: var(--earth);
}

.wheel-node b {
    position: absolute;
    top: -6px;
    right: -6px;
    width: clamp(20px, 6cqw, 26px);
    height: clamp(20px, 6cqw, 26px);
    border-radius: 50%;
    background: var(--node-color);
    color: #FFFFFF;
    font-size: clamp(0.7rem, 3cqw, 0.85rem);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.node-1 { left: 78.9%; top: 21.1%; }
.node-2 { left: 78.9%; top: 78.9%; }
.node-3 { left: 21.1%; top: 78.9%; }
.node-4 { left: 21.1%; top: 21.1%; }

/* قلب الدائرة */
.wheel-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #F1F8E9 100%);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1), 0 0 0 22px rgba(255, 255, 255, 0.05), 0 18px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: clamp(2px, 1.2cqw, 6px);
    padding: 6%;
}

.wheel-core-icon {
    width: clamp(36px, 12cqw, 56px);
    height: clamp(36px, 12cqw, 56px);
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.1rem, 6cqw, 1.7rem);
    animation: cycleSpin 10s linear infinite;
}

@keyframes cycleSpin {
    to { transform: rotate(360deg); }
}

.wheel-core-title {
    font-size: clamp(1.05rem, 5.4cqw, 1.6rem);
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.3;
}

.wheel-core-sub {
    font-size: clamp(0.68rem, 2.8cqw, 0.85rem);
    font-weight: 700;
    color: var(--text-muted);
}

.wheel-core-pill {
    margin-top: clamp(2px, 1cqw, 6px);
    background: var(--primary-dark);
    color: #FFFFFF;
    font-size: clamp(0.68rem, 2.9cqw, 0.85rem);
    font-weight: 800;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
}

/* --------- كروت المراحل --------- */
.wheel-step {
    --step-color: var(--primary);
    --step-soft: var(--primary-soft);
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.4rem 1.3rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
}

.wheel-step.step-earth {
    --step-color: var(--earth);
    --step-soft: var(--earth-soft);
}

.wheel-step:hover {
    transform: translateY(-5px);
}

.wheel-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--step-color);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
}

.wheel-step .step-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.45rem;
    line-height: 1.5;
}

.wheel-step .step-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.9rem;
}

.wheel-step .step-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--step-color);
    background: var(--step-soft);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
}

/* أماكن الكروت حوالين الدائرة (العمود 1 = يمين في RTL) */
.wheel-step.pos-1 { grid-column: 1; grid-row: 1; }
.wheel-step.pos-2 { grid-column: 1; grid-row: 2; }
.wheel-step.pos-3 { grid-column: 3; grid-row: 2; }
.wheel-step.pos-4 { grid-column: 3; grid-row: 1; }

/* خط رفيع يوصل كل كارت بالدائرة */
.wheel-step::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2.5rem;
    border-top: 2px dashed rgba(165, 214, 167, 0.7);
}

.wheel-step.pos-1::after,
.wheel-step.pos-2::after {
    inset-inline-end: -2.5rem;
}

.wheel-step.pos-3::after,
.wheel-step.pos-4::after {
    inset-inline-start: -2.5rem;
}

/* --------- التابلت: الدائرة فوق والكروت تحتها في عمودين --------- */
@media (max-width: 1024px) {
    .cycle-wheel {
        --wheel-size: min(440px, 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 1.25rem;
    }

    .wheel-ring {
        grid-column: 1 / -1;
        grid-row: auto;
        width: var(--wheel-size);
        justify-self: center;
        margin-bottom: 1.5rem;
    }

    .wheel-step.pos-1,
    .wheel-step.pos-2,
    .wheel-step.pos-3,
    .wheel-step.pos-4 {
        grid-column: auto;
        grid-row: auto;
    }

    .wheel-step::after {
        display: none;
    }
}

/* --------- الموبايل: الدائرة فوق والكروت تحت بعض --------- */
@media (max-width: 640px) {
    .cycle-wheel {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 2rem;
    }

    .wheel-ring {
        width: min(340px, 100%);
    }

    .wheel-step {
        padding: 1.2rem;
    }
}

/* الكروت العايمة على صورة الهيرو تفضل جوه الصورة على كل المقاسات */
.box-top {
    top: 16px;
    inset-inline-start: 16px;
}

.box-bottom {
    bottom: 16px;
    inset-inline-end: 16px;
}

.floating-stat-box {
    max-width: calc(100% - 32px);
}

/* شعار الفوتر: نسخة شفافة على الأخضر مباشرة (من غير المربع الأبيض) */
.footer-logo-img {
    height: 110px;
    width: auto;
    max-width: 220px;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
