/* ═══════════════════════════════════════════════════════════
   Capital Continental Holding Group - Cosmic Theme v4.0
   تصميم فضائي احترافي | متجاوب بالكامل | RTL Support
   ═══════════════════════════════════════════════════════════ */

:root {
    --space-dark: #020010;
    --space-deep: #0a0520;
    --space-blue: #0d1140;
    --nebula-purple: #1a1040;
    --nebula-pink: #2d1545;
    --star-gold: #f0d060;
    --star-white: #e8e8ff;
    --sun-core: #ff8c00;
    --sun-glow: #ff5500;
    --earth-blue: #1a8ccc;
    --earth-green: #1a9c5c;
    --aurora-green: #00ff88;
    --aurora-cyan: #00ddff;
    --meteor-orange: #ff6b35;
    --glass-bg: rgba(10, 5, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.12);
    --font-main: 'Cairo', 'Segoe UI', 'Tahoma', sans-serif;
    --font-title: 'Cairo', 'Georgia', serif;
    --transition-cosmic: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-star: 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    --transition-orbit: 0.8s ease-in-out;
    --header-height: 80px;
    --section-padding: 120px;
    --container-max: 1500px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden !important;
    width: 100% !important;
}

body {
    font-family: var(--font-main);
    background: var(--space-dark);
    color: #e0ddf0;
    line-height: 1.7;
    overflow-x: hidden !important;
    position: relative;
    min-height: 100vh;
    direction: rtl;
    width: 100% !important;
    max-width: 100vw !important;
}

img {
    max-width: 100%;
    height: auto;
}


/* ── خلفية الفضاء ── */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(ellipse at 20% 20%, var(--nebula-purple) 0%, transparent 50%), radial-gradient(ellipse at 80% 60%, var(--nebula-pink) 0%, transparent 45%), radial-gradient(ellipse at 50% 80%, var(--space-blue) 0%, transparent 55%), linear-gradient(180deg, var(--space-dark) 0%, var(--space-deep) 40%, var(--space-dark) 100%);
    animation: nebulaDrift 30s ease-in-out infinite;
}

@keyframes nebulaDrift {
    0%,
    100% {
        opacity: 0.9;
        transform: scale(1);
    }
    25% {
        opacity: 1;
        transform: scale(1.05);
    }
    50% {
        opacity: 0.85;
        transform: scale(0.97);
    }
    75% {
        opacity: 0.95;
        transform: scale(1.03);
    }
}


/* ── طبقة النجوم ── */

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, 0.9), transparent), radial-gradient(1.5px 1.5px at 30% 20%, rgba(255, 255, 255, 0.9), transparent), radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.6), transparent), radial-gradient(1.5px 1.5px at 50% 35%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(2px 2px at 70% 25%, rgba(240, 208, 96, 0.9), transparent), radial-gradient(1.5px 1.5px at 90% 40%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(2px 2px at 45% 10%, rgba(240, 208, 96, 0.8), transparent), radial-gradient(1px 1px at 5% 50%, rgba(240, 208, 96, 0.7), transparent), radial-gradient(2px 2px at 55% 90%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(1.5px 1.5px at 65% 95%, rgba(255, 255, 255, 0.6), transparent);
    animation: starsTwinkle 4s ease-in-out infinite alternate;
}

@keyframes starsTwinkle {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.65;
    }
}


/* ── شريط التمرير ── */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--space-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--aurora-cyan), var(--nebula-pink));
    border-radius: 10px;
}


/* ── حاوية الأقسام ── */

section {
    padding: var(--section-padding) 6vw 80px;
    max-width: var(--container-max);
    margin: 0 auto;
    scroll-margin-top: var(--header-height);
    position: relative;
    z-index: 1;
    overflow-x: hidden !important;
}


/* ─ـ عناوين الأقسام ─ـ */

.sec-heading {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.sec-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--aurora-cyan);
    text-shadow: 0 0 15px rgba(0, 221, 255, 0.5);
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.sec-label::before,
.sec-label::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--star-gold);
    font-size: 0.7rem;
}

.sec-label::before {
    right: -30px;
    animation: starPulseLeft 1.5s infinite;
}

.sec-label::after {
    left: -30px;
    animation: starPulseRight 1.5s infinite 0.75s;
}

@keyframes starPulseLeft {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.3);
    }
}

