/* استدعاء خط Graphic School */
@font-face {
    font-family: 'Graphic School';
    src: url('/assets/fonts/_GraphicSchool-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* استدعاء خط عام الحرف اليدوية للنصوص الصغيرة */
@font-face {
    font-family: 'Handicrafts';
    src: url('/assets/fonts/TheYearofHandicrafts-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'amira';
    src: url('/assets/fonts/Amira-Typo.ttf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'thmanyah-sans-regular';
    src: url('/assets/fonts/thmanyah-sans-regular.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-snap-type: y mandatory;
    /* شلنا smooth من هنا عشان الجافاسكريبت هو اللي هيظبط السرعة بدقة */
}

.hero-section, .about-section {
    scroll-snap-align: start;
    height: 100vh;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-user-select: none; /* لمتصفحات سفاري وكروم القديمة */
    -moz-user-select: none;    /* لمتصفحات فايرفوكس */
    -ms-user-select: none;     /* لمتصفحات إنترنت إكسبلورر */
    user-select: none;         /* القياسية الحديثة */
}

/* القسم الرئيسي */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* الضباب السحابي */
.cloud-blur-bg {
    position: absolute;
    top: -50px; right: -50px; bottom: -50px; left: -50px; 
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 0%, rgba(240,240,240,0.8) 50%, rgba(220,220,220,0.5) 100%);
    filter: blur(20px); 
    z-index: -1;
}

/* السهم المتحرك الرفيع في منتصف اليسار */
.scroll-arrow {
    position: absolute;
    left: 50px; 
    top: 50%; 
    width: 25px; 
    height: 80px; 
    z-index: 10;
    animation: bounceMiddle 2s infinite;
}

/* حركة السهم في المنتصف */
@keyframes bounceMiddle {
    0%, 20%, 50%, 80%, 100% { transform: translateY(-50%); }
    40% { transform: translateY(calc(-50% - 20px)); }
    60% { transform: translateY(calc(-50% - 10px)); }
}

/* الحاوية */
.container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

/* الشريط العلوي */
.top-bar {
    display: flex;
    justify-content: space-between;
    width: 100%; /* إجبار الشريط على أخذ العرض بالكامل */
    font-size: 2.2rem; /* تكبير الخط قليلاً ليتناسب مع المساحة */
    color: #1a1a1a; 
    padding: 0 10px; /* مسافة أمان من الحواف */
}
.name, .date {
    font-family: 'Graphic School', sans-serif; 
}
.date {
    letter-spacing: 2px;
}

/* تداخل النصوص في المنتصف */
.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* رفعنا الكتلة كلها لفوق */
    margin-top: -140px; 
}

/* الكلمتين فوق بعض ومفصولين شوية عن بورتفوليو */
.top-words {
    display: flex;
    flex-direction: column; /* الترتيب الرأسي (فوق بعض) */
    align-items: center;
    margin-bottom: 5px; /* مسافة تمنع التداخل الزائد مع كلمة بورتفوليو */
    z-index: 2;
}

.text-here {
    font-family: 'amira', sans-serif;
    font-size: 3rem; /* تصغير الكلمة */
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 5px; /* مسافة صغيرة بينها وبين بداية نجاح */
}

.text-success {
    font-family: 'amira', sans-serif;
    font-size: 5rem; /* تصغير الكلمة */
    color: #f39c12; 
    line-height: 1;
}

.text-portfolio {
    font-family: 'Graphic School', sans-serif; 
    font-size: 13rem; 
    color: #1a1a1a; 
    letter-spacing: -2px; 
    z-index: 1;
    line-height: 1;
}

/* النصوص السفلية بخط الحرف اليدوية */
.bottom-texts {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 20px;
}

.text-col {
    flex: 1;
    max-width: 500px;
}

.text-col p {
    font-family: 'thmanyah-sans-regular', Arial, sans-serif; 
    font-size: 1.15rem; 
    line-height: 1.9;
    color: #333333; 
    text-align: justify; 
}

/* تظبيط المقاسات على الموبايل
@media (max-width: 900px) {
    .text-here { font-size: 2.5rem; }
    .text-success { font-size: 3.5rem; }
    .text-portfolio { font-size: 6rem; letter-spacing: 0px;}
    .bottom-texts { flex-direction: column; gap: 20px; }
    .text-col { max-width: 100%; }
    .scroll-arrow { left: 20px; height: 50px; width: 20px;} 
} */
/* ==================================
   التجاوب مع شاشات الموبايل (Responsive)
================================== */
@media (max-width: 900px) {
    /* 1. ضبط الحاوية العامة للموبايل */
    .container {
        padding: 20px;
    }

    /* 2. الشريط العلوي (محمد رجب والتاريخ) */
    .top-bar {
        font-size: 1.4rem;
        width: 100%;
    }

    /* 3. العناوين الرئيسية في الواجهة */
    .main-title {
        margin-top: -20px; /* إرجاع العنوان لمكان مناسب */
        align-items: center;
        text-align: center;
    }

    .text-here { 
        font-size: 2rem; 
    }
    
    .text-success { 
        font-size: 2.8rem; 
    }
    
    .text-portfolio { 
        font-size: 4.5rem; /* تصغير كلمة بورتفوليو لتناسب شاشة الموبايل بدون خروج عن الحدود */
        letter-spacing: 0px;
        margin-top: 30px;
    }

    /* 4. النصوص السفلية في الواجهة */
    .bottom-texts { 
        flex-direction: column; 
        gap: 15px; 
        margin-bottom: 10px;
    }
    
    .text-col { 
        max-width: 100%; 
    }

    .text-col p {
        font-size: 0.95rem; /* تصغير الخط قليلاً ليكون مريحاً للقراءة على الموبايل */
        text-align: center;
    }

    /* إخفاء السهم المتحرك في الموبايل لعدم الازدحام */
    .scroll-arrow { 
        display: none; 
    }

    /* 5. قسم من أنا (للموبايل - التأكيد على التنسيق النظيف) */
    .about-content { 
        justify-content: center; 
        margin-top: 10px;
    }
    
    .about-left { 
        width: 100%; 
        z-index: 5; 
    }
    
    .marhaba-text { 
        font-size: 3.5rem; 
        text-align: center; 
        white-space: normal; 
        line-height: 1; 
        margin-top: 0;
    } 
    
    .stats-row { 
        gap: 20px; 
        width: 100%; 
        margin-top: 10px;
    }

    .stat-num {
        font-size: 3rem;
    }
    
    .bio-texts { 
        flex-direction: column; 
        gap: 15px; 
        width: 100%; 
        padding: 0 10px; 
    }
    
    .bio-texts p { 
        text-align: center; 
        font-size: 0.95rem;
    }
    
    .profile-img-flush {
        height: 45vh;
        max-width: 100vw;
        opacity: 0.12 !important; /* شفافة وخلف النصوص لعدم إعاقة القراءة */
        z-index: 0;
    }
}
/* ==================================
   قسم من أنا (About Section)
================================== */
.about-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
    overflow: hidden; 
    scroll-snap-align: start;
}

.about-content {
    display: flex;
    justify-content: flex-end; /* دفع المحتوى لليسار في وضع الـ RTL */
    width: 100%;
    margin-top: 30px;
}

/* الجانب الأيسر */
.about-left {
    width: 60%; /* حجز 60% للنص وترك الباقي للصورة */
    display: flex;
    flex-direction: column;
    z-index: 5;
}

/* كلمة مرحبا (ممتدة ومتمركزة) */
.marhaba-text {
    font-family: 'Graphic School', sans-serif;
    font-size: 8rem;
    color: #1a1a1a;
    line-height: 0.8;
    margin-bottom: 0;
    width: 100%; 
    text-align: right; /* لتثبيت حرف الميم بعيداً عن الصورة */
    white-space: nowrap; 
}

/* شريط الإحصائيات */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 85%; 
    margin: 20px auto 30px auto; /* السر هنا: توسيط الكتلة نفسها تحت الكلمة */
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Graphic School', sans-serif;
    font-size: 4rem;
    color: #f39c12;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-desc {
    font-family: 'handicrafts', Arial, sans-serif;
    font-size: 1.1rem;
    color: #666666;
    font-weight: bold;
}

/* فقرة النبذة (عمودين متوازيين) */
.bio-texts {
    display: flex;
    flex-direction: row;
    justify-content: center; /* توسيط الأعمدة */
    gap: 40px;
    width: 90%; /* نسبة مئوية لضمان التوسيط */
    margin: 0 auto; /* توسيط الكتلة تحت الأرقام ومرحباً */
}

.bio-texts .text-col {
    flex: 1;
}

.bio-texts p {
    font-family: 'thmanyah-sans-regular', Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333333;
    text-align: justify; 
}

/* تنسيق الصورة */
.profile-img-flush {
    position: absolute;
    bottom: 0; 
    right: 0; 
    height: 85vh; 
    max-width: 40vw; 
    object-fit: contain; 
    object-position: bottom right; 
    z-index: 1; 
    filter: drop-shadow(-15px 0px 0px rgba(243, 156, 18, 0.15)) grayscale(100%); /* السطر ده بيحولها أبيض وأسود تماماً */
}


/* ==================================
   الأنيميشن (Animations)
================================== */
.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(80px); /* يمين */
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-80px); /* يسار */
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* الكلاس الذي سيفعله الجافاسكريبت */
.show-animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* توقيت التتابع */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }

