/* ============================================
   SAMI AL-HAMMADI LAW FIRM - PREMIUM STYLES
   With Dark/Light Mode + LTR/RTL Support
   ============================================ */

/* ---------- CSS Custom Properties (Dark Theme) ---------- */
[data-theme="dark"] {
    --gold-50: #fdf8ed;
    --gold-100: #f9edcf;
    --gold-200: #f3d89b;
    --gold-300: #ecc266;
    --gold-400: #e5ab3c;
    --gold-500: #d4921e;
    --gold-600: #b87316;
    --gold-700: #985415;
    --gold-800: #7d4318;
    --gold-900: #693718;

    --navy-700: #1e3a5f;
    --navy-800: #162b47;
    --navy-900: #0d1b2a;
    --navy-950: #080f19;

    --bg-primary: #0a0e14;
    --bg-secondary: #0f1520;
    --bg-card: #141c2b;
    --bg-card-hover: #1a2438;

    --text-primary: #e8eaf0;
    --text-secondary: #9aa5b4;
    --text-muted: #6b7a8d;

    --border-color: rgba(212, 146, 30, 0.15);
    --border-hover: rgba(212, 146, 30, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 30px rgba(212, 146, 30, 0.15);

    --navbar-bg: rgba(10, 14, 20, 0.92);
    --hero-gradient-1: rgba(212, 146, 30, 0.08);
    --hero-gradient-2: rgba(30, 58, 95, 0.2);
    --hero-gradient-3: rgba(212, 146, 30, 0.05);
    --loader-bar-bg: #162b47;
    --team-header-bg-1: #162b47;
    --team-header-bg-2: #0d1b2a;
    --avatar-bg-1: #1e3a5f;
    --avatar-bg-2: #162b47;
}

/* ---------- CSS Custom Properties (Light Theme) ---------- */
[data-theme="light"] {
    --gold-50: #fdf8ed;
    --gold-100: #f9edcf;
    --gold-200: #f3d89b;
    --gold-300: #c4880f;
    --gold-400: #b37a0e;
    --gold-500: #9a6a0c;
    --gold-600: #82590a;
    --gold-700: #6b4908;
    --gold-800: #553907;
    --gold-900: #402b05;

    --navy-700: #c8d6e5;
    --navy-800: #dfe6ed;
    --navy-900: #eef2f6;
    --navy-950: #f5f7fa;

    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f5;

    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #a0aec0;

    --border-color: rgba(154, 106, 12, 0.12);
    --border-hover: rgba(154, 106, 12, 0.25);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 30px rgba(154, 106, 12, 0.1);

    --navbar-bg: rgba(248, 249, 252, 0.92);
    --hero-gradient-1: rgba(154, 106, 12, 0.06);
    --hero-gradient-2: rgba(200, 214, 229, 0.3);
    --hero-gradient-3: rgba(154, 106, 12, 0.04);
    --loader-bar-bg: #e2e8f0;
    --team-header-bg-1: #edf2f7;
    --team-header-bg-2: #e2e8f0;
    --avatar-bg-1: #e2e8f0;
    --avatar-bg-2: #edf2f7;
}

/* ---------- Shared Properties ---------- */
:root {
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Tajawal', 'Inter', sans-serif;
    --font-heading: 'Amiri', 'Playfair Display', serif;
}

/* LTR English font override */
[dir="ltr"] {
    --font-primary: 'Inter', 'Tajawal', sans-serif;
    --font-heading: 'Playfair Display', 'Amiri', serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
}

a { color: var(--gold-400); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold-300); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-secondary); }

