/* --- COURT EXCELLENCE UAE - ROYAL THEME --- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    --royal-navy: #0A192F;      /* كحلي دبلوماسي غامق */
    --gold-leaf: #C6A87C;       /* ذهبي معدني */
    --gold-hover: #D4B88C;
    --pure-white: #ffffff;
    --off-white: #F8F9FA;
    --text-main: #2C3E50;
    --text-light: #7F8C8D;
    --border-light: #E5E7EB;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--off-white);
    color: var(--text-main);
    direction: rtl;
    line-height: 1.8;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* --- 1. PROFESSIONAL HEADER (Two Layers) --- */
header {
    position: fixed; width: 100%; top: 0; z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Top Bar (Contact Info) */
.top-bar {
    background-color: var(--royal-navy);
    color: var(--pure-white);
    padding: 10px 0;
    font-size: 0.85rem;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-info span { margin-left: 20px; opacity: 0.9; }
.top-info i { color: var(--gold-leaf); margin-left: 5px; }

/* Main Nav (Logo & Links) */
.main-nav { background-color: var(--pure-white); height: 90px; }
.main-nav .container { height: 100%; display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--royal-navy);
    font-size: 1.4rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 1px;
}
.logo img { height: 45px; width: auto; }
.logo span { display: block; font-size: 0.75rem; font-weight: 500; color: var(--gold-leaf); letter-spacing: 2px; }

.nav-links { display: flex; list-style: none; gap: 35px; }
.nav-links a {
    text-decoration: none; color: var(--royal-navy); font-weight: 700; font-size: 1rem;
    position: relative; transition: 0.3s; padding: 5px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px;
    background: var(--gold-leaf); transition: 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-leaf); }

.btn-register {
    background: var(--gold-leaf); color: var(--royal-navy) !important;
    padding: 12px 30px; border-radius: 4px; font-weight: 800; font-size: 0.9rem;
    transition: 0.3s; text-decoration: none;
}
.btn-register:hover { background: var(--royal-navy); color: var(--gold-leaf) !important; }

/* --- 2. UNIFIED FOOTER --- */
footer {
    background-color: var(--royal-navy); color: var(--pure-white);
    padding: 80px 0 30px; margin-top: auto; border-top: 5px solid var(--gold-leaf);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }

.footer-about p { opacity: 0.7; font-size: 0.95rem; margin-top: 20px; line-height: 1.8; }
.footer-title {
    color: var(--gold-leaf); font-size: 1.1rem; font-weight: 700;
    margin-bottom: 25px; border-bottom: 2px solid rgba(198, 168, 124, 0.2);
    display: inline-block; padding-bottom: 10px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.8); text-decoration: none; transition: 0.3s;
    display: flex; align-items: center; gap: 8px; font-size: 0.95rem;
}
.footer-links a::before { content: '›'; color: var(--gold-leaf); font-size: 1.2rem; }
.footer-links a:hover { color: var(--gold-leaf); padding-right: 5px; }

.copyright {
    text-align: center; border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px; font-size: 0.85rem; opacity: 0.6;
}

/* --- COMMON PAGE LAYOUT --- */
/* Important: This padding ensures content isn't hidden behind the fixed header */
main { padding-top: 135px; min-height: 80vh; padding-bottom: 80px; }

.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.8)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?q=80&w=2070');
    background-size: cover; background-position: center;
    padding: 100px 0; text-align: center; color: white; margin-bottom: 60px;
}
.page-header h1 { font-size: 3rem; font-weight: 800; }
.page-header p { color: var(--gold-leaf); font-size: 1.2rem; margin-top: 15px; }

/* --- COMPONENTS --- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; color: var(--royal-navy); font-weight: 800; }
.section-title .line { width: 80px; height: 3px; background: var(--gold-leaf); margin: 15px auto; }

.card {
    background: white; padding: 40px; border: 1px solid var(--border-light);
    border-radius: 8px; transition: 0.3s; height: 100%;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold-leaf); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* --- ARTICLE STYLE --- */
.article-box {
    background: white; padding: 60px; border-radius: 8px;
    border: 1px solid var(--border-light); box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.article-meta {
    display: flex; gap: 20px; color: #777; font-size: 0.9rem;
    margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee;
}
.highlight-quote {
    background: #fdfcf8; border-right: 4px solid var(--gold-leaf);
    padding: 30px; margin: 40px 0; font-size: 1.1rem; color: var(--royal-navy);
}

/* --- FORM --- */
input, textarea {
    width: 100%; padding: 15px; border: 1px solid #ddd; background: #fff;
    margin-bottom: 20px; font-family: 'Tajawal'; font-size: 1rem; border-radius: 4px;
}
input:focus, textarea:focus { border-color: var(--royal-navy); outline: none; }
button[type="submit"] {
    background: var(--royal-navy); color: white; border: none; padding: 15px 40px;
    font-weight: 700; cursor: pointer; transit
