/* ======================================== */
/* ROOT VARIABLES                           */
/* ======================================== */

:root {
    --primary: #1a2a6c;
    --primary-light: #2563eb;
    --primary-lighter: #60a5fa;
    --red: #dc2626;
    --red-light: #ef4444;
    --red-dark: #b91c1c;
    --red-glow: #f87171;
    --dark: #0f172a;
    --text: #475569;
    --white: #ffffff;
    --bg: #f1f5f9;
    --shadow: 0 10px 35px rgba(26, 42, 108, 0.15);
    --shadow-hover: 0 20px 50px rgba(26, 42, 108, 0.25);
    --radius: 20px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ======================================== */
/* RESET                                    */
/* ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", "Inter", sans-serif;
    background: var(--bg);
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* ======================================== */
/* SPLASH SCREEN                            */
/* ======================================== */

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1a2a6c 40%, #2563eb 100%);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.1);
}

.splash-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    animation: floatOrb 10s ease-in-out infinite;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(96, 165, 250, 0.08);
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(220, 38, 38, 0.06);
    bottom: -150px;
    left: -100px;
    animation-delay: 3s;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    top: 40%;
    right: 60%;
    animation-delay: 6s;
}

.bg-orb-4 {
    width: 200px;
    height: 200px;
    background: rgba(220, 38, 38, 0.05);
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 2.5rem;
    animation: floatIcon 15s ease-in-out infinite;
}

.float-icon-1 { top: 8%; left: 5%; animation-delay: 0s; font-size: 3rem; }
.float-icon-2 { top: 15%; right: 8%; animation-delay: 1s; font-size: 2rem; }
.float-icon-3 { top: 30%; left: 3%; animation-delay: 2s; font-size: 3.5rem; }
.float-icon-4 { top: 25%; right: 3%; animation-delay: 3s; font-size: 2.8rem; }
.float-icon-5 { top: 50%; left: 2%; animation-delay: 4s; font-size: 2.2rem; }
.float-icon-6 { top: 55%; right: 2%; animation-delay: 5s; font-size: 3.2rem; }
.float-icon-7 { top: 75%; left: 5%; animation-delay: 6s; font-size: 2.5rem; }
.float-icon-8 { top: 80%; right: 5%; animation-delay: 7s; font-size: 3rem; }
.float-icon-9 { top: 10%; left: 20%; animation-delay: 1.5s; font-size: 1.8rem; }
.float-icon-10 { top: 20%; right: 20%; animation-delay: 2.5s; font-size: 2rem; }
.float-icon-11 { top: 65%; left: 15%; animation-delay: 3.5s; font-size: 2.2rem; }
.float-icon-12 { top: 70%; right: 18%; animation-delay: 4.5s; font-size: 1.9rem; }
.float-icon-13 { top: 45%; left: 10%; animation-delay: 5.5s; font-size: 2rem; }
.float-icon-14 { top: 40%; right: 12%; animation-delay: 6.5s; font-size: 2.2rem; }
.float-icon-15 { top: 85%; left: 12%; animation-delay: 7.5s; font-size: 1.8rem; }
.float-icon-16 { top: 88%; right: 12%; animation-delay: 8.5s; font-size: 2rem; }

@keyframes floatIcon {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.08; }
    25% { transform: translate(15px, -20px) rotate(5deg) scale(1.1); opacity: 0.15; }
    50% { transform: translate(-10px, -35px) rotate(-3deg) scale(0.9); opacity: 0.12; }
    75% { transform: translate(20px, -10px) rotate(8deg) scale(1.05); opacity: 0.18; }
}

#particles-splash {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.splash-logo-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.splash-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 3;
    animation: logoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.4)) drop-shadow(0 0 60px rgba(220, 38, 38, 0.3));
    transition: all 0.5s ease;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2), inset 0 0 20px rgba(37, 99, 235, 0.05);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1) rotate(0deg);
        border-color: var(--primary-light);
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.2), inset 0 0 20px rgba(37, 99, 235, 0.05);
    }
    50% {
        transform: translateY(-15px) scale(1.03) rotate(-2deg);
        border-color: var(--red);
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.3), inset 0 0 30px rgba(220, 38, 38, 0.1);
    }
}

.logo-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(220, 38, 38, 0.15) 30%, rgba(37, 99, 235, 0.05) 60%, transparent 80%);
    animation: glowPulseNew 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulseNew {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
}

.logo-ring-1 {
    width: 180px;
    height: 180px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: ringRotate 8s linear infinite;
}

.logo-ring-2 {
    width: 200px;
    height: 200px;
    border: 1.5px dashed rgba(220, 38, 38, 0.25);
    animation: ringRotateReverse 10s linear infinite;
}

.logo-ring-3 {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(96, 165, 250, 0.1);
    animation: ringPulseNew 3s ease-in-out infinite;
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringRotateReverse {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes ringPulseNew {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.logo-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: dotsRotate 12s linear infinite;
}

.logo-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.logo-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.logo-dot:nth-child(2) { top: 25%; right: 0; transform: translateY(-50%); }
.logo-dot:nth-child(3) { bottom: 25%; right: 0; transform: translateY(50%); }
.logo-dot:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.logo-dot:nth-child(5) { top: 25%; left: 0; transform: translateY(-50%); }
.logo-dot:nth-child(6) { bottom: 25%; left: 0; transform: translateY(50%); }

@keyframes dotsRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.splash-logo-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: reflection 3s ease-in-out infinite;
}

@keyframes reflection {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.splash-brand-text {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.splash-brand-text h1 {
    font-size: 2rem;
    color: var(--white);
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.splash-brand-text .highlight {
    color: var(--red);
    display: block;
    font-size: 1.6rem;
}

.splash-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 3px;
    margin-top: 8px;
}

.splash-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.splash-tagline .dot {
    color: var(--red);
}

.splash-progress-wrapper {
    margin-top: 25px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.splash-progress {
    width: 200px;
    height: 3px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.splash-progress::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.splash-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--red-light), var(--red));
    border-radius: 999px;
    transition: width 0.3s ease;
    background-size: 200% 100%;
    animation: gradientMove 2s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.splash-loading-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 300;
}

/* ======================================== */
/* MAIN CONTENT                            */
/* ======================================== */

.main-content {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.main-content.visible {
    opacity: 1;
}

/* ======================================== */
/* TOP HEADER - شريط علوي مع هوفر أنيق     */
/* ======================================== */

.top-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
    font-family: "Cairo", "Inter", sans-serif;
    width: 100%;
}

.top-header.hide {
    display: none;
}

.top-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== العنصر الأساسي مع تأثيرات الهوفر ===== */
.top-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 4px 8px;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}

/* ===== تأثير الهوفر على العنصر ===== */
.top-header-item:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== خلفية شفافة عند الهوفر ===== */
.top-header-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.top-header-item:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* ===== الأيقونات ===== */
.top-header-item i {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

/* ===== أيقونات الهاتف والموقع - معكوسة ===== */
.top-header-phone i {
    transform: scaleX(-1);
}

.top-header-location i {
    transform: scaleX(-1);
}

.top-header-item .fa-clock {
    transform: scaleX(-1);
}

.top-header-item .fa-calendar {
    transform: scaleX(-1);
}

/* ===== أيقونات التواصل الاجتماعي - بخلفية بيضاء ===== */
.top-header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #ffffff;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.top-header-social i {
    font-size: 1rem;
    color: var(--primary-light);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== هوفر أيقونات التواصل - انعكاس الألوان ===== */
.top-header-social:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 4px 20px rgba(26, 42, 108, 0.3);
    border: 2px solid #ffffff;
}

.top-header-social:hover i {
    color: #ffffff;
    transform: scale(1.15);
    animation: iconWiggleSocial 0.6s ease;
}

/* ===== ألوان خاصة لأيقونات التواصل عند الهوفر ===== */
.top-header-social:hover .fa-facebook-f {
    color: #ffffff;
}

.top-header-social:hover .fa-instagram {
    color: #ffffff;
}

.top-header-social:hover .fa-youtube {
    color: #ffffff;
}

.top-header-social:hover .fa-whatsapp {
    color: #ffffff;
}

/* ===== هوفر على الأيقونة - تكبير مع حركة اهتزاز ===== */
.top-header-item:hover i {
    color: var(--white);
}

/* ===== هوفر خاص بالهاتف - تكبير مع الحفاظ على الانعكاس ===== */
.top-header-phone:hover i {
    transform: scaleX(-1) scale(1.2);
    animation: iconWiggle 0.6s ease;
}

/* ===== هوفر خاص بالموقع - تكبير مع الحفاظ على الانعكاس ===== */
.top-header-location:hover i {
    transform: scaleX(-1) scale(1.2);
    animation: iconWiggle 0.6s ease;
}

/* ===== هوفر على الساعة والتاريخ ===== */
.top-header-item:has(.fa-clock):hover i,
.top-header-item:has(.fa-calendar):hover i {
    transform: scaleX(-1) scale(1.2);
    animation: iconWiggle 0.6s ease;
}

/* ===== حركة اهتزاز للأيقونة ===== */
@keyframes iconWiggle {
    0% { transform: scaleX(-1) scale(1) rotate(0deg); }
    25% { transform: scaleX(-1) scale(1.2) rotate(-8deg); }
    50% { transform: scaleX(-1) scale(1.1) rotate(8deg); }
    75% { transform: scaleX(-1) scale(1.15) rotate(-4deg); }
    100% { transform: scaleX(-1) scale(1.2) rotate(0deg); }
}

/* ===== حركة اهتزاز لأيقونات التواصل ===== */
@keyframes iconWiggleSocial {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.15) rotate(-8deg); }
    50% { transform: scale(1.1) rotate(8deg); }
    75% { transform: scale(1.12) rotate(-4deg); }
    100% { transform: scale(1.15) rotate(0deg); }
}

/* ===== النصوص والروابط ===== */
.top-header-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* ===== خط متحرك تحت النص عند الهوفر ===== */
.top-header-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.5));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 999px;
}

.top-header-item a:hover {
    color: var(--white);
}

.top-header-item a:hover::after {
    width: 100%;
}

/* ===== أيقونات التواصل - بدون نصوص ===== */
.top-header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.top-header-social a::after {
    display: none;
}

/* ===== اتجاه النصوص ===== */
.top-header-phone bdi,
.top-header-location bdi,
#clockDisplay {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

.top-header-phone bdi {
    font-weight: 600;
    font-family: "Inter", "Cairo", sans-serif;
}

.top-header-location bdi {
    font-size: 0.8rem;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#clockDisplay {
    font-weight: 600;
    font-family: "Inter", "Cairo", sans-serif;
    min-width: 70px;
    color: var(--white);
    direction: ltr;
    unicode-bidi: embed;
}

#dateDisplay {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== هوفر خاص على تاريخ ===== */
.top-header-item:has(#dateDisplay):hover #dateDisplay {
    color: var(--white);
}

/* ======================================== */
/* RESPONSIVE - TOP HEADER                  */
/* ======================================== */

@media (max-width: 992px) {
    .top-header-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .top-header-left,
    .top-header-center,
    .top-header-right {
        justify-content: center;
        flex: none;
        width: 100%;
    }
    
    .top-header-location bdi {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .top-header {
        padding: 6px 0;
        font-size: 0.75rem;
    }
    
    .top-header-left,
    .top-header-right {
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .top-header-center {
        gap: 6px;
    }
    
    .top-header-social {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }
    
    .top-header-social i {
        font-size: 0.85rem;
    }
    
    #clockDisplay {
        min-width: 60px;
        font-size: 0.8rem;
    }
    
    .top-header-location bdi {
        max-width: 160px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .top-header {
        font-size: 0.7rem;
        padding: 4px 0;
    }
    
    .top-header-left,
    .top-header-right {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .top-header-center {
        gap: 4px;
    }
    
    .top-header-social {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border-width: 1.5px;
    }
    
    .top-header-social i {
        font-size: 0.75rem;
    }
    
    .top-header-phone bdi {
        font-size: 0.75rem;
    }
    
    .top-header-location bdi {
        max-width: 140px;
        font-size: 0.65rem;
    }
    
    #clockDisplay {
        font-size: 0.75rem;
        min-width: 55px;
    }
}

@media (max-width: 364px) {
    .top-header {
        font-size: 0.65rem;
        padding: 4px 0;
    }
    
    .top-header-item {
        gap: 4px;
        padding: 2px 4px;
    }
    
    .top-header-item i {
        font-size: 0.6rem;
    }
    
    .top-header-social {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border-width: 1px;
    }
    
    .top-header-social i {
        font-size: 0.65rem;
    }
    
    #clockDisplay {
        font-size: 0.65rem;
        min-width: 48px;
    }
    
    #dateDisplay {
        font-size: 0.6rem;
    }
}
/* ======================================== */
/* HEADER SPACER                            */
/* ======================================== */

.header-spacer {
    display: none;
}

/* ======================================== */
/* NAVBAR                                   */
/* ======================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    padding: 12px 0;
    transition: all 0.3s ease;
    width: 100%;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-light);
    padding: 4px;
    transition: all 0.3s ease;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.logo a:hover .logo-icon {
    border-color: var(--red);
    transform: scale(1.05);
}

.logo-text h2 {
    font-size: 1rem;
    color: var(--primary);
    line-height: 1.2;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--red));
    transition: width 0.3s ease;
    border-radius: 999px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.btn-nav-primary {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(26, 42, 108, 0.2);
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 42, 108, 0.35);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(26, 42, 108, 0.05);
}

/* ======================================== */
/* زر تغيير اللغة                          */
/* ======================================== */

.lang-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: "Inter", "Cairo", sans-serif;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
}

.lang-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.lang-toggle-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.lang-toggle-btn:hover {
    border-color: var(--primary);
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 4px 20px rgba(26, 42, 108, 0.25);
}

.lang-toggle-btn .lang-text,
.lang-toggle-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.lang-toggle-btn .lang-text {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.lang-toggle-btn i {
    font-size: 0.8rem;
    color: var(--primary-light);
}

.lang-toggle-btn:hover .lang-text {
    color: var(--white);
}

.lang-toggle-btn:hover i {
    color: var(--white);
    animation: globeSpin 0.8s ease;
}

@keyframes globeSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.lang-toggle-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.15);
    animation: pulseRing 2s ease-in-out infinite;
    opacity: 0;
}

.lang-toggle-btn:hover::after {
    opacity: 1;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.lang-toggle-btn.lang-en .lang-text {
    color: var(--red);
}

.lang-toggle-btn.lang-en i {
    color: var(--red);
}

.lang-toggle-btn.lang-en:hover .lang-text,
.lang-toggle-btn.lang-en:hover i {
    color: var(--white);
}

.lang-toggle-btn.switching {
    animation: switchPulse 0.5s ease;
}

@keyframes switchPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.2); border-color: var(--red); }
    60% { transform: scale(0.9); border-color: var(--primary-light); }
    100% { transform: scale(1); }
}

/* ======================================== */
/* VIDEO SECTION - مع خلفية حيوية          */
/* ======================================== */

.video-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: floatBg1 10s ease-in-out infinite;
    pointer-events: none;
}

.video-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: floatBg2 12s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatBg1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes floatBg2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.1); }
}

