/* Wadi Aljizzi Professional Theme */
:root {
    --gold: #a97c50;
    --gold-light: #cfa882;
    --gold-dark: #825b35;
    --gold-bg: rgba(169, 124, 80, 0.1);
    --dark: #58595b;
    --dark-light: #838487;
    --dark-dark: #353638;
    --light: #f9f9f9;
    --white: #ffffff;
    --font-en: 'Century Gothic', sans-serif;
    --font-ar: 'Cairo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-ar); color: var(--dark); line-height: 1.8; overflow-x: hidden; }
body[dir="ltr"] { font-family: var(--font-en); }

.container { width: 90%; max-width: 1200px; margin: auto; }
.section { padding: 90px 0; }
.bg-light { background-color: var(--light); }
.color-gold { color: var(--gold) !important; }
.color-dark { color: var(--dark) !important; }
.color-white { color: var(--white) !important; }

.mt-3 { margin-top: 15px; } .mt-4 { margin-top: 25px; } .mb-3 { margin-bottom: 15px; } .mb-4 { margin-bottom: 25px; }
.w-100 { width: 100%; } .text-center { text-align: center; } .text-justify { text-align: justify; }
.position-relative { position: relative; z-index: 2; }
.icon-large { font-size: 3.5rem; }
.font-large { font-size: 1.15rem; }
.line-height-lg { line-height: 2.2; }

h1, h2, h3, h4 { color: var(--dark-dark); margin-bottom: 15px; font-weight: 700; }

/* Buttons */
.btn { display: inline-block; padding: 12px 35px; border-radius: 6px; font-weight: bold; text-decoration: none; transition: 0.3s; border: none; cursor: pointer; font-family: inherit;}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: #8e6843; transform: translateY(-3px); }
.btn-secondary { background: var(--dark); color: var(--white); }
.btn-secondary:hover { background: #333; transform: translateY(-3px); }

/* Header & Logo */
header { background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; position: relative; }
.site-logo { max-height: 65px; mix-blend-mode: multiply; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 600; color: var(--dark); text-decoration: none; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }
.lang-toggle button { background: transparent; border: 2px solid var(--gold); color: var(--gold); padding: 6px 20px; border-radius: 25px; cursor: pointer; font-family: inherit; font-weight: bold; transition: 0.3s; }
.lang-toggle button:hover { background: var(--gold); color: var(--white); }
.mobile-menu { display: none; font-size: 1.5rem; cursor: pointer; color: var(--gold); }

/* Backgrounds (Fixed for Desktop) */
.hero-section, .bg-light-image, .page-banner { background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.hero-section { height: 90vh; display: flex; align-items: center; justify-content: center; }
.bg-light-image { padding: 120px 0; }
.page-banner { padding: 140px 0 100px; text-align: center; }
.hero-overlay, .bg-blur-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 1; }
.bg-blur-overlay { background: rgba(88, 89, 91, 0.7); backdrop-filter: blur(4px); }
.hero-container-content { position: relative; z-index: 5; text-align: center; width: 100%; }
.page-title { font-size: 3.8rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.6); margin: 0; }

.hero-glass-panel, .glass-panel { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 16px; padding: 50px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); transition: transform 0.4s ease; }
.hero-glass-panel { max-width: 900px; margin: auto; padding: 60px 40px; }
.glass-panel:hover { transform: translateY(-5px); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } /* جديد للتنظيم المزدوج */
.feature-list { list-style: none; text-align: start; }
.feature-list li { margin-bottom: 18px; font-size: 1.15rem; }
.feature-list i { color: var(--gold); margin-left: 10px; margin-right: 10px; font-size: 1.3rem;}

/* Forms */
.form-control { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; margin-top: 5px; font-size: 1rem; }
.input-group { margin-bottom: 25px; text-align: start; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 1rem; color: var(--dark-dark); }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-bg); }

/* Footer */
footer { background: #2b2b2b; color: #ccc; padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }

/* سحر الشفافية للوجو الفوتر هنا */
.footer-logo { max-width: 170px; filter: grayscale(1) invert(1) brightness(1.5); mix-blend-mode: screen; opacity: 0.9; }

/* تعديل عناوين الفوتر لتكون بيضاء، عريضة، وأكبر حجماً كما طلبت */
.footer-links h4, .footer-contact h4 {
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.social-links a { color: var(--white); font-size: 1.6rem; margin-right: 15px; margin-left: 15px; transition: 0.3s; display: inline-block; }
.social-links a:hover { color: var(--gold); transform: translateY(-4px); }
.footer-links ul, .contact-list { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a, .contact-list a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-links a:hover, .contact-list a:hover { color: var(--gold); }
.contact-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.contact-list i { color: var(--gold); font-size: 1.2rem; }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 25px; margin-top: 50px; font-size: 0.95rem; }

/* Animations */
.animate { opacity: 0; transition: all 0.8s ease-out; }
.animate.visible { opacity: 1; transform: translate(0,0) scale(1); }
.slide-up { transform: translateY(50px); }
.slide-right { transform: translateX(-50px); }
.delay-1 { transition-delay: 0.2s; } .delay-2 { transition-delay: 0.4s; } .delay-3 { transition-delay: 0.6s; } .delay-4 { transition-delay: 0.8s; }

/* Mobile Fixes & Responsiveness */
@media (max-width: 992px) {
    .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid { text-align: center; }
    .contact-list li { justify-content: center; }
}
@media (max-width: 768px) {
    .hero-section, .bg-light-image, .page-banner {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
    .hero-glass-panel h1 { font-size: 2.2rem; }
    .page-title { font-size: 2.5rem; }
    .glass-panel, .hero-glass-panel { padding: 30px 20px; }
    
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        right: 0; 
        width: 100%; 
        background: var(--white); 
        text-align: center; 
        padding: 20px 0; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin-bottom: 15px; }
    .mobile-menu { display: block; }
}