/* 
 * ملف الأنماط الخاص بأجهزة الكمبيوتر والشاشات الكبيرة
 * يطبق على الشاشات الأكبر من 1024px
 * تم تصميمه وفقاً لأفضل ممارسات الهندسة المعمارية النظيفة
 */

/* إعدادات عامة للشاشات الكبيرة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative; /* لضمان وضع الزر العائم بشكل صحيح */
    padding: 20px 30px;
}

/* الحاوي الرئيسي للسيرة الذاتية */
.cv-container {
    max-width: 1000px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.cv-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12, #27ae60);
}

/* قسم الرأس - تخطيط أفقي متقدم للشاشات الكبيرة */
.cv-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.cv-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    z-index: 1;
    position: relative;
}

/* الصورة الشخصية */
.profile-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid #3498db;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.profile-photo:hover {
    transform: scale(1.1);
    border-color: #e74c3c;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #e74c3c, #f39c12, #27ae60);
    animation: rotate 10s linear infinite;
    z-index: 0;
    opacity: 0.3;
}

/* احتياطي للأيقونة في حالة عدم تحميل الصورة */
.profile-image i {
    font-size: 120px;
    color: #ecf0f1;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: none;
}

.profile-image:hover i {
    transform: scale(1.1);
    color: #3498db;
}

/* المعلومات الأساسية */
.basic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.full-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.full-name-english {
    font-size: 20px;
    font-weight: 500;
    color: #7f8c8d;
    margin-top: -10px;
    margin-bottom: 8px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-style: italic;
    direction: ltr;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    line-height: 1.2;
}

.job-title {
    font-size: 20px;
    font-weight: 400;
    color: #3498db;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.job-title-english {
    font-size: 18px;
    font-weight: 400;
    color: #7f8c8d;
    margin-top: -8px;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    direction: ltr;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.graduation-info {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

/* معلومات الاتصال - تخطيط عمودي أنيق */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 280px;
    z-index: 1;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    color: #3498db;
    width: 20px;
    text-align: center;
    font-size: 18px;
}

/* المحتوى الرئيسي */
.cv-main {
    padding: 40px 35px;
}

/* الأقسام العامة */
.cv-section {
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.cv-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* عناوين الأقسام */
.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #3498db;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 60px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 70px;
    width: 30px;
    height: 3px;
    background: #f39c12;
    border-radius: 2px;
}

.section-title i {
    color: #3498db;
    font-size: 20px;
    padding: 8px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
}

/* محتوى الأقسام */
.section-content {
    padding: 0 15px;
}

/* قسم الملف الشخصي */
.summary-text {
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
    color: #555;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 20px;
    border-right: 6px solid #3498db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.summary-text::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 60px;
    color: rgba(52, 152, 219, 0.1);
    font-family: serif;
}

/* قسم التعليم */
.education-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 25px;
    border-right: 6px solid #3498db;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



.education-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.degree-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
}

.graduation-year {
    font-size: 18px;
    color: #3498db;
    font-weight: 600;
    background: rgba(52, 152, 219, 0.1);
    padding: 8px 22px;
    border-radius: 30px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.graduation-year:hover {
    background: #3498db;
    color: white;
    transform: scale(1.05);
}

.education-details p {
    font-size: 17px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.8;
}

.institution {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 18px;
}

.institution i {
    color: #3498db;
    font-size: 20px;
}

.specialization-description {
    text-align: justify;
    background: rgba(52, 152, 219, 0.05);
    padding: 18px;
    border-radius: 15px;
    border-right: 5px solid #3498db;
    margin: 18px 0;
    font-size: 16px;
}

/* المهارات الأكاديمية */
.academic-skills {
    margin-top: 25px;
}

.skills-section-title {
    font-size: 19px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skills-section-title::before {
    content: '📚';
    font-size: 20px;
}

.academic-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.academic-skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.academic-skill-item:hover {
    transform: translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2);
}

.academic-skill-item i {
    color: #3498db;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.academic-skill-item span {
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

/* قسم الأهداف المهنية */
.goals-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.goal-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 25px;
    border-right: 6px solid #3498db;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.goal-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3));
    transition: all 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.goal-item:hover::before {
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.6));
}

.short-term {
    border-right-color: #e74c3c;
}

.short-term::before {
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.3));
}

.short-term:hover::before {
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.6));
}

.medium-term {
    border-right-color: #f39c12;
}

.medium-term::before {
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.3));
}

.medium-term:hover::before {
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.6));
}

.long-term {
    border-right-color: #27ae60;
}

.long-term::before {
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.3));
}

.long-term:hover::before {
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.6));
}

.goal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.goal-header i {
    font-size: 28px;
    color: #3498db;
}

.short-term .goal-header i {
    color: #e74c3c;
}

.medium-term .goal-header i {
    color: #f39c12;
}

.long-term .goal-header i {
    color: #27ae60;
}

.goal-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.goal-timeline {
    font-size: 15px;
    color: #7f8c8d;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.goal-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: justify;
}

/* قسم المهارات التقنية */
.skills-category {
    margin-bottom: 30px;
}