.video-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.video-content {
    padding: 20px 0;
}

.video-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(26, 42, 108, 0.2);
}

.video-tag i {
    font-size: 1rem;
}

.video-content h2 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.video-description {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 2;
    margin-bottom: 24px;
}

.video-description strong {
    color: var(--primary);
}

.video-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    cursor: default;
}

.video-feature:hover {
    transform: translateX(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.video-feature i {
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
}

.video-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

.video-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-rect-wrapper {
    position: relative;
    width: 560px;
    height: 315px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-ring {
    position: absolute;
    border-radius: 20px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    animation: videoRingPulse 4s ease-in-out infinite;
}

.video-ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(37, 99, 235, 0.08);
    animation-delay: 0s;
}

.video-ring-2 {
    width: 95%;
    height: 95%;
    border-color: rgba(220, 38, 38, 0.06);
    animation-delay: 1.5s;
    border-style: dashed;
}

@keyframes videoRingPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.5; }
}

.video-rect {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 42, 108, 0.15), 0 0 0 4px rgba(255, 255, 255, 0.8), 0 0 0 8px rgba(37, 99, 235, 0.05);
    z-index: 2;
    background: var(--dark);
    transition: all 0.5s ease;
    cursor: pointer;
}

.video-rect:hover {
    box-shadow: 0 25px 80px rgba(26, 42, 108, 0.25), 0 0 0 4px rgba(255, 255, 255, 0.8), 0 0 0 8px rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

.video-thumbnail {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    gap: 12px;
}

.video-thumbnail:hover .thumbnail-overlay {
    background: rgba(15, 23, 42, 0.25);
}

.thumbnail-overlay i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.thumbnail-overlay span {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-thumbnail:hover .thumbnail-overlay span {
    opacity: 1;
    transform: translateY(0);
}

.video-thumbnail:hover .thumbnail-overlay i {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
}

.video-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

.video-frame.active {
    opacity: 1;
    visibility: visible;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    animation: videoGlow 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes videoGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.video-float-icons {
    position: absolute;
    inset: -30px;
    pointer-events: none;
    z-index: 1;
}

.float-icon-item {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(26, 42, 108, 0.08);
    animation: floatIconMove 6s ease-in-out infinite;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.float-icon-item:nth-child(1) { color: var(--red); }
.float-icon-item:nth-child(3) { color: var(--primary-light); }

@keyframes floatIconMove {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(10px, -15px) scale(1.1) rotate(10deg); }
    50% { transform: translate(-5px, -25px) scale(0.9) rotate(-5deg); }
    75% { transform: translate(15px, -10px) scale(1.05) rotate(8deg); }
}

/* ======================================== */
/* HERO SECTION - تصميم احترافي وحيوي      */
/* ======================================== */

/* ===== [إضافة] تعريفات الحركات الجديدة المطلوبة للشارات ===== */
@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 60px rgba(26, 42, 108, 0.45);
        transform: scale(1.02);
    }
}

@keyframes starSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 40%, #fef2f2 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ===== دوائر خلفية متحركة ===== */
.hero-bg-circles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatCircle 15s ease-in-out infinite;
}

.bg-circle-1 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    top: 15%;
    left: -5%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    bottom: 25%;
    right: -5%;
    animation-delay: 4s;
}

.bg-circle-3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    top: 60%;
    left: 10%;
    animation-delay: 8s;
}

.bg-circle-4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    bottom: 10%;
    right: 15%;
    animation-delay: 2s;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: pulseCircle 8s ease-in-out infinite;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: pulseCircle 10s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes pulseCircle {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

#particles-hero {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
    animation: floatBlur 12s ease-in-out infinite;
}

.hero-blur-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.hero-blur-2 {
    width: 350px;
    height: 350px;
    background: var(--red);
    bottom: -120px;
    left: -80px;
    animation-delay: 4s;
}

@keyframes floatBlur {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

/* ======================================== */
/* شارة "من نحن" - توسيط كامل              */
/* ======================================== */

.hero-badge-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.hero-badge-about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1px;
}

.hero-badge-about:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 50px rgba(26, 42, 108, 0.4);
}

.hero-badge-about i {
    font-size: 1.1rem;
}

.hero-badge-about i:last-child {
    animation: starSpin 4s linear infinite;
    color: #fbbf24;
}
/* ======================================== */
/* الشارة الأصلية (تم الاحتفاظ بها بالكامل) */
/* ======================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-badge i {
    color: #f59e0b;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content .hero-highlight {
    color: var(--red);
    display: block;
    font-size: 2.8rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text);
    margin-bottom: 30px;
}

.hero-description strong {
    color: var(--primary);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(26, 42, 108, 0.25);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(26, 42, 108, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--dark);
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #25d366;
    color: white;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.35);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.trust-item i {
    color: var(--red);
    font-size: 1.1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
    padding: 12px 8px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text);
    font-weight: 500;
    margin-top: 4px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 20px 0;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    display: block;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
}

/* ======================================== */
/* بطاقات عائمة موحدة - خارج الصورة        */
/* ======================================== */

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 5;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 120px;
    max-width: 190px;
}

.hero-floating-card:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

/* ===== ألوان البطاقات ===== */
.hero-floating-card-1 {
    top: -15px;
    right: -20px;
    animation-delay: 0s;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: rgba(245, 158, 11, 0.4);
}

.hero-floating-card-2 {
    bottom: -15px;
    left: -20px;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, #f87171, #dc2626);
    border-color: rgba(220, 38, 38, 0.4);
}

.hero-floating-card-3 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation: floatCardRight 4s ease-in-out infinite;
    animation-delay: 3s;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    border-color: rgba(22, 163, 74, 0.4);
}

/* ===== أيقونة موحدة ===== */
.floating-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
    transition: all 0.3s ease;
}

.hero-floating-card-1 .floating-icon {
    color: #92400e;
}
.hero-floating-card-2 .floating-icon {
    color: #7f1d1d;
}
.hero-floating-card-3 .floating-icon {
    color: #14532d;
}

/* ===== النص الموحد ===== */
.floating-text {
    text-align: right;
}

.floating-text span {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.hero-floating-card-1 .floating-text span {
    color: #78350f;
}
.hero-floating-card-2 .floating-text span {
    color: #7f1d1d;
}
.hero-floating-card-3 .floating-text span {
    color: #14532d;
}

.floating-text small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.85;
    font-weight: 500;
}

.hero-floating-card-1 .floating-text small {
    color: #78350f;
}
.hero-floating-card-2 .floating-text small {
    color: #7f1d1d;
}
.hero-floating-card-3 .floating-text small {
    color: #14532d;
}

/* ===== حركات البطاقات ===== */
@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatCardRight {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-10px); }
}

/* ======================================== */
/* RESPONSIVE - البطاقات العائمة            */
/* ======================================== */

/* ===== شاشات كبيرة (1200px+) ===== */
@media (min-width: 1200px) {
    .hero-floating-card {
        padding: 14px 22px;
        min-width: 140px;
        max-width: 210px;
        gap: 14px;
    }
    .hero-floating-card-1 {
        top: -20px;
        right: -25px;
    }
    .hero-floating-card-2 {
        bottom: -20px;
        left: -25px;
    }
    .hero-floating-card-3 {
        right: -40px;
    }
    .floating-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .floating-text span {
        font-size: 0.95rem;
    }
    .floating-text small {
        font-size: 0.7rem;
    }
}

/* ===== شاشات متوسطة (992px - 1200px) ===== */
@media (max-width: 1200px) and (min-width: 992px) {
    .hero-floating-card {
        padding: 10px 16px;
        min-width: 110px;
        max-width: 160px;
        gap: 10px;
        border-radius: 12px;
    }
    .hero-floating-card-1 {
        top: -10px;
        right: -15px;
    }
    .hero-floating-card-2 {
        bottom: -10px;
        left: -15px;
    }
    .hero-floating-card-3 {
        right: -25px;
        display: flex !important; /* إظهار البطاقة الثالثة */
    }
    .floating-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .floating-text span {
        font-size: 0.8rem;
    }
    .floating-text small {
        font-size: 0.6rem;
    }
}

/* ===== شاشات تابلت (768px - 992px) ===== */
@media (max-width: 992px) {
    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
        padding: 15px 0;
    }

    /* ===== تصغير البطاقات مع الحفاظ على التصميم ===== */
    .hero-floating-card {
        padding: 8px 14px;
        min-width: 90px;
        max-width: 140px;
        gap: 8px;
        border-radius: 10px;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .hero-floating-card-1 {
        top: 10px;
        right: 10px;
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.92), rgba(245, 158, 11, 0.92));
        border-color: rgba(245, 158, 11, 0.3);
    }
    .hero-floating-card-2 {
        bottom: 10px;
        left: 10px;
        background: linear-gradient(135deg, rgba(248, 113, 113, 0.92), rgba(220, 38, 38, 0.92));
        border-color: rgba(220, 38, 38, 0.3);
    }
    .hero-floating-card-3 {
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        display: flex !important;
        background: linear-gradient(135deg, rgba(74, 222, 128, 0.92), rgba(22, 163, 74, 0.92));
        border-color: rgba(22, 163, 74, 0.3);
        animation: floatCard 4s ease-in-out infinite;
        animation-delay: 3s;
    }

    .floating-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.2);
        color: white !important;
    }
    
    .floating-text span {
        font-size: 0.7rem;
        color: white !important;
    }
    .floating-text small {
        font-size: 0.55rem;
        color: rgba(255, 255, 255, 0.85) !important;
    }
}

/* ===== شاشات جوال كبيرة (480px - 768px) ===== */
@media (max-width: 768px) {
    .hero-image-wrapper {
        max-width: 320px;
        padding: 10px 0;
    }

    .hero-floating-card {
        padding: 6px 10px;
        min-width: 70px;
        max-width: 100px;
        gap: 6px;
        border-radius: 8px;
    }
    .hero-floating-card-1 {
        top: 8px;
        right: 8px;
    }
    .hero-floating-card-2 {
        bottom: 8px;
        left: 8px;
    }
    .hero-floating-card-3 {
        right: 8px;
        display: flex !important;
    }

    .floating-icon {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
        border-radius: 6px;
    }
    .floating-text span {
        font-size: 0.55rem;
    }
    .floating-text small {
        font-size: 0.45rem;
    }
}

/* ===== شاشات جوال صغيرة (364px - 480px) ===== */
@media (max-width: 480px) {
    .hero-image-wrapper {
        max-width: 260px;
        padding: 8px 0;
    }

    .hero-floating-card {
        padding: 4px 8px;
        min-width: 55px;
        max-width: 75px;
        gap: 4px;
        border-radius: 6px;
    }
    .hero-floating-card-1 {
        top: 6px;
        right: 6px;
    }
    .hero-floating-card-2 {
        bottom: 6px;
        left: 6px;
    }
    .hero-floating-card-3 {
        right: 6px;
        display: flex !important;
    }

    .floating-icon {
        width: 18px;
        height: 18px;
        font-size: 0.45rem;
        border-radius: 4px;
    }
    .floating-text span {
        font-size: 0.4rem;
    }
    .floating-text small {
        display: none;
    }
}

/* ===== شاشات صغيرة جداً (أقل من 364px) ===== */
@media (max-width: 364px) {
    .hero-image-wrapper {
        max-width: 200px;
        padding: 5px 0;
    }

    .hero-floating-card {
        display: none !important;
    }
}

/* ======================================== */
/* FEATURES SECTION                         */
/* ======================================== */

.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: floatBg1 8s ease-in-out infinite;
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
    animation: floatBg2 10s ease-in-out infinite reverse;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary);
    color: white;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1rem;
    color: var(--dark);
}




/* ======================================== */
/* RESPONSIVE - باقي الأقسام                */
/* ======================================== */

@media (max-width: 1500px) {
    .container { width: min(1140px, 92%); }
    .video-rect-wrapper { width: 520px; height: 292px; }
}

