@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

@font-face {
   font-family: 'simo';
   src: url(fonts/simo.ttf) format('truetype');
}
@font-face {
   font-family: 'JFFlat-Regular';
   src: url(fonts/JFFlatregular.ttf) format('truetype');
}
@font-face {
    font-family: 'DianaL';
    src: url('fonts/Diana-Light.otf');
}
@font-face {
   font-family: 'sahnd';
   src: url(fonts/sahnd.ttf) format('truetype');
}

:root {
    --primary: #7c3aed;
    --primary-light: #8b5cf6;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --bg-dark: #0f111a;
    --bg-card: rgba(23, 25, 35, 0.6);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
}

* {
    padding: 0;
    margin: 0;
    direction: rtl;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Stunning Animated Background */
.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #0f111a;
}
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 20s infinite alternate ease-in-out;
}
.orb-1 { width: 400px; height: 400px; background: #7c3aed; top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: #06b6d4; bottom: -50px; left: -50px; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: #f43f5e; top: 40%; left: 30%; animation-delay: -10s; opacity: 0.3; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--primary), var(--secondary)); border-radius: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::selection { background: var(--secondary); color: #fff; }

a { text-decoration: none; color: var(--secondary); transition: 0.3s; }
a:hover { color: #fff; }

/* Header Premium Glassmorphism */
#Header {
    background: rgba(15, 17, 26, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}
/* تعديل حجم خط اسم الموقع - السطر 88 تقريباً */
.nav-brand {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-brand span,
.nav-brand i {
    font-size: 20px;
}
.nav-brand i { -webkit-text-fill-color: var(--primary-light); }
.nav-links { display: flex; gap: 15px; list-style: none; margin: 0; }
.nav-links li a {
    color: var(--text-muted);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.nav-links li a::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0; transition: 0.4s; z-index: -1;
}
.nav-links li a:hover {
    color: #fff;
    transform: translateY(-2px);
    border-bottom: 2px solid var(--primary-light);
}
.nav-links li a:hover::before { opacity: 1; }

/* Mobile Nav */
#m_navbar {
    display: none;
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(20px);
    position: fixed;
    bottom: 0; right: 0; left: 0;
    border-top: 1px solid var(--glass-border);
    z-index: 99;
    padding: 15px 0;
    justify-content: space-around;
}
#m_navbar a {
    color: var(--text-muted);
    font-size: 22px;
    transition: 0.3s;
}
#m_navbar a:hover, #m_navbar a.active { color: var(--secondary); transform: scale(1.1); }

#content {
    min-height: calc(100vh - 100px);
    padding-top: 120px;
    padding-bottom: 60px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px 60px;
    position: relative;
    z-index: 10;
}
#main_img {
    width: 200px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.6));
    animation: float 5s ease-in-out infinite;
}
#main_title {
    font-size: calc(30px + 2vw);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 500;
}

/* Premium Search Box */
.box-check-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
#search-box-container {
    display: flex;
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-highlight);
    border-radius: 60px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
    transition: 0.4s ease;
}
#search-box-container:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3), inset 0 0 0 1px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}
#search-data {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 30px;
    font-size: 18px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    outline: none;
}
#search-data::placeholder { color: rgba(255, 255, 255, 0.3); }
#check-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: 0.4s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}
#check-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, var(--primary-light), #0891b2);
}

/* Search Results */
#search-result-container { margin-top: 40px; animation: fadeInUp 0.6s ease-out; }
.data { display: flex; justify-content: center; margin: 30px 0; }
.searchimg { width: 70px; filter: invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.5)); }
.boxs {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.boxs-title { color: #34d399; font-size: 24px; font-weight: 800; }
.boxs-title-not-found { color: #f87171; font-size: 24px; font-weight: 800; }
.check-data-found, .check-data-found-message {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 20px 25px;
    border-radius: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.check-data-found:hover {
    transform: translateX(-10px);
    border-color: var(--primary-light);
    background: rgba(30, 35, 50, 0.8);
}
.check-data-found p, .check-data-found-message p {
    color: var(--secondary);
    font-weight: 800;
    margin-left: 15px;
    min-width: 220px;
    border-left: 2px solid var(--glass-border);
    padding-left: 15px;
    font-size: 17px;
}

/* Contact/Add Form Premium */
.contact_div {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-highlight);
    border-radius: 30px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}
.contact_div::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.form-section-title { text-align: center; margin-bottom: 40px; }
.form-section-title i { font-size: 45px; color: var(--secondary); margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(6,182,212,0.5)); }
.form-section-title h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.form-section-title p { color: var(--text-muted); font-size: 16px; }

.form-group { position: relative; margin-bottom: 25px; }
.input-icon {
    position: absolute; top: 18px; right: 20px;
    color: var(--secondary); font-size: 18px; z-index: 10;
}
.contact_fields {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 18px 25px 18px 50px;
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    transition: 0.3s;
}
.contact_fields:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
    background: rgba(0, 0, 0, 0.5);
}
.textarea-group .input-icon { top: 22px; }
textarea.contact_fields { min-height: 140px; resize: vertical; padding-top: 22px; }

.contact_btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; border: none; padding: 18px;
    border-radius: 16px; font-size: 20px; font-weight: 800;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer; transition: 0.4s;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    margin-top: 10px;
}
.contact_btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, var(--primary-light), #0891b2);
}

