/* ==========================================================================
   Creative Skills Center - Unified Portal Style
   Based on Logo Identity: Dark Blue & Cyan
   ========================================================================== */

:root { 
    /* ألوان هوية "صناع التغيير" (Change Makers) المأخوذة من الشعار الجديد */
    --primary-blue: #2e3077;   /* الكحلي/النيلي الداكن المأخوذ من حرف C */
    --accent-cyan: #19b0cd;    /* السماوي المأخوذ من كلمة TRAINING CENTER */
    --primary-dark: #1f2052;   /* درجة نيلي أغمق لتأثيرات المرور (Hover) */
    --accent-hover: #1389a1;   /* سماوي أغمق */
    
    /* ألوان إضافية من الشعار (البنفسجي والبرتقالي/الأصفر) */
    --brand-purple: #7a2373;   /* البنفسجي من منتصف المنحنى */
    --brand-orange: #f48e21;   /* البرتقالي من أعلى المنحنى */
    
    --text-grey: #3c3d40;      /* الرمادي الداكن جداً المأخوذ من كلمة CHANGE MAKERS */
    --bg-light: #ffffff;
    --footer-bg: #2a2b2d;      /* رمادي داكن للفوتر يتماشى مع لون النص الأساسي */

    /* تدرجات لونية حيوية مستوحاة من المنحنيات في الشعار الجديد */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--brand-purple) 100%); /* من النيلي للبنفسجي */
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, #20d0f0 100%); /* تدرج سماوي مشرق */
    --gradient-mixed: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-orange) 100%); /* من البنفسجي للبرتقالي (يعطي تأثير المنحنى الجميل) */
}

/* ==================== Global Typography & General ==================== */
body, h1, h2, h3, h4, h5, h6, p, a, span { 
    font-family: 'Cairo', sans-serif !important; 
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
}

.text-white, .text-white h2, .inner-header-luxury h2, .payment-header h2 {
    color: #ffffff !important;
}

/* ==================== Preloader ==================== */
#preloader {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-light); z-index: 999999;
    display: flex; align-items: center; justify-content: center;
}
.elegant-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(51, 213, 198, 0.15);
    border-top-color: var(--primary-blue);
    border-left-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ==================== Header & Navigation ==================== */
.header-top { background-color: #f8f9fa !important; border-bottom: 1px solid #eaeaea; padding: 5px 0; }
.top-bar-links a { color: var(--text-grey) !important; font-size: 13px; transition: 0.3s; font-weight: 600; }
.top-bar-links a:hover { color: var(--accent-cyan) !important; }

.styled-icons.icon-xs li a i { color: var(--primary-blue) !important; transition: 0.3s; font-size: 14px;}
.styled-icons.icon-xs li a:hover i { color: var(--accent-cyan) !important; transform: scale(1.2); }

.header-middle { padding: 15px 0; background: var(--bg-light); }
.contact-info-box { display: flex; align-items: center; gap: 12px; }
.contact-info-box i { font-size: 32px; color: var(--accent-cyan); }
.contact-info-box h5 { margin: 0; color: var(--primary-blue); font-weight: 700; font-size: 15px; }
.contact-info-box span { font-size: 12px; color: var(--text-grey); display: block; }

.header-nav-wrapper { 
    background: var(--bg-light) !important; 
    border-top: 1px solid #f0f0f0;
    border-bottom: 3px solid var(--accent-cyan) !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    z-index: 1000;
}
.header-nav .pull-left { float: left !important; }

#menuzord.no-bg .menuzord-menu > li > a { color: var(--primary-blue) !important; font-weight: 700; padding: 25px 15px !important; transition: 0.3s; font-size: 15px; }
#menuzord.no-bg .menuzord-menu > li.active > a, 
#menuzord.no-bg .menuzord-menu > li:hover > a { background: transparent !important; color: var(--accent-cyan) !important; }

.menuzord-menu ul.dropdown { border-top: 3px solid var(--accent-cyan) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.08); background: #ffffff !important; border-radius: 0 0 8px 8px; }
.menuzord-menu ul.dropdown li a { color: var(--text-grey) !important; text-align: right; padding: 12px 20px !important; transition: 0.3s; border-bottom: 1px solid #f9f9f9; font-weight: 600; }
.menuzord-menu ul.dropdown li a:hover { background: #fcfcfc !important; color: var(--primary-blue) !important; padding-right: 25px !important; }

/* ==================== Global Buttons ==================== */
.btn-register-modern { 
    background: var(--accent-cyan); 
    color: var(--primary-blue) !important; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(51, 213, 198, 0.25); 
    transition: 0.3s; 
    display: inline-block;
}
.btn-register-modern:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(26, 64, 148, 0.3); 
    background: var(--primary-blue); 
    color: #ffffff !important;
}
@media (min-width: 993px) { .btn-register-modern { margin-top:15px !important; } }
@media (max-width: 990px) { .btn-register-modern { margin-top:0px !important; } }

.btn-hero {
    background: var(--gradient-accent);
    color: var(--primary-dark) !important;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(51, 213, 198, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 64, 148, 0.4);
    background: var(--gradient-primary);
    color: #fff !important;
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 600;
    margin-right: 15px;
    transition: all 0.3s ease;
}
.btn-hero-outline:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--primary-dark);
}