/* ---------- Preloader ---------- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-primary); display: flex; align-items: center; justify-content: center; z-index: 10000; transition: opacity 0.6s, visibility 0.6s; }
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-icon { font-size: 64px; margin-bottom: 20px; animation: pulse-gold 1.5s infinite; }
.loader-logo-img { height: 80px; max-height: 80px; width: auto; object-fit: contain; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(212, 146, 30, 0.4)); animation: pulse-gold 1.5s infinite; }
.loader-text { font-family: var(--font-heading); font-size: 24px; color: var(--gold-400); margin-bottom: 24px; }
.loader-bar { width: 200px; height: 3px; background: var(--loader-bar-bg); border-radius: 10px; overflow: hidden; }
.loader-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); border-radius: 10px; animation: load 2s ease-out forwards; }
@keyframes load { to { width: 100%; } }
@keyframes pulse-gold { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(212, 146, 30, 0.3)); } 50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(212, 146, 30, 0.6)); } }

/* ---------- Navigation ---------- */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all var(--transition-normal); background: transparent; }
#navbar.scrolled { background: var(--navbar-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--text-primary); text-decoration: none; }
.nav-logo-img { height: 46px; max-height: 46px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)); }
.footer-logo-img { height: 42px; max-height: 42px; width: auto; object-fit: contain; }
.logo-icon { font-size: 36px; filter: drop-shadow(0 0 10px rgba(212, 146, 30, 0.4)); }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--gold-400); line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--text-secondary); line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li a { color: var(--text-secondary); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.nav-links li a:hover, .nav-links li a.active { color: var(--gold-400); background: rgba(212, 146, 30, 0.08); }
.nav-cta { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important; color: #fff !important; padding: 8px 20px !important; border-radius: var(--radius-xl) !important; font-weight: 600 !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* Nav Controls */
.nav-controls { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border-color); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--gold-400); transition: all var(--transition-normal); position: relative; overflow: hidden; }
.theme-toggle:hover { border-color: var(--gold-500); transform: scale(1.05); box-shadow: var(--shadow-gold); }
.theme-icon-light, .theme-icon-dark { position: absolute; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
[data-theme="dark"] .theme-icon-light { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .theme-icon-dark { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="light"] .theme-icon-light { opacity: 0; transform: rotate(-90deg) scale(0); }
[data-theme="light"] .theme-icon-dark { opacity: 1; transform: rotate(0deg) scale(1); }

.lang-toggle { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: var(--radius-xl); background: var(--bg-card); border: 1px solid var(--border-color); color: var(--gold-400); font-size: 13px; font-weight: 700; font-family: var(--font-primary); cursor: pointer; transition: all var(--transition-normal); text-decoration: none; }
.lang-toggle:hover { border-color: var(--gold-500); color: var(--gold-300); transform: scale(1.05); box-shadow: var(--shadow-gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: all var(--transition-fast); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
#hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 24px 80px; }
.hero-bg-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, var(--hero-gradient-1) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, var(--hero-gradient-2) 0%, transparent 50%), radial-gradient(ellipse at 50% 100%, var(--hero-gradient-3) 0%, transparent 40%), linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particle { position: absolute; width: 2px; height: 2px; background: var(--gold-400); border-radius: 50%; animation: float-particle 8s infinite; opacity: 0.3; }
@keyframes float-particle { 0%, 100% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 0.3; } 50% { transform: translateY(-150px) translateX(30px); opacity: 0.6; } 90% { opacity: 0.2; } }
.hero-content { position: relative; text-align: center; max-width: 900px; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(212, 146, 30, 0.1); border: 1px solid rgba(212, 146, 30, 0.2); padding: 10px 24px; border-radius: var(--radius-xl); margin-bottom: 32px; animation: fadeInDown 0.8s ease-out; }
.hero-badge i { color: var(--gold-400); }
.hero-badge span { font-size: 14px; color: var(--gold-300); font-weight: 500; }
.hero-title { margin-bottom: 24px; animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero-title-line { display: block; font-family: var(--font-heading); font-size: clamp(40px, 7vw, 72px); font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 8px; }
.hero-title-accent { display: block; font-family: var(--font-heading); font-size: clamp(20px, 3.5vw, 32px); color: var(--gold-400); line-height: 1.4; }
.hero-desc { font-size: 17px; color: var(--text-secondary); max-width: 700px; margin: 0 auto 40px; line-height: 1.9; animation: fadeInUp 0.8s ease-out 0.4s both; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; margin-bottom: 48px; animation: fadeInUp 0.8s ease-out 0.6s both; }
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 42px; font-weight: 700; color: var(--gold-400); line-height: 1; }
.stat-plus { font-family: var(--font-heading); font-size: 32px; color: var(--gold-500); }
.stat-label { display: block; font-size: 14px; color: var(--text-secondary); margin-top: 6px; }
.stat-divider { width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, var(--gold-500), transparent); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; animation: fadeInUp 0.8s ease-out 0.8s both; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; animation: fadeIn 1s ease-out 1.2s both; }
.hero-scroll a { color: var(--text-muted); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-icon { width: 22px; height: 36px; border: 2px solid var(--text-muted); border-radius: 11px; display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; }
.scroll-dot { width: 3px; height: 8px; background: var(--gold-400); border-radius: 2px; animation: scroll-bounce 1.5s infinite; }
@keyframes scroll-bounce { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: var(--radius-xl); font-family: var(--font-primary); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition-normal); border: none; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; box-shadow: 0 4px 20px rgba(212, 146, 30, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212, 146, 30, 0.4); color: #fff; }
.btn-outline { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border-hover); }
.btn-outline:hover { background: rgba(212, 146, 30, 0.08); border-color: var(--gold-500); color: var(--gold-400); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(212, 146, 30, 0.08); border: 1px solid rgba(212, 146, 30, 0.15); padding: 6px 18px; border-radius: var(--radius-xl); font-size: 13px; color: var(--gold-400); margin-bottom: 16px; }
.section-title { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.section-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); margin: 0 auto 16px; border-radius: 3px; }
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 680px; margin: 0 auto; line-height: 1.8; }

