/* ============================================
   🎨 المتغيرات الأساسية - CSS Variables
   ============================================ */
:root {
    --black: #080808;
    --dark-gray: #121212;
    --card-bg: #0f0f0f;
    --gold: #D4AF37;
    --gold-hover: #e8c547;
    --gold-dim: #C5A059;
    --gold-low: rgba(212, 175, 55, 0.15);
    --gold-glow: rgba(212, 175, 55, 0.4);
    --white: #ffffff;
    --text-muted: #9a9a9a;
    --section-padding: 100px 0;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --navbar-height: 76px;
}

/* ============================================
   🔄 Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dim) var(--black);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--black);
    color: var(--white);
    direction: rtl;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: var(--navbar-height);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ♿ Skip to Content (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--black);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    z-index: 100000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* ============================================
   🖱️ Custom Cursor (Desktop Only)
   ============================================ */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    will-change: transform, left, top;
    display: none; /* مخفي افتراضياً - يظهر فقط على Desktop */
}
.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    will-change: transform, left, top;
    display: none;
}

/* يظهر فقط على الأجهزة التي تدعم hover (ليست touch) */
@media (hover: hover) and (pointer: fine) {
    /* تم إلغاء كود إخفاء الماوس الأساسي لحل مشكلة الماوس المخفي */
    .cursor-dot, .cursor-outline { display: block; }
}

.cursor-hover .cursor-dot {
    width: 12px; height: 12px;
    background: var(--white);
    mix-blend-mode: difference;
}
.cursor-hover .cursor-outline {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

/* ============================================
   📊 Scroll Progress Bar
   ============================================ */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    width: 0%; height: 3px;
    background: linear-gradient(to right, var(--gold-dim), var(--gold), #ffdf70);
    z-index: 10000;
    box-shadow: 0 0 10px var(--gold-glow);
    will-change: width;
    transition: none; /* أسرع بدون transition */
}

section[id], header[id] { scroll-margin-top: var(--navbar-height); }

/* ============================================
   🛠️ Utility Classes
   ============================================ */
.brand-ruqaa { font-family: 'Aref Ruqaa', serif; }
.gold-text { color: var(--gold); }
.bg-darker { background: #0a0a0a; }
.section-padding { padding: var(--section-padding); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-header .header-line {
    width: 80px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 20px auto 0;
    border-radius: 10px;
}

::selection { background: var(--gold); color: var(--black); }

/* Webkit Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Global Focus Visible */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ============================================
   ⏳ Preloader
   ============================================ */
#preloader {
    position: fixed; inset: 0;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    z-index: 999999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-circle {
    width: 100px; height: 100px;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    position: relative;
}
.loader-circle::after {
    content: '\f24e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 1.8rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   📌 Navbar
   ============================================ */
.navbar {
    position: fixed; top: 0; width: 100%;
    z-index: 9999;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    padding: 12px 0;
    transition: var(--transition);
    height: var(--navbar-height);
}
.navbar.scrolled {
    background: rgba(8, 8, 8, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(197, 160, 89, 0.3);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    transition: var(--transition);
}
.brand-icon {
    font-size: 1.8rem;
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}
.brand-name { font-size: 1.35rem; color: var(--white); }
.brand-name .gold-text { font-weight: 700; }

.navbar-toggler {
    border: none;
    padding: 8px;
    outline: none;
    box-shadow: none;
    background: transparent;
}
.navbar-toggler:focus { box-shadow: none; }
.hamburger-icon {
    width: 26px; height: 20px;
    display: flex; flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.hamburger-icon span {
    display: block; height: 2.5px; width: 100%;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold-hover));
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) {
    opacity: 0; transform: translateX(-15px);
}
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* === Nav Links === */
.nav-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    position: relative;
    transition: var(--transition);
    background: none;
}

/* الخط اللي تحت اللينك */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 18px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    border-radius: 10px;
}

/* Hover و Active: النص يبقى ذهبي صريح ومريح للعين */
.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--gold) !important;
    background: none;
    /* تأثير نيون ذهبي ناعم لعدم تغميق النص */
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* تعديل الخط في حالة الـ Hover و Active ليصبح مضيئاً بوضوح */
.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: calc(100% - 36px);
    background: var(--gold); /* لون ذهبي صريح */
    box-shadow: 0 0 10px var(--gold);
}