@media (max-width: 1200px) {
    .container { width: min(960px, 92%); }
    .video-rect-wrapper { width: 480px; height: 270px; }
    .video-content h2 { font-size: 2.4rem; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-content .hero-highlight { font-size: 2.2rem; }
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .container { width: min(720px, 92%); }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
    }
    .nav-menu.active { display: flex; }
    .nav-menu a { padding: 10px 0; border-bottom: 1px solid rgba(226, 232, 240, 0.5); }
    .nav-menu a:last-child { border-bottom: none; }
    .nav-menu a::after { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    
    .video-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .video-content { text-align: center; order: 2; }
    .video-player { order: 1; }
    .video-content h2 { font-size: 2.2rem; }
    .video-features { grid-template-columns: 1fr 1fr; justify-items: center; }
    .video-feature { width: 100%; justify-content: center; }
    .video-tag { margin: 0 auto 20px; }
    .video-rect-wrapper { width: 100%; max-width: 560px; height: auto; aspect-ratio: 16/9; }
    .video-ring { display: none; }
    .float-icon-item { width: 40px; height: 40px; font-size: 0.9rem; }
    .thumbnail-overlay i { width: 65px; height: 65px; font-size: 1.6rem; }
    
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { max-width: 100%; order: 2; }
    .hero-visual { order: 0; }
    .hero-badge { margin: 0 auto 24px; }
    .hero-actions { justify-content: center; }
    .hero-trust-row { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-image-wrapper { max-width: 450px; margin: 0 auto; }
    
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .splash-logo-container { width: 120px; height: 120px; }
    .splash-brand-text h1 { font-size: 2rem; }
    .top-header-location bdi { max-width: 180px; }
}

@media (max-width: 768px) {
    .container { width: min(540px, 92%); }
    .top-header { padding: 6px 0; font-size: 0.75rem; }
    .top-header-wrapper { flex-direction: column; align-items: center; gap: 6px; }
    .top-header-left, .top-header-right { justify-content: center; gap: 12px; flex-wrap: wrap; }
    #clockDisplay { min-width: 60px; font-size: 0.8rem; }
    .top-header-location bdi { max-width: 160px; font-size: 0.7rem; }
    .video-section { padding: 60px 0; }
    .video-content h2 { font-size: 1.8rem; }
    .video-description { font-size: 0.95rem; }
    .video-features { grid-template-columns: 1fr; }
    .video-feature { justify-content: center; padding: 8px 14px; }
    .video-feature span { font-size: 0.85rem; }
    .video-rect-wrapper { max-width: 100%; }
    .float-icon-item { width: 34px; height: 34px; font-size: 0.8rem; }
    .video-float-icons { inset: -15px; }
    .thumbnail-overlay i { width: 55px; height: 55px; font-size: 1.3rem; }
    .thumbnail-overlay span { font-size: 0.75rem; }
    .hero-section { padding: 60px 0 40px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content .hero-highlight { font-size: 1.6rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary, .hero-actions .btn-whatsapp { width: 100%; justify-content: center; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-number { font-size: 1.6rem; }
    .hero-image-wrapper { max-width: 350px; }
    .trust-item { padding: 10px 14px; font-size: 0.8rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .contact-section { padding: 60px 0; }
    .contact-card, .contact-info-card { padding: 20px; }
    .splash-logo-container { width: 110px; height: 110px; }
    .splash-brand-text h1 { font-size: 1.6rem; }
    .splash-brand-text .highlight { font-size: 1.3rem; }
    .logo-text h2 { font-size: 0.85rem; }
    .logo-icon { width: 40px; height: 40px; }
    .splash-progress { width: 160px; }
    .btn-nav-primary span { display: none; }
    .btn-nav-primary i { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .container { width: 92%; }
    .top-header { font-size: 0.7rem; padding: 4px 0; }
    .top-header-right { flex-direction: column; align-items: center; gap: 4px; }
    .top-header-phone bdi { font-size: 0.75rem; }
    .top-header-location bdi { max-width: 140px; font-size: 0.65rem; }
    #clockDisplay { font-size: 0.75rem; min-width: 55px; }
    .video-section { padding: 40px 0; }
    .video-content h2 { font-size: 1.5rem; }
    .video-description { font-size: 0.9rem; }
    .video-rect { border-radius: 16px; }
    .video-rect-wrapper { max-width: 100%; }
    .float-icon-item { width: 28px; height: 28px; font-size: 0.65rem; }
    .video-float-icons { inset: -8px; }
    .thumbnail-overlay i { width: 48px; height: 48px; font-size: 1.1rem; }
    .thumbnail-overlay span { font-size: 0.7rem; }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content .hero-highlight { font-size: 1.3rem; }
    .hero-description { font-size: 0.9rem; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.65rem; }
    .hero-image-wrapper { max-width: 280px; }
    .btn-primary, .btn-secondary, .btn-whatsapp { padding: 12px 20px; font-size: 0.85rem; }
    .features-grid { grid-template-columns: 1fr; }
    .btn-nav-primary { padding: 8px 14px; font-size: 0.8rem; }
    .btn-nav-primary span { display: none; }
    .btn-nav-primary i { font-size: 1.1rem; }
    .logo-text h2 { font-size: 0.75rem; }
    .logo-icon { width: 34px; height: 34px; }
    .splash-logo-container { width: 90px; height: 90px; }
    .splash-brand-text h1 { font-size: 1.2rem; }
    .splash-brand-text .highlight { font-size: 1rem; }
    .splash-subtitle { font-size: 0.8rem; }
    .splash-tagline { font-size: 0.7rem; }
    .contact-card, .contact-info-card { padding: 16px; }
    .footer { padding: 40px 0 20px; }
}

@media (max-width: 364px) {
    .container { width: 95%; }
    .top-header { font-size: 0.65rem; padding: 4px 0; }
    .top-header-item { gap: 4px; }
    .top-header-item i { font-size: 0.6rem; }
    #clockDisplay { font-size: 0.65rem; min-width: 48px; }
    #dateDisplay { font-size: 0.6rem; }
    .logo-text h2 { font-size: 0.65rem; }
    .logo-icon { width: 28px; height: 28px; padding: 2px; }
    .lang-toggle-btn { width: 28px; height: 28px; font-size: 0.5rem; }
    .lang-toggle-btn i { font-size: 0.5rem; }
    .btn-nav-primary { padding: 5px 10px; font-size: 0.65rem; }
    .btn-nav-primary i { font-size: 0.8rem; }
    .mobile-menu-btn { font-size: 1rem; padding: 4px; }
    .video-content h2 { font-size: 1.2rem; }
    .video-description { font-size: 0.8rem; }
    .video-feature { padding: 6px 10px; font-size: 0.7rem; }
    .video-feature i { font-size: 0.7rem; }
    .video-feature span { font-size: 0.7rem; }
    .thumbnail-overlay i { width: 36px; height: 36px; font-size: 0.8rem; }
    .thumbnail-overlay span { font-size: 0.6rem; }
    .hero-content h1 { font-size: 1.4rem; }
    .hero-content .hero-highlight { font-size: 1.1rem; }
    .hero-description { font-size: 0.8rem; }
    .hero-badge { font-size: 0.7rem; padding: 4px 12px; }
    .btn-primary { padding: 10px 18px; font-size: 0.8rem; }
    .stat-number { font-size: 1.2rem; }
    .stat-label { font-size: 0.6rem; }
    .hero-image-wrapper { max-width: 220px; }
    .contact-card, .contact-info-card { padding: 12px; }
    .input-group label { font-size: 0.8rem; }
    .input-group input, .input-group textarea { padding: 10px 12px; font-size: 0.8rem; }
    .info-item { gap: 10px; }
    .info-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .info-item h4 { font-size: 0.85rem; }
    .info-item p { font-size: 0.75rem; }
    .footer { padding: 30px 0 15px; margin-top: 30px; }
    .footer-logo h3 { font-size: 0.9rem; }
    .footer-logo-icon { width: 36px; height: 36px; font-size: 1rem; }
    .footer-brand p { font-size: 0.8rem; }
    .footer-links h4, .footer-contact h4 { font-size: 0.9rem; }
    .footer-links a { font-size: 0.8rem; }
    .footer-contact-item { font-size: 0.75rem; }
    .footer-contact-item i { width: 28px; height: 28px; font-size: 0.7rem; }
    .footer-bottom { font-size: 0.7rem; }
    .splash-logo-container { width: 70px; height: 70px; }
    .splash-logo-image { border-width: 2px; padding: 4px; }
    .splash-brand-text h1 { font-size: 1rem; }
    .splash-brand-text .highlight { font-size: 0.8rem; }
    .splash-subtitle { font-size: 0.7rem; }
    .splash-tagline { font-size: 0.6rem; gap: 6px; }
    .splash-progress { width: 120px; height: 3px; }
    .splash-loading-text { font-size: 0.6rem; }
    .logo-glow { width: 100px; height: 100px; }
    .logo-ring-1 { width: 100px; height: 100px; }
    .logo-ring-2 { width: 120px; height: 120px; }
    .logo-ring-3 { width: 80px; height: 80px; }
    .logo-dots { width: 90px; height: 90px; }
    .logo-dot { width: 4px; height: 4px; }
}


/* ======================================== */
/* GALLERY SECTION - تصميم سينمائي فاخر    */
/* ======================================== */

.gallery-section {
    padding: 120px 0 140px;
    background: linear-gradient(180deg, 
        #0f172a 0%, 
        #1a2a6c 15%, 
        #1e3a7a 30%, 
        #f8fbff 50%, 
        #ffffff 70%, 
        #f0f7ff 100%
    );
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* ===== خلفية نجوم متحركة ===== */
.gallery-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 5%; left: 3%; animation-delay: 0s; width: 4px; height: 4px; }
.star:nth-child(2) { top: 12%; right: 8%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 25%; left: 6%; animation-delay: 1s; width: 2px; height: 2px; }
.star:nth-child(4) { top: 35%; right: 4%; animation-delay: 1.5s; width: 5px; height: 5px; }
.star:nth-child(5) { top: 50%; left: 2%; animation-delay: 2s; }
.star:nth-child(6) { top: 60%; right: 6%; animation-delay: 2.5s; width: 4px; height: 4px; }
.star:nth-child(7) { top: 75%; left: 5%; animation-delay: 0.7s; }
.star:nth-child(8) { top: 85%; right: 3%; animation-delay: 1.2s; width: 3px; height: 3px; }
.star:nth-child(9) { top: 45%; left: 8%; animation-delay: 1.8s; width: 2px; height: 2px; }
.star:nth-child(10) { top: 70%; right: 10%; animation-delay: 2.2s; width: 4px; height: 4px; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ===== دوائر ضوئية متحركة ===== */
.gallery-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 12s ease-in-out infinite;
}

.gallery-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.05));
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.gallery-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.05));
    bottom: -100px;
    left: -80px;
    animation-delay: 4s;
}

.gallery-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    top: 40%;
    left: 30%;
    animation-delay: 8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.2); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

/* ===== عنوان القسم - تصميم فاخر ===== */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.gallery-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: tagGlow 3s ease-in-out infinite;
    letter-spacing: 1px;
}

@keyframes tagGlow {
    0%, 100% { box-shadow: 0 4px 30px rgba(37, 99, 235, 0.2); border-color: rgba(255, 255, 255, 0.15); }
    50% { box-shadow: 0 4px 50px rgba(37, 99, 235, 0.4); border-color: rgba(37, 99, 235, 0.3); }
}

.gallery-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1a2a6c 0%, #2563eb 40%, #60a5fa 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradientText 6s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gallery-header h2::after {
    content: '✦';
    position: absolute;
    top: -20px;
    right: -40px;
    font-size: 1.5rem;
    color: var(--red);
    -webkit-text-fill-color: var(--red);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 0.5; }
}

.gallery-header p {
    color: var(--white);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 16px auto 0;
    line-height: 1.9;
    position: relative;
}

.gallery-header p strong {
    color: var(--red);
    position: relative;
}

.gallery-header p strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--red));
    border-radius: 999px;
}

/* ===== فلتر متطور - أزرار بيضاء ===== */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 14px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: "Cairo", "Inter", sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 999px;
}

.filter-btn .filter-icon {
    margin-left: 10px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    background: white;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 12px 45px rgba(26, 42, 108, 0.35);
    transform: translateY(-4px);
}

.filter-btn.active::before {
    opacity: 1;
}

.filter-btn.active:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 55px rgba(26, 42, 108, 0.45);
}

/* ===== شبكة المعرض - ماسونري ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* ===== بطاقة الصورة - تصميم فاخر ===== */
.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--dark);
    opacity: 0;
    transform: scale(0.9) translateY(40px) rotate(-2deg);
    animation: galleryItemIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes galleryItemIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }
.gallery-item:nth-child(8) { animation-delay: 0.4s; }

.gallery-item:hover {
    transform: translateY(-16px) scale(1.02) rotate(0.5deg);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== أحجام متعددة ===== */
.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.panorama {
    grid-column: span 3;
}

/* ===== الصورة مع تأثير زوم ===== */
.gallery-item .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.15);
}

/* ===== تراكب سينمائي ===== */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(15, 23, 42, 0.6) 30%, 
        rgba(15, 23, 42, 0.2) 60%, 
        transparent 100%
    );
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== محتوى التراكب ===== */
.gallery-overlay-content {
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content .gallery-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.gallery-overlay-content .gallery-category i {
    font-size: 0.65rem;
}

.gallery-overlay-content h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.gallery-overlay-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===== أزرار التفاعل - بيضاء ===== */
.gallery-actions {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-actions {
    opacity: 1;
    transform: translateY(0);
}

.gallery-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.8) rotate(-10deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover .gallery-action-btn {
    transform: scale(1) rotate(0deg);
}

.gallery-action-btn:hover {
    background: white;
    transform: scale(1.15) rotate(10deg) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-action-btn.zoom:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.gallery-action-btn.like {
    position: absolute;
    bottom: 20px;
    right: 20px;
    top: auto;
    left: auto;
    transform: scale(0.8);
}

.gallery-item:hover .gallery-action-btn.like {
    transform: scale(1);
}

.gallery-action-btn.like:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.gallery-action-btn.like.liked {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.gallery-action-btn.like.liked i {
    animation: heartBurst 0.6s ease;
}

@keyframes heartBurst {
    0% { transform: scale(1); }
    25% { transform: scale(1.5); }
    50% { transform: scale(0.7); }
    75% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ===== معلومات إضافية ===== */
.gallery-meta {
    position: absolute;
    bottom: 20px;
    right: 75px;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-meta {
    opacity: 1;
    transform: translateX(0);
}

.gallery-meta span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gallery-meta span i {
    font-size: 0.65rem;
}

/* ===== شارة مميزة ===== */
.gallery-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: white;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.gallery-item:hover .gallery-badge {
    opacity: 1;
    transform: scale(1);
}

.gallery-item.featured .gallery-badge {
    opacity: 1;
    transform: scale(1);
}

/* ======================================== */
/* LIGHTBOX - سينمائي فاخر                 */
/* ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(40px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* ===== خلفية سينمائية ===== */
.lightbox-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.lightbox-bg .lb-orb {
    position: absolute;
    border-radius: 50%;
    animation: lbOrbFloat 15s ease-in-out infinite;
}

.lightbox-bg .lb-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent);
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.lightbox-bg .lb-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06), transparent);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.lightbox-bg .lb-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05), transparent);
    top: 40%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes lbOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -50px) scale(1.3); }
}

/* ===== خطوط سينمائية ===== */
.lightbox-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.lightbox-lines .lb-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: lineMove 8s ease-in-out infinite;
}

.lightbox-lines .lb-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.lightbox-lines .lb-line:nth-child(2) { top: 50%; animation-delay: 2s; }
.lightbox-lines .lb-line:nth-child(3) { top: 80%; animation-delay: 4s; }

@keyframes lineMove {
    0% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0; }
}

/* ===== محتوى اللايت بوكس ===== */
.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 85vh;
    transform: scale(0.8) rotate(-5deg) perspective(1000px) rotateY(10deg);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    opacity: 0;
}

.lightbox.active .lightbox-content {
    transform: scale(1) rotate(0deg) perspective(1000px) rotateY(0deg);
    opacity: 1;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.05);
}

/* ===== معلومات اللايت بوكس ===== */
.lightbox-info {
    position: absolute;
    bottom: -70px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.lightbox.active .lightbox-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.lightbox-info .lb-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.lightbox-info .lb-category {
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== أزرار اللايت بوكس ===== */
.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

.lightbox-nav.prev:hover {
    transform: translateY(-50%) scale(1.1) translateX(-8px);
}

.lightbox-nav.next:hover {
    transform: translateY(-50%) scale(1.1) translateX(8px);
}

/* ===== عداد اللايت بوكس ===== */
.lightbox-counter {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 2px;
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 270px;
    }
}

@media (max-width: 992px) {
    .gallery-section {
        padding: 80px 0 100px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
        gap: 18px;
    }
    
    .gallery-item.featured,
    .gallery-item.wide,
    .gallery-item.panorama {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-header h2 {
        font-size: 2.8rem;
    }
    
    .gallery-overlay {
        padding: 25px;
    }
    
    .gallery-overlay-content h3 {
        font-size: 1.1rem;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0 80px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
        gap: 14px;
    }
    
    .gallery-header h2 {
        font-size: 2.2rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 10px 22px;
        font-size: 0.8rem;
    }
    
    .gallery-overlay {
        padding: 20px;
    }
    
    .gallery-overlay-content h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.75rem;
    }
    
    .gallery-action-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .gallery-actions {
        top: 15px;
        left: 15px;
        gap: 8px;
    }
    
    .gallery-meta {
        bottom: 15px;
        right: 60px;
        gap: 10px;
    }
    
    .gallery-meta span {
        font-size: 0.65rem;
    }
    
    .lightbox {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .lightbox-nav.prev {
        left: 15px;
    }
    
    .lightbox-nav.next {
        right: 15px;
    }
    
    .lightbox-counter {
        bottom: 25px;
        font-size: 0.8rem;
        padding: 6px 20px;
    }
    
    .lightbox-info {
        bottom: -55px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 0.8rem;
    }
    
    .lightbox-info .lb-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 14px;
    }
    
    .gallery-section {
        padding: 40px 0 60px;
    }
    
    .gallery-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-header h2::after {
        display: none;
    }
    
    .gallery-header p {
        font-size: 0.9rem;
    }
    
    .gallery-filter {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
    
    .filter-btn .filter-icon {
        margin-left: 6px;
        font-size: 0.7rem;
    }
    
    .gallery-overlay {
        padding: 16px;
    }
    
    .gallery-overlay-content h3 {
        font-size: 0.9rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.7rem;
    }
    
    .gallery-action-btn {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
    
    .gallery-badge {
        font-size: 0.55rem;
        padding: 4px 12px;
        top: 15px;
        right: 15px;
    }
    
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 0.7rem;
        padding: 4px 16px;
    }
}
/* ======================================== */
/* GALLERY SECTION - شارة في المنتصف       */
/* ======================================== */

/* ===== حاوية الشارة - توسيط ===== */
.gallery-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* ===== شارة "معرض الصور" ===== */
.gallery-section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1px;
}

.gallery-section-tag:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 50px rgba(26, 42, 108, 0.4);
}