/* ---------- About ---------- */
.about-content { max-width: 900px; margin: 0 auto; }
.about-lead { font-size: 18px; color: var(--text-primary); line-height: 2; margin-bottom: 16px; position: relative; padding-right: 24px; border-right: 3px solid var(--gold-500); }
[dir="ltr"] .about-lead { padding-right: 0; border-right: none; padding-left: 24px; border-left: 3px solid var(--gold-500); }
.about-content > p { font-size: 16px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all var(--transition-normal); position: relative; overflow: hidden; }
.value-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); opacity: 0; transition: opacity var(--transition-normal); }
.value-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-gold); }
.value-card:hover::before { opacity: 1; }
.value-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; background: rgba(212, 146, 30, 0.1); border-radius: 50%; font-size: 24px; color: var(--gold-400); }
.value-card h4 { font-family: var(--font-heading); font-size: 18px; color: var(--gold-400); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ---------- Founder ---------- */
.founder-card { display: flex; align-items: center; gap: 48px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 48px; max-width: 900px; margin: 0 auto; position: relative; overflow: hidden; }
.founder-card::before { content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px; background: radial-gradient(circle, rgba(212, 146, 30, 0.06), transparent); border-radius: 50%; }
.founder-avatar { position: relative; flex-shrink: 0; }
.avatar-ring { width: 140px; height: 140px; border-radius: 50%; border: 2px solid var(--gold-500); position: absolute; top: -5px; right: -5px; animation: spin-slow 20s linear infinite; border-right-color: transparent; border-bottom-color: transparent; }
[dir="ltr"] .avatar-ring { right: auto; left: -5px; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.avatar-icon { width: 130px; height: 130px; border-radius: 50%; background: linear-gradient(135deg, var(--avatar-bg-1), var(--avatar-bg-2)); display: flex; align-items: center; justify-content: center; font-size: 52px; color: var(--gold-400); }
.founder-info h3 { font-family: var(--font-heading); font-size: 26px; color: var(--text-primary); margin-bottom: 8px; }
.founder-role { display: inline-block; background: rgba(212, 146, 30, 0.1); color: var(--gold-400); padding: 4px 16px; border-radius: var(--radius-xl); font-size: 14px; font-weight: 500; margin-bottom: 24px; }
.founder-details { display: flex; flex-direction: column; gap: 14px; }
.detail-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-secondary); }
.detail-item i { color: var(--gold-500); font-size: 16px; margin-top: 4px; flex-shrink: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; margin-bottom: 64px; }
.team-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition-normal); }
.team-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-gold); }
.team-card-header { background: linear-gradient(135deg, var(--team-header-bg-1), var(--team-header-bg-2)); padding: 24px; display: flex; align-items: center; gap: 16px; }
.team-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(212, 146, 30, 0.15); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--gold-400); flex-shrink: 0; }
.team-badge { background: rgba(212, 146, 30, 0.15); color: var(--gold-300); padding: 4px 14px; border-radius: var(--radius-xl); font-size: 12px; font-weight: 600; }
[data-theme="light"] .team-badge { color: var(--gold-500); }
.team-card-body { padding: 24px; }
.team-card-body h4 { font-family: var(--font-heading); font-size: 18px; color: var(--text-primary); margin-bottom: 8px; }
.team-nationality { display: inline-block; font-size: 12px; color: var(--text-muted); background: rgba(128,128,128, 0.1); padding: 2px 10px; border-radius: var(--radius-sm); margin-bottom: 12px; }
.team-qualifications { display: flex; flex-direction: column; gap: 10px; }
.team-qualifications li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.team-qualifications li i { color: var(--gold-500); font-size: 12px; margin-top: 4px; flex-shrink: 0; }