.skills-category-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.skills-category-title::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { right: -100%; }
    100% { right: 100%; }
}

/* شبكة المهارات - تخطيط شبكي متقدم للشاشات الكبيرة */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 25px;
    border-radius: 20px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: right 0.8s ease;
}

.skill-item:hover::before {
    right: 100%;
}

.skill-item.expert {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: 2px solid #58d68d;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.skill-item.intermediate {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.skill-item i {
    font-size: 26px;
    width: 32px;
    text-align: center;
}

.skill-item span {
    font-size: 17px;
    font-weight: 500;
    flex: 1;
}

/* مستويات المهارات */
.skill-level {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: white;
    border-radius: 4px;
    animation: fillLevel 2.5s ease-out forwards;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.expert-level::after {
    width: 90%;
}

.intermediate-level::after {
    width: 70%;
}

/* تأثيرات الحركة */
@keyframes fillLevel {
    from {
        width: 0;
    }
}

/* تنسيق خاص لبطاقات العناوين */
.expert-category .skills-category-title {
    background: linear-gradient(135deg, #d35400, #e67e22);
    color: white;
    border: 2px solid #f39c12;
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.3);
}

.intermediate-category .skills-category-title {
    background: linear-gradient(135deg, #d35400, #e67e22);
    color: white;
    border: 2px solid #f39c12;
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.3);
}

/* تأثيرات التفاعل */
.skill-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.skill-item:active {
    transform: translateY(-5px) scale(1.01);
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .cv-container {
        max-width: 1200px;
    }
    
    .cv-header {
        padding: 50px 40px;
    }
    
    .cv-main {
        padding: 50px 40px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* قسم المشاريع */
.projects-category {
    margin-bottom: 35px;
}

.projects-category-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-radius: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
    position: relative;
    overflow: hidden;
}

.projects-category-title::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.project-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 20px;
    border-right: 6px solid #9b59b6;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.1), transparent);
    transition: right 0.8s ease;
}

.project-item:hover::before {
    right: 100%;
}

.project-item.featured {
    border-right-color: #e74c3c;
    background: linear-gradient(135deg, #fff5f5, #f0f8ff);
}

.project-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    z-index: 1;
    position: relative;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    margin-left: 10px;
}

.project-type {
    font-size: 14px;
    color: #9b59b6;
    font-weight: 500;
    background: rgba(155, 89, 182, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
    border: 2px solid rgba(155, 89, 182, 0.3);
    transition: all 0.3s ease;
}

.project-type:hover {
    background: #9b59b6;
    color: white;
}

.project-description {
    margin-bottom: 18px;
    z-index: 1;
    position: relative;
}

.project-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 1;
    position: relative;
}

.tech-tag {
    font-size: 13px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* قسم نقاط القوة */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.strength-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    border-right: 6px solid #f39c12;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.strength-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.1), transparent);
    transition: right 0.8s ease;
}

.strength-item:hover::before {
    right: 100%;
}

.strength-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.strength-item i {
    font-size: 40px;
    color: #f39c12;
    margin-bottom: 18px;
    display: block;
    z-index: 1;
    position: relative;
}

.strength-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    z-index: 1;
    position: relative;
}

.strength-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    z-index: 1;
    position: relative;
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .cv-container {
        max-width: 1200px;
    }

    .cv-header {
        padding: 50px 40px;
    }

    .cv-main {
        padding: 50px 40px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* تحسينات للشاشات العريضة */
@media (min-width: 1600px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .strengths-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* تنسيق الفوتر */
.cv-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 40px;
    padding: 40px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #3498db;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-size: 16px;
}

.footer-link:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-link i {
    width: 20px;
    text-align: center;
    color: #3498db;
    font-size: 16px;
}

.footer-info p {
    margin-bottom: 12px;
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 15px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 25px;
    text-align: center;
}

.copyright {
    font-size: 16px;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 8px;
    text-align: center;
}

.footer-note {
    font-size: 14px;
    color: #95a5a6;
    font-style: italic;
    margin: 0;
}

/* تحسينات الفوتر للشاشات المتوسطة */
@media (max-width: 1024px) {
    .cv-footer {
        padding: 35px 30px;
    }

    .footer-content {
        gap: 35px;
    }

    .footer-section h4 {
        font-size: 19px;
    }

    .footer-link {
        font-size: 15px;
    }

    .footer-info p {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-link {
        justify-content: center;
    }

    .footer-link:hover {
        transform: translateY(-2px);
    }
}

/* تنسيق الفوتر */
.cv-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    margin-top: 60px;
    padding: 50px 0 20px;
    position: relative;
}



.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #3498db;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-link:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-link i {
    width: 20px;
    text-align: center;
    color: #3498db;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.footer-nav-link:hover {
    color: #3498db;
    border-bottom-color: #3498db;
    transform: translateX(5px);
}

.footer-info p {
    margin-bottom: 10px;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 40px;
    padding: 30px 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-subtitle {
    font-size: 12px !important;
    color: #95a5a6 !important;
    font-style: italic;
    margin-top: 5px !important;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

/* تنسيقات زر WhatsApp العائم */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    margin-top: 3px;
}