/* ==================================
   الموبايل (Responsive)
================================== */
@media (max-width: 900px) {
    .about-content { justify-content: center; margin-top: 20px;}
    .about-left { width: 100%; z-index: 5; }
    .marhaba-text { font-size: 4.5rem; text-align: center; white-space: normal; line-height: 1; margin-top: 0;} 
    .stats-row { gap: 30px; width: 100%; margin-top: 10px;}
    .bio-texts { flex-direction: column; gap: 20px; width: 100%; padding: 0 15px; }
    .bio-texts p { text-align: center; }
    .profile-img-flush {
        height: 50vh;
        max-width: 100vw;
        opacity: 0.1 !important; 
        z-index: 0;
    }
}

/* ==================================
   قسم فاصل أعمالي (Works Intro Section)
================================== */
.works-intro-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    overflow: hidden; 
    scroll-snap-align: start; /* عشان السكرول يقف عليها بالظبط */
}

/* حاوية الكلمة في المنتصف */
.works-intro-section .center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 75vh; /* أخذ باقي مساحة الشاشة بعد الشريط العلوي */
    text-align: center;
}

/* كلمة أعمالي الضخمة */
.my-works-text {
    font-family: 'Graphic School', sans-serif;
    font-size: 11rem; /* حجم ضخم جداً وملفت */
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

/* نص فرعي صغير تحت الكلمة (اختياري بس بيدي شياكة) */
.works-subtitle {
    font-family: 'Handicrafts', Arial, sans-serif;
    font-size: 1.5rem;
    color: #f39c12; /* اللون البرتقالي المميز بتاعك */
    font-weight: bold;
}

/* ==================================
   تجاوب قسم أعمالي مع الموبايل
================================== */
@media (max-width: 900px) {
    .my-works-text {
        font-size: 5rem; /* تصغير الكلمة للموبايل */
        letter-spacing: 0px;
    }
    
    .works-subtitle {
        font-size: 1.1rem;
    }
}

/* ==================================
   قسم عرض المشاريع (Dark Theme - Split Screen)
================================== */
.project-showcase-section.split-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #070707; 
    color: #ffffff;
    display: flex;
    flex-direction: row-reverse; /* الصورة يسار والنص يمين */
    overflow: hidden;
    scroll-snap-align: start;
    padding: 0; 
}