/* Admin Team */
.admin-team-section { margin-top: 48px; }
.admin-title { font-family: var(--font-heading); font-size: 24px; color: var(--gold-400); text-align: center; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; margin-bottom: 32px; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition-normal); }
.admin-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.admin-avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(212, 146, 30, 0.1); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--gold-400); margin-bottom: 16px; }
.admin-card h4 { font-family: var(--font-heading); font-size: 17px; color: var(--text-primary); margin-bottom: 6px; }
.admin-role { display: inline-block; font-size: 13px; color: var(--gold-400); margin-bottom: 12px; }
.admin-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.translator-note { display: flex; align-items: flex-start; gap: 20px; background: linear-gradient(135deg, rgba(212, 146, 30, 0.08), rgba(212, 146, 30, 0.03)); border: 1px solid rgba(212, 146, 30, 0.15); border-radius: var(--radius-lg); padding: 24px; }
.translator-note > i { font-size: 32px; color: var(--gold-400); flex-shrink: 0; margin-top: 4px; }
.translator-note h4 { font-family: var(--font-heading); font-size: 17px; color: var(--gold-400); margin-bottom: 6px; }
.translator-note p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 24px; transition: all var(--transition-normal); position: relative; overflow: hidden; }
.service-card::before { content: attr(data-number); position: absolute; top: 12px; left: 16px; font-family: var(--font-heading); font-size: 48px; font-weight: 700; color: rgba(212, 146, 30, 0.06); line-height: 1; }
[dir="ltr"] .service-card::before { left: auto; right: 16px; }
.service-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-gold); }
.service-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(212, 146, 30, 0.1); border-radius: var(--radius-md); font-size: 22px; color: var(--gold-400); margin-bottom: 16px; transition: all var(--transition-normal); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; transform: scale(1.05); }
.service-card h4 { font-family: var(--font-heading); font-size: 18px; color: var(--text-primary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ---------- Clients ---------- */
.clients-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: var(--radius-xl); font-size: 14px; color: var(--text-secondary); transition: all var(--transition-normal); cursor: default; }
.client-chip i { color: var(--gold-500); font-size: 12px; }
.client-chip:hover { border-color: var(--gold-500); color: var(--gold-300); background: rgba(212, 146, 30, 0.06); transform: translateY(-2px); }

/* ---------- Closing ---------- */
.closing-section { padding: 80px 0; }
.closing-content { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-icon { font-size: 48px; color: var(--gold-400); margin-bottom: 24px; opacity: 0.5; }
.closing-text { font-size: 17px; color: var(--text-secondary); line-height: 2; margin-bottom: 20px; }
.closing-prayer { font-family: var(--font-heading); font-size: 18px; color: var(--gold-400); line-height: 1.8; font-style: italic; }

/* ---------- Branches ---------- */
.branches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px 24px; position: relative; overflow: hidden; transition: all var(--transition-normal); }
.branch-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-gold); }
.branch-main { border-color: rgba(212, 146, 30, 0.3); }
.branch-ribbon { display: inline-block; background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; padding: 4px 16px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.branch-icon { font-size: 36px; color: var(--gold-400); margin-bottom: 16px; }
.branch-card h4 { font-family: var(--font-heading); font-size: 20px; color: var(--text-primary); margin-bottom: 20px; }
.branch-details { display: flex; flex-direction: column; gap: 14px; }
.branch-detail { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.branch-detail i { color: var(--gold-500); font-size: 14px; margin-top: 4px; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-info-panel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 36px; }
.contact-info-panel h3 { font-family: var(--font-heading); font-size: 22px; color: var(--text-primary); margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(212, 146, 30, 0.1); border-radius: var(--radius-md); font-size: 18px; color: var(--gold-400); flex-shrink: 0; }
.contact-item div { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.contact-item a, .contact-item span { font-size: 14px; color: var(--text-secondary); }
.contact-item a:hover { color: var(--gold-400); }
.contact-form { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-primary); font-size: 14px; transition: all var(--transition-fast); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212, 146, 30, 0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
#footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 64px 0 0; }
[data-theme="dark"] #footer { background: var(--navy-950, #080f19); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.footer-links h4, .footer-contact h4 { font-family: var(--font-heading); font-size: 18px; color: var(--gold-400); margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: all var(--transition-fast); }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--text-secondary); }
.footer-contact-item i { color: var(--gold-500); width: 18px; text-align: center; }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ---------- Back to Top ---------- */
#backToTop { position: fixed; bottom: 32px; left: 32px; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition-normal); z-index: 100; box-shadow: 0 4px 20px rgba(212, 146, 30, 0.3); }
[dir="ltr"] #backToTop { left: auto; right: 32px; }
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(212, 146, 30, 0.5); }

/* ---------- Animations ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .values-grid, .branches-grid { grid-template-columns: 1fr; }
    .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { position: fixed; top: 0; right: 0; width: 80%; max-width: 320px; height: 100vh; background: var(--navbar-bg); backdrop-filter: blur(20px); flex-direction: column; align-items: flex-start; padding: 80px 32px 32px; gap: 8px; transform: translateX(100%); transition: transform var(--transition-normal); border-left: 1px solid var(--border-color); z-index: 999; }
    [dir="ltr"] .nav-links { right: auto; left: 0; transform: translateX(-100%); border-left: none; border-right: 1px solid var(--border-color); }
    .nav-links.active { transform: translateX(0); }
    .nav-links li { width: 100%; }
    .nav-links li a { display: block; padding: 12px 16px; font-size: 16px; }
    .nav-toggle { display: flex; z-index: 1001; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .stat-divider { width: 50px; height: 1px; }
    .hero-actions { flex-direction: column; }
    .founder-card { flex-direction: column; text-align: center; padding: 32px 24px; gap: 24px; }
    .founder-details { text-align: right; }
    [dir="ltr"] .founder-details { text-align: left; }
    .services-grid, .admin-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
}
@media (max-width: 480px) {
    .hero-title-line { font-size: 32px; }
    .hero-title-accent { font-size: 18px; }
    .stat-number { font-size: 32px; }
    .hero-badge span { font-size: 12px; }
}