.navbar-collapse { flex-basis: 100%; flex-grow: 0; }
.navbar-nav { width: 100%; justify-content: flex-end; }

/* ============================================
   🏠 Hero Section
   ============================================ */
.hero {
    min-height: calc(100vh - var(--navbar-height));
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 40px 0;
}
.hero-bg-particles {
    position: absolute; inset: 0;
    overflow: hidden; z-index: 0;
}
.particle {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite ease-in-out;
}
@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100px) scale(1.5); }
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-frame {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid var(--gold-low);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    max-width: 1200px;
    margin: 0 auto;
}
.hero-frame:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.08);
}

.official-tag {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold);
    font-weight: 600;
}
.hero-name {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    margin: 25px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-dim) 50%, var(--white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
    letter-spacing: -1px;
    line-height: 1.2;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 2;
    max-width: 550px;
}
.typing-wrapper {
    display: inline-flex; align-items: center;
    gap: 5px; margin-bottom: 15px;
}
.typing-text {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
    min-height: 1.5em;
}
.typing-cursor {
    display: inline-block;
    width: 2px; height: 1.3em;
    background: var(--gold);
    animation: blink 0.8s infinite;
    vertical-align: middle;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-img-container { position: relative; padding: 20px; }
.hero-img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 16px;
    filter: drop-shadow(-10px 15px 30px rgba(0, 0, 0, 0.7));
    transition: var(--transition);
}
.hero-img:hover {
    filter: drop-shadow(-10px 15px 40px rgba(212, 175, 55, 0.15));
    transform: scale(1.02);
}

/* Gold frame around hero image */
.hero-img-container::before {
    content: '';
    position: absolute;
    top: 10px; right: 10px;
    width: 60px; height: 60px;
    border-top: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-radius: 0 16px 0 0;
    z-index: 2;
}
.hero-img-container::after {
    content: '';
    position: absolute;
    bottom: 10px; left: 10px;
    width: 60px; height: 60px;
    border-bottom: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    border-radius: 0 0 0 16px;
    z-index: 2;
}

/* ============================================
   🔘 Buttons
   ============================================ */
.btn-gold-primary,
.btn-gold-outline,
.btn-gold-sm,
.btn-gold-glow {
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-gold-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: var(--black);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
}
.btn-gold-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--gold-glow);
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    color: var(--black);
}
.btn-gold-outline {
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 8px;
    background: transparent;
    font-size: 0.95rem;
}
.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--gold-glow);
}
.btn-gold-sm {
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 11px 30px;
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
    font-size: 0.9rem;
}
.btn-gold-sm:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 8px 20px var(--gold-glow);
    transform: translateY(-2px);
}
.btn-gold-glow {
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
    font-weight: 600;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    justify-content: center;
}
.btn-gold-glow:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 25px var(--gold-glow);
    transform: translateY(-2px);
}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* Button ripple effect */
.btn-gold-primary::after,
.btn-gold-outline::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-gold-primary:active::after,
.btn-gold-outline:active::after {
    width: 300px; height: 300px;
}

/* ============================================
   📖 About Section
   ============================================ */
.about-section {
    background: linear-gradient(180deg, var(--black), var(--dark-gray));
}
.about-img-frame {
    position: relative;
    padding: 15px;
    border: 1px solid var(--gold-low);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}