/* Social Tooltip Premium */
.social-tooltip {
    text-align: center;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    max-width: 850px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.spanshare { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 10px;}
.social-tooltip a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 60px; height: 60px; margin: 0 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff; font-size: 28px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.social-tooltip a:hover { transform: translateY(-10px) rotate(5deg); }
.facebooktip:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 10px 25px rgba(24, 119, 242, 0.5); }
.twittertip:hover { background: #1da1f2; border-color: #1da1f2; box-shadow: 0 10px 25px rgba(29, 161, 242, 0.5); }
.messenger_tip:hover { background: #00b2ff; border-color: #00b2ff; box-shadow: 0 10px 25px rgba(0, 178, 255, 0.5); }
.whatsapp_tip:hover { background: #25d366; border-color: #25d366; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5); }
.social-tooltip a span {
    position: absolute; bottom: -45px;
    background: #fff; color: #000; font-weight: 700;
    font-size: 14px; padding: 8px 15px; border-radius: 8px;
    white-space: nowrap; opacity: 0; visibility: hidden; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.social-tooltip a:hover span { opacity: 1; visibility: visible; bottom: -50px; }

/* Custom Comments Section */
.custom-comments-section {
    max-width: 850px;
    margin: 0 auto 60px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.custom-comments-section h3 {
    color: #fff; font-size: 26px; margin-bottom: 30px;
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid var(--glass-border); padding-bottom: 15px;
}
.comment-form { margin-bottom: 40px; }
.comment-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.comment-field {
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border);
    color: #fff; padding: 15px 20px; border-radius: 12px; font-family: 'Tajawal'; font-size: 16px;
    transition: 0.3s;
}
.comment-field:focus { border-color: var(--primary); box-shadow: 0 0 15px rgba(124, 58, 237, 0.2); outline: none; }
.comment-submit {
    background: var(--primary); color: #fff; border: none; padding: 12px 30px; border-radius: 10px;
    font-family: 'Tajawal'; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.3s;
}
.comment-submit:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4); }

.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item {
    background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
    padding: 20px; border-radius: 16px; display: flex; gap: 15px;
}
.comment-avatar {
    width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff;
    font-size: 20px; font-weight: bold; flex-shrink: 0;
}
.comment-content h4 { color: #fff; margin-bottom: 5px; font-size: 18px; }
.comment-content span.date { color: var(--text-muted); font-size: 13px; display: block; margin-bottom: 10px; }
.comment-content p { color: #e2e8f0; font-size: 15px; line-height: 1.6; }

/* Footer Premium */
.footer-copyright-social {
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; margin-top: auto;
}
.copyright { color: var(--text-muted); font-size: 16px; font-weight: 500; }
.footer-social-share a {
    color: var(--text-muted); font-size: 22px; margin-right: 20px; transition: 0.3s;
}
.footer-social-share a:hover { color: var(--secondary); transform: scale(1.2); }

/* Messages */
.message-success, .message-error {
    backdrop-filter: blur(10px); padding: 20px; border-radius: 16px;
    text-align: center; margin: 25px auto; max-width: 600px; font-weight: 700; font-size: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.message-success { background: rgba(16, 185, 129, 0.15); border: 1px solid var(--success); color: #34d399; }
.message-error { background: rgba(239, 68, 68, 0.15); border: 1px solid var(--error); color: #f87171; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

/* Mobile */
@media (max-width: 768px) {
    #Header { display: none; }
    #m_navbar { display: flex; }
    #content { padding-top: 50px; padding-bottom: 100px; }
    #main_title { font-size: 32px; }
    .footer-copyright-social { flex-direction: column; text-align: center; gap: 20px; padding-bottom: 100px; }
    .check-data-found { flex-direction: column; align-items: flex-start; }
    .check-data-found p { border: none; padding: 0; margin: 0 0 10px 0; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; width: 100%; }
    .comment-input-row { grid-template-columns: 1fr; }
    .social-tooltip a { width: 50px; height: 50px; font-size: 24px; margin: 0 8px; }
}
/* تصغير اسم الموقع في الهيدر */
.nav-brand {
    font-size: 20px !important;
}

.nav-brand span,
.nav-brand i {
    font-size: 20px !important;
}