@keyframes starPulseRight {
    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1.3);
    }
    50% {
        opacity: 0.3;
        transform: translateY(-50%) scale(0.8);
    }
}

.sec-title-glow {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #c8d8ff 30%, #a0b8ff 50%, #f0d060 70%, #c8a030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(160, 184, 255, 0.5));
    display: inline-block;
    position: relative;
}

.sec-title-glow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--aurora-cyan), transparent);
    filter: blur(1px);
}

.sec-desc {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    color: rgba(200, 210, 240, 0.7);
    line-height: 2;
    font-size: 1.05rem;
}


/* ═══════════════════════════════════════════════════════
   NEWS TICKER
   ═══════════════════════════════════════════════════════ */

.cc-news-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: #1a3a2f;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    overflow: hidden;
    direction: rtl;
}

.cc-news-ticker .ticker-label {
    flex-shrink: 0;
    background: #c9a96e;
    color: #0d1f1a;
    padding: 0 25px;
    height: 48px;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
}

.cc-news-ticker .ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ccTickerScroll 50s linear infinite;
    will-change: transform;
}

.cc-news-ticker .ticker-track:hover {
    animation-play-state: paused;
}

.cc-news-ticker .ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    font-size: 14px;
    color: #a0b0a8;
    flex-shrink: 0;
}

.cc-news-ticker .ticker-item::before {
    content: "●";
    color: #c9a96e;
    margin-left: 30px;
    font-size: 8px;
}

.cc-news-ticker .ticker-item strong {
    color: #e8d5a3;
    font-weight: 700;
    margin-left: 5px;
}

@keyframes ccTickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}


/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #e8d5a0 40%, #f0d060 70%, #c89630 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(240, 208, 96, 0.4));
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--aurora-cyan);
    text-shadow: 0 0 20px rgba(0, 221, 255, 0.4);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-desc {
    max-width: 800px;
    color: rgba(200, 210, 240, 0.7);
    line-height: 2;
    text-align: justify;
    margin: 0 auto 40px;
    font-size: 1rem;
    padding: 25px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}


/* ═══════════════════════════════════════════════════════
   INTRO GLOBE
   ═══════════════════════════════════════════════════════ */

#intro {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

#intro.gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#introC {
    position: absolute;
    inset: 0;
}

#introTxt {
    position: absolute;
    bottom: 12%;
    text-align: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
    z-index: 10;
}

#introTxt.show {
    opacity: 1;
}

#introTxt h1 {
    font-size: clamp(1rem, 2.8vw, 1.8rem);
    color: var(--copperL);
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(200, 121, 65, .6);
}

#introTxt p {
    font-size: clamp(.6rem, 1.3vw, .8rem);
    color: var(--txt3);
    margin-top: 8px;
    letter-spacing: 5px;
}

.introSkip {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(200, 121, 65, .12);
    border: 1px solid var(--brd2);
    color: var(--copper);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: .78rem;
    z-index: 100001;
    transition: all .3s ease;
}

.introSkip:hover {
    background: rgba(200, 121, 65, .3);
    transform: scale(1.05);
}


/* نقاط التحميل */

.introDots {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.introDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copperD);
    animation: dotPulse 1.4s ease-in-out infinite;
}

.introDot:nth-child(2) {
    animation-delay: .2s;
}

.introDot:nth-child(3) {
    animation-delay: .4s;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: scale(.6);
        opacity: .3;
        background: var(--copperD);
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        background: var(--copperL);
    }
}


/* إضاءة شمسية خلف الكرة الأرضية */

#introSunGlow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 240, 200, 1) 0%, rgba(255, 220, 150, 0.85) 15%, rgba(255, 180, 80, 0.5) 35%, rgba(200, 121, 65, 0.2) 55%, rgba(100, 60, 30, 0.05) 75%, transparent 100%);
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    filter: blur(8px);
}

#introSunGlow.active {
    opacity: 1;
}

#introSunGlow.expand {
    width: 120vmax;
    height: 120vmax;
    transition: width 1.5s cubic-bezier(.25, .46, .45, .94), height 1.5s cubic-bezier(.25, .46, .45, .94), opacity 0.5s ease;
}

#introSunGlow.fade {
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

#siteRoot {
    display: none;
    opacity: 0;
    transition: opacity 0.9s ease;
    padding-top: 128px;
}


/* ═══════════════════════════════════════════════════════
   TEAM SECTION - القسم الكامل
   ═══════════════════════════════════════════════════════ */