.about-img-frame::before {
    content: '';
    position: absolute;
    top: -8px; left: -8px;
    width: 50px; height: 50px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    border-radius: 12px 0 0 0;
}
.about-img-frame::after {
    content: '';
    position: absolute;
    bottom: -8px; right: -8px;
    width: 50px; height: 50px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-radius: 0 0 12px 0;
}
.about-img {
    border-radius: 15px;
    filter: grayscale(20%) brightness(0.9);
    transition: var(--transition);
    width: 100%; height: auto;
    object-fit: cover;
}
.about-img:hover { filter: grayscale(0%) brightness(1); }
.experience-badge {
    position: absolute;
    bottom: -10px; right: -10px;
    background: var(--dark-gray);
    padding: 15px 22px;
    border: 2px solid var(--gold);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.info-item {
    background: var(--card-bg);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    height: 100%;
}
.info-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.vision-card {
    border-right: 3px solid var(--gold);
    background: rgba(212, 175, 55, 0.03);
    padding: 22px 25px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 15px;
    transition: var(--transition);
}
.vision-card:hover {
    background: rgba(212, 175, 55, 0.06);
    transform: translateX(-5px);
}

/* ============================================
   ⭐ Features (Why Choose Us) Section
   ============================================ */
.features-section {
    background: linear-gradient(180deg, var(--dark-gray), var(--black));
}
.feature-box {
    text-align: center;
    padding: 40px 20px;
    transition: var(--transition);
    border-radius: 16px;
    border: 1px solid transparent;
}
.feature-box:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}
.feature-icon-wrapper {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.feature-icon-wrapper::before {
    content: '';
    position: absolute; inset: -5px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: spin 15s linear infinite;
}
.feature-icon-wrapper i { font-size: 2rem; color: var(--gold); }

/* ============================================
   ⚖️ Services Section (With Shine Effect)
   ============================================ */
.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
/* Shine Effect */
.service-card::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
    z-index: 1;
    pointer-events: none;
}
.service-card:hover::after { left: 150%; }
.service-card::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 70px; height: 70px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.08);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}
.service-card:hover .service-icon {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.1);
}
.service-icon i { font-size: 1.8rem; color: var(--gold); }
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
    position: relative;
    z-index: 2;
}
.service-card .btn-gold-sm { position: relative; z-index: 2; }

/* ============================================
   📰 News Section
   ============================================ */
.news-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.news-card::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
    z-index: 2;
    pointer-events: none;
}
.news-card:hover::after { left: 150%; }
.news-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.news-img-wrap { height: 220px; overflow: hidden; position: relative; }
.news-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card:hover .news-img-wrap img { transform: scale(1.1); }
.news-img-wrap::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--card-bg), transparent);
}
.news-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
    position: relative;
    z-index: 1;
}
.news-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

/* ============================================
   💬 Testimonials Section
   ============================================ */
.testimonials-section {
    background: linear-gradient(180deg, var(--black), var(--dark-gray));
}
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}
.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-quote {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.08);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.testimonial-quote i { font-size: 1.5rem; color: var(--gold); }
.testimonial-stars { margin-bottom: 15px; }
.testimonial-stars i { color: var(--gold); font-size: 0.9rem; margin-left: 2px; }
.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 25px;
    flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--black);
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-author h6 { color: var(--white); margin-bottom: 2px; font-weight: 700; }
.testimonial-author p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ============================================
   ❓ FAQ Section
   ============================================ */
.faq-section {
    background: linear-gradient(180deg, var(--dark-gray), var(--black));
}
.faq-accordion .accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-accordion .accordion-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
}
.faq-accordion .accordion-button {
    background: var(--card-bg);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 22px 25px;
    border: none;
    box-shadow: none;
    font-family: 'Cairo', sans-serif;
    text-align: right;
    line-height: 1.6;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold);
}
.faq-accordion .accordion-button::after {
    filter: invert(1) brightness(0.6);
    margin-right: auto;
    margin-left: 0;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(1) sepia(1) hue-rotate(10deg) saturate(5);
}
.faq-accordion .accordion-body {
    background: var(--card-bg);
    color: var(--text-muted);
    padding: 0 25px 25px;
    font-size: 0.95rem;
    line-height: 2;
    text-align: right;
}
.faq-accordion .accordion-button:focus {
    box-shadow: none;
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

/* ============================================
   📊 Stats Section
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--black) 0%, #0d0d0d 50%, var(--black) 100%);
    position: relative;
}
.stats-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}
.stat-card::after {
    content: '';
    position: absolute; left: 0; top: 20%;
    height: 60%; width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3), transparent);
}
.stat-card:last-child::after { display: none; }
.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    margin-bottom: 10px;
}
.stat-label { font-weight: 600; font-size: 1.1rem; }

/* ============================================
   📞 Contact Section
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, var(--dark-gray), var(--black));
}
.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.form-floating > .form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    transition: var(--transition);
}
.form-floating > .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(212, 175, 55, 0.03);
}
.form-floating > label { color: var(--text-muted); }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--gold);
    opacity: 1;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

/* Validation */
.is-invalid { border-color: #dc3545 !important; background-image: none !important; }
.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    text-align: right;
}
.is-invalid ~ .invalid-feedback { display: block; }

/* Success toast */
.form-success-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: var(--black);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    z-index: 99999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px var(--gold-glow);
    pointer-events: none;
}
.form-success-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.contact-info-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}
.contact-info-icon {
    width: 55px; height: 55px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.08);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
}