.gallery-section-tag i {
    font-size: 1.1rem;
}

.gallery-section-tag i:last-child {
    animation: starSpin 4s linear infinite;
    color: #fbbf24;
}

/* ===== إخفاء الشارة القديمة ===== */
.gallery-header .section-tag {
    display: none;
}

/* ===== النصوص ===== */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.gallery-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1a2a6c 0%, #2563eb 40%, #60a5fa 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradientText 6s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

.gallery-header h2::after {
    content: '✦';
    position: absolute;
    top: -20px;
    right: -40px;
    font-size: 1.5rem;
    color: var(--red);
    -webkit-text-fill-color: var(--red);
    animation: sparkle 2s ease-in-out infinite;
}

.gallery-header p {
    color: var(--white);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 16px auto 0;
    line-height: 1.9;
}

.gallery-header p strong {
    color: #6291f8;
    position: relative;
    margin: 0 2px;
}

.gallery-header p strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--red));
    border-radius: 999px;
}

/* ===== الحركات ===== */
@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 60px rgba(26, 42, 108, 0.45);
        transform: scale(1.02);
    }
}

@keyframes starSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 0.5; }
}


/* ======================================== */
/* FEATURES CARDS - بطاقات تفاعلية احترافية */
/* ======================================== */

.features-cards-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #f0f7ff 30%, 
        #e8f0fe 60%, 
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

/* ===== خلفية متحركة ===== */
.features-cards-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
    top: -200px;
    right: -150px;
    animation: floatBg1 18s ease-in-out infinite;
    pointer-events: none;
}

.features-cards-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05), transparent 70%);
    bottom: -150px;
    left: -120px;
    animation: floatBg2 14s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatBg1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -50px) scale(1.2); }
    66% { transform: translate(-40px, 60px) scale(0.9); }
}

@keyframes floatBg2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, 40px) scale(1.3); }
}

/* ======================================== */
/* عنوان القسم - تصميم احترافي             */
/* ======================================== */

.features-cards-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* ===== صف الرأس - "لماذا نحن" بجانب النص ===== */
.features-cards-header .header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

/* ===== شارة "لماذا نحن" ===== */
.features-cards-header .why-us-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
    position: relative;
    animation: badgePulse 3s ease-in-out infinite;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.features-cards-header .why-us-badge:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 50px rgba(26, 42, 108, 0.4);
}

.features-cards-header .why-us-badge i {
    font-size: 1.1rem;
}

.features-cards-header .why-us-badge i:last-child {
    animation: starSpin 4s linear infinite;
    color: #fbbf24;
}

@keyframes starSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 60px rgba(26, 42, 108, 0.45);
        transform: scale(1.02);
    }
}

/* ===== النص الرئيسي ===== */
.features-cards-header .main-title-wrapper {
    position: relative;
    display: inline-block;
}

.features-cards-header .main-title-wrapper .main-title {
    font-size: 3.2rem;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    margin: 0;
}

/* ===== خط تحت النص ===== */
.features-cards-header .main-title-wrapper .title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--red), var(--primary-light));
    border-radius: 999px;
    background-size: 200% 100%;
    animation: underlineMove 4s ease-in-out infinite;
}

@keyframes underlineMove {
    0%, 100% { background-position: 0% 50%; width: 120px; }
    50% { background-position: 100% 50%; width: 160px; }
}

/* ===== النص الوصفي ===== */
.features-cards-header .sub-description {
    color: var(--text);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 24px auto 0;
    line-height: 2;
    position: relative;
}

.features-cards-header .sub-description strong {
    color: var(--primary);
    position: relative;
}

.features-cards-header .sub-description strong::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--red));
    border-radius: 999px;
}

/* ======================================== */
/* شبكة البطاقات - تصميم متقدم             */
/* ======================================== */

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* ===== بطاقة فردية ===== */
.feature-card-item {
    background: white;
    border-radius: 24px;
    padding: 35px 25px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(226, 232, 240, 0.5);
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: cardIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.feature-card-item:nth-child(1) { animation-delay: 0.05s; }
.feature-card-item:nth-child(2) { animation-delay: 0.1s; }
.feature-card-item:nth-child(3) { animation-delay: 0.15s; }
.feature-card-item:nth-child(4) { animation-delay: 0.2s; }
.feature-card-item:nth-child(5) { animation-delay: 0.25s; }
.feature-card-item:nth-child(6) { animation-delay: 0.3s; }
.feature-card-item:nth-child(7) { animation-delay: 0.35s; }
.feature-card-item:nth-child(8) { animation-delay: 0.4s; }
.feature-card-item:nth-child(9) { animation-delay: 0.45s; }
.feature-card-item:nth-child(10) { animation-delay: 0.5s; }
.feature-card-item:nth-child(11) { animation-delay: 0.55s; }
.feature-card-item:nth-child(12) { animation-delay: 0.6s; }

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.18);
    border-color: var(--primary-light);
}

/* ===== شريط ألوان علوي ===== */
.feature-card-item .card-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 24px 24px 0 0;
}