.team-section {
    padding: 80px 6vw;
    position: relative;
    overflow: hidden;
}

.team-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 208, 96, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

.team-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.team-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.team-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(240, 208, 96, 0.3);
    border-radius: 3px;
}

.team-member-card {
    flex-shrink: 0;
    width: 180px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-member-card:hover {
    transform: translateY(-8px);
}

.team-member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid rgba(240, 208, 96, 0.5);
    box-shadow: 0 0 25px rgba(240, 208, 96, 0.2);
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-card:hover .team-member-photo {
    border-color: rgba(240, 208, 96, 0.8);
    box-shadow: 0 0 35px rgba(240, 208, 96, 0.4);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-photo i {
    font-size: 2.5rem;
    color: #f0d060;
}

.team-member-name {
    color: #f0d060;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.team-member-position {
    color: #888;
    font-size: 0.75rem;
    line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════
   TEAM MODAL - المودال
   ═══════════════════════════════════════════════════════ */

.team-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.team-modal-overlay.open {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.team-modal {
    background: transparent;
    width: min(90vw, 520px);
    border: none;
    border-radius: 40px;
    position: relative;
    padding: 0;
    box-shadow: none;
    animation: modalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 85vh;
    overflow: visible;
    direction: rtl;
}

[dir="ltr"] .team-modal {
    direction: ltr;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-card-wrapper {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.profile-card {
    background-color: #ffffff;
    border-radius: 40px;
    padding: 50px 35px 35px;
    box-shadow: 0 0 0 3px rgba(212, 196, 120, 0.35), 0 0 0 7px rgba(212, 196, 120, 0.15), 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: visible;
}

.profile-image {
    position: absolute;
    top: -85px;
    left: 35px;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 10;
    border: 4px solid rgba(212, 196, 120, 0.8);
    box-shadow: 0 15px 35px rgba(31, 53, 45, 0.12);
    background: #f5f5f5;
}

.profile-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6b4a;
    background: linear-gradient(135deg, #eef3ee, #dfe7dd);
    font-size: 4rem;
}

.profile-header {
    margin-top: 80px;
    text-align: right;
}

.profile-name {
    color: #1a6b4a;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.2;
}

.profile-title {
    color: #7a8a7a;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.3;
}

.profile-description {
    color: #2a2a2a;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.85;
    text-align: justify;
    text-align-last: right;
    word-spacing: 0.5px;
    margin: 0;
}

.team-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 100;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(212, 196, 120, 0.7);
    background: rgba(255, 255, 255, 0.9);
    color: #1a6b4a;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
    box-shadow: 0 10px 20px rgba(26, 107, 74, 0.1);
}

[dir="ltr"] .team-modal-close {
    left: auto;
    right: 15px;
}

.team-modal-close:hover {
    background: #1a6b4a;
    color: #fff;
    transform: rotate(90deg);
    border-color: #1a6b4a;
}

.team-modal-loading {
    text-align: center;
    padding: 50px;
    color: #177971;
    font-size: 1.1rem;
}

.team-modal-loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE - للشاشات الصغيرة
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .team-section {
        padding: 60px 4vw;
    }
    .team-scroll-container {
        gap: 15px;
        padding: 15px 5px;
    }
    .team-member-card {
        width: 150px;
    }
    .team-member-photo {
        width: 100px;
        height: 100px;
    }
    .team-member-photo i {
        font-size: 2rem;
    }
    .team-member-name {
        font-size: 0.8rem;
    }
    .team-member-position {
        font-size: 0.7rem;
    }
    .team-modal {
        padding: 25px 25px 30px;
        border-radius: 25px;
    }
    .team-modal-photo img,
    .team-modal-photo i {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    .team-modal-name {
        font-size: 22px;
    }
    .team-modal-position {
        font-size: 16px;
    }
    .team-modal-bio {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 40px 3vw;
    }
    .team-scroll-container {
        gap: 12px;
        padding: 10px 3px;
    }
    .team-member-card {
        width: 130px;
    }
    .team-member-photo {
        width: 85px;
        height: 85px;
        border-width: 2px;
    }
    .team-member-photo i {
        font-size: 1.8rem;
    }
    .team-member-name {
        font-size: 0.75rem;
    }
    .team-member-position {
        font-size: 0.65rem;
    }
    .team-modal {
        padding: 20px 15px 25px;
        border-radius: 20px;
        width: 95%;
        border-width: 2px;
    }
    .team-modal-close {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    [dir="ltr"] .team-modal-close {
        left: auto;
        right: 10px;
    }
    .team-modal-photo img,
    .team-modal-photo i {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        border-width: 3px;
    }
    .team-modal-name {
        font-size: 20px;
    }
    .team-modal-position {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .team-modal-bio {
        font-size: 13px;
        line-height: 1.6;
    }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE - للشاشات الصغيرة
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .team-modal {
        padding: 25px 25px 30px;
        border-radius: 25px;
    }
    .team-modal-photo img,
    .team-modal-photo i {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    .team-modal-name {
        font-size: 22px;
    }
    .team-modal-position {
        font-size: 16px;
    }
    .team-modal-bio {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .team-modal {
        padding: 20px 15px 25px;
        border-radius: 20px;
        width: 95%;
    }
    .team-modal-close {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .team-modal-photo img,
    .team-modal-photo i {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    .team-modal-name {
        font-size: 20px;
    }
    .team-modal-position {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .team-modal-bio {
        font-size: 13px;
        line-height: 1.6;
    }
}


/* ═══════════════════════════════════════════════════════
   ABOUT BADGE
   ═══════════════════════════════════════════════════════ */

.logo-with-badge {
    position: relative;
    display: inline-block;
    text-align: center;
}

.main-logo {
    display: block;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
}

.badge-overlay {
    position: absolute;
    bottom: -5px;
    right: 15%;
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(240, 208, 96, 0.5));
    animation: floatBadge 3s ease-in-out infinite;
    z-index: 5;
}

@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.site-footer {
    padding: 50px 6vw 30px;
    max-width: var(--container-max, 1500px);
    margin: 0 auto;
    position: relative;
    background: rgba(5, 2, 20, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f0d060, #00ddff, #f0d060, transparent);
    opacity: 0.4;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 208, 96, 0.2), transparent);
    margin-bottom: 35px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    filter: drop-shadow(0 0 15px rgba(240, 208, 96, 0.4));
}

.footer-brand-name {
    color: var(--star-gold);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.footer-brand-tag {
    color: rgba(200, 210, 240, 0.5);
    font-size: 0.78rem;
}

.footer-quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fql-title {
    color: rgba(200, 210, 240, 0.5);
    font-size: 0.8rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-quick-links a {
    color: rgba(200, 210, 240, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-quick-links a:hover {
    color: var(--star-gold);
    padding-right: 8px;
}


/* الأيقونات الملونة */

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
}

.social-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.social-whatsapp:hover {
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.social-twitter {
    background: rgba(29, 161, 242, 0.12);
    border-color: rgba(29, 161, 242, 0.3);
    color: #1da1f2;
}

.social-twitter:hover {
    background: #1da1f2;
    color: #fff;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-linkedin {
    background: rgba(0, 119, 181, 0.12);
    border-color: rgba(0, 119, 181, 0.3);
    color: #0077b5;
}

.social-linkedin:hover {
    background: #0077b5;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-youtube {
    background: rgba(255, 0, 0, 0.12);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

.social-youtube:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-instagram {
    background: rgba(225, 48, 108, 0.12);
    border-color: rgba(225, 48, 108, 0.3);
    color: #e1306c;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-snapchat {
    background: rgba(255, 252, 0, 0.12);
    border-color: rgba(255, 252, 0, 0.3);
    color: #fffc00;
}

.social-snapchat:hover {
    background: #fffc00;
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 252, 0, 0.4);
}


/* حقوق النشر */

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(240, 208, 96, 0.5), transparent);
}

.copyright-text {
    color: rgba(200, 210, 240, 0.35);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.copyright-brand {
    background: linear-gradient(135deg, rgba(240, 208, 96, 0.6), rgba(200, 150, 50, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.copyright-year {
    color: rgba(0, 221, 255, 0.35);
    font-weight: 600;
    font-size: 0.78rem;
}


/* ═══════════════════════════════════════════════════════
   ADMIN LOGIN MODAL
   ═══════════════════════════════════════════════════════ */

.ccg-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ccg-modal-overlay.open {
    display: flex;
    animation: adminFadeIn 0.3s ease;
}

@keyframes adminFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ccg-modal {
    background: rgba(10, 5, 30, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(240, 208, 96, 0.3);
    border-radius: 24px;
    padding: 40px 35px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.ccg-modal h3 {
    color: #f0d060;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.close-x {
    position: absolute;
    top: 15px;
    left: 18px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-x:hover {
    background: rgba(255, 80, 80, 0.2);
    color: #ff8888;
    transform: rotate(90deg);
}

.error-msg {
    color: #ff8888;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: none;
}

.error-msg.show {
    display: block;
}

#loginForm {
    text-align: right;
}

#loginForm input {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    direction: rtl;
    transition: all 0.3s;
}

#loginForm input:focus {
    outline: none;
    border-color: rgba(240, 208, 96, 0.5);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff8c00, #ff5500);
    border: none;
    border-radius: 12px;
    color: #1a0800;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
}

.btn-submit:hover {
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.4);
}


/* ═══════════════════════════════════════════════════════
   HIDDEN SETTINGS
   ═══════════════════════════════════════════════════════ */

.hidden-settings-zone {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 46px;
    z-index: 600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
}

.hidden-settings-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0d060;
    background: rgba(240, 208, 96, 0.08);
    opacity: 0;
    transform: translateY(14px) scale(0.7);
    transition: all 0.35s ease;
    border: 1px solid rgba(240, 208, 96, 0.2);
}

.hidden-settings-zone:hover .hidden-settings-icon {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 0 18px rgba(240, 208, 96, 0.5);
}


/* ═══════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════ */

.ctSec {
    padding: 90px 6vw 80px;
    background: rgba(10, 5, 30, 0.5);
}

.ctTitle {
    text-align: center;
    margin-bottom: 50px;
}

.ctTitle h2 {
    font-size: 2.2rem;
    font-weight: 900;
}

.ctG {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.ctInfo {
    background: rgba(18, 18, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px 25px;
}

.ctInfoH {
    color: #f0d060;
    font-size: 1.2rem;
    font-weight: 800;
}

.ctInfoItem {
    display: flex;
    gap: 14px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
}

.ctInfoIcon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(240, 208, 96, 0.1);
    color: #f0d060;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ctInfoVal {
    color: #e0ddf0;
    font-weight: 600;
}

.ctForm {
    background: rgba(18, 18, 42, 0.9);
    border: 1px solid rgba(240, 208, 96, 0.15);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ctFormH {
    color: #f0d060;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
}

.ctRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ctField {
    margin-bottom: 15px;
}

.ctFieldLbl {
    color: rgba(200, 210, 240, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
}

.req {
    color: #ff5050;
}

.ctInput,
.ctSelect,
.ctTextarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
}

.ctInput:focus,
.ctSelect:focus,
.ctTextarea:focus {
    outline: none;
    border-color: rgba(240, 208, 96, 0.5);
}

.ctSelect {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f0d060' stroke-linecap='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 35px;
}

.ctTextarea {
    min-height: 120px;
    resize: vertical;
}

.ctBtn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff8c00, #ff5500);
    border: none;
    border-radius: 14px;
    color: #1a0800;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ctBtn:hover {
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.4);
}

.ctMsg {
    display: none;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
}

.ctMsg.success {
    display: block;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.ctMsg.error {
    display: block;
    background: rgba(255, 80, 80, 0.1);
    color: #ff8888;
    border: 1px solid rgba(255, 80, 80, 0.3);
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
     :root {
        --section-padding: 100px;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .sec-title-glow {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .ctG {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
     :root {
        --section-padding: 70px;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .sec-title-glow {
        font-size: 1.6rem;
    }
    .ctRow {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .cc-news-ticker {
        height: 40px;
    }
    .cc-news-ticker .ticker-label {
        padding: 0 15px;
        font-size: 11px;
        height: 40px;
    }
    .cc-news-ticker .ticker-item {
        padding: 0 15px;
        font-size: 12px;
    }
    #siteRoot {
        padding-top: 105px;
    }
    .team-modal {
        max-width: 450px;
        padding: 25px;
    }
    .team-modal-photo img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
     :root {
        --section-padding: 60px;
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .sec-title-glow {
        font-size: 1.4rem;
    }
    .team-modal {
        padding: 20px 15px 25px;
        border-radius: 20px;
    }
    .team-modal-photo img {
        width: 110px;
        height: 110px;
    }
    .main-logo {
        max-width: 140px;
    }
    .badge-overlay {
        width: 32px;
        height: 32px;
    }
    .hidden-settings-zone {
        width: 60px;
        height: 36px;
    }
}


/* ── تقليل الحركات ── */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}