/* ============================================
   🦶 Footer
   ============================================ */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.footer-brand { margin-bottom: 25px; }
.footer-links {
    display: flex; justify-content: center;
    gap: 25px; flex-wrap: wrap;
    margin-bottom: 25px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}
.footer-links a:hover { color: var(--gold); }
.social-links {
    display: flex; justify-content: center;
    gap: 15px; margin-bottom: 25px;
}
.social-link {
    width: 45px; height: 45px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
}
.social-link:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--gold-glow);
}
.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   ⬆️ Scroll to Top
   ============================================ */
.scroll-top-btn {
    position: fixed; bottom: 30px; left: 30px;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: var(--black);
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 9998;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--gold-glow);
}
.scroll-top-btn.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

/* ============================================
   📱 WhatsApp Float
   ============================================ */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    width: 55px; height: 55px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    z-index: 9998;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 5px 35px rgba(37, 211, 102, 0.6); }
}

/* WhatsApp tooltip */
.whatsapp-float::before {
    content: 'تواصل معنا';
    position: absolute;
    right: 65px;
    background: var(--dark-gray);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   📱 Responsive Adjustments
   ============================================ */
@media (max-width: 991px) {
    :root { --navbar-height: 65px; }

    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        padding: 20px;
        border-radius: 16px;
        margin-top: 15px;
        border: 1px solid rgba(197, 160, 89, 0.15);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }
    .navbar-nav { text-align: right; }

    /* على الموبايل: الخط تحت اللينك مش بيظهر، بس اللون بيتحول ذهبي مع النيون */
    .nav-link::after { display: none; }
    .nav-link { color: var(--white); }
    .nav-link:hover,
    .nav-link:focus,
    .nav-link.active {
        color: var(--gold) !important;
        background: none;
        text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
    }

    .hero { padding: 30px 0; }
    .hero-frame { margin: 0 15px; }
    .content-column { text-align: center; padding: 30px 20px; }
    .content-column .hero-subtitle { margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .img-column img { max-width: 85%; margin: 0 auto; }
    .brand-name { font-size: 1.15rem; }
    .experience-badge { right: 5px; bottom: 5px; padding: 10px 15px; }
    .stat-card::after { display: none; }
    .contact-form-wrapper { padding: 25px; }
    .hero-img-container::before,
    .hero-img-container::after { display: none; }
}

@media (max-width: 768px) {
    .hero-btns { flex-direction: column; }
    .hero-btns a { width: 100%; justify-content: center; }
    .section-padding { padding: 60px 0; }
    .whatsapp-float {
        width: 48px; height: 48px;
        font-size: 1.3rem;
        bottom: 20px; right: 20px;
    }
    .whatsapp-float::before { display: none; }
    .scroll-top-btn {
        bottom: 20px; left: 20px;
        width: 42px; height: 42px;
    }
    .section-header h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
}

/* ============================================
   🎭 Reduced Motion (Accessibility)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
    .particle { display: none; }
    .typing-cursor { animation: none; opacity: 1; }
    .hero-name { animation: none; background-position: 0% center; }
    .loader-circle { animation: none; }
    .feature-icon-wrapper::before { animation: none; }
    .whatsapp-float { animation: none; }
    .service-card::after,
    .news-card::after { display: none; }
}

/* ============================================
   🖨️ Print Styles
   ============================================ */
@media print {
    .navbar, .scroll-progress, .whatsapp-float,
    .scroll-top-btn, #preloader, .cursor-dot,
    .cursor-outline, .hero-bg-particles { display: none; }
    body { padding-top: 0; background: white; color: black; }
    .hero { min-height: auto; }
    .gold-text { color: #997a1e; }
    .section-padding { padding: 30px 0; }
    a { color: #997a1e; }
}