/* الجانب الأيسر: الصورة المجمعة */
.split-screen .project-left-side {
    flex: 0 0 auto; /* السر هنا: الحاوية هتاخد مساحة الصورة بالضبط بدون أي زيادة تسيب فراغ */
    height: 100vh;
    background-color: transparent; /* إزالة اللون نهائياً */
    display: flex;
}

/* تنسيق الصورة لتظهر كاملة وتلتصق بالحواف */
.split-screen .single-project-img {
    width: auto; /* العرض أوتوماتيك عشان ميقصش من الصورة */
    height: 100%; /* الطول يملأ السكشن من فوق لتحت */
    max-width: 60vw; /* أقصى عرض عشان يسيب مساحة للنص */
    object-fit: cover; 
    object-position: left center; /* التصاق الصورة بالشمال */
    transition: transform 0.8s ease; 
}

.split-screen .project-left-side:hover .single-project-img {
    transform: scale(1.03);
}

/* الجانب الأيمن: النص */
.split-screen .project-right-info {
    flex: 1; /* النص يأخذ المساحة المتبقية من الشاشة براحته */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 60px 80px; 
    position: relative;
}

/* الشريط العلوي داخل الجانب الأيمن */
.split-screen .project-top-bar {
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* توحيد خطوط الشريط العلوي */
.split-screen .project-top-bar .name, 
.split-screen .project-top-bar .date {
    font-family: 'Graphic School', sans-serif;
    font-size: 2.2rem;
    color: #ffffff; 
}

.split-screen .project-top-bar .date {
    letter-spacing: 2px;
}

/* حاوية النص لتنظيمه */
.split-screen .project-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* لوجو المشروع النصي */
.split-screen .project-logo {
    font-family: 'Graphic School', sans-serif;
    font-size: 8rem; 
    color: #ffffff;
    line-height: 1;
    margin-bottom: 30px;
}

/* نص وصف المشروع */
.split-screen .project-desc {
    font-family: 'thmanyah-sans-regular', Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 2;
    color: #cccccc;
    text-align: justify;
    max-width: 95%;
}

/* ==================================
   الموبايل (Responsive) للـ Split Screen
================================== */
@media (max-width: 900px) {
    .project-showcase-section.split-screen {
        flex-direction: column; 
        height: auto; 
        min-height: 100vh;
    }
    
    .split-screen .project-left-side,
    .split-screen .project-right-info {
        width: 100%;
        height: auto;
    }
    
    .split-screen .project-left-side {
        order: 2; 
        height: auto; 
    }
    
    .split-screen .single-project-img {
        width: 100%; 
        height: auto;
        max-width: 100%;
        max-height: 50vh;
        object-fit: contain; 
    }
    
    .split-screen .project-right-info {
        order: 1; 
        padding: 100px 20px 40px 20px;
        align-items: center;
        text-align: center;
    }
    
    .split-screen .project-text-content {
        align-items: center;
    }
    
    .split-screen .project-top-bar {
        top: 25px;
        left: 20px;
        right: 20px;
    }
    
    .split-screen .project-top-bar .name, 
    .split-screen .project-top-bar .date {
        font-size: 1.5rem;
    }
    
    .split-screen .project-logo {
        font-size: 5rem;
        margin-bottom: 20px;
    }
    
    .split-screen .project-desc {
        text-align: center;
        max-width: 100%;
        font-size: 0.95rem; /* تصغير حجم النص في الموبايل */
        line-height: 1.8; /* تظبيط المسافة بين السطور لراحة العين */
    }
}

/* إصلاح مشروعات البورتفوليو في شاشات الموبايل */
@media (max-width: 768px) {
    .project-showcase-section,
    .split-screen {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden; /* يمنع خروج أي عنصر بره الشاشة */
        box-sizing: border-box;
        padding: 0 15px; /* هوامش آمنة من اليمين واليسار */
    }

    .project-logo {
        font-size: 3rem !important; /* تصغير الكلمة الرئيسية لتناسب الموبايل */
        max-width: 100%;
        word-break: break-word; /* إجبار الكلمة على الالتزام بالعرض */
        white-space: normal;
    }

    .project-text-content {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .project-desc {
        font-size: 1rem;
        line-height: 1.6;
        text-align: right;
    }
}

/* ==================================
   عكس الاتجاه للمشروع الثاني (أبتلي ليرن)
================================== */
/* في نظام الـ RTL، الـ row الطبيعي بيخلي العنصر الأول يمين والثاني يسار */
.project-showcase-section.split-screen.split-reverse {
    flex-direction: row; 
}

@media (max-width: 900px) {
    .project-showcase-section.split-screen.split-reverse {
        flex-direction: column; 
    }
}

/* ==================================
   قسم التواصل والشريط المتحرك (Contact & Marquee)
================================== */
.contact-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #070707;
    color: #ffffff;
    overflow: hidden;
    scroll-snap-align: start;
}

/* تنسيق الحاوية الجديدة لتدعم البار العلوي وتوسيط الفورم */
.contact-container-new {
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    padding: 40px; /* لضمان عدم التصاق المحتوى بالحواف */
    max-width: initial;
}

/* تلوين البار العلوي بالأبيض في قسم التواصل */
.contact-container-new .top-bar {
    color: #ffffff;
}

.contact-content-wrapper {
    flex: 1; /* لجعل الفورم يتوسط المساحة المتبقية من الشاشة */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ==================================
   تنسيق الشريط المتحرك اللانهائي
================================== */
.marquee-wrapper {
    position: absolute;
    top: 20%; /* نزلناه شوية عشان ميخبطش في البار العلوي */
    width: 100%;
    overflow: hidden;
    background-color: #0a0a0a; 
    padding: 15px 0;
    border-top: 1px solid #151515;
    border-bottom: 1px solid #151515;
    z-index: 1;
}

.marquee-content {
    display: flex;
    width: max-content;
    gap: 80px;
    animation: scrollMarquee 15s linear infinite;
}

.marquee-content span {
    font-family: 'Graphic School', monospace, sans-serif;
    font-size: 2.5rem;
    color: #222222; 
    font-weight: bold;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* ==================================
   نصوص ونموذج التواصل
================================== */
.contact-header {
    margin-bottom: 40px;
    z-index: 3;
}

.contact-title {
    font-family: 'Graphic School', sans-serif;
    font-size: 6rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-family: 'thmanyah-sans-regular', Arial, sans-serif;
    font-size: 1.2rem;
    color: #888888;
}

/* تصميم نموذج التواصل وعرضه الجديد */
.contact-form {
    width: 100%;
    max-width: 800px; /* زودنا العرض عشان الحقلين يظهروا بفخامة */
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

/* تخطيط الحقول جنباً إلى جنب */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row .input-group {
    flex: 1; /* بيقسم العرض بالتساوي بين الاسم والبريد */
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 18px 20px;
    background-color: #111111; 
    border: 1px solid #222222;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'thmanyah-sans-regular', Arial, sans-serif;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder, 
.input-group textarea::placeholder {
    color: #555555;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: #ffffff; 
    background-color: #151515;
}

/* زر الإرسال */
.submit-btn {
    background-color: #ffffff;
    color: #070707;
    font-family: 'Graphic School', sans-serif;
    font-size: 2.2rem;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.02);
}

/* ==================================
   تجاوب قسم التواصل مع الموبايل
================================== */
@media (max-width: 900px) {
    .contact-title { font-size: 4rem; }
    .contact-subtitle { font-size: 1rem; padding: 0 10px;}
    .marquee-content span { font-size: 2rem; }
    .marquee-content { gap: 40px; }
    
    .contact-form { 
        padding: 0;
        max-width: 100%;
    }
    
    /* أهم تريكة للموبايل: نخلي الاسم والبريد تحت بعض */
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==================================
   قسم الفوتر الختامي (Footer Section)
================================== */
.footer-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: transparent; /* تم التعديل هنا: خليناها شفافة عشان الضباب السحابي يظهر */
    color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    scroll-snap-align: start;
}

.footer-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* رسالة الشكر في المنتصف */
.thank-you-content {
    text-align: center;
    z-index: 2;
    margin-top: -60px; /* لرفع النص قليلاً عن المنتصف لراحة العين */
}

.thank-you-title {
    font-family: 'Graphic School', sans-serif;
    font-size: 8rem;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.thank-you-subtitle {
    font-family: 'thmanyah-sans-regular', Arial, sans-serif;
    font-size: 1.4rem;
    color: #666666;
}

/* ==================================
   البار السفلي (الاسم والسوشيال)
================================== */
.footer-bottom-bar {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* خط فاصل خفيف جداً */
    padding-top: 20px;
    z-index: 5;
}

.footer-name {
    font-family: 'Graphic School', sans-serif;
    font-size: 2.2rem;
    color: #1a1a1a;
}

/* تنسيق أزرار السوشيال ميديا */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 22px;
    height: 22px;
}

/* تأثير عند المرور بالماوس (يتحول للون البرتقالي المميز للموقع) */
.social-links a:hover {
    background-color: #f39c12;
    color: #ffffff;
    transform: translateY(-5px); /* يرتفع الزر لأعلى قليلاً */
}

/* ==================================
   تجاوب الفوتر مع الموبايل
================================== */
@media (max-width: 900px) {
    .thank-you-title {
        font-size: 5rem;
    }
    .thank-you-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .footer-bottom-bar {
        left: 20px;
        right: 20px;
        bottom: 30px;
        flex-direction: column-reverse; /* نخلي السوشيال فوق والاسم تحت */
        gap: 20px;
        border-top: none; /* شيلنا الخط في الموبايل لتقليل الزحمة */
    }
    
    .footer-name {
        font-size: 1.8rem;
    }
    
    .social-links {
        gap: 20px;
    }
}


/* =========================================
   تخصيص شريط التمرير (Custom Scrollbar) - محدث
   ========================================= */

/* عرض شريط التمرير (أعرض لتسهيل السحب بالماوس) */
::-webkit-scrollbar {
    width: 14px;
}

/* خلفية مسار الشريط */
::-webkit-scrollbar-track {
    background: #111111;
}

/* الجزء المتحرك من الشريط (المقبض) */
::-webkit-scrollbar-thumb {
    background: #555555; /* لون أفتح ليكون ظاهراً بوضوح */
    border-radius: 10px;
    border: 3px solid #111111; /* إطار متناسق لا يمنع السحب */
}

/* لون المقبض عند الوقوف عليه أو سحبه بالماوس */
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background: #888888; /* يضيء أكثر عند التفاعل لتأكيد السحب */
}