/*
 * بوادر الإمداد التجارية
 * Bawader Al-Imdad Trading Company
 * موقع عربي - RTL
 * ألوان مستوحاة من اللوجو الرسمي
 */

/* ========================================
   المتغيرات والألوان - Logo Colors
   ======================================== */
:root {
    /* الألوان الرئيسية من اللوجو */
    --primary-color: #0D7377;
    /* تيل/أخضر مزرق */
    --primary-dark: #095355;
    /* تيل داكن */
    --primary-light: #1A9A9F;
    /* تيل فاتح */
    --secondary-color: #F5A623;
    /* ذهبي/برتقالي */
    --secondary-dark: #D4900F;
    /* ذهبي داكن */
    --secondary-light: #FFB84D;
    /* ذهبي فاتح */
    --accent-color: #2E7D32;
    /* أخضر الورقة */

    /* ألوان النص والخلفية */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #1A3A3C;
    --border-color: #E0E0E0;

    /* الظلال والتأثيرات */
    --shadow: 0 4px 20px rgba(13, 115, 119, 0.1);
    --shadow-hover: 0 8px 30px rgba(13, 115, 119, 0.2);
    --radius: 12px;
}

/* ========================================
   إعادة التعيين الأساسية
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Almarai', sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.7;
    text-align: right;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ========================================
   العناصر الأساسية
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

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

/* ========================================
   الحاوية
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   الأزرار
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
}

/* ========================================
   الهيدر - Header
   ======================================== */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--bg-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-right {
    display: flex;
    gap: 25px;
}

.header-top-right a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-right a:hover {
    color: var(--secondary-color);
}

.header-top-left {
    display: flex;
    gap: 15px;
}

.header-top-left a {
    color: white;
    font-size: 1.1rem;
}

.header-top-left a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
}

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

.header-cta .btn {
    padding: 12px 25px;
}

/* زر الموبايل */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
}

/* ========================================
   القسم الرئيسي - Hero (Static & Premium)
   ======================================== */
.hero {
    background: linear-gradient(rgba(26, 58, 60, 0.85), rgba(26, 58, 60, 0.85)), url('assets/images/hero_bg.webp');
    background-size: cover;
    background-position: center;
    padding: 240px 0 120px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero::before {
    display: none;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--secondary-light);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--secondary-color);
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 45px;
    max-width: 580px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-box {
    flex: 0.8;
    position: relative;
}

.hero-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 8px solid rgba(255, 255, 255, 0.05);
}

.btn-primary-alt {
    background: var(--secondary-color);
    color: white;
    padding: 16px 36px;
    box-shadow: none;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 36px;
}

/* Ensure no transitions in hero */
.hero *,
.hero *::before,
.hero *::after {
    transition: none !important;
}

/* ========================================
   المميزات - Features
   ======================================== */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid transparent;
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   من نحن - About
   ======================================== */
.about {
    padding: 100px 0;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.about-content {
    flex: 1;
}

.section-badge {
    display: inline-block;
    background: rgba(13, 115, 119, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   الخدمات - Services
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* ========================================
   المنتجات - Products
   ======================================== */
.products {
    padding: 100px 0;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: white;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.product-category {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   الشركاء - Partners
   ======================================== */
.partners {
    padding: 80px 0;
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo span {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    display: block;
}

/* ========================================
   القيم - Our Values
   ======================================== */
.values {
    padding: 100px 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.value-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

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

/* ========================================
   التخصص العضوي - Organic Specialty
   ======================================== */
.organic-specialty {
    padding: 100px 0;
    background: #fdfdfd;
    border-top: 1px solid var(--border-color);
}

.organic-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.organic-content {
    flex: 1;
}

.organic-image {
    flex: 1;
    position: relative;
}

.organic-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.organic-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--accent-color);
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.organic-list {
    margin-top: 30px;
}

.organic-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.organic-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.organic-item p {
    color: var(--text-color);
    font-size: 1.05rem;
}

/* ========================================
   الإحصائيات - Stats
   ======================================== */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-box {
    padding: 30px;
}

.stat-box i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.stat-box .number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.stat-box .label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   الفروع - Branches
   ======================================== */
.branches {
    padding: 100px 0;
    background: var(--bg-light);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.branch-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.branch-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.branch-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* ========================================
   التواصل - Contact
   ======================================== */
.contact {
    padding: 100px 0;
}

.contact .container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 115, 119, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    text-align: right;
    direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ========================================
   الفوتر - Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   صفحة العنوان - Page Title
   ======================================== */
.page-title {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   التجاوب - Responsive
   ======================================== */
@media (max-width: 992px) {
    .header-top {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 160px 0 60px;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-box {
        width: 100%;
    }

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

    .about .container {
        flex-direction: column;
    }

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

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

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

    .organic-container {
        flex-direction: column;
        gap: 30px;
    }

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

    .contact .container {
        flex-direction: column;
    }

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

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-wrapper {
        gap: 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
    }

    section {
        padding: 60px 0;
    }

    .features-grid,
    .services-grid,
    .products-grid,
    .stats-grid,
    .footer-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .organic-image {
        order: -1;
        /* Image first on mobile */
    }

    .organic-image>div {
        left: 10px !important;
        bottom: 10px !important;
        padding: 10px !important;
    }

    .organic-image>div i {
        font-size: 1.5rem !important;
    }

    .organic-image>div span {
        font-size: 0.8rem !important;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .products-tabs {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start !important;
        padding-bottom: 20px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-about p {
        font-size: 0.9rem;
    }

    .footer h4 {
        margin-bottom: 20px;
    }
}

/* ========================================
   القائمة الجانبية للموبايل
   ======================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--text-color);
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   تأثيرات إضافية
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}