/* ===== ألوان البطاقات ===== */
.feature-card-item:nth-child(1) .card-strip { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.feature-card-item:nth-child(2) .card-strip { background: linear-gradient(90deg, #dc2626, #f87171); }
.feature-card-item:nth-child(3) .card-strip { background: linear-gradient(90deg, #16a34a, #4ade80); }
.feature-card-item:nth-child(4) .card-strip { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.feature-card-item:nth-child(5) .card-strip { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.feature-card-item:nth-child(6) .card-strip { background: linear-gradient(90deg, #ec4899, #f472b6); }
.feature-card-item:nth-child(7) .card-strip { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }
.feature-card-item:nth-child(8) .card-strip { background: linear-gradient(90deg, #f97316, #fb923c); }
.feature-card-item:nth-child(9) .card-strip { background: linear-gradient(90deg, #6366f1, #818cf8); }
.feature-card-item:nth-child(10) .card-strip { background: linear-gradient(90deg, #22d3ee, #67e8f9); }
.feature-card-item:nth-child(11) .card-strip { background: linear-gradient(90deg, #a3e635, #bef264); }
.feature-card-item:nth-child(12) .card-strip { background: linear-gradient(90deg, #f472b6, #fb7185); }

/* ===== أيقونة البطاقة ===== */
.feature-card-item .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 18px;
    font-size: 1.8rem;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.feature-card-item:hover .card-icon {
    transform: scale(1.1) rotate(-5deg) translateY(-5px);
}

/* ===== ألوان الأيقونات ===== */
.feature-card-item:nth-child(1) .card-icon { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.feature-card-item:nth-child(2) .card-icon { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.feature-card-item:nth-child(3) .card-icon { background: rgba(22, 163, 74, 0.12); color: #16a34a; }
.feature-card-item:nth-child(4) .card-icon { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.feature-card-item:nth-child(5) .card-icon { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.feature-card-item:nth-child(6) .card-icon { background: rgba(236, 72, 153, 0.12); color: #ec4899; }
.feature-card-item:nth-child(7) .card-icon { background: rgba(20, 184, 166, 0.12); color: #14b8a6; }
.feature-card-item:nth-child(8) .card-icon { background: rgba(249, 115, 22, 0.12); color: #f97316; }
.feature-card-item:nth-child(9) .card-icon { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.feature-card-item:nth-child(10) .card-icon { background: rgba(34, 211, 238, 0.12); color: #22d3ee; }
.feature-card-item:nth-child(11) .card-icon { background: rgba(163, 230, 53, 0.12); color: #65a30d; }
.feature-card-item:nth-child(12) .card-icon { background: rgba(244, 114, 182, 0.12); color: #ec4899; }

/* ===== محتوى البطاقة ===== */
.feature-card-item .card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.feature-card-item:hover .card-title {
    color: var(--primary);
}

.feature-card-item .card-description {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== رقم البطاقة ===== */
.feature-card-item .card-number {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.04);
    line-height: 1;
    transition: all 0.4s ease;
    font-family: "Inter", sans-serif;
}

.feature-card-item:hover .card-number {
    color: rgba(15, 23, 42, 0.1);
    transform: scale(1.1) rotate(-5deg);
}

/* ===== تأثير ضوء عند الهوفر ===== */
.feature-card-item .card-hover-effect {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.feature-card-item:hover .card-hover-effect {
    opacity: 1;
}

/* ======================================== */
/* RESPONSIVE - تصميم متجاوب                */
/* ======================================== */

@media (max-width: 1200px) {
    .features-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .features-cards-section {
        padding: 80px 0 100px;
    }
    
    .features-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .features-cards-header .main-title-wrapper .main-title {
        font-size: 2.4rem;
    }
    
    .features-cards-header .why-us-badge {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .feature-card-item {
        padding: 30px 20px 25px;
    }
    
    .feature-card-item .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card-item .card-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .features-cards-section {
        padding: 60px 0 80px;
    }
    
    .features-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    /* ===== في الشاشات الصغيرة، العناصر تصبح عمودية ===== */
    .features-cards-header .header-row {
        flex-direction: column;
        gap: 14px;
    }
    
    .features-cards-header .main-title-wrapper .main-title {
        font-size: 2rem;
    }
    
    .features-cards-header .sub-description {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .features-cards-header .why-us-badge {
        padding: 8px 22px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .feature-card-item {
        padding: 25px 16px 20px;
        border-radius: 18px;
    }
    
    .feature-card-item .card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 16px;
        margin: 5px auto 14px;
    }
    
    .feature-card-item .card-title {
        font-size: 0.95rem;
    }
    
    .feature-card-item .card-description {
        font-size: 0.78rem;
        line-height: 1.6;
    }
    
    .feature-card-item .card-number {
        font-size: 2.2rem;
        bottom: 8px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .features-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .features-cards-section {
        padding: 40px 0 60px;
    }
    
    .features-cards-header .header-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .features-cards-header .main-title-wrapper .main-title {
        font-size: 1.6rem;
    }
    
    .features-cards-header .sub-description {
        font-size: 0.9rem;
        margin-top: 16px;
    }
    
    .features-cards-header .why-us-badge {
        padding: 8px 18px;
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .features-cards-header .why-us-badge i {
        font-size: 0.9rem;
    }
    
    .feature-card-item {
        padding: 22px 16px 18px;
        border-radius: 16px;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .feature-card-item .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-card-item .card-title {
        font-size: 0.95rem;
    }
    
    .feature-card-item .card-description {
        font-size: 0.8rem;
    }
}

/* ======================================== */
/* تحسينات إضافية                         */
/* ======================================== */

/* ===== تأثير الظل المتقدم ===== */
.feature-card-item {
    --shadow-color: rgba(15, 23, 42, 0.06);
    --shadow-hover: rgba(15, 23, 42, 0.15);
}

/* ===== إضافة نمط للبطاقات عند التحميل ===== */
.feature-card-item.loaded {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* ===== تحسين التباين ===== */
.features-cards-header .sub-description {
    color: #475569;
}

.feature-card-item .card-description {
    color: #64748b;
}

/* ===== تأثير حركة للشارة ===== */
.features-cards-header .why-us-badge .fa-question-circle {
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}




/* ======================================== */
/* ABOUT SECTION - من نحن (تصميم جديد)     */
/* ======================================== */

.about-section-new {
    padding: 100px 0 120px;
    background: linear-gradient(165deg, 
        #ffffff 0%, 
        #f0f7ff 30%, 
        #e8f0fe 60%, 
        #f8fbff 100%
    );
    position: relative;
    overflow: hidden;
}

/* ===== خلفية متحركة ===== */
.about-new-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.about-new-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: shapeFloatNew 15s ease-in-out infinite;
}

.about-new-shape.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.about-new-shape.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--red);
    bottom: -100px;
    left: -100px;
    animation-delay: 4s;
}

.about-new-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: #f59e0b;
    top: 50%;
    left: 40%;
    animation-delay: 8s;
}

.about-new-shape.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--primary);
    top: 20%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes shapeFloatNew {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.2); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

/* ======================================== */
/* عنوان القسم                             */
/* ======================================== */

.about-new-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.about-new-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 25px rgba(26, 42, 108, 0.25);
}

.about-new-header h2 {
    font-size: 3.2rem;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.2;
}

.about-new-header h2 .highlight-text {
    color: var(--red);
    position: relative;
}

.about-new-header h2 .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    border-radius: 999px;
}

.about-new-header p {
    color: var(--text);
    font-size: 1.1rem;
    margin-top: 12px;
}

/* ======================================== */
/* شبكة المحتوى                            */
/* ======================================== */

.about-new-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* ===== الصورة ===== */
.about-new-image {
    position: relative;
    padding: 20px;
}

.about-new-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.about-new-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: all 0.8s ease;
}

.about-new-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-new-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(26, 42, 108, 0.05), 
        rgba(220, 38, 38, 0.03)
    );
}

.about-new-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-new-badge i {
    font-size: 1.5rem;
    color: var(--red);
}

.about-new-badge span {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
}

/* ===== بطاقات عائمة ===== */
.about-new-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
    animation: floatBadgeNew 4s ease-in-out infinite;
    z-index: 5;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.about-new-float i {
    font-size: 1.1rem;
    color: var(--primary-light);
}

.float-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes floatBadgeNew {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ======================================== */
/* المحتوى النصي                           */
/* ======================================== */

.about-new-content {
    padding: 10px 0;
}

.about-new-text p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 2;
    margin-bottom: 14px;
}

.about-new-text p strong {
    color: var(--primary);
}

/* ===== الرؤية والرسالة ===== */
.about-new-vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.about-new-vision,
.about-new-mission {
    padding: 20px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.4s ease;
}

.about-new-vision {
    border-right: 4px solid var(--primary);
}

.about-new-mission {
    border-left: 4px solid var(--red);
}

.about-new-vision:hover,
.about-new-mission:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.about-new-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.vision-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.mission-icon {
    background: rgba(220, 38, 38, 0.1);
    color: var(--red);
}

.about-new-vision h4,
.about-new-mission h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.about-new-vision p,
.about-new-mission p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== القيم المؤسسية ===== */
.about-new-values {
    margin: 24px 0;
}

.about-new-values h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.about-new-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.about-new-value {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.about-new-value:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
    border-color: var(--primary-light);
}

.about-new-value .value-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.2rem;
    color: var(--primary);
}

.about-new-value h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}

.about-new-value p {
    font-size: 0.75rem;
    color: var(--text);
    margin-bottom: 0;
}

/* ===== رسالة المدير ===== */
.about-new-message {
    padding: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    color: white;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}

.about-new-message::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='%23ffffff' fill-opacity='0.05'%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");
    opacity: 0.5;
}

.about-new-message .message-icon {
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 8px;
}

.about-new-message blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.about-new-message .message-author {
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.about-new-message .message-author strong {
    display: block;
    font-size: 0.95rem;
}

.about-new-message .message-author span {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== زر ===== */
.about-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(26, 42, 108, 0.25);
    margin-top: 8px;
}

.about-new-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 45px rgba(26, 42, 108, 0.35);
}

.about-new-btn i:last-child {
    transition: all 0.3s ease;
}

.about-new-btn:hover i:last-child {
    transform: translateX(-6px);
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 992px) {
    .about-new-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-new-image-wrapper img {
        height: 350px;
    }
    
    .about-new-header h2 {
        font-size: 2.6rem;
    }
    
    .float-1 { left: 0; }
    .float-2 { right: 0; }
}

@media (max-width: 768px) {
    .about-section-new {
        padding: 60px 0 80px;
    }
    
    .about-new-header h2 {
        font-size: 2rem;
    }
    
    .about-new-vision-mission {
        grid-template-columns: 1fr;
    }
    
    .about-new-values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-new-image-wrapper img {
        height: 250px;
    }
    
    .about-new-float {
        display: none;
    }
    
    .about-new-badge {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .about-new-message blockquote {
        font-size: 1rem;
    }
    
    .about-new-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-new-header h2 {
        font-size: 1.6rem;
    }
    
    .about-new-text p {
        font-size: 0.95rem;
    }
    
    .about-new-value {
        padding: 12px;
    }
}




/* ======================================== */
/* NEWS SECTION - آخر الأخبار والإعلانات   */
/* ======================================== */

.news-section {
    padding: 100px 0 120px;
    background: linear-gradient(165deg, 
        #ffffff 0%, 
        #f0f7ff 30%, 
        #e8f0fe 60%, 
        #f8fbff 100%
    );
    position: relative;
    overflow: hidden;
}

/* ===== خلفية متحركة ===== */
.news-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.news-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: newsShapeFloat 15s ease-in-out infinite;
}

.news-shape.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.news-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--red);
    bottom: -100px;
    left: -100px;
    animation-delay: 4s;
}

.news-shape.shape-3 {
    width: 300px;
    height: 300px;
    background: #f59e0b;
    top: 50%;
    left: 30%;
    animation-delay: 8s;
}

.news-shape.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: 20%;
    right: 25%;
    animation-delay: 2s;
}

@keyframes newsShapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.2); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

/* ======================================== */
/* عنوان القسم                             */
/* ======================================== */

.news-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.news-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 40px rgba(26, 42, 108, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1px;
}

.news-badge:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 50px rgba(26, 42, 108, 0.4);
}

.news-badge i {
    font-size: 1.1rem;
}

.news-badge i:last-child {
    animation: starSpin 4s linear infinite;
    color: #fbbf24;
}

.news-header h2 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--primary);
}

.news-header h2 .highlight-text {
    color: var(--red);
    position: relative;
}

.news-header h2 .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    border-radius: 999px;
}

.news-header p {
    color: var(--text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 30px auto 0;
    line-height: 1.8;
}

/* ======================================== */
/* شبكة الأخبار                            */
/* ======================================== */

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* ===== بطاقة الخبر ===== */
.news-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: newsCardIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.news-card:nth-child(1) { animation-delay: 0.05s; }
.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.15s; }
.news-card:nth-child(4) { animation-delay: 0.2s; }

@keyframes newsCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 60px rgba(15, 23, 42, 0.12);
    border-color: var(--primary-light);
}

.news-card-featured {
    grid-column: span 2;
    border-top: 4px solid var(--primary);
}

.news-card-featured:hover {
    border-color: var(--red);
}

/* ===== تاريخ الخبر ===== */
.news-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 12px;
}

.news-card-date i {
    color: var(--primary-light);
}

.news-card-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: white;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ===== عنوان الخبر ===== */
.news-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-desc {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== مميزات الخبر ===== */
.news-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.news-feature-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.news-feature-item:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(-4px);
}

.news-feature-item i {
    color: var(--primary-light);
    font-size: 1rem;
    margin-bottom: 4px;
}

.news-feature-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.news-feature-item small {
    font-size: 0.75rem;
    color: var(--text);
}

/* ===== الخصومات ===== */
.news-discounts {
    margin: 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.04), rgba(37, 99, 235, 0.04));
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.news-discounts h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.discount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.discount-item {
    text-align: center;
    padding: 8px;
    background: white;
    border-radius: 8px;
}

.discount-label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
}

.discount-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text);
    margin-top: 2px;
}

/* ===== الخدمات ===== */
.news-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 12px;
}

.service-item i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

.service-item strong {
    font-size: 0.9rem;
    color: var(--dark);
}

.service-item p {
    font-size: 0.75rem;
    color: var(--text);
    margin-bottom: 0;
}

/* ======================================== */
/* معلومات التواصل                         */
/* ======================================== */

.news-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.06);
}

.contact-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.9rem;
}

.contact-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-item a {
    font-size: 0.85rem;
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.contact-item a:hover {
    color: var(--red);
}

.contact-item p {
    font-size: 0.8rem;
    color: var(--text);
    margin-bottom: 0;
}

.contact-item small {
    font-size: 0.7rem;
    color: var(--text);
}

/* ======================================== */
/* ساعات العمل                             */
/* ======================================== */

.news-working-hours {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    color: white;
    margin-top: 16px;
}

.news-working-hours i {
    font-size: 1.5rem;
    opacity: 0.8;
}

.news-working-hours strong {
    font-size: 0.95rem;
}

.news-working-hours p {
    font-size: 0.85rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.news-working-hours small {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ======================================== */
/* تقييم أولياء الأمور                     */
/* ======================================== */

.news-card-testimonial {
    background: linear-gradient(135deg, #f8fbff, #eef2ff);
    border-color: rgba(37, 99, 235, 0.15);
}

.testimonial-content {
    position: relative;
    padding: 10px 0;
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary-light);
    opacity: 0.2;
    margin-bottom: -10px;
}

.testimonial-content blockquote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar i {
    font-size: 2.5rem;
    color: var(--primary-light);
}

.testimonial-author strong {
    font-size: 0.95rem;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text);
}

.testimonial-rating {
    margin-top: 8px;
}

.testimonial-rating i {
    color: #f59e0b;
    font-size: 0.9rem;
}

/* ======================================== */
/* فيسبوك                                  */
/* ======================================== */

.news-card-facebook {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    border-color: rgba(255, 255, 255, 0.1);
}

.news-card-facebook .news-card-date {
    color: rgba(255, 255, 255, 0.7);
}

.news-card-facebook .news-card-date i {
    color: white;
}

.facebook-stats {
    display: flex;
    gap: 30px;
    margin: 16px 0;
}

.fb-stat {
    text-align: center;
}

.fb-stat i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    display: block;
}

.fb-stat span {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.fb-stat small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.facebook-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.facebook-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-4px);
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .news-section {
        padding: 80px 0 100px;
    }
    
    .news-header h2 {
        font-size: 2.6rem;
    }
    
    .news-card-featured {
        grid-column: span 1;
    }
    
    .discount-grid {
        grid-template-columns: 1fr;
    }
    
    .news-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0 80px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .news-header h2 {
        font-size: 2rem;
    }
    
    .news-header p {
        font-size: 1rem;
    }
    
    .news-card {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 1.1rem;
    }
    
    .news-features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-feature-item {
        padding: 10px 14px;
    }
    
    .news-badge {
        font-size: 0.85rem;
        padding: 10px 24px;
    }
    
    .facebook-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 40px 0 60px;
    }
    
    .news-header h2 {
        font-size: 1.6rem;
    }
    
    .news-card {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 1rem;
    }
    
    .news-badge {
        font-size: 0.75rem;
        padding: 8px 18px;
        gap: 8px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .news-working-hours {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .testimonial-content blockquote {
        font-size: 0.95rem;
    }
}

/* ======================================== */
/* الخريطة المصغرة                         */
/* ======================================== */

.news-card-map {
    border-top: 4px solid #34a853;
}

.news-card-map:hover {
    border-color: #34a853;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.map-container iframe {
    display: block;
}

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 12px;
    margin: 12px 0;
}

.map-address i {
    font-size: 1.2rem;
    color: var(--red);
    margin-top: 2px;
}

.map-address strong {
    font-size: 0.9rem;
    color: var(--dark);
}

.map-address p {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 0;
}

.map-address small {
    font-size: 0.75rem;
    color: var(--text);
    opacity: 0.7;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #34a853, #2d8f47);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 8px;
}

.map-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 30px rgba(52, 168, 83, 0.3);
}

.map-btn i:last-child {
    transition: all 0.3s ease;
}

.map-btn:hover i:last-child {
    transform: translateX(-4px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .map-container iframe {
        height: 180px;
    }
    
    .map-address {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 150px;
    }
    
    .map-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ======================================== */
/* FIX - إصلاح حركات الماوس                */
/* ======================================== */

/* ===== تفعيل الحركات على جميع البطاقات ===== */
.news-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    border-color: var(--primary-light);
}

/* ===== تفعيل الحركات على العناصر الداخلية ===== */
.news-feature-item {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.news-feature-item:hover {
    transform: translateX(-5px) scale(1.03);
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.08);
}

.news-feature-item:hover i {
    transform: scale(1.15);
    color: var(--red);
}

/* ===== تفعيل الحركات على جهات الاتصال ===== */
.contact-item {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.contact-item:hover {
    transform: translateX(-5px) scale(1.02);
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.08);
}

.contact-item:hover i {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* ===== تفعيل الحركات على الخدمات ===== */
.service-item {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.08);
}

.service-item:hover i {
    transform: scale(1.15) rotate(-8deg);
    color: var(--red);
}

/* ===== تفعيل الحركات على الخصومات ===== */
.discount-item {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.discount-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 42, 108, 0.1);
}

/* ======================================== */
/* زر قراءة المزيد - تعريف موحد            */
/* ======================================== */

.news-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 12px;
}

/* ===== طبقة الخلفية الحمراء ===== */
.news-read-more::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 12px;
    z-index: 0;
}

/* ===== عند الهوفر ===== */
.news-read-more:hover {
    transform: translateX(-5px) scale(1.03);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.35);
}

.news-read-more:hover::before {
    opacity: 1;
}

/* ===== النص والأيقونات - دائماً فوق الخلفية ===== */
.news-read-more span,
.news-read-more i {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

/* ===== الأيقونة الثانية (تظهر عند الهوفر) ===== */
.news-read-more i:last-child {
    display: none;
    transform: translateX(-4px);
}

.news-read-more:hover i:last-child {
    display: inline-block;
    transform: translateX(-6px);
}

/* ===== الأيقونة الأولى تتحرك عند الهوفر ===== */
.news-read-more:hover i:first-child {
    transform: translateX(-4px);
}
/* ===== تفعيل الحركات على زر فيسبوك ===== */
.facebook-btn {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.facebook-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 12px;
}

.facebook-btn:hover {
    transform: translateX(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.facebook-btn:hover::before {
    opacity: 1;
}

/* ===== تفعيل الحركات على زر الخريطة ===== */
.map-btn {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.map-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2d8f47, #1a6e32);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 12px;
}

.map-btn:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(52, 168, 83, 0.4);
}

.map-btn:hover::before {
    opacity: 1;
}

.map-btn i,
.map-btn span {
    position: relative;
    z-index: 1;
}

.map-btn i:last-child {
    transition: all 0.3s ease;
}

.map-btn:hover i:last-child {
    transform: translateX(-8px);
}

/* ===== تفعيل الحركات على الخريطة ===== */
.news-card-map {
    transition: all 0.5s ease;
}

.news-card-map:hover {
    border-color: #34a853;
}

.map-container iframe {
    transition: all 0.8s ease;
}

.news-card-map:hover .map-container iframe {
    transform: scale(1.02);
}

.map-address {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.map-address:hover {
    transform: translateY(-5px) scale(1.02);
    background: white;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
}

.map-address:hover i {
    transform: scale(1.2) rotate(-10deg);
}

/* ======================================== */
/* RESPONSIVE - تعديل الحركات للشاشات الصغيرة */
/* ======================================== */

@media (max-width: 768px) {
    .news-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .news-feature-item:hover {
        transform: translateX(-3px) scale(1.01);
    }
    
    .contact-item:hover {
        transform: translateX(-3px) scale(1.01);
    }
    
    .service-item:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .news-read-more:hover,
    .facebook-btn:hover,
    .map-btn:hover {
        transform: translateX(-3px) scale(1.02);
    }
}

@media (max-width: 480px) {
    .news-card:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .news-read-more,
    .facebook-btn,
    .map-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ======================================== */
/* CONTACT SECTION - نموذج التواصل         */
/* ======================================== */

.contact-section-pro {
    padding: 100px 0 120px;
    background: linear-gradient(165deg, 
        #ffffff 0%, 
        #f0f7ff 20%, 
        #e8f0fe 40%, 
        #ffffff 60%, 
        #f8fbff 80%, 
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

/* ======================================== */
/* خلفية متحركة                             */
/* ======================================== */

.contact-pro-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.contact-pro-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    animation: contactProFloat 20s ease-in-out infinite;
}

.contact-pro-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.contact-pro-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--red);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.contact-pro-shape.shape-3 {
    width: 350px;
    height: 350px;
    background: #f59e0b;
    top: 40%;
    left: 10%;
    animation-delay: 10s;
}

.contact-pro-shape.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    top: 15%;
    right: 15%;
    animation-delay: 3s;
}

.contact-pro-shape.shape-5 {
    width: 200px;
    height: 200px;
    background: #34a853;
    bottom: 20%;
    right: 25%;
    animation-delay: 7s;
}

@keyframes contactProFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(100px, -60px) scale(1.2) rotate(8deg); }
    66% { transform: translate(-50px, 70px) scale(0.9) rotate(-8deg); }
}

/* ======================================== */
/* عنوان القسم                             */
/* ======================================== */

.contact-pro-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.contact-pro-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-pro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 8px 50px rgba(26, 42, 108, 0.3);
    animation: contactProBadgePulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1px;
    position: relative;
}

.contact-pro-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--red), var(--primary-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.5s ease;
}

.contact-pro-badge:hover::before {
    opacity: 1;
}

.contact-pro-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 60px rgba(26, 42, 108, 0.4);
}

.contact-pro-badge i:last-child {
    animation: contactProStarSpin 4s linear infinite;
    color: #fbbf24;
}

@keyframes contactProBadgePulse {
    0%, 100% { 
        box-shadow: 0 8px 50px rgba(26, 42, 108, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 70px rgba(26, 42, 108, 0.45);
        transform: scale(1.02);
    }
}

@keyframes contactProStarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-pro-header h2 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--primary);
}

.contact-pro-header h2 .highlight-text {
    color: var(--red);
    position: relative;
}

.contact-pro-header h2 .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light), var(--red));
    border-radius: 999px;
    background-size: 200% 100%;
    animation: contactUnderline 4s ease-in-out infinite;
}

@keyframes contactUnderline {
    0%, 100% { background-position: 0% 50%; width: 100%; }
    50% { background-position: 100% 50%; width: 120%; }
}

