/* =========================================
   1. GLOBAL RESET & BRAND COLORS
   ========================================= */
:root {
    --primary-green: #2d5a5e; 
    --emerald-green: #0a8a5f; 
    --leaf-green: #78a442;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Changed from rtl/right to ltr/left */
body { font-family: 'Cairo', sans-serif; direction: ltr; text-align: left; background: #f9fbfb; overflow-x: hidden; }
.container { width: 92%; max-width: 1400px; margin: 0 auto; }

ul, li { list-style: none !important; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header { background: var(--white); padding: 12px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 2000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.logo-area { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.main-logo { height: 50px; width: auto; }
.site-name { font-size: 22px; font-weight: 800; color: var(--primary-green); }

.nav-wrapper { display: flex; align-items: center; justify-content: center; flex-grow: 1; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links li a { font-weight: 700; font-size: 17px; color: #444; white-space: nowrap; }

.nav-links li a.active { color: var(--emerald-green); }
.nav-links li a:hover { color: var(--leaf-green); }

.dropdown { position: relative; }
.dropbtn {
    background-color: transparent; color: #444; padding: 10px 18px;
    font-size: 17px; font-weight: 700; border: none; border-radius: 8px;
    cursor: pointer; display: flex; align-items: center; gap: 10px; font-family: 'Cairo', sans-serif;
}

@media (min-width: 1251px) {
    .dropdown:hover .dropbtn { background-color: var(--emerald-green); color: white; }
}

/* Adjusted from right: 0 to left: 0 */
.dropdown-content { 
    display: none; position: absolute; top: 100%; left: 0; background-color: white; 
    min-width: 230px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 0 0 8px 8px;
    padding: 10px 0; z-index: 9999;
}
.dropdown-content li a { padding: 12px 20px !important; display: block; border-bottom: 1px solid #f5f5f5; color: #444 !important; }
.dropdown-content li a:hover { background: #f8fbfb; color: var(--leaf-green) !important; }
.dropdown:hover .dropdown-content { display: block; }

.header-left { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.btn-lang-outline { border: 2px solid var(--primary-green); padding: 6px 18px; border-radius: 20px; color: var(--primary-green); font-weight: 700; font-size: 14px; }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--primary-green); }

/* =========================================
   3. CONTENT STYLES (TRANSFERRED FROM ARABIC PAGE)
   ========================================= */
.page-hero { background: var(--primary-green); color: white; padding: 60px 0; text-align: center; margin-bottom: 50px; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin-bottom: 80px; align-items: start; }

.contact-form-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--primary-green); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 10px; font-family: 'Cairo'; font-size: 15px; outline: none; }
.btn-submit { width: 100%; background: var(--emerald-green); color: white; padding: 15px; border: none; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; }

.info-box { background: white; padding: 25px; border-radius: 15px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.info-box h4 { color: var(--primary-green); margin-bottom: 10px; font-size: 18px; }
.info-social-links { display: flex; gap: 15px; margin-top: 15px; }
.info-social-links .s-btn { width: 40px; height: 40px; background: #f0f4f4; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-green); }

/* =========================================
   4. FOOTER & COPYRIGHT
   ========================================= */
/* =========================================
   4. FOOTER - DARK THEME
   ========================================= */
.main-footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
    text-align: left;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px; 
    align-items: start;
}

.footer-logo { height: 60px; margin-bottom: 25px; filter: brightness(0) invert(1); }

.org-details { display: flex; flex-direction: column; gap: 8px; }

.detail-label { 
    font-weight: 700; 
    color: var(--white); 
    font-size: 15px;
    line-height: 1.4;
}

.footer-links h3, .footer-social h3 {
    margin-bottom: 25px; font-size: 18px; font-weight: 700;
    position: relative; padding-bottom: 10px;
    color: var(--white);
}

.footer-links h3::after, .footer-social h3::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 2px; background: var(--emerald-green);
}

.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: #bdc3c7; font-size: 15px; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--white); padding-left: 5px; }

.social-icons { display: flex; gap: 15px; }
.social-icons a { 
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); 
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--white); transition: var(--transition);
}
.social-icons a:hover { background: var(--emerald-green); }

.footer-bottom {
    text-align: center; margin-top: 40px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; color: #bdc3c7;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-links h3::after, .footer-social h3::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
}

/* =========================================
   5. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 1250px) {
    .menu-toggle { display: block; }
    /* Changed from right: 0 to left: 0 */
    .nav-wrapper { 
        display: none; position: absolute; top: 100%; left: 0; width: 100%; 
        background: white; flex-direction: column; padding: 30px 20px; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    }
    .nav-wrapper.active { display: flex; }
    .nav-links { flex-direction: column; width: 100%; gap: 20px; }
    .dropbtn { width: 100%; justify-content: center; background: transparent !important; color: #444 !important; }
    .dropdown-content { position: static; width: 100%; box-shadow: none; text-align: center; }
    .footer-wrap { flex-direction: column; text-align: center; }
    .f-social { justify-content: center; margin-top: 10px; }
    .contact-grid { grid-template-columns: 1fr; }
}