.btn-premium-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26,44,78,0.3);
}
.btn-premium-action:hover {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    transform: translateX(-5px);
}

.btn-register-gold {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(51, 213, 198, 0.3);
}
.btn-register-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 64, 148, 0.4);
    background: var(--gradient-primary);
    color: #fff;
}

/* ==================== Hero Slider ==================== */
#heroCarousel { position: relative; overflow: hidden; }
#heroCarousel .item { height: 600px; background-size: cover; background-position: center; position: relative; }
#heroCarousel .item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(26,64,148,0.9) 0%, rgba(26,64,148,0.6) 25%, rgba(26,64,148,0.3) 50%);
}
.carousel-caption { bottom: 25%; text-align: right; right: 10%; left: auto; max-width: 600px; }
.carousel-caption h2 { font-size: 48px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); margin-bottom: 20px; }
.carousel-caption h2 span { color: var(--accent-cyan); position: relative; display: inline-block; }
.carousel-caption h2 span::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px; background: #fff; }
.carousel-caption p { font-size: 20px; color: #f0f0f0; margin-bottom: 30px; }

.carousel-control { width: 60px; height: 60px; background: rgba(255,255,255,0.2); border-radius: 50%; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
#heroCarousel:hover .carousel-control { opacity: 1; }
.carousel-control.left { left: 30px; }
.carousel-control.right { right: 30px; }
.carousel-control i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 24px; color: #fff; }
.carousel-indicators li { width: 12px; height: 12px; margin: 0 5px; background: rgba(255,255,255,0.5); border: none; }
.carousel-indicators li.active { background: var(--accent-cyan); transform: scale(1.2); }

/* ==================== Section Titles ==================== */
.section-title-luxury { text-align: center; margin-bottom: 60px; }
.section-title-luxury h2 { font-size: 36px; font-weight: 800; color: var(--primary-blue); margin-bottom: 15px; position: relative; display: inline-block; padding-bottom: 15px; }
.section-title-luxury h2 span { color: var(--accent-cyan); position: relative; }
.title-decoration { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; }
.title-decoration span { width: 60px; height: 2px; background: var(--gradient-mixed); }
.title-decoration i { color: var(--accent-cyan); font-size: 24px; }
.section-subtitle { color: #666; font-size: 18px; max-width: 700px; margin: 0 auto; }

/* ==================== Enhanced Courses Cards (Modern) ==================== */
.modern-course-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.modern-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26,64,148,0.1);
    border-color: #e2e8f0;
}
.card-header-wrap { position: relative; }
.image-container {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.modern-course-card:hover .image-container img { transform: scale(1.05); }

/* Course Tags & Badges */
.course-type-tag {
    position: absolute !important; bottom: 10px !important; left: 10px !important;
    top: auto !important; right: auto !important; width: auto !important; height: auto !important;
    display: inline-block !important;
    background: rgba(26, 64, 148, 0.9) !important;
    backdrop-filter: blur(4px); color: #fff !important;
    padding: 6px 12px !important; border-radius: 8px !important;
    font-size: 12px !important; font-weight: bold !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; z-index: 10 !important; line-height: 1.5 !important;
}
.course-type-tag i { color: var(--accent-cyan); font-size: 10px; margin-left: 6px; }

.price-tags-container { position: absolute; top: 15px; right: 15px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.price-sticker {
    background: var(--primary-blue); color: #fff; padding: 8px 15px; border-radius: 50px;
    font-weight: 700; box-shadow: 0 5px 15px rgba(26,64,148,0.3); display: flex; align-items: center; gap: 5px;
}
.price-sticker-secondary {
    background: var(--accent-cyan); color: var(--primary-dark); padding: 8px 15px; border-radius: 50px;
    font-weight: 700; box-shadow: 0 5px 15px rgba(51,213,198,0.3); display: flex; align-items: center; gap: 5px;
}
.price-sticker .currency, .price-sticker-secondary .currency { font-size: 12px; opacity: 0.9; }
.price-sticker .amount, .price-sticker-secondary .amount { font-size: 16px; }

/* Course Card Body */
.card-body-luxury { padding: 20px 10px 15px; flex-grow: 1; }
.trainer-avatar-wrap { margin-bottom: 15px; }
.trainer-avatar-wrap img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent-cyan); object-fit: cover; }
.course-title-modern { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.course-title-modern a { color: var(--primary-blue); text-decoration: none; transition: 0.2s; display: block; }
.course-title-modern a:hover { color: var(--accent-cyan); }
.course-desc-modern { color: #64748b; font-size: 14px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Rating & Meta */
.course-rating-modern { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.rating-stars { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; }
.rating-stars li i { color: #ffc107; font-size: 14px; }
.rating-stats { color: #777; font-size: 13px; }
.rating-stats i { color: var(--accent-cyan); margin-left: 3px; }

/* Course Footer */
.course-footer-modern { padding: 15px 10px 5px; border-top: 1px dashed #e2e8f0; display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.footer-meta { display: flex; gap: 15px; }
.footer-meta span { color: #555; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.footer-meta i { color: var(--accent-cyan); font-size: 14px; }
.btn-enroll-modern { background: rgba(51, 213, 198, 0.15); color: var(--primary-blue); padding: 8px 16px; border-radius: 8px; font-weight: bold; font-size: 14px; transition: 0.3s; text-decoration: none; }
.modern-course-card:hover .btn-enroll-modern { background: var(--accent-cyan); color: var(--primary-dark); box-shadow: 0 4px 12px rgba(51, 213, 198, 0.3); }

/* ==================== About Section ==================== */
.about-section-premium { background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%); position: relative; overflow: hidden; }
.about-section-premium::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(51,213,198,0.1) 0%, transparent 70%); border-radius: 50%;
}
.about-image-stack { position: relative; padding: 20px; }
.main-img-holder { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.main-img-holder img { width: 100%; border-radius: 20px; transition: transform 0.5s ease; }
.main-img-holder:hover img { transform: scale(1.05); }
.experience-badge { position: absolute; bottom: -40px; right: 0; background: var(--gradient-accent); color: var(--primary-dark); padding: 20px; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(51,213,198,0.3); }
.experience-badge .number { font-size: 36px; font-weight: 800; display: block; line-height: 1; }
.experience-badge .text { font-size: 14px; font-weight: 600; }

.text-gold-premium { color: var(--accent-cyan) !important; font-size: 18px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.main-title-about { font-size: 42px; font-weight: 800; color: var(--primary-blue); line-height: 1.3; }
.main-title-about span { color: var(--accent-cyan); position: relative; }
.double-line-bottom-gold { width: 80px; height: 4px; background: var(--gradient-mixed); border-radius: 2px; margin: 20px 0; }

.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.vision-item, .mission-item { display: flex; align-items: flex-start; gap: 15px; padding: 20px; background: #fff; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: all 0.3s ease; }
.vision-item:hover, .mission-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(26,64,148,0.1); }
.vision-item .icon-wrap, .mission-item .icon-wrap { width: 50px; height: 50px; background: rgba(51,213,198,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-cyan); font-size: 20px; }
.vision-item h5, .mission-item h5 { font-size: 18px; font-weight: 700; color: var(--primary-blue); margin-bottom: 5px; }

/* ==================== Features Grid ==================== */
.features-grid-premium { background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); }
.feature-card-modern {
    background: #fff; padding: 40px 20px; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center;
    transition: all 0.4s ease; border: 1px solid #f0f0f0; position: relative; overflow: hidden; z-index: 1;
}
.feature-card-modern::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 0;
    background: linear-gradient(180deg, rgba(51, 213, 198, 0.05) 0%, transparent 100%);
    transition: all 0.4s ease; z-index: -1;
}
.feature-card-modern:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(26, 64, 148, 0.1); border-color: rgba(51, 213, 198, 0.3); }
.feature-card-modern:hover::before { height: 100%; }

.feature-icon-circle {
    width: 80px; height: 80px; line-height: 80px; background: #fff;
    color: var(--primary-blue) !important; font-size: 32px; border-radius: 50%;
    margin: 0 auto 20px; box-shadow: 0 5px 15px rgba(51, 213, 198, 0.2);
    border: 2px solid var(--accent-cyan); transition: all 0.5s ease;
}
.feature-card-modern:hover .feature-icon-circle { background: var(--primary-blue) !important; color: #fff !important; border-color: var(--primary-blue); transform: rotateY(360deg); }
.feature-title { color: var(--primary-blue); font-weight: 700; margin-bottom: 15px; font-size: 20px; transition: 0.3s;}
.feature-card-modern:hover .feature-title { color: var(--accent-cyan); }
.feature-divider { width: 50px; height: 3px; background: var(--accent-cyan); margin: 0 auto 15px; transition: 0.4s; }
.feature-card-modern:hover .feature-divider { width: 80px; background: var(--primary-blue); }
.feature-desc { color: var(--text-grey); font-size: 15px; line-height: 1.7; margin: 0; }

/* ==================== Registration Form Section ==================== */
.registration-section { position: relative; background-attachment: fixed; }
.registration-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.card-header-gold { background: var(--gradient-primary) !important; padding: 25px 30px; border-radius: 8px 8px 0 0; }
.card-header-gold h3 { color: #fff; font-size: 24px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
.card-header-gold p { color: rgba(255,255,255,0.9); margin-top: 5px; }
.registration-card .card-body { padding: 30px; }
.input-group-custom { margin-bottom: 20px; display: flex; align-items: stretch; }
.input-group-custom .input-group-addon { background: #f8f9fa; border: 1px solid #ddd; border-left: none; border-radius: 0 8px 8px 0; padding: 0 15px; display: flex; align-items: center; color: var(--primary-blue); }
.input-group-custom .form-control { border: 1px solid #ddd; border-right: none; border-radius: 8px 0 0 8px; padding: 12px 15px; font-size: 15px; }
.input-group-custom .form-control:focus, .select-premium:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(51,213,198,0.1); }
.select-premium { width: 100%; border: 1px solid #ddd; border-radius: 8px; background: #fff; padding: 12px 15px; font-size: 15px; transition: all 0.3s ease; }

/* ==================== Trainers Cards ==================== */
.trainer-card-premium { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; height: 100%; }
.trainer-card-premium:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(26,64,148,0.15); }
.trainer-thumb { position: relative; overflow: hidden; height: 280px; }
.trainer-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.trainer-card-premium:hover .trainer-thumb img { transform: scale(1.1); }
.trainer-social-overlay { position: absolute; bottom: -50px; left: 0; right: 0; background: linear-gradient(180deg, transparent, rgba(26,64,148,0.9)); padding: 20px; display: flex; justify-content: center; transition: all 0.3s ease; opacity: 0; }
.trainer-card-premium:hover .trainer-social-overlay { bottom: 0; opacity: 1; }
.trainer-social-overlay .styled-icons li a { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: #fff; transition: 0.3s; }
.trainer-social-overlay .styled-icons li a:hover { background: var(--accent-cyan); border-color: var(--accent-cyan); transform: translateY(-3px); }
.trainer-info-box { padding: 25px; text-align: center; }
.trainer-name { font-size: 22px; font-weight: 700; color: var(--primary-blue); margin-bottom: 5px; }
.trainer-job { color: var(--accent-cyan); font-weight: 600; font-size: 15px; display: block; margin-bottom: 15px; }
.small-divider { width: 40px; height: 3px; background: var(--gradient-mixed); margin: 0 auto 15px; border-radius: 3px; }

/* ==================== Blog Cards ==================== */
.modern-blog-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; height: 100%; }
.modern-blog-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(26,64,148,0.15); }
.blog-image-wrap { position: relative; height: 240px; overflow: hidden; }
.blog-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.modern-blog-card:hover .blog-image-wrap img { transform: scale(1.1); }
.blog-date-badge { position: absolute; bottom: 20px; right: 20px; background: var(--gradient-accent); color: var(--primary-dark); padding: 12px; border-radius: 10px; text-align: center; min-width: 60px; box-shadow: 0 5px 15px rgba(51,213,198,0.3); }
.blog-date-badge .day { font-size: 24px; font-weight: 800; display: block; line-height: 1; }
.blog-date-badge .month { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.blog-details { padding: 25px; }
.blog-meta-top { display: flex; gap: 20px; margin-bottom: 15px; color: #777; font-size: 13px; }
.blog-meta-top i { color: var(--accent-cyan); margin-left: 5px; }
.blog-title { font-size: 20px; font-weight: 700; margin-bottom: 15px; line-height: 1.4; }
.blog-title a { color: var(--primary-blue); text-decoration: none; transition: color 0.3s ease; }
.blog-title a:hover { color: var(--accent-cyan); }
.blog-excerpt { color: #666; line-height: 1.7; margin-bottom: 20px; font-size: 14px; }
.read-more-btn { color: var(--primary-blue); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; transition: all 0.3s ease; }
.read-more-btn:hover { color: var(--accent-cyan); gap: 10px; }

/* ==================== Partners ==================== */
.partners-premium-section { background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.partner-glass-card { background: #fff; padding: 20px; border-radius: 15px; display: flex; align-items: center; justify-content: center; height: 120px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.partner-glass-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(26,64,148,0.1); }
.partner-logo-img { max-width: 80%; max-height: 60px; object-fit: contain; transition: all 0.3s ease; filter: grayscale(30%); }
.partner-glass-card:hover .partner-logo-img { transform: scale(1.1); filter: grayscale(0%); }

/* ==================== Inner & Custom Pages (Payment, Details, Receipt) ==================== */
.inner-header-luxury { background: var(--gradient-primary); padding: 100px 0 60px; color: #fff; text-align: center; position: relative; }
.inner-header-luxury::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--accent-cyan); }
.breadcrumb-custom li a { color: #e0e0e0; transition: 0.3s; }
.breadcrumb-custom li a:hover, .breadcrumb-custom .active { color: var(--accent-cyan) !important; }

.smart-content-card { background: #fff; border-radius: 20px; padding: 50px; box-shadow: 0 15px 40px rgba(26,64,148,0.08); margin-top: -60px; position: relative; z-index: 10; border-bottom: 5px solid var(--accent-cyan); }
.smart-content-card h3 { color: var(--primary-blue); margin-bottom: 20px; font-weight: 800; font-size: 32px; position: relative; padding-bottom: 15px; }
.smart-content-card h3:after { content: ""; position: absolute; bottom: 0; right: 0; width: 60px; height: 4px; background: var(--accent-cyan); border-radius: 2px; }

/* Payments */
.payment-page-bg { background-color: #f8fafc; }
.payment-header { background: var(--gradient-primary); padding: 40px 0; color: #fff; margin-bottom: 40px; position: relative; }
.payment-header::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--accent-cyan); }
.payment-card { background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(26,64,148,0.05); border: 1px solid #edf2f7; overflow: hidden; margin-bottom: 30px; }
.summary-widget { border-right: 5px solid var(--primary-blue); }
.methods-widget { border-top: 5px solid var(--accent-cyan); }
.price-total-box { background: rgba(51,213,198,0.05); border: 1px dashed var(--accent-cyan); padding: 15px; border-radius: 10px; text-align: center; margin: 20px 0; }
.price-total-box h3 { color: var(--primary-blue); font-weight: 800; font-size: 26px;}

/* Receipt / Thanks */
.thanks-hero { background: var(--gradient-primary); padding: 60px 0; color: #fff; text-align: center; margin-bottom: 40px; position: relative; }
.thanks-hero::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--accent-cyan); }
.receipt-card { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 15px 40px rgba(26,64,148,0.08); border-top: 5px solid var(--accent-cyan); }

/* Course Details Specifics */
.course-header-white { background: var(--gradient-primary); padding: 60px 0; color: #fff; margin-bottom: 40px; position: relative; }
.course-header-white::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--accent-cyan); }
.section-detail-box { background: #fff; padding: 35px; border-radius: 15px; margin-bottom: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid #edf2f7; }
.section-detail-box.trainer-box { border-right: 6px solid var(--primary-blue); }
.section-detail-box.info-box { border-right: 6px solid var(--accent-cyan); }

/* ==================== Footer ==================== */
.modern-dark-footer { background: var(--footer-bg) !important; color: #d1d5db; border-top: 4px solid var(--accent-cyan); }
.footer-widget-title { color: #ffffff; font-size: 18px; font-weight: 700; margin-bottom: 30px; position: relative; padding-bottom: 12px; }
.footer-widget-title:after { content: ""; position: absolute; bottom: 0; right: 0; width: 50px; height: 3px; background: var(--gradient-mixed); border-radius: 2px; }
.contact-info-list a:hover, .footer-link-list li a:hover { color: var(--accent-cyan); }
.footer-link-list li a:before { content: "\f104"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: 8px; color: var(--accent-cyan); font-size: 12px; }

/* ==================== Floating WhatsApp ==================== */
.whatsapp-fixed-btn { position: fixed; width: 50px; height: 50px; bottom: 15px; left: 15px; background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); color: #FFF !important; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 0 8px 25px rgba(37,211,102,0.3); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: 0.4s; }
.whatsapp-fixed-btn:hover { transform: scale(1.1) rotate(10deg); }

/* ==================== Media Queries (Mobile & Tablet) ==================== */
@media (max-width: 991px) {
    .carousel-caption h2 { font-size: 36px; }
    .main-title-about { font-size: 32px; }
    .vision-mission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    /* Menu fixes */
    .menuzord-menu { background: #fff !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 0 0 15px 15px; }
    .menuzord-menu > li > a { color: var(--primary-blue) !important; background: #fff !important; border-bottom: 1px solid #f0f0f0 !important; font-weight: 600 !important; }
    .menuzord-menu ul.dropdown { background: #f8f9fc !important; border: none !important; box-shadow: inset 0 2px 5px rgba(0,0,0,0.02) !important; }
    .menuzord-menu ul.dropdown li a { color: #333 !important; }
    .menuzord-menu ul.dropdown li a:hover { background: rgba(51,213,198,0.1) !important; color: var(--primary-blue) !important; }
    .menuzord .showhide { background: var(--primary-blue) !important; border-radius: 8px; margin: 15px !important; }
    .menuzord .showhide em { background: #fff !important; }
    
    .carousel-caption { right: 5%; left: 5%; text-align: center; }
    .carousel-caption h2 { font-size: 28px; }
    .section-title-luxury h2 { font-size: 28px; }
    .course-footer-modern { flex-direction: column; gap: 15px; align-items: flex-start; }
    .footer-meta { width: 100%; justify-content: space-between; }
    .btn-enroll-modern { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .btn-hero, .btn-hero-outline { display: block; margin: 10px 0; width: 100%; text-align: center; }
    .btn-hero-outline { margin-right: 0; }
    .course-rating-modern { flex-direction: column; align-items: flex-start; gap: 10px; }
    .rating-stats { width: 100%; display: flex; justify-content: space-between; }
}

/* RTL Specific Adjustments */
[dir="rtl"] .menuzord-menu ul.dropdown li a:before,
[dir="rtl"] .menuzord .dropdown li a:before { margin-left: 8px; margin-right: 0; }
[dir="rtl"] .menuzord-menu .menuzord-back:before { margin-left: 10px; margin-right: 0; content: "\f053" !important; }


/* ==========================================================================
   إصلاحات صفحة تفاصيل الدورة (Inner Page Details Fixes)
   ========================================================================== */

/* 1. إصلاح لون عنوان الدورة في الترويسة الزرقاء لجعله أبيضاً وواضحاً */
.course-header-white { 
    background: var(--gradient-primary); 
    padding: 60px 0; 
    color: #fff; 
    margin-bottom: 40px; 
    position: relative; 
}
.course-header-white::after { 
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; 
    background: var(--accent-cyan); 
}
.course-header-white h1, 
.course-header-white h2, 
.course-header-white h3, 
.course-header-white p, 
.course-header-white span { 
    color: #ffffff !important; 
}

/* 2. استعادة التنسيق الأنيق لبطاقة التسجيل الجانبية (Sidebar Form) */
.sidebar-register-card { 
    background: #ffffff; 
    border-radius: 20px; 
    padding: 30px; 
    box-shadow: 0 15px 40px rgba(26, 64, 148, 0.08); 
    border: none; 
    border-top: 5px solid var(--accent-cyan); 
}
.sidebar-register-card h3,
.sidebar-register-card h4 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}
.form-control-sidebar,
.sidebar-register-card input,
.sidebar-register-card select { 
    width: 100% !important; 
    height: 50px; 
    border-radius: 10px; 
    border: 1px solid #e2e8f0; 
    margin-bottom: 15px; 
    padding: 10px 15px; 
    background: #f8fafc; 
    transition: 0.3s all; 
    color: var(--primary-blue);
    font-family: 'Cairo', sans-serif;
}
.form-control-sidebar:focus,
.sidebar-register-card input:focus,
.sidebar-register-card select:focus { 
    border-color: var(--accent-cyan); 
    background: #fff; 
    box-shadow: 0 0 0 3px rgba(51, 213, 198, 0.15); 
    outline: none; 
}

/* 3. استعادة تنسيق مربعات تفاصيل ومحاور الدورة */
.section-detail-box { 
    background: #fff; 
    padding: 35px; 
    border-radius: 15px; 
    margin-bottom: 30px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); 
    border: 1px solid #edf2f7; 
    position: relative;
    overflow: hidden;
}
.section-detail-box.trainer-box { border-right: 6px solid var(--primary-blue); }
.section-detail-box.info-box { border-right: 6px solid var(--accent-cyan); }
.section-detail-box.content-box { border-right: 6px solid var(--primary-dark); }

.detail-section-title { 
    color: var(--primary-blue) !important; 
    font-weight: 700; 
    font-size: 22px; 
    margin-bottom: 25px; 
    display: flex; 
    align-items: center; 
}
.detail-section-title i { margin-left: 12px; color: var(--accent-cyan); }

/* تنسيق القوائم داخل مربعات التفاصيل */
.luxury-info-list { list-style: none; padding: 0; }
.luxury-info-list li { margin-bottom: 15px; display: flex; align-items: center; font-size: 16px; color: var(--text-grey); }
.luxury-info-list li i { 
    background: rgba(51, 213, 198, 0.1); color: var(--primary-blue); 
    width: 40px; height: 40px; text-align: center; line-height: 40px; 
    border-radius: 50%; margin-left: 15px; font-size: 18px; 
}
.luxury-info-list li strong { margin-left: 10px; color: var(--primary-blue); }

/* ==========================================================================
   تخصيص الألوان بناءً على الصورة المرفقة (العناوين، القائمة، الأزرار، الأيقونات)
   ========================================================================== */

:root {
    /* الألوان المستخرجة من الصورة */
    --image-magenta: #be2356; /* اللون الوردي الداكن/الماجنتا للعناوين والأزرار */
    --image-gold: #eab308;    /* اللون الذهبي/الأصفر للأيقونات */
}

/* 1. تخصيص القائمة العلوية (الرئيسية) */
#menuzord.no-bg .menuzord-menu > li.active > a, 
#menuzord.no-bg .menuzord-menu > li:hover > a { 
    color: var(--image-magenta) !important; 
}

/* 2. تخصيص زر "سجل الآن" ليكون باللون الماجنتا */
.btn-register-modern { 
    background: var(--image-magenta) !important; 
    color: #ffffff !important; 
    box-shadow: 0 4px 15px rgba(190, 35, 86, 0.3) !important; 
}
.btn-register-modern:hover { 
    background: var(--primary-blue) !important; /* يتحول للكحلي عند المرور عليه */
}

/* 3. تخصيص عناوين الأقسام الرئيسية (مثل: الدورات التدريبية) */
.section-title-luxury h2, 
.section-title-luxury h3,
.section-title-luxury h4,
.main-title-about, .blog-title a {
    color: var(--image-magenta) !important;
}

/* 4. تخصيص الخط المتدرج تحت عنوان القسم (ليكون متدرج من الذهبي للبنفسجي كما في الصورة) */
.title-decoration span,
.double-line-bottom-gold {
    background: linear-gradient(90deg, var(--image-gold) 0%, var(--brand-purple) 100%) !important;
}

/* 5. تخصيص عناوين كروت الدورات (مثل: 7 خطوات نحو الوظيفة) */
.course-title-modern a {
    color: var(--image-magenta) !important;
}
.course-title-modern a:hover {
    color: var(--primary-blue) !important;
}

/* 6. تخصيص لون الأيقونات في الكروت (الأيقونات الذهبية/الصفراء) */
.course-meta-minimal i,
.footer-meta i,
.rating-stats i,
.course-type-tag i {
    color: var(--image-gold) !important;
}

/* تخصيص علامة التبويب السفلية في الكرت (مثل: شعبة: 5) لتطابق الصورة */
.course-type-tag {
    background: rgba(46, 48, 119, 0.8) !important; /* خلفية كحلية شفافة */
    border: 1px solid rgba(234, 179, 8, 0.4) !important; /* إطار ذهبي خفيف */
    color: #fce7f3 !important; /* لون نص مائل للوردي الفاتح */
}

/* ==========================================================================
   7. تخصيص كروت المميزات (شهادات معتمدة، مدربون احترافيون...) لتطابق الهوية الجديدة
   ========================================================================== */

/* شكل الدائرة والأيقونة في الحالة العادية */
.feature-icon-circle {
    background: #ffffff !important;
    color: var(--primary-blue) !important; /* لون الأيقونة نيلي/كحلي */
    border: 2px solid var(--image-gold) !important; /* إطار الدائرة ذهبي */
    box-shadow: 0 5px 15px rgba(234, 179, 8, 0.1) !important; /* ظل ذهبي خفيف جداً */
}

/* شكل الدائرة والأيقونة عند مرور الماوس (أو الكرت النشط) */
.feature-card-modern:hover .feature-icon-circle {
    background: var(--image-magenta) !important; /* خلفية الدائرة تصبح ماجنتا */
    color: #ffffff !important; /* الأيقونة تصبح بيضاء */
    border-color: var(--image-magenta) !important;
}

/* عنوان الميزة في الحالة العادية (مثل: شهادات معتمدة) */
.feature-title {
    color: var(--primary-blue) !important; /* نيلي */
    transition: 0.3s;
}

/* عنوان الميزة عند مرور الماوس */
.feature-card-modern:hover .feature-title {
    color: var(--image-magenta) !important; /* يتحول للماجنتا */
}

/* الخط الفاصل الصغير تحت العنوان في الحالة العادية */
.feature-divider {
    background: var(--image-gold) !important; /* خط ذهبي */
    transition: 0.4s;
}

/* الخط الفاصل عند مرور الماوس */
.feature-card-modern:hover .feature-divider {
    background: var(--image-magenta) !important; /* يتحول للماجنتا */
    width: 80px !important; /* يتمدد الخط قليلاً ليعطي حركة تفاعلية جميلة */
}

/* تأثير الكرت نفسه عند مرور الماوس (إضافة لمسة الماجنتا للظل والإطار) */
.feature-card-modern {
    border: 1px solid #f1f5f9 !important; /* إطار رمادي فاتح جداً في الحالة العادية */
}
.feature-card-modern:hover {
    border-color: rgba(190, 35, 86, 0.2) !important; /* إطار خفيف بلون الماجنتا عند المرور */
    box-shadow: 0 15px 30px rgba(190, 35, 86, 0.08) !important; /* ظل خفيف متناسق مع الهوية */
}