.contact-pro-header p {
    color: var(--text);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.9;
    margin: 30px auto 0;
}

/* ======================================== */
/* نموذج التواصل                           */
/* ======================================== */

.contact-pro-form-wrapper {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-pro-form-card {
    background: white;
    border-radius: 28px;
    padding: 50px 55px;
    box-shadow: 0 8px 45px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.contact-pro-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--red), var(--primary-light), var(--red));
    background-size: 300% 100%;
    animation: contactFormProBar 4s ease-in-out infinite;
}

@keyframes contactFormProBar {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.contact-pro-form-card:hover {
    box-shadow: 0 12px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}

/* ===== تزيين النموذج ===== */
.form-decoration {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.form-decoration span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.form-decoration span:nth-child(1) {
    background: var(--primary);
}

.form-decoration span:nth-child(2) {
    background: var(--red);
}

.form-decoration span:nth-child(3) {
    background: var(--primary-light);
}

.contact-pro-form-card:hover .form-decoration span:nth-child(1) {
    transform: translateY(-3px) scale(1.2);
}

.contact-pro-form-card:hover .form-decoration span:nth-child(2) {
    transform: translateY(-3px) scale(1.2);
    animation-delay: 0.1s;
}

.contact-pro-form-card:hover .form-decoration span:nth-child(3) {
    transform: translateY(-3px) scale(1.2);
    animation-delay: 0.2s;
}

.contact-pro-form-header {
    margin-bottom: 32px;
}

.contact-pro-form-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-pro-form-header h3 i {
    color: var(--primary-light);
    font-size: 1.4rem;
}

.contact-pro-form-header p {
    color: var(--text);
    font-size: 1rem;
    margin-top: 6px;
}

/* ===== حقول النموذج ===== */
.contact-pro-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-pro-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-pro-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.input-pro-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-pro-group label i {
    color: var(--primary-light);
    width: 20px;
    font-size: 0.95rem;
}

.input-pro-group input,
.input-pro-group textarea {
    padding: 16px 20px;
    border: 2px solid rgba(226, 232, 240, 0.7);
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.4s ease;
    background: var(--bg);
    width: 100%;
    color: var(--dark);
}

.input-pro-group input:focus,
.input-pro-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.06);
}

.input-pro-group input::placeholder,
.input-pro-group textarea::placeholder {
    color: #94a3b8;
}

/* ===== خط متحرك تحت الحقل ===== */
.input-pro-line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--red));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 999px;
}

.input-pro-group input:focus ~ .input-pro-line,
.input-pro-group textarea:focus ~ .input-pro-line {
    width: 100%;
}

/* ===== زر الإرسال ===== */
.contact-pro-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 8px 30px rgba(26, 42, 108, 0.2);
}

.contact-pro-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 16px;
}

.contact-pro-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 45px rgba(26, 42, 108, 0.35);
}

.contact-pro-submit:hover::before {
    opacity: 1;
}

.contact-pro-submit span,
.contact-pro-submit i {
    position: relative;
    z-index: 1;
}

.contact-pro-submit i {
    transition: all 0.3s ease;
}

.contact-pro-submit i:last-child {
    display: none;
}

.contact-pro-submit:hover i:last-child {
    display: inline-block;
    transform: translateX(-6px);
}

.contact-pro-submit:hover i:first-child {
    transform: translateX(6px);
}

/* ===== حالة النموذج ===== */
.form-pro-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px;
    border-radius: 10px;
    display: none;
}

.form-pro-status.success {
    display: block;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.form-pro-status.error {
    display: block;
    color: var(--red);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.form-pro-status.loading {
    display: block;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 992px) {
    .contact-section-pro {
        padding: 80px 0 100px;
    }
    
    .contact-pro-form-card {
        padding: 40px 35px;
    }
    
    .contact-pro-header h2 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .contact-section-pro {
        padding: 60px 0 80px;
    }
    
    .contact-pro-header h2 {
        font-size: 2rem;
    }
    
    .contact-pro-header p {
        font-size: 1rem;
    }
    
    .contact-pro-form-card {
        padding: 30px 24px;
        border-radius: 20px;
    }
    
    .contact-pro-form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-pro-group {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .contact-pro-badge {
        font-size: 0.9rem;
        padding: 12px 28px;
    }
    
    .input-pro-group input,
    .input-pro-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .contact-pro-submit {
        font-size: 1rem;
        padding: 16px 28px;
    }
    
    .form-decoration span {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .contact-section-pro {
        padding: 40px 0 60px;
    }
    
    .contact-pro-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-pro-form-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .contact-pro-badge {
        font-size: 0.75rem;
        padding: 8px 20px;
        gap: 8px;
    }
    
    .contact-pro-form-header h3 {
        font-size: 1.1rem;
    }
    
    .contact-pro-form-header p {
        font-size: 0.9rem;
    }
    
    .input-pro-group label {
        font-size: 0.85rem;
    }
    
    .input-pro-group input,
    .input-pro-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .contact-pro-submit {
        font-size: 0.9rem;
        padding: 14px 20px;
        border-radius: 12px;
    }
}


/* ======================================== */
/* FOOTER SCHOOL - فوتر المدرسة الاحترافي  */
/* ======================================== */

.footer-school {
    background: linear-gradient(165deg, 
        #0a1628 0%, 
        #1a2a6c 20%, 
        #0f172a 50%, 
        #1a2a6c 80%, 
        #0a1628 100%
    );
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

/* ======================================== */
/* خلفية متحركة                             */
/* ======================================== */

.footer-school-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.footer-school-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: footerSchoolFloat 20s ease-in-out infinite;
}

.footer-school-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -250px;
    left: -200px;
    animation-delay: 0s;
}

.footer-school-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--red);
    bottom: -200px;
    right: -150px;
    animation-delay: 5s;
}

.footer-school-shape.shape-3 {
    width: 350px;
    height: 350px;
    background: #f59e0b;
    top: 30%;
    right: 15%;
    animation-delay: 10s;
}

.footer-school-shape.shape-4 {
    width: 250px;
    height: 250px;
    background: #34a853;
    bottom: 10%;
    left: 15%;
    animation-delay: 3s;
}

@keyframes footerSchoolFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-100px, -60px) scale(1.2) rotate(10deg); }
    66% { transform: translate(60px, 70px) scale(0.9) rotate(-10deg); }
}

/* ======================================== */
/* الفوتر العلوي                           */
/* ======================================== */

.footer-school-top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

/* ======================================== */
/* العمود 1: العلامة التجارية              */
/* ======================================== */

.footer-school-brand {
    position: relative;
}

.footer-school-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

/* ===== اللوغو - مكبر ونابض ===== */
.footer-school-logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 4px;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    animation: logoPulse 2s ease-in-out infinite;
}

/* ===== نبض اللوغو - أقوى وأكبر ===== */
@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
        border-color: rgba(255, 255, 255, 0.15);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 8px 60px rgba(37, 99, 235, 0.4), 0 0 80px rgba(37, 99, 235, 0.15);
        border-color: rgba(37, 99, 235, 0.5);
    }
}

.footer-school-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== هوفر اللوغو - مميز ===== */
.footer-school-logo-icon:hover {
    cursor: pointer;
    transform: scale(1.18) rotate(-8deg);
    border-color: var(--primary-light);
    box-shadow: 0 8px 60px rgba(37, 99, 235, 0.5), 0 0 100px rgba(37, 99, 235, 0.2);
    animation-play-state: paused;
}

.footer-school-logo h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.footer-school-logo h3 span {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-school-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    font-size: 0.95rem;
    margin-bottom: 22px;
    max-width: 350px;
}

/* ======================================== */
/* وسائل التواصل الاجتماعي                 */
/* ======================================== */

.footer-school-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-school-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    cursor: pointer;
}

.social-school-icon:hover {
    transform: translateY(-6px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-school-icon.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.3);
}

.social-school-icon.instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: #e6683c;
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.3);
}

.social-school-icon.youtube:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
}

.social-school-icon.whatsapp:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* ======================================== */
/* العمود 2: روابط سريعة                   */
/* ======================================== */

.footer-school-links h4,
.footer-school-contact h4,
.footer-school-cta h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    display: inline-flex;
}

/* ===== الخط تحت العنوان - بطول الجملة ===== */
.footer-school-links h4::after,
.footer-school-contact h4::after,
.footer-school-cta h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--red));
    border-radius: 999px;
}

.footer-school-links h4 i,
.footer-school-contact h4 i,
.footer-school-cta h4 i {
    color: var(--primary-light);
    font-size: 0.95rem;
}

.footer-school-links ul {
    list-style: none;
}

.footer-school-links li {
    margin-bottom: 10px;
}

.footer-school-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.footer-school-links a i {
    font-size: 0.6rem;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.footer-school-links a:hover {
    color: #ffffff;
    transform: translateX(-5px);
}

.footer-school-links a:hover i {
    opacity: 1;
    color: var(--primary-light);
}

/* ======================================== */
/* العمود 3: معلومات التواصل              */
/* ======================================== */

.footer-school-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-school-contact-item:hover {
    transform: translateX(-5px);
}

/* ===== أيقونات التواصل معكوسة ===== */
.footer-school-contact-item i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* ===== عكس جميع أيقونات التواصل ===== */
.footer-school-contact-item .fa-phone {
    transform: scaleX(-1);
}

.footer-school-contact-item .fa-whatsapp {
    transform: scaleX(-1);
}

.footer-school-contact-item .fa-envelope {
    transform: scaleX(-1);
}

.footer-school-contact-item .fa-map-marker-alt {
    transform: scaleX(-1);
}

/* ===== هوفر الأيقونات المعكوسة ===== */
.footer-school-contact-item:hover .fa-phone {
    transform: scaleX(-1) scale(1.1);
    animation: iconWiggle 0.6s ease;
}

.footer-school-contact-item:hover .fa-whatsapp {
    transform: scaleX(-1) scale(1.1);
    animation: iconWiggle 0.6s ease;
}

.footer-school-contact-item:hover .fa-envelope {
    transform: scaleX(-1) scale(1.1);
    animation: iconWiggle 0.6s ease;
}

.footer-school-contact-item:hover .fa-map-marker-alt {
    transform: scaleX(-1) scale(1.1);
    animation: iconWiggle 0.6s ease;
}

/* ===== تعريف حركة iconWiggle ===== */
@keyframes iconWiggle {
    0% { transform: scaleX(-1) scale(1) rotate(0deg); }
    25% { transform: scaleX(-1) scale(1.2) rotate(-8deg); }
    50% { transform: scaleX(-1) scale(1.1) rotate(8deg); }
    75% { transform: scaleX(-1) scale(1.15) rotate(-4deg); }
    100% { transform: scaleX(-1) scale(1.1) rotate(0deg); }
}

.footer-school-contact-item:hover i {
    background: var(--primary-light);
    color: white;
}

.footer-school-contact-item .fa-whatsapp {
    color: #25d366 !important;
    background: rgba(37, 211, 102, 0.1) !important;
}

.footer-school-contact-item:hover .fa-whatsapp {
    background: #25d366 !important;
    color: white !important;
}

.footer-school-contact-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-school-contact-item a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
}

.footer-school-contact-item a:hover {
    color: #ffffff;
}

.footer-school-contact-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ======================================== */
/* العمود 4: زر الحقيبة المدرسية          */
/* ======================================== */

.footer-school-cta {
    position: relative;
}

.footer-school-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== الزر اللامع النابض ===== */
.footer-school-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
    animation: schoolBtnPulse 2.5s ease-in-out infinite;
}

/* ===== تأثير اللمعان ===== */
.footer-school-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0.5);
}

.footer-school-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* ===== خطوط لامعة متحركة ===== */
.footer-school-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.3) 40%, 
        rgba(255, 255, 255, 0.1) 60%, 
        transparent 80%
    );
    background-size: 200% 100%;
    animation: schoolBtnShine 3s ease-in-out infinite;
    border-radius: 14px;
    pointer-events: none;
}

@keyframes schoolBtnShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== نبض الزر ===== */
@keyframes schoolBtnPulse {
    0%, 100% { 
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 50px rgba(37, 99, 235, 0.4), 0 0 80px rgba(37, 99, 235, 0.1);
        transform: scale(1.02);
    }
}

.footer-school-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 45px rgba(37, 99, 235, 0.4);
    animation-play-state: paused;
}

.footer-school-btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.footer-school-btn i:first-child {
    animation: schoolBagSwing 3s ease-in-out infinite;
}

@keyframes schoolBagSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.footer-school-btn span {
    position: relative;
    z-index: 1;
}

.footer-school-btn i:last-child {
    transition: all 0.3s ease;
}

.footer-school-btn:hover i:last-child {
    transform: translateX(-6px);
}

/* ======================================== */
/* ساعات العمل                             */
/* ======================================== */

.footer-school-hours {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-school-hours:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-school-hours i {
    font-size: 1.4rem;
    color: var(--primary-light);
    opacity: 0.7;
    animation: clockSpin 8s linear infinite;
}

@keyframes clockSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-school-hours strong {
    font-size: 0.9rem;
    color: #ffffff;
    display: block;
}

.footer-school-hours p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* ======================================== */
/* الفوتر السفلي                           */
/* ======================================== */

.footer-school-bottom {
    padding-top: 30px;
    position: relative;
    z-index: 1;
}

.footer-school-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-school-copyright {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-school-copyright strong {
    color: var(--primary-light);
}

.footer-school-developer {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-school-developer i {
    color: var(--red);
}

.footer-school-developer i.fa-heart {
    color: #ff4757;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

.footer-school-developer a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-school-developer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 1200px) {
    .footer-school-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer-school {
        padding: 60px 0 25px;
    }
    
    .footer-school-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-school-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-school-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-school-logo {
        justify-content: center;
    }
    
    .footer-school-desc {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-school-social {
        justify-content: center;
    }
    
    .footer-school-links h4,
    .footer-school-contact h4,
    .footer-school-cta h4 {
        text-align: center;
        justify-content: center;
    }
    
    .footer-school-links h4::after,
    .footer-school-contact h4::after,
    .footer-school-cta h4::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    .footer-school-links ul {
        text-align: center;
    }
    
    .footer-school-links a {
        justify-content: center;
    }
    
    .footer-school-contact-item {
        justify-content: center;
    }
    
    .footer-school-cta p {
        text-align: center;
    }
    
    .footer-school-btn {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-school-hours {
        max-width: 300px;
        margin: 16px auto 0;
        justify-content: center;
    }
    
    .footer-school-bottom-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-school-developer {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-school {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-school-logo-icon {
        width: 65px;
        height: 65px;
    }
    
    .footer-school-logo h3 {
        font-size: 0.9rem;
    }
    
    .footer-school-desc {
        font-size: 0.85rem;
    }
    
    .social-school-icon {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .footer-school-contact-item i {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-school-contact-item p,
    .footer-school-contact-item a {
        font-size: 0.8rem;
    }
    
    .footer-school-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .footer-school-copyright {
        font-size: 0.75rem;
    }
    
    .footer-school-developer {
        font-size: 0.75rem;
    }
}



/* ======================================== */
/* BACK TO TOP BUTTON - زر الرجوع لأعلى    */
/* ======================================== */

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a6c, #2563eb);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) translateY(20px);
    overflow: visible;
    position: fixed;
    outline: none;
}

/* ===== ظهور الزر ===== */
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* ===== تأثير النبض ===== */
.back-to-top-btn {
    animation: backToTopPulse 2s ease-in-out infinite;
}

@keyframes backToTopPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 50px rgba(37, 99, 235, 0.6), 0 0 80px rgba(37, 99, 235, 0.2);
        transform: scale(1.08);
    }
}

/* ===== إيقاف النبض عند الهوفر ===== */
.back-to-top-btn:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 50px rgba(220, 38, 38, 0.6), 0 0 100px rgba(220, 38, 38, 0.25);
    background: linear-gradient(135deg, #1a2a6c, #2563eb);
}

/* ===== تأثير اللمعان ===== */
.back-to-top-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0.5);
    border-radius: 50%;
}

.back-to-top-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* ===== خطوط لامعة متحركة ===== */
.back-to-top-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 70%, 
        transparent 100%
    );
    background-size: 300% 300%;
    animation: backToTopShine 3s ease-in-out infinite;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes backToTopShine {
    0% { transform: rotate(0deg) scale(1.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(360deg) scale(1.5); opacity: 0; }
}

/* ===== الأيقونة - سهم لأعلى ===== */
.back-to-top-btn i {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    animation: arrowBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    display: inline-block;
}

@keyframes arrowBounce {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-6px) scale(1.1);
    }
}

/* ===== إيقاف حركة السهم عند الهوفر ===== */
.back-to-top-btn:hover i {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.2);
}

/* ===== حلقة خارجية نابضة - باللون الأحمر ===== */
.back-to-top-btn .pulse-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(220, 38, 38, 0.4);
    animation: pulseRing 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 768px) {
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top-btn i {
        font-size: 1.5rem;
    }
    
    .back-to-top-btn .pulse-ring {
        inset: -6px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top-btn i {
        font-size: 1.2rem;
    }
    
    .back-to-top-btn .pulse-ring {
        inset: -4px;
    }
}

/* ======================================== */
/* REGISTRATION POPUP - نافذة منبثقة زجاجية فاتحة */
/* ======================================== */

.registration-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayFadeIn 0.5s ease;
}

