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

:root { 
    --primary-blue: #1a4094;
    --accent-cyan: #33d5c6;
    --primary-dark: #122b66;
    --accent-hover: #2bbbb0;
    --text-grey: #595959;
    --bg-light: #ffffff;
    --footer-bg: #111827;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-hover) 100%);
    --gradient-mixed: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
}

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

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

.text-white, .text-white 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; }

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

.header-middle { padding: 15px 0; background: var(--bg-light); }

.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 .menuzord-menu > li > a { color: var(--primary-blue) !important; font-weight: 700; padding: 25px 15px !important; transition: 0.3s; font-size: 15px; }
#menuzord .menuzord-menu > li.active > a, 
#menuzord .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; }

/* 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;
    text-decoration: none;
}
.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;
    text-decoration: none;
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 64, 148, 0.4);
    background: var(--gradient-primary);
    color: #fff !important;
}

/* 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); }
.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; }

/* Course Cards */
.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); }

.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;
    font-size: 14px;
}
.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;
    font-size: 14px;
}

.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; }

.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; }

.course-footer-modern { padding: 15px 10px 5px; border-top: 1px dashed #e2e8f0; display: flex; justify-content: space-between; align-items: center; margin-top: auto; flex-wrap: wrap; gap: 10px; }
.footer-meta { display: flex; gap: 15px; flex-wrap: wrap; }
.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); }

/* Features Cards */
.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;
}
.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-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 */
.registration-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.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; width: 100%; }
.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); outline: none; }
.select-premium { width: 100%; border: 1px solid #ddd; border-radius: 8px; background: #fff; padding: 12px 15px; font-size: 15px; transition: all 0.3s ease; }

.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;
}

/* Trainer 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-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-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); }
.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 */
.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; margin: 10px; }
.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%); }

/* Footer */
#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; }

/* WhatsApp Floating */
.whatsapp_float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    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;
    text-decoration: none;
}
.whatsapp_float:hover { transform: scale(1.1) rotate(5deg); color: #fff; }
.whatsapp-icon { margin-top: 0; }

/* Event Block */
.event-block {
    display: flex;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.event-date {
    background: var(--primary-blue);
    color: #fff;
    padding: 20px;
    min-width: 80px;
    text-align: center;
}
.event-date ul { list-style: none; padding: 0; margin: 0; }
.event-date .border-bottom { border-bottom: 2px solid var(--accent-cyan); padding-bottom: 5px; }
.event-meta { flex: 1; padding: 20px; }

/* Accordion Styling */
.accordion-stylished-left-border .panel {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.accordion-stylished-left-border .panel-heading {
    background: #fff;
    padding: 0;
    border-radius: 10px;
}
.accordion-stylished-left-border .panel-title a {
    display: block;
    padding: 18px 25px;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    border-right: 4px solid var(--accent-cyan);
    background: #fafafa;
    border-radius: 10px;
}
.accordion-stylished-left-border .panel-body {
    padding: 20px 25px;
    background: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .carousel-caption h2 { font-size: 36px; }
}
@media (max-width: 768px) {
    .menuzord-menu { background: #fff !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .menuzord-menu > li > a { color: var(--primary-blue) !important; background: #fff !important; border-bottom: 1px solid #f0f0f0 !important; }
    .menuzord .showhide { background: var(--primary-blue) !important; border-radius: 8px; margin: 15px !important; }
    .menuzord .showhide em { background: #fff !important; }
    .carousel-caption h2 { font-size: 28px; }
    .section-title-luxury h2 { font-size: 28px; }
    .course-footer-modern { flex-direction: column; align-items: flex-start; }
    .btn-enroll-modern { width: 100%; text-align: center; }
    .event-block { flex-direction: column; }
    .event-date { display: inline-block; width: auto; }
}
@media (max-width: 480px) {
    .btn-hero { display: block; margin: 10px 0; width: 100%; text-align: center; }
    .price-tags-container { position: relative; top: 0; right: 0; margin-top: 10px; flex-direction: row; flex-wrap: wrap; }
}

/* Hide on mobile */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px){ 
    .mobileHide { display: none;}
}
.mobileHide { display: inline; }

/* ==================== Course Details Header ==================== */
.course-header-luxury {
    background: linear-gradient(135deg, #1a4094 0%, #122b66 100%);
    position: relative;
    overflow: hidden;
}

.course-header-luxury::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(51, 213, 198, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.course-header-luxury::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a4094 0%, #33d5c6 50%, #1a4094 100%);
}

.course-header-luxury h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.course-header-luxury .breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.course-header-luxury .breadcrumb-custom li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.course-header-luxury .breadcrumb-custom li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

.course-header-luxury .breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-decoration: none;
}

.course-header-luxury .breadcrumb-custom li a:hover {
    color: #33d5c6;
    transform: translateX(-3px);
}

.course-header-luxury .breadcrumb-custom .active {
    color: #33d5c6;
}