/* style.css - النسخة العربية الشاملة (جميع الصفحات + التحديثات الأخيرة) */
:root {
    --primary-blue: #2D89EF;
    --primary-orange: #F47C20;
    --dark-grey: #2c3e50;
    --light-bg: #f8f9fa;
    --food-bg: #fffbf7;
    --white: #ffffff;
    --whatsapp-green: #25d366;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --font-main: 'Tajawal', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--dark-grey);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

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

/* --- Header & Nav --- */
header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.navbar {
    max-width: 1300px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center; padding: 10px 20px;
}
.logo img { height: 45px; width: auto; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: #555; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-blue); font-weight: bold; }

.partner-link { 
    border: 1px solid var(--primary-orange); 
    padding: 5px 15px; border-radius: 20px; 
    color: var(--primary-orange) !important; 
    font-weight: bold !important; transition: 0.3s;
}
.partner-link:hover { background: var(--primary-orange); color: white !important; }

.nav-buttons { display: flex; align-items: center; gap: 10px; }
.lang-btn { font-weight: bold; font-size: 0.9rem; margin-left: 15px; color: var(--dark-grey); display: flex; align-items: center; gap: 5px; cursor: pointer; }
.lang-btn:hover { color: var(--primary-blue); }

.btn { padding: 8px 20px; border-radius: 6px; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
.btn-login { border: 1px solid var(--primary-blue); color: var(--primary-blue); background: transparent; }
.btn-login:hover { background: var(--primary-blue); color: white; }
.btn-trial { background: var(--primary-orange); color: white; border: 1px solid var(--primary-orange); }
.btn-trial:hover { background: #d66a1b; }
.btn-white { background: white; color: var(--dark-grey); padding: 12px 35px; border-radius: 6px; font-weight: bold; display: inline-block; margin-top: 20px; }

/* --- Hero Section (General) --- */
.hero {
    padding: 160px 20px 60px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    text-align: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: var(--dark-grey); line-height: 1.3; }
.hero span { color: var(--primary-blue); }
.hero p { font-size: 1.2rem; color: #666; max-width: 800px; margin: 0 auto 30px; }

.jofotara-badge {
    background: #fff; border: 1px solid #eee; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: inline-flex; align-items: center; gap: 10px; 
    padding: 8px 25px; border-radius: 50px; 
    font-weight: bold; font-size: 0.95rem; margin-bottom: 25px;
    color: #333;
}
.jofotara-badge img { height: 25px; width: auto; }

/* --- Gallery Slider --- */
.gallery-container {
    max-width: 900px; margin: 50px auto 0;
    background: #fff; padding: 10px; border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); border: 1px solid #eee;
}
.main-slide {
    width: 100%; height: 450px; object-fit: cover; object-position: top center;
    border-radius: 10px; transition: opacity 0.3s ease-in-out;
    border: 1px solid #f0f0f0; margin-bottom: 15px;
}
.thumbnails-row {
    display: flex; gap: 10px; justify-content: center; overflow-x: auto; padding: 5px 0;
}
.thumb {
    width: 80px; height: 50px; border-radius: 6px; cursor: pointer;
    object-fit: cover; opacity: 0.6; transition: 0.3s; 
    border: 2px solid transparent; background: #eee;
}
.thumb:hover { opacity: 1; }
.thumb.active { opacity: 1; border-color: var(--primary-blue); transform: scale(1.05); box-shadow: 0 4px 10px rgba(45, 137, 239, 0.2); }

/* --- Partners Strip --- */
.partners-strip { background: #fff; padding: 40px 20px; text-align: center; border-bottom: 1px solid #eee; }
.partners-strip p { color: #888; font-weight: bold; margin-bottom: 25px; }
.partners-logos { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; align-items: center; }
.partner-logo { font-size: 1.1rem; font-weight: bold; color: #555; display: flex; align-items: center; gap: 12px; }
.partner-logo img { height: 45px; width: auto; transition: 0.3s; }
.partner-logo i { font-size: 1.8rem; color: var(--dark-grey); }

/* --- Features Grid --- */
.features { padding: 80px 20px; background: var(--white); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { color: #666; max-width: 700px; margin: 0 auto; }

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto;
}
.feature-card {
    padding: 30px; border-radius: 12px; background: var(--light-bg);
    text-align: right; transition: 0.3s; border: 1px solid transparent;
}
.feature-card:hover {
    background: var(--white); box-shadow: var(--shadow);
    border-color: var(--primary-blue); transform: translateY(-5px);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 20px; display: inline-block; }

/* --- Egraat Foods Section (Home) --- */
.foods-section {
    padding: 100px 20px; background-color: var(--food-bg);
    position: relative; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.foods-header { text-align: center; margin-bottom: 60px; }
.foods-header h2 { font-size: 2.8rem; color: var(--primary-orange); margin-bottom: 10px; }
.foods-header h2 span { color: var(--dark-grey); }
.foods-header p { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto; }

.foods-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; max-width: 1200px; margin: 0 auto;
}
.food-card {
    background: white; padding: 25px; border-radius: 15px;
    border: 1px solid #eee; transition: 0.3s; text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.food-card:hover { transform: translateY(-7px); box-shadow: 0 10px 25px rgba(244, 124, 32, 0.1); border-color: var(--primary-orange); }
.food-icon {
    width: 60px; height: 60px; background: #fff5eb; color: var(--primary-orange);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 20px;
}
.food-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--dark-grey); }
.food-card p { font-size: 0.9rem; color: #777; line-height: 1.6; }
.food-cta { text-align: center; margin-top: 50px; }
.btn-food { 
    background: var(--primary-orange); color: white; padding: 12px 40px; 
    border-radius: 50px; font-weight: bold; display: inline-block; 
    box-shadow: 0 5px 15px rgba(244, 124, 32, 0.3);
}
.btn-food:hover { background: #d35f0a; transform: scale(1.05); }

/* --- Success Partners --- */
.success-partners { padding: 80px 20px; background: #fdfdfd; text-align: center; border-top: 1px solid #eee; }
.partners-wrapper {
    display: flex; align-items: center; justify-content: center;
    max-width: 1200px; margin: 40px auto 0; position: relative; gap: 20px;
}
.clients-carousel {
    display: flex; gap: 70px; overflow-x: auto; 
    scroll-behavior: smooth; padding: 30px 10px; width: 100%;
    scrollbar-width: none;
}
.clients-carousel::-webkit-scrollbar { display: none; }

.client-logo {
    flex: 0 0 auto; font-size: 4rem; color: #ccc; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.client-logo:hover { color: var(--primary-blue); transform: scale(1.1); opacity: 1; }

.scroll-btn {
    background: white; border: 1px solid #ddd; color: var(--dark-grey);
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 2;
}
.scroll-btn:hover { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }

/* --- CTA Section --- */
.cta-section { padding: 80px 20px; text-align: center; background: linear-gradient(to left, #2c3e50, #34495e); color: white; }

/* --- Footer --- */
footer { background: #151515; color: #bbb; padding: 70px 20px 30px; font-size: 0.95rem; }
.footer-container {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px;
}
.footer-col h3 { 
    color: var(--white); margin-bottom: 20px; 
    border-bottom: 2px solid var(--primary-orange); 
    display: inline-block; padding-bottom: 5px;
}
.footer-col ul li { margin-bottom: 8px; } 
.footer-col ul li a:hover { color: var(--primary-blue); padding-right: 5px; }

.newsletter-form input { width: 100%; padding: 10px; border-radius: 4px; border: none; margin-bottom: 10px; font-family: inherit; }
.btn-subscribe { width: 100%; padding: 10px; background: var(--primary-blue); color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; }
.btn-partner-footer { display: inline-block; background: var(--primary-orange); color: white; padding: 8px 15px; border-radius: 4px; font-weight: bold; margin-top: 10px; }

.social-icons { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.social-link {
    width: 35px; height: 35px; background: #333; color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.3s;
}
.social-link:hover { background: var(--primary-blue); transform: translateY(-3px); }

.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid #333; }

/* --- Floating Buttons --- */
.floating-container {
    position: fixed; bottom: 30px; right: 30px; z-index: 1000;
    display: flex; flex-direction: column; gap: 15px;
}
.float-btn {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.8rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s; position: relative;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.whatsapp { background-color: var(--whatsapp-green); }
.float-btn.support { background-color: var(--primary-blue); }

.float-btn::after {
    content: attr(data-tooltip);
    position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.8); color: white; padding: 5px 10px;
    border-radius: 5px; font-size: 0.8rem; opacity: 0; pointer-events: none;
    transition: 0.3s; white-space: nowrap; font-family: 'Tajawal', sans-serif;
}
.float-btn:hover::after { opacity: 1; right: 75px; }

/* ⬇️ --- SOLUTIONS PAGE STYLES --- ⬇️ */
.sol-details-section { padding: 80px 20px; }
.sol-row { display: flex; align-items: center; gap: 50px; margin-bottom: 100px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.sol-row.reverse { flex-direction: row-reverse; }
.sol-text { flex: 1; }
.sol-img { flex: 1; }
.sol-img img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border: 1px solid #eee; }
.sol-tag { background: #e3f2fd; color: var(--primary-blue); padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; display: inline-block; margin-bottom: 15px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.check-item { display: flex; align-items: center; gap: 10px; color: #555; font-weight: 500; }
.check-item i { color: #27ae60; background: #e8f5e9; padding: 5px; border-radius: 50%; font-size: 0.8rem; }
.why-launch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 50px auto 0; }
.launch-card { text-align: center; padding: 30px; background: white; border-radius: 15px; border: 1px solid #eee; transition: 0.3s; }
.launch-card:hover { transform: translateY(-5px); border-color: var(--primary-blue); }
.launch-icon { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 20px; }

/* ⬇️ --- PRICING PAGE STYLES --- ⬇️ */
.pricing-hero { padding: 160px 20px 60px; background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); text-align: center; }
.pricing-hero h1 { font-size: 3rem; margin-bottom: 20px; color: var(--dark-grey); }
.pricing-hero p { font-size: 1.2rem; color: #666; max-width: 700px; margin: 0 auto 40px; }
.pricing-controls { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 50px; }
.system-switch { background: white; padding: 5px; border-radius: 50px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: inline-flex; border: 1px solid #eee; }
.sys-btn { padding: 10px 30px; border-radius: 50px; border: none; background: transparent; font-weight: bold; color: #666; cursor: pointer; transition: 0.3s; font-family: inherit; font-size: 1rem; }
.sys-btn.active { background: var(--primary-blue); color: white; box-shadow: 0 4px 10px rgba(45, 137, 239, 0.3); }
.sys-btn[data-target="foods"].active { background: var(--primary-orange); box-shadow: 0 4px 10px rgba(244, 124, 32, 0.3); }
.duration-switch { display: flex; align-items: center; gap: 15px; font-weight: bold; color: var(--dark-grey); }
.switch-toggle { position: relative; width: 60px; height: 30px; background: #ddd; border-radius: 30px; cursor: pointer; transition: 0.3s; }
.switch-toggle::before { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: white; border-radius: 50%; transition: 0.3s; }
.switch-checkbox { display: none; }
.switch-checkbox:checked + .switch-toggle { background: #27ae60; }
.switch-checkbox:checked + .switch-toggle::before { transform: translateX(30px); }
.discount-badge { background: #ffebee; color: #c0392b; padding: 2px 10px; border-radius: 10px; font-size: 0.8rem; }
.pricing-grid-container { display: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pricing-grid-container.active { display: grid; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.pricing-card { background: white; padding: 40px 30px; border-radius: 20px; border: 2px solid #f0f0f0; transition: 0.3s; position: relative; display: flex; flex-direction: column; text-align: center; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.pricing-card.popular { border-color: var(--primary-blue); background: linear-gradient(to bottom, #fcfdff, #fff); }
.pricing-card.foods-pop { border-color: var(--primary-orange); }
.pop-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary-blue); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; }
.foods-pop .pop-badge { background: var(--primary-orange); }
.p-header h3 { font-size: 1.5rem; color: var(--dark-grey); margin-bottom: 10px; }
.p-header .price { font-size: 2.5rem; font-weight: 800; color: var(--dark-grey); }
.p-header .currency { font-size: 1rem; font-weight: normal; color: #888; }
.p-header .period { font-size: 0.9rem; color: #999; }
.p-desc { color: #666; margin: 15px 0 30px; font-size: 0.95rem; min-height: 40px; }
.p-features { list-style: none; text-align: right; margin-bottom: 30px; flex-grow: 1; }
.p-features li { margin-bottom: 12px; font-size: 0.95rem; color: #555; display: flex; gap: 10px; align-items: flex-start; }
.p-features li i { color: #27ae60; margin-top: 4px; }
.p-features li.disabled { color: #ccc; text-decoration: line-through; }
.p-features li.disabled i { color: #ccc; }
.btn-price { width: 100%; padding: 12px; border: 2px solid var(--primary-blue); border-radius: 8px; color: var(--primary-blue); font-weight: bold; text-align: center; }
.btn-price:hover, .popular .btn-price { background: var(--primary-blue); color: white; }
.foods-pop .btn-price { border-color: var(--primary-orange); color: var(--primary-orange); }
.foods-pop .btn-price:hover { background: var(--primary-orange); color: white; }
.comparison-section { padding: 60px 20px; background: var(--light-bg); overflow-x: auto; }
.comp-table { width: 100%; max-width: 1000px; margin: 0 auto; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; }
.comp-table th, .comp-table td { padding: 15px; text-align: center; border-bottom: 1px solid #eee; }
.comp-table th:first-child, .comp-table td:first-child { text-align: right; font-weight: bold; background: #fafafa; }
.comp-table th { background: #f4f4f4; color: var(--dark-grey); }
.faq-section { padding: 80px 20px; background: #fff; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.faq-question { font-weight: bold; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; }
.faq-answer { display: none; margin-top: 10px; color: #666; line-height: 1.6; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { color: var(--primary-blue); }

/* ⬇️ --- BLOG PAGE STYLES --- ⬇️ */
.blog-section { padding: 80px 20px; background-color: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.blog-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; transition: 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.blog-img { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 20px; }
.blog-date { font-size: 0.85rem; color: #888; margin-bottom: 10px; display: block; }
.blog-content h3 { font-size: 1.2rem; color: var(--dark-grey); margin-bottom: 10px; line-height: 1.4; }
.blog-content p { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; }
.read-more { color: var(--primary-blue); font-weight: bold; font-size: 0.9rem; }
.read-more:hover { text-decoration: underline; }

/* ⬇️ --- FOODS LANDING PAGE STYLES --- ⬇️ */
.foods-page-hero { padding: 160px 20px 80px; background: linear-gradient(135deg, #fffbf7 0%, #fff 100%); text-align: center; }
.foods-page-hero h1 { font-size: 3.5rem; color: var(--primary-orange); margin-bottom: 20px; }
.foods-page-hero h1 span { color: var(--dark-grey); }
.foods-page-hero p { font-size: 1.25rem; color: #555; max-width: 800px; margin: 0 auto 40px; }
.restaurant-types { padding: 60px 20px; background: white; text-align: center; }
.types-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.type-card { width: 150px; padding: 20px; border-radius: 15px; background: var(--light-bg); border: 1px solid #eee; transition: 0.3s; }
.type-card:hover { transform: translateY(-5px); border-color: var(--primary-orange); box-shadow: 0 10px 20px rgba(244, 124, 32, 0.1); }
.type-icon { font-size: 2.5rem; color: var(--primary-orange); margin-bottom: 10px; }
.type-card h4 { color: var(--dark-grey); font-size: 1rem; }
.food-detail-row { display: flex; align-items: center; gap: 50px; margin-bottom: 100px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.food-detail-row.reverse { flex-direction: row-reverse; }
.food-text { flex: 1; }
.food-image { flex: 1; }
.food-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(244, 124, 32, 0.1); border: 1px solid #eee; }
.food-text h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--dark-grey); }
.food-text p { font-size: 1.1rem; line-height: 1.7; color: #666; margin-bottom: 20px; }
.food-tag { background: #fff5eb; color: var(--primary-orange); padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; display: inline-block; margin-bottom: 15px; }
.integrations-section { padding: 60px 20px; background: var(--light-bg); text-align: center; }
.integration-logos { display: flex; justify-content: center; gap: 40px; margin-top: 30px; flex-wrap: wrap; opacity: 0.7; }
.integration-logos i { font-size: 3rem; color: #ccc; transition: 0.3s; }
.integration-logos i:hover { color: var(--primary-orange); transform: scale(1.1); opacity: 1; }

/* ⬇️ --- CONTACT PAGE STYLES (Fixed Spacing) --- ⬇️ */
.contact-hero { padding: 220px 20px 60px; background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); text-align: center; }
.contact-hero h1 { font-size: 3rem; color: var(--dark-grey); margin-bottom: 15px; }
.contact-hero p { font-size: 1.1rem; color: #666; }
.contact-container { max-width: 1200px; margin: 0 auto 80px; padding: 0 20px; margin-top: 50px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.info-card { background: white; padding: 25px; border-radius: 12px; display: flex; align-items: center; gap: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; transition: 0.3s; }
.info-card:hover { transform: translateY(-5px); border-color: var(--primary-blue); }
.info-icon { width: 50px; height: 50px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary-blue); }
.info-content h3 { font-size: 1.1rem; margin-bottom: 5px; color: var(--dark-grey); }
.info-content p { color: #666; font-size: 0.95rem; }
.social-connect { margin-top: 20px; }
.social-connect h3 { font-size: 1.2rem; margin-bottom: 15px; color: var(--dark-grey); }
.social-grid { display: flex; gap: 15px; flex-wrap: wrap; }
.social-btn { width: 45px; height: 45px; border-radius: 8px; background: white; display: flex; align-items: center; justify-content: center; color: var(--dark-grey); border: 1px solid #eee; transition: 0.3s; font-size: 1.2rem; }
.social-btn:hover { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }
.contact-form-wrapper { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: 1px solid #eee; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--dark-grey); }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; transition: 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(45, 137, 239, 0.1); }
.btn-submit { width: 100%; padding: 14px; background: var(--primary-blue); color: white; border: none; border-radius: 8px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: #1a75d2; }
.support-notice { max-width: 1000px; margin: 0 auto 80px; padding: 30px; background: #e3f2fd; border-radius: 12px; border: 1px solid #bbdefb; display: flex; align-items: center; gap: 20px; justify-content: center; text-align: center; }
.support-notice i { font-size: 2rem; color: var(--primary-blue); }
.support-text h3 { font-size: 1.2rem; margin-bottom: 5px; color: var(--dark-grey); }
.support-text p { color: #555; font-size: 0.95rem; }
.support-text a { color: var(--primary-blue); font-weight: bold; text-decoration: underline; }

/* ⬇️ --- PARTNER PAGE STYLES --- ⬇️ */
.partner-hero { padding: 220px 20px 80px; background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); text-align: center; color: white; }
.partner-hero h1 { font-size: 3rem; margin-bottom: 20px; color: white; }
.partner-hero p { font-size: 1.2rem; color: #ddd; max-width: 800px; margin: 0 auto 40px; }
.partner-steps-section { padding: 80px 20px; background: #fff; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 50px auto 0; }
.step-card { padding: 20px; position: relative; }
.step-number { width: 50px; height: 50px; background: var(--primary-orange); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--dark-grey); }
.step-card p { color: #666; font-size: 0.95rem; }
.partner-dashboard-section { padding: 80px 20px; text-align: center; background: #fdfdfd; border-top: 1px solid #eee; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1200px; margin: 50px auto 0; align-items: center; text-align: right; }
.dash-text h3 { font-size: 2rem; color: var(--dark-grey); margin-bottom: 20px; }
.dash-text p { font-size: 1.1rem; color: #666; margin-bottom: 30px; line-height: 1.7; }
.dash-img img { width: 100%; border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); border: 1px solid #eee; transition: 0.3s; }
.dash-img img:hover { transform: translateY(-5px); }
.commission-box { background: #e3f2fd; border-radius: 15px; padding: 40px; text-align: center; max-width: 800px; margin: 80px auto; border: 1px solid #bbdefb; }
.commission-box h2 { color: var(--primary-blue); font-size: 2.5rem; margin-bottom: 15px; }
.commission-box p { font-size: 1.2rem; color: #555; }

/* ⬇️ --- AUTHENTICATION PAGES (COMPACT VERSION) --- ⬇️ */
.auth-body { background: #fff; height: 100vh; overflow: hidden; font-family: var(--font-main); }
.split-screen { display: flex; height: 100vh; width: 100%; }
.auth-left { width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 0 60px; background: white; position: relative; overflow-y: auto; }
.auth-right { width: 50%; background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1350&q=80'); background-size: cover; background-position: center; position: relative; }
.auth-right::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(45, 137, 239, 0.8), rgba(44, 62, 80, 0.8)); }
.auth-overlay-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; padding: 40px; }
.auth-overlay-content h2 { font-size: 2.5rem; margin-bottom: 20px; font-weight: 800; }
.auth-overlay-content p { font-size: 1.2rem; opacity: 0.9; max-width: 500px; line-height: 1.6; }
.auth-logo { margin-bottom: 15px; display: block; }
.auth-logo img { height: 40px; width: auto; }
.auth-header { margin-bottom: 15px; }
.auth-header h1 { font-size: 1.8rem; color: var(--dark-grey); margin-bottom: 5px; }
.auth-header p { color: #777; font-size: 0.95rem; }
.auth-form .form-group { margin-bottom: 12px; }
.auth-form label { display: block; margin-bottom: 4px; color: var(--dark-grey); font-weight: bold; font-size: 0.9rem; }
.auth-form .form-control { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; transition: 0.3s; font-family: inherit; }
.auth-form .form-control:focus { border-color: var(--primary-blue); outline: none; box-shadow: 0 0 0 3px rgba(45, 137, 239, 0.1); }
.auth-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 0.85rem; }
.auth-options a { color: var(--primary-blue); font-weight: bold; }
.btn-auth { width: 100%; padding: 12px; background: var(--primary-blue); color: white; font-size: 1rem; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-auth:hover { background: #1a75d2; transform: translateY(-2px); }
.auth-footer { text-align: center; margin-top: 20px; color: #666; font-size: 0.9rem; }
.auth-footer a { color: var(--primary-blue); font-weight: bold; }
.back-home { position: absolute; top: 20px; color: #999; font-weight: bold; font-size: 0.85rem; display: flex; align-items: center; gap: 5px; text-decoration: none; }
.back-home:hover { color: var(--primary-blue); }
body[dir="rtl"] .back-home { left: 30px; }

/* ⬇️ --- LEGAL & TEXT PAGES STYLES --- ⬇️ */
.legal-header { padding: 180px 20px 60px; background: #f8f9fa; text-align: center; border-bottom: 1px solid #eee; }
.legal-header h1 { font-size: 2.5rem; color: var(--dark-grey); margin-bottom: 10px; }
.legal-header p { color: #666; font-size: 1.1rem; }
.legal-content { max-width: 900px; margin: 60px auto; padding: 0 20px; line-height: 1.8; color: #444; }
.legal-content h2 { color: var(--dark-grey); margin-top: 40px; margin-bottom: 15px; font-size: 1.5rem; }
.legal-content p { margin-bottom: 15px; font-size: 1rem; }
.legal-content ul { list-style: disc; margin-right: 20px; margin-bottom: 20px; }
.legal-content ul li { margin-bottom: 10px; }
.last-updated { color: #888; font-style: italic; display: block; margin-bottom: 30px; }

/* ⬇️ --- HELP CENTER STYLES --- ⬇️ */
.help-hero { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); padding: 160px 20px 80px; text-align: center; color: white; }
.help-hero h1 { font-size: 2.8rem; margin-bottom: 20px; }
.help-hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; }
.help-search-box { max-width: 600px; margin: 0 auto; position: relative; }
.help-search-box input { width: 100%; padding: 18px 50px 18px 20px; border-radius: 50px; border: none; font-family: inherit; font-size: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.help-search-box i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--primary-blue); font-size: 1.2rem; }
.help-categories { padding: 80px 20px; background: #fdfdfd; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.cat-card { background: white; padding: 30px; border-radius: 15px; text-align: center; border: 1px solid #eee; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03); cursor: pointer; }
.cat-card:hover { transform: translateY(-5px); border-color: var(--primary-blue); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.cat-icon { width: 70px; height: 70px; background: #e3f2fd; color: var(--primary-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 20px; }
.cat-card h3 { color: var(--dark-grey); margin-bottom: 10px; font-size: 1.2rem; }
.cat-card p { color: #777; font-size: 0.9rem; }
.help-faq-section { padding: 80px 20px; background: white; max-width: 900px; margin: 0 auto; }
.help-faq-section h2 { text-align: center; margin-bottom: 50px; font-size: 2rem; color: var(--dark-grey); }
.help-contact { background: #f8f9fa; padding: 60px 20px; text-align: center; border-top: 1px solid #eee; }
.help-contact h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--dark-grey); }
.help-contact p { color: #666; margin-bottom: 30px; }

/* Responsive Media Queries */
@media (max-width: 900px) {
    .navbar { flex-direction: column; gap: 15px; }
    .nav-buttons { width: 100%; justify-content: center; }
    .hero h1, .foods-page-hero h1, .contact-hero h1, .partner-hero h1 { font-size: 2rem; }
    .sol-row, .sol-row.reverse, .food-detail-row, .food-detail-row.reverse, .dashboard-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .contact-container { grid-template-columns: 1fr; gap: 30px; }
    .support-notice { flex-direction: column; text-align: center; }
    .floating-container { bottom: 20px; right: 20px; }
    
    /* Auth Responsive */
    .split-screen { flex-direction: column-reverse; height: auto; overflow: auto; }
    .auth-right { display: none; }
    .auth-left { width: 100%; padding: 40px 20px; height: 100vh; }
}