.registration-overlay.active {
    display: flex;
}

@keyframes overlayFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ======================================== */
/* REGISTRATION POPUP - نافذة منبثقة زجاجية بألوان أزرق وأحمر */
/* ======================================== */

.registration-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(26, 42, 108, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayFadeIn 0.5s ease;
}

.registration-overlay.active {
    display: flex;
}

@keyframes overlayFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ===== النافذة الزجاجية بألوان أزرق وأحمر ===== */
.registration-popup {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 32px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px 45px;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 80px rgba(26, 42, 108, 0.05);
    animation: popupSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== شريط علوي بتدرج أزرق وأحمر ===== */
.registration-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #1a2a6c, 
        #2563eb, 
        #dc2626, 
        #ef4444,
        #1a2a6c
    );
    background-size: 300% 100%;
    animation: popupBarGradient 4s ease-in-out infinite;
    border-radius: 32px 32px 0 0;
}

@keyframes popupBarGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes popupSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(50px) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

/* ===== تخصيص شريط التمرير ===== */
.registration-popup::-webkit-scrollbar {
    width: 6px;
}

.registration-popup::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.registration-popup::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2563eb, #dc2626);
    border-radius: 999px;
}

.registration-popup::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a2a6c, #b91c1c);
}

/* ===== زر الإغلاق ===== */
.registration-close {
    position: sticky;
    top: 0;
    float: left;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.15);
    border: 2px solid rgba(220, 38, 38, 0.2);
    color: #dc2626;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.registration-close:hover {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.3);
}

.registration-popup-content {
    clear: both;
}

/* ===== رأس النافذة ===== */
.registration-popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-decoration {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.popup-decoration span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: popupDotPulse 2s ease-in-out infinite;
}

.popup-decoration span:nth-child(1) {
    background: #1a2a6c;
    animation-delay: 0s;
    box-shadow: 0 0 20px rgba(26, 42, 108, 0.3);
}
.popup-decoration span:nth-child(2) {
    background: #dc2626;
    animation-delay: 0.3s;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}
.popup-decoration span:nth-child(3) {
    background: #2563eb;
    animation-delay: 0.6s;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

@keyframes popupDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a6c, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 40px rgba(26, 42, 108, 0.25), 0 0 60px rgba(220, 38, 38, 0.1);
    animation: popupIconFloat 3s ease-in-out infinite;
    position: relative;
}

.popup-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #1a2a6c, #dc2626, #2563eb);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: popupIconSpin 4s linear infinite;
}

@keyframes popupIconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes popupIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.registration-popup-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1a2a6c, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registration-popup-header p {
    color: #4a4a6a;
    font-size: 1rem;
    margin-top: 6px;
}

/* ===== أقسام النموذج ===== */
.popup-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.popup-section-title i {
    font-size: 1.1rem;
    color: #1a2a6c;
    background: rgba(26, 42, 108, 0.1);
    padding: 8px;
    border-radius: 10px;
}

.popup-section-title span {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* ===== حقول النموذج الزجاجية ===== */
.popup-form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.popup-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.popup-input-group.full-width {
    grid-column: 1 / -1;
}

.popup-input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d2d44;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-input-group label i {
    color: #1a2a6c;
    width: 18px;
    font-size: 0.9rem;
}

.popup-input-group input,
.popup-input-group select,
.popup-input-group textarea {
    padding: 14px 18px;
    border: 2px solid rgba(26, 42, 108, 0.1);
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    color: #1a1a2e;
    appearance: none;
    -webkit-appearance: none;
}

.popup-input-group input::placeholder,
.popup-input-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.popup-input-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(0,0,0,0.5)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-right: 14px;
    cursor: pointer;
    color: #1a1a2e;
}

.popup-input-group select option {
    background: #ffffff;
    color: #1a1a2e;
}

.popup-input-group input:focus,
.popup-input-group select:focus,
.popup-input-group textarea:focus {
    outline: none;
    border-color: #1a2a6c;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(26, 42, 108, 0.1), inset 0 0 30px rgba(26, 42, 108, 0.02);
}

.popup-input-group textarea {
    resize: vertical;
    min-height: 70px;
}

/* ===== خط متحرك ===== */
.popup-input-line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a2a6c, #dc2626, #2563eb);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 999px;
}

.popup-input-group input:focus ~ .popup-input-line,
.popup-input-group select:focus ~ .popup-input-line,
.popup-input-group textarea:focus ~ .popup-input-line {
    width: 100%;
}

/* ===== خيارات إضافية زجاجية ===== */
.popup-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    margin: 12px 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.popup-option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.popup-option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1a2a6c;
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(26, 42, 108, 0.15));
}

.popup-option-item label {
    font-size: 0.85rem;
    color: #2d2d44;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-option-item:hover label {
    color: #dc2626;
}

/* ===== زر الإرسال بتدرج أزرق وأحمر ===== */
.popup-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #1a2a6c, #dc2626);
    color: white;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 8px 40px rgba(26, 42, 108, 0.25);
}

.popup-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #dc2626, #1a2a6c);
    opacity: 0;
    transition: all 0.6s ease;
    border-radius: 16px;
}

.popup-submit::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #1a2a6c, #dc2626, #2563eb, #dc2626);
    background-size: 300% 300%;
    animation: popupSubmitBorder 4s ease-in-out infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.5s ease;
}

.popup-submit:hover::after {
    opacity: 1;
}

@keyframes popupSubmitBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.popup-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 50px rgba(26, 42, 108, 0.35);
}

.popup-submit:hover::before {
    opacity: 1;
}

.popup-submit span,
.popup-submit i {
    position: relative;
    z-index: 1;
}

.popup-submit i {
    transition: all 0.3s ease;
}

.popup-submit i:last-child {
    display: none;
}

.popup-submit:hover i:last-child {
    display: inline-block;
    transform: translateX(-6px);
}

.popup-submit:hover i:first-child {
    transform: translateX(6px);
}

/* ===== حالة النموذج ===== */
.popup-form-status {
    margin-top: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 12px;
    display: none;
    backdrop-filter: blur(10px);
}

.popup-form-status.success {
    display: block;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.popup-form-status.error {
    display: block;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.popup-form-status.loading {
    display: block;
    color: #1a2a6c;
    background: rgba(26, 42, 108, 0.1);
    border: 1px solid rgba(26, 42, 108, 0.15);
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */

@media (max-width: 768px) {
    .registration-popup {
        padding: 30px 24px;
        border-radius: 24px;
        max-height: 95vh;
    }
    
    .popup-form-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .popup-options {
        grid-template-columns: 1fr;
    }
    
    .registration-popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .registration-close {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .registration-popup {
        padding: 20px 16px;
        border-radius: 20px;
    }
    
    .registration-popup-header h2 {
        font-size: 1.3rem;
    }
    
    .registration-popup-header p {
        font-size: 0.9rem;
    }
    
    .popup-input-group label {
        font-size: 0.85rem;
    }
    
    .popup-input-group input,
    .popup-input-group select,
    .popup-input-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .popup-option-item label {
        font-size: 0.8rem;
    }
    
    .popup-submit {
        font-size: 0.9rem;
        padding: 14px 20px;
        border-radius: 14px;
    }
}


/* ======================================== */
/* RESPONSIVE - شاشة 1500px فما فوق        */
/* ======================================== */

@media (min-width: 1500px) {
    .container {
        width: min(1400px, 90%);
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content .hero-highlight {
        font-size: 3.5rem;
    }
    
    .video-rect-wrapper {
        width: 650px;
        height: 365px;
    }
    
    .hero-image-wrapper {
        max-width: 600px;
    }
    
    .features-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 350px;
    }
    
    .footer-school-top {
        grid-template-columns: 1.3fr 0.8fr 1.1fr 1fr;
    }
}


/* ======================================== */
/* RESPONSIVE - شاشة 1200px                 */
/* ======================================== */

@media (max-width: 1200px) {
    .container {
        width: min(960px, 92%);
    }
    
    .video-rect-wrapper {
        width: 480px;
        height: 270px;
    }
    
    .video-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content .hero-highlight {
        font-size: 2.4rem;
    }
    
    .features-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 270px;
    }
    
    .footer-school-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}


/* ======================================== */
/* RESPONSIVE - شاشة 992px                  */
/* ======================================== */

@media (max-width: 992px) {
    .container {
        width: min(720px, 92%);
    }
    
    /* ===== NAVBAR ===== */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* ===== VIDEO ===== */
    .video-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-content {
        text-align: center;
        order: 2;
    }
    
    .video-player {
        order: 1;
    }
    
    .video-content h2 {
        font-size: 2.2rem;
    }
    
    .video-features {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    
    .video-feature {
        width: 100%;
        justify-content: center;
    }
    
    .video-tag {
        margin: 0 auto 20px;
    }
    
    .video-rect-wrapper {
        width: 100%;
        max-width: 560px;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .video-ring {
        display: none;
    }
    
    .float-icon-item {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .thumbnail-overlay i {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    /* ===== HERO ===== */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .hero-badge {
        margin: 0 auto 24px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust-row {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-badge-wrapper {
        justify-content: center;
    }
    
    /* ===== GALLERY ===== */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
        gap: 18px;
    }
    
    .gallery-item.featured,
    .gallery-item.wide,
    .gallery-item.panorama {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-header h2 {
        font-size: 2.8rem;
    }
    
    .gallery-overlay {
        padding: 25px;
    }
    
    .gallery-overlay-content h3 {
        font-size: 1.1rem;
    }
    
    /* ===== FEATURES ===== */
    .features-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .features-cards-header .main-title-wrapper .main-title {
        font-size: 2.4rem;
    }
    
    .features-cards-header .why-us-badge {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .feature-card-item {
        padding: 30px 20px 25px;
    }
    
    .feature-card-item .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card-item .card-title {
        font-size: 1rem;
    }
    
    /* ===== NEWS ===== */
    .news-card-featured {
        grid-column: span 1;
    }
    
    .discount-grid {
        grid-template-columns: 1fr;
    }
    
    .news-services {
        grid-template-columns: 1fr;
    }
    
    /* ===== FOOTER ===== */
    .footer-school-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-school-desc {
        max-width: 100%;
    }
    
    /* ===== SPLASH ===== */
    .splash-logo-container {
        width: 120px;
        height: 120px;
    }
    
    .splash-brand-text h1 {
        font-size: 2rem;
    }
    
    .top-header-location bdi {
        max-width: 180px;
    }
}


/* ======================================== */
/* RESPONSIVE - شاشة 768px                  */
/* ======================================== */

@media (max-width: 768px) {
    .container {
        width: min(540px, 92%);
    }
    
    /* ===== TOP HEADER ===== */
    .top-header {
        padding: 6px 0;
        font-size: 0.75rem;
    }
    
    .top-header-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    .top-header-left,
    .top-header-right {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .top-header-center {
        gap: 6px;
    }
    
    .top-header-social {
        width: 32px;
        height: 32px;
    }
    
    .top-header-social i {
        font-size: 0.85rem;
    }
    
    #clockDisplay {
        min-width: 60px;
        font-size: 0.8rem;
    }
    
    .top-header-location bdi {
        max-width: 160px;
        font-size: 0.7rem;
    }
    
    /* ===== VIDEO ===== */
    .video-section {
        padding: 60px 0;
    }
    
    .video-content h2 {
        font-size: 1.8rem;
    }
    
    .video-description {
        font-size: 0.95rem;
    }
    
    .video-features {
        grid-template-columns: 1fr;
    }
    
    .video-feature {
        justify-content: center;
        padding: 8px 14px;
    }
    
    .video-feature span {
        font-size: 0.85rem;
    }
    
    .video-rect-wrapper {
        max-width: 100%;
    }
    
    .float-icon-item {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
    
    .video-float-icons {
        inset: -15px;
    }
    
    .thumbnail-overlay i {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .thumbnail-overlay span {
        font-size: 0.75rem;
    }
    
    /* ===== HERO ===== */
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .hero-highlight {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .hero-actions .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .hero-image-wrapper {
        max-width: 350px;
    }
    
    .trust-item {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    /* ===== GALLERY ===== */
    .gallery-section {
        padding: 60px 0 80px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
        gap: 14px;
    }
    
    .gallery-header h2 {
        font-size: 2.2rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 10px 22px;
        font-size: 0.8rem;
    }
    
    .gallery-overlay {
        padding: 20px;
    }
    
    .gallery-overlay-content h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.75rem;
    }
    
    .gallery-action-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .gallery-actions {
        top: 15px;
        left: 15px;
        gap: 8px;
    }
    
    .gallery-meta {
        bottom: 15px;
        right: 60px;
        gap: 10px;
    }
    
    .gallery-meta span {
        font-size: 0.65rem;
    }
    
    /* ===== LIGHTBOX ===== */
    .lightbox {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .lightbox-nav.prev {
        left: 15px;
    }
    
    .lightbox-nav.next {
        right: 15px;
    }
    
    .lightbox-counter {
        bottom: 25px;
        font-size: 0.8rem;
        padding: 6px 20px;
    }
    
    .lightbox-info {
        bottom: -55px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 0.8rem;
    }
    
    .lightbox-info .lb-title {
        font-size: 1rem;
    }
    
    /* ===== FEATURES ===== */
    .features-cards-section {
        padding: 60px 0 80px;
    }
    
    .features-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .features-cards-header .header-row {
        flex-direction: column;
        gap: 14px;
    }
    
    .features-cards-header .main-title-wrapper .main-title {
        font-size: 2rem;
    }
    
    .features-cards-header .sub-description {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .features-cards-header .why-us-badge {
        padding: 8px 22px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .feature-card-item {
        padding: 25px 16px 20px;
        border-radius: 18px;
    }
    
    .feature-card-item .card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 16px;
        margin: 5px auto 14px;
    }
    
    .feature-card-item .card-title {
        font-size: 0.95rem;
    }
    
    .feature-card-item .card-description {
        font-size: 0.78rem;
        line-height: 1.6;
    }
    
    .feature-card-item .card-number {
        font-size: 2.2rem;
        bottom: 8px;
        right: 10px;
    }
    
    /* ===== NEWS ===== */
    .news-section {
        padding: 60px 0 80px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .news-header h2 {
        font-size: 2rem;
    }
    
    .news-header p {
        font-size: 1rem;
    }
    
    .news-card {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 1.1rem;
    }
    
    .news-features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-feature-item {
        padding: 10px 14px;
    }
    
    .news-badge {
        font-size: 0.85rem;
        padding: 10px 24px;
    }
    
    .facebook-stats {
        gap: 20px;
    }
    
    /* ===== CONTACT ===== */
    .contact-section-pro {
        padding: 60px 0 80px;
    }
    
    .contact-pro-header h2 {
        font-size: 2rem;
    }
    
    .contact-pro-header p {
        font-size: 1rem;
    }
    
    .contact-pro-form-card {
        padding: 30px 24px;
        border-radius: 20px;
    }
    
    .contact-pro-form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-pro-group {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .contact-pro-badge {
        font-size: 0.9rem;
        padding: 12px 28px;
    }
    
    .input-pro-group input,
    .input-pro-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .contact-pro-submit {
        font-size: 1rem;
        padding: 16px 28px;
    }
    
    .form-decoration span {
        width: 8px;
        height: 8px;
    }
    
    /* ===== FOOTER ===== */
    .footer-school-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-school-logo {
        justify-content: center;
    }
    
    .footer-school-desc {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-school-social {
        justify-content: center;
    }
    
    .footer-school-links h4,
    .footer-school-contact h4,
    .footer-school-cta h4 {
        text-align: center;
        justify-content: center;
    }
    
    .footer-school-links h4::after,
    .footer-school-contact h4::after,
    .footer-school-cta h4::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    .footer-school-links ul {
        text-align: center;
    }
    
    .footer-school-links a {
        justify-content: center;
    }
    
    .footer-school-contact-item {
        justify-content: center;
    }
    
    .footer-school-cta p {
        text-align: center;
    }
    
    .footer-school-btn {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-school-hours {
        max-width: 300px;
        margin: 16px auto 0;
        justify-content: center;
    }
    
    .footer-school-bottom-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-school-developer {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* ===== SPLASH ===== */
    .splash-logo-container {
        width: 110px;
        height: 110px;
    }
    
    .splash-brand-text h1 {
        font-size: 1.6rem;
    }
    
    .splash-brand-text .highlight {
        font-size: 1.3rem;
    }
    
    .splash-progress {
        width: 160px;
    }
    
    .logo-text h2 {
        font-size: 0.85rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .btn-nav-primary span {
        display: none;
    }
    
    .btn-nav-primary i {
        font-size: 1.1rem;
    }
}


/* ======================================== */
/* RESPONSIVE - شاشة 480px                  */
/* ======================================== */

@media (max-width: 480px) {
    .container {
        width: 92%;
    }
    
    /* ===== TOP HEADER ===== */
    .top-header {
        font-size: 0.7rem;
        padding: 4px 0;
    }
    
    .top-header-left,
    .top-header-right {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .top-header-center {
        gap: 4px;
    }
    
    .top-header-social {
        width: 28px;
        height: 28px;
        border-width: 1.5px;
    }
    
    .top-header-social i {
        font-size: 0.75rem;
    }
    
    .top-header-phone bdi {
        font-size: 0.75rem;
    }
    
    .top-header-location bdi {
        max-width: 140px;
        font-size: 0.65rem;
    }
    
    #clockDisplay {
        font-size: 0.75rem;
        min-width: 55px;
    }
    
    /* ===== VIDEO ===== */
    .video-section {
        padding: 40px 0;
    }
    
    .video-content h2 {
        font-size: 1.5rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
    
    .video-rect {
        border-radius: 16px;
    }
    
    .video-rect-wrapper {
        max-width: 100%;
    }
    
    .float-icon-item {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }
    
    .video-float-icons {
        inset: -8px;
    }
    
    .thumbnail-overlay i {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .thumbnail-overlay span {
        font-size: 0.7rem;
    }
    
    /* ===== HERO ===== */
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content .hero-highlight {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .hero-image-wrapper {
        max-width: 280px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    /* ===== GALLERY ===== */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 14px;
    }
    
    .gallery-section {
        padding: 40px 0 60px;
    }
    
    .gallery-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-header h2::after {
        display: none;
    }
    
    .gallery-header p {
        font-size: 0.9rem;
    }
    
    .gallery-filter {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
    
    .filter-btn .filter-icon {
        margin-left: 6px;
        font-size: 0.7rem;
    }
    
    .gallery-overlay {
        padding: 16px;
    }
    
    .gallery-overlay-content h3 {
        font-size: 0.9rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.7rem;
    }
    
    .gallery-action-btn {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
    
    .gallery-badge {
        font-size: 0.55rem;
        padding: 4px 12px;
        top: 15px;
        right: 15px;
    }
    
    /* ===== LIGHTBOX ===== */
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 0.7rem;
        padding: 4px 16px;
    }
    
    /* ===== FEATURES ===== */
    .features-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .features-cards-section {
        padding: 40px 0 60px;
    }
    
    .features-cards-header .header-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .features-cards-header .main-title-wrapper .main-title {
        font-size: 1.6rem;
    }
    
    .features-cards-header .sub-description {
        font-size: 0.9rem;
        margin-top: 16px;
    }
    
    .features-cards-header .why-us-badge {
        padding: 8px 18px;
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .features-cards-header .why-us-badge i {
        font-size: 0.9rem;
    }
    
    .feature-card-item {
        padding: 22px 16px 18px;
        border-radius: 16px;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .feature-card-item .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-card-item .card-title {
        font-size: 0.95rem;
    }
    
    .feature-card-item .card-description {
        font-size: 0.8rem;
    }
    
    /* ===== NEWS ===== */
    .news-section {
        padding: 40px 0 60px;
    }
    
    .news-header h2 {
        font-size: 1.6rem;
    }
    
    .news-card {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 1rem;
    }
    
    .news-badge {
        font-size: 0.75rem;
        padding: 8px 18px;
        gap: 8px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .news-working-hours {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .testimonial-content blockquote {
        font-size: 0.95rem;
    }
    
    /* ===== CONTACT ===== */
    .contact-section-pro {
        padding: 40px 0 60px;
    }
    
    .contact-pro-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-pro-form-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .contact-pro-badge {
        font-size: 0.75rem;
        padding: 8px 20px;
        gap: 8px;
    }
    
    .contact-pro-form-header h3 {
        font-size: 1.1rem;
    }
    
    .contact-pro-form-header p {
        font-size: 0.9rem;
    }
    
    .input-pro-group label {
        font-size: 0.85rem;
    }
    
    .input-pro-group input,
    .input-pro-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .contact-pro-submit {
        font-size: 0.9rem;
        padding: 14px 20px;
        border-radius: 12px;
    }
    
    /* ===== FOOTER ===== */
    .footer-school {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-school-logo-icon {
        width: 65px;
        height: 65px;
    }
    
    .footer-school-logo h3 {
        font-size: 0.9rem;
    }
    
    .footer-school-desc {
        font-size: 0.85rem;
    }
    
    .social-school-icon {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .footer-school-contact-item i {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-school-contact-item p,
    .footer-school-contact-item a {
        font-size: 0.8rem;
    }
    
    .footer-school-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .footer-school-copyright {
        font-size: 0.75rem;
    }
    
    .footer-school-developer {
        font-size: 0.75rem;
    }
    
    /* ===== SPLASH ===== */
    .splash-logo-container {
        width: 90px;
        height: 90px;
    }
    
    .splash-brand-text h1 {
        font-size: 1.2rem;
    }
    
    .splash-brand-text .highlight {
        font-size: 1rem;
    }
    
    .splash-subtitle {
        font-size: 0.8rem;
    }
    
    .splash-tagline {
        font-size: 0.7rem;
    }
    
    /* ===== NAVBAR ===== */
    .btn-nav-primary {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .btn-nav-primary span {
        display: none;
    }
    
    .btn-nav-primary i {
        font-size: 1.1rem;
    }
    
    .logo-text h2 {
        font-size: 0.75rem;
    }
    
    .logo-icon {
        width: 34px;
        height: 34px;
    }
}


/* ======================================== */
/* RESPONSIVE - شاشة 364px (أصغر حجم)      */
/* ======================================== */

@media (max-width: 364px) {
    .container {
        width: 95%;
    }
    
    /* ===== TOP HEADER ===== */
    .top-header {
        font-size: 0.65rem;
        padding: 4px 0;
    }
    
    .top-header-item {
        gap: 4px;
        padding: 2px 4px;
    }
    
    .top-header-item i {
        font-size: 0.6rem;
    }
    
    .top-header-social {
        width: 24px;
        height: 24px;
        border-width: 1px;
    }
    
    .top-header-social i {
        font-size: 0.65rem;
    }
    
    #clockDisplay {
        font-size: 0.65rem;
        min-width: 48px;
    }
    
    #dateDisplay {
        font-size: 0.6rem;
    }
    
    /* ===== NAVBAR ===== */
    .logo-text h2 {
        font-size: 0.65rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        padding: 2px;
    }
    
    .lang-toggle-btn {
        width: 28px;
        height: 28px;
        font-size: 0.5rem;
    }
    
    .lang-toggle-btn i {
        font-size: 0.5rem;
    }
    
    .btn-nav-primary {
        padding: 5px 10px;
        font-size: 0.65rem;
    }
    
    .btn-nav-primary i {
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        font-size: 1rem;
        padding: 4px;
    }
    
    /* ===== VIDEO ===== */
    .video-content h2 {
        font-size: 1.2rem;
    }
    
    .video-description {
        font-size: 0.8rem;
    }
    
    .video-feature {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .video-feature i {
        font-size: 0.7rem;
    }
    
    .video-feature span {
        font-size: 0.7rem;
    }
    
    .thumbnail-overlay i {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .thumbnail-overlay span {
        font-size: 0.6rem;
    }
    
    /* ===== HERO ===== */
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content .hero-highlight {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    
    .btn-primary {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .hero-image-wrapper {
        max-width: 220px;
    }
    
    .hero-floating-card {
        display: none !important;
    }
    
    /* ===== GALLERY ===== */
    .gallery-grid {
        grid-auto-rows: 200px;
    }
    
    .gallery-header h2 {
        font-size: 1.4rem;
    }
    
    /* ===== FEATURES ===== */
    .feature-card-item {
        padding: 18px 12px 14px;
    }
    
    .feature-card-item .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .feature-card-item .card-title {
        font-size: 0.8rem;
    }
    
    .feature-card-item .card-description {
        font-size: 0.7rem;
    }
    
    .feature-card-item .card-number {
        font-size: 1.5rem;
    }
    
    /* ===== CONTACT ===== */
    .contact-card,
    .contact-info-card {
        padding: 12px;
    }
    
    .input-group label {
        font-size: 0.8rem;
    }
    
    .input-group input,
    .input-group textarea {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .info-item {
        gap: 10px;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .info-item h4 {
        font-size: 0.85rem;
    }
    
    .info-item p {
        font-size: 0.75rem;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }
    
    .footer-logo h3 {
        font-size: 0.9rem;
    }
    
    .footer-logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-brand p {
        font-size: 0.8rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-contact-item {
        font-size: 0.75rem;
    }
    
    .footer-contact-item i {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .footer-bottom {
        font-size: 0.7rem;
    }
    
    /* ===== SPLASH ===== */
    .splash-logo-container {
        width: 70px;
        height: 70px;
    }
    
    .splash-logo-image {
        border-width: 2px;
        padding: 4px;
    }
    
    .splash-brand-text h1 {
        font-size: 1rem;
    }
    
    .splash-brand-text .highlight {
        font-size: 0.8rem;
    }
    
    .splash-subtitle {
        font-size: 0.7rem;
    }
    
    .splash-tagline {
        font-size: 0.6rem;
        gap: 6px;
    }
    
    .splash-progress {
        width: 120px;
        height: 3px;
    }
    
    .splash-loading-text {
        font-size: 0.6rem;
    }
    
    .logo-glow {
        width: 100px;
        height: 100px;
    }
    
    .logo-ring-1 {
        width: 100px;
        height: 100px;
    }
    
    .logo-ring-2 {
        width: 120px;
        height: 120px;
    }
    
    .logo-ring-3 {
        width: 80px;
        height: 80px;
    }
    
    .logo-dots {
        width: 90px;
        height: 90px;
    }
    
    .logo-dot {
        width: 4px;
        height: 4px;
    }
    
    /* ===== BACK TO TOP ===== */
    .back-to-top-btn {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
        bottom: 10px;
        right: 10px;
    }
    
    .back-to-top-btn i {
        font-size: 1rem;
    }
    
    .back-to-top-btn .pulse-ring {
        inset: -3px;
    }
}


/* ======================================== */
/* إصلاح مشكلة تكرار .registration-overlay */
/* ======================================== */

/* إزالة التعريف المكرر */
.registration-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(26, 42, 108, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayFadeIn 0.5s ease;
}

.registration-overlay.active {
    display: flex;
}

@keyframes overlayFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* ======================================== */
/* إصلاح مشكلة النصوص في الشاشات الصغيرة  */
/* ======================================== */

@media (max-width: 480px) {
    .registration-popup-header h2 {
        font-size: 1.3rem;
    }
    
    .registration-popup-header p {
        font-size: 0.9rem;
    }
    
    .popup-input-group label {
        font-size: 0.85rem;
    }
    
    .popup-input-group input,
    .popup-input-group select,
    .popup-input-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .popup-option-item label {
        font-size: 0.8rem;
    }
    
    .popup-submit {
        font-size: 0.9rem;
        padding: 14px 20px;
        border-radius: 14px;
    }
}

@media (max-width: 364px) {
    .registration-popup {
        padding: 16px 12px;
    }
    
    .registration-popup-header h2 {
        font-size: 1.1rem;
    }
    
    .popup-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .registration-close {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .popup-input-group input,
    .popup-input-group select,
    .popup-input-group textarea {
        padding: 10px 12px;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    
    .popup-submit {
        font-size: 0.8rem;
        padding: 12px 16px;
        border-radius: 12px;
    }
}