@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

/* default root */
:root {
    /* font family */
    --primary-font: "Noto Kufi Arabic", sans-serif;
    ;
    /* colors */
    --primary-color: #c42b29;
    --dark-color: #192335;
    --third-color: #041f8a;
    --header-color: #2D2D3F;
    --white-color: #ffffff;
    --text-color: #6b7385;
    --black-color: #000000;
    --transition_fast: 0.65s cubic-bezier(0.23, 1, 0.32, 1);
    --transition_slow: 3s ease;
    --box_shadow: -5px 18px 60px 0 rgba(210, 210, 234, 0.4);
    --color-border: #e6e3f1;
    --section-bg: #f8f9fa;
    --title-color: #333;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    scroll-padding-top: 100px;
}

/*-----DOT-----*/
.cursor2 {
    position: fixed;
    width: 30px;
    height: 30px;
    background-color: #ec252886;
    border-radius: 50%;
    left: 0;
    top: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: 0.1s;
    z-index: 20;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    padding: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #3d4750;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    width: 8px;
    background-color: #eee;
    -webkit-box-shadow: inset 0 0 0px var(--black-color);
}

* {
    font-family: var(--primary-font);
}

a {
    text-decoration: none !important;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
main{
    margin-top: 45px;
}
/* btn-new */
.btn-new {
    padding: 15px 25px;
    border: unset;
    border-radius: 4px;
    color: var(--white-color);
    z-index: 1;
    background: var(--text-color);
    position: relative;
    font-weight: 500;
    font-size: 17px;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    transition: all 250ms;
    overflow: hidden;
    margin-right: 10px;
}

.btn-new::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 4px;
    background-color: var(--primary-color);
    z-index: -1;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
    transition: all 250ms
}

.btn-new:hover {
    color: #e8e8e8;
}

.btn-new:hover::before {
    width: 100%;
}





.log-in {
    outline: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-color);
    min-width: 150px;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    padding: 16px 20px;
    color: var(--white-color) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
}

.log-in:hover {
    opacity: .95;
}

.log-in .animation {
    border-radius: 100%;
    animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
    }
}
.log-in i{
    font-size: 1rem;
    margin-left: 5px;
}


section {
    padding: 50px 0;
    overflow: hidden;
}

.hr {
    max-width: 25rem;
    width: 100%;
    height: 2rem;
    background: url(../img/hr.png) center center / cover no-repeat;
    border: none;
    margin: 0 auto;
}

/* Modern Floating Blur Navbar */
#nav {
    box-shadow: 0px 0px 55px rgba(0, 0, 0, 0.19098);
    padding: 0 0.9rem;
    background: var(--text-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
    opacity: 0;
    transform: translateY(-24px);
    animation: navbar-fadein 0.9s cubic-bezier(.33,1.02,.44,.99) 0.1s forwards;
}
@keyframes navbar-fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#nav .container {
    max-width: 1600px !important;
}

#Btnnav_toggler {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 1rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition_fast);
    color: var(--white-color);
    background: var(--primary-color);
    border-color: var(--white-color);
}

#logo img {
    width: 200px;
    transition: var(--transition_fast);
}

#nav-item {
    padding: 0 10px;
    font-size: 15px;
    color: var(--white-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    line-height: 80px;
    transition: 0.3s;
    transition: var(--transition_fast);
    position: relative;
}

#nav-item:hover {
    color: var(--primary-color);
}


#nav-item i {
    font-size: 13px;
    margin-top: 5px;
    color: var(--primary-color);
    margin-left: 4px;
}



.navbar-brand {
    margin-left: 1rem;
    margin-right: 0;
}

.show {
    transition: all 0.5s ease-in-out;
}

/* ===== Navbar Classic Animation ===== */
#nav {
    opacity: 0;
    transform: translateY(-24px);
    animation: navbar-fadein 2s cubic-bezier(.33,1.02,.44,.99) 0.1s forwards;
}
@keyframes navbar-fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#nav .navbar-nav > .nav-item {
    opacity: 0;
    transform: translateY(10px);
    animation: nav-item-fadein 0.5s ease-out forwards;
}

#nav .navbar-nav > .nav-item:nth-child(1) { animation-delay: 0.2s; }
#nav .navbar-nav > .nav-item:nth-child(2) { animation-delay: 0.3s; }
#nav .navbar-nav > .nav-item:nth-child(3) { animation-delay: 0.4s; }
#nav .navbar-nav > .nav-item:nth-child(4) { animation-delay: 0.5s; }
#nav .navbar-nav > .nav-item:nth-child(5) { animation-delay: 0.6s; }
#nav .navbar-nav > .nav-item:nth-child(6) { animation-delay: 0.7s; }

@keyframes nav-item-fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===================================
    User Profile Navbar
====================================== */
#user-profile-container .user-profile-link {
    display: flex;
    align-items: center;
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    border: 1px solid transparent;
}

#user-profile-container .user-profile-link:hover {
    background-color: var(--section-bg);
    border-color: var(--border-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    border: 2px solid var(--primary-color);
    padding: 2px;
    background-color: #fff;
}

.user-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white-color);
}

#user-profile-container .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 10px 0;
    margin-top: 10px;
    text-align: right;
    background-color: var(--white-color);
}

#user-profile-container .dropdown-item {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

#user-profile-container .dropdown-item:hover {
    background-color: var(--section-bg);
    color: var(--primary-color);
}

#user-profile-container .dropdown-item i {
    margin-left: 8px;
}



/* banner */
.baner {
    /* position: absolute; */
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.baner img {
    object-fit: cover;
    /* السحر هنا */
    object-position: 50% 30%;
}



/* about */
#about{
    position: relative;
    padding: 20px 0;
}
.modal-3d {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 2rem;
    z-index: 1;

}

.modal-3d::after {
    content: "";
    position: absolute;
    /* top: 50%; */
    left: 50%;
    transform: translate(-50%, 50%);
    width: 100%;
    height: 100%;
    background: url('../img/electric.png') center/cover no-repeat;
    z-index: -1;
    filter: blur(5px);
    opacity: 0.4;
    transform: scale(1.1);
    /* يخليها أكبر شوية كأنها ظل */
    pointer-events: none;
    animation: rotate 12s linear infinite;
}

.rotate-img {
    animation: rotate 10s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.header {
    color: var(--white-color);
    background: var(--text-color);
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.title {
    color: var(--header-color);
    font-weight: 700;
    margin-top: 20px;
}

.suptitle {
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.paragraph {
    color: var(--text-color);
}

.list {
    gap: 5px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-bottom: 20px;
}

.list li {
    display: flex;
    gap: 5px;
    color: var(--text-color);
    font-weight: 500;
}

.list li i {
    color: var(--primary-color);
    transition: all 0.5s ease-in-out
}

.list li:hover i {
    animation: bounce-arrow 0.5s ease-in-out;
}

@keyframes bounce-arrow {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

.shadoow {
    position: absolute;
    width: 0px;
    height: 0px;
    background: radial-gradient(circle at 60% 40%, var(--primary-color) 60%, var(--third-color) 100%);
    left: 60px;
    top: 100px;
    border-radius: 50%;
    box-shadow:
        0 0 40px 10px var(--primary-color),
        0 0 80px 20px var(--third-color),
        0 0 120px 40px var(--primary-color);
    /* 0 0 0 0 rgba(0,0,0,0.1); */
    animation: shadoow-glow 2.5s ease-in-out infinite alternate;
    /* z-index: 2; */
}

@keyframes shadoow-glow {
    0% {
        box-shadow:
            0 0 40px 10px var(--primary-color),
            0 0 80px 20px var(--third-color),
            0 0 120px 40px var(--primary-color),
            0 0 0 0 rgba(0, 0, 0, 0.1);
        opacity: 0.85;
        transform: scale(2);
    }

    100% {
        box-shadow:
            0 0 60px 20px var(--primary-color),
            0 0 120px 40px var(--third-color),
            0 0 180px 80px var(--primary-color),
            0 0 0 0 rgba(0, 0, 0, 0.01);
        opacity: 1;
        transform: scale(2.13);
    }
}





.trainees-modern-section {
    background: transparent;
    position: relative;
}
.trainees-modern-section .suptitle{
    font-weight:800;
}
.trainee-modern-card,
.student-modern-card {
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box, linear-gradient(to bottom, var(--primary-color), var(--third-color), rgba(255, 255, 255, 0.8)) border-box;
    border: 5px solid transparent;
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(31, 38, 135, 0.07);
    padding: 22px 18px;
    transition: box-shadow 0.18s, transform 0.18s;
    text-decoration: none !important;
    color: inherit;
    min-height: 180px;
    cursor: pointer;
    position: relative;
}

.trainee-modern-card:hover,
.student-modern-card:hover {
    box-shadow: 0 8px 32px 0 var(--box_shadow);
    transform: translateY(-6px) scale(1.03);
}

.trainee-modern-img,
.student-modern-img {
    width: 120px;
    height: 160px;
    /* border-radius: 50%; */
    overflow: hidden;
    margin-left: 22px;
    border: 4px solid var(--color-border);
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(4, 31, 138, 0.10);
    flex-shrink: 0;
}

.trainee-modern-img img,
.student-modern-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainee-modern-body,
.student-modern-body {
    width: 100%;
}

.trainee-modern-name,
.student-modern-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary-color);
}

.trainee-modern-badge,
.student-modern-badge {
    background: var(--third-color);
    color: #fff;
    font-size: 0.93rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
    display: flex;
    align-items: center;
    gap: 5px;
}

.trainee-modern-track,
.student-modern-track {
    color: var(--third-color);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
}

.trainee-modern-meta,
.student-modern-meta {
    gap: 18px;
    color: #666;
    font-size: 0.98rem;
}

.meta-item {
    margin-left: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.trainee-modern-progress,
.student-modern-progress {
    background: #f2f2f2;
    border-radius: 8px;
    height: 18px;
    overflow: hidden;
    margin-bottom: 8px;
}
.progress-bar-traner{
    width: 85%; 
}
.progress-bar-traner2{
    width: 72%; 
}
.trainee-modern-progress .progress-bar,
.student-modern-progress .progress-bar {
    font-weight: 700;
    color: #fff;
    font-size: 0.98rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
    border-radius: 8px;
    transition: width 0.5s;
    background-color: var(--primary-color);
}

.trainee-modern-status,
.student-modern-status {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-trainee-details,
.btn-student-details {
    background: var(--text-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 22px;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
    transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
}

.btn-trainee-details:hover,
.btn-student-details:hover {
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(196, 43, 41, 0.13);
    transform: scale(1.07);
}
.students-modern-section{
    background: linear-gradient(120deg, #f7f7fa 60%, #fff 100%); 
    position:relative;
}
.students-modern-section .suptitle{
    font-weight:800;
}
.progress-bar-student1{
    width: 90%; 
}
.progress-bar-student2{
    width: 95%; 
}

/* contact */
.contact-section-modern {
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.09);
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(240, 238, 248, 0.6) 35%,
            rgba(196, 43, 41, 0.04) 100%);
}

.contact-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 24px 0 rgba(31, 38, 135, 0.07);
    transition: box-shadow 0.22s;
}

.contact-box:focus-within {
    box-shadow: 0 8px 32px 0 var(--box_shadow);
}

.contact-header .contact-icon-modern {
    font-size: 2.2rem;
    color: var(--primary-color);
    background: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 12px 0 rgba(196, 43, 41, 0.10);
    animation: contact-float 2.5s infinite alternate;
}

@keyframes contact-float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.contact-title-modern {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.7rem;
    letter-spacing: 1px;
}

.contact-desc-modern {
    color: #6c6c6c;
    font-size: 1.05rem;
    opacity: 0.92;
}

.contact-form .form-control {
    border-radius: 8px;
    border: 1.5px solid #ececec;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 14px;
    transition: border-color 0.18s;
    background: #f9f9fb;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: none;
}
.form-control:focus{
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: none;
}

.btn-contact-modern {
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    color: var(--white-color);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    padding: 10px 0;
}

.btn-contact-modern:hover {
    background: linear-gradient(90deg, var(--third-color), var(--primary-color));
    color: var(--white-color);
    box-shadow: 0 4px 16px 0 rgba(196, 43, 41, 0.13);
    transform: translateY(-2px) scale(1.04);
}

.contact-social-modern {
    margin-top: 18px;
}

.contact-social-icon-modern {
    color: var(--primary-color);
    background: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 6px;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
    transition: background 0.2s, color 0.2s, transform 0.18s;
}

.contact-social-icon-modern:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.13) rotate(-8deg);
}

.contact-map-box {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 24px 0 rgba(31, 38, 135, 0.07);
    background: #fff;
}

.contact-address {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 8px;
    color: var(--header-color);
    text-shadow: 0 2px 8px rgba(31, 38, 135, 0.13);
}

.shadoow2 {
    position: absolute;
    width: 220px;
    height: 220px;
    /* right: 0%; */
    top: 60%;
    transform: translate(-50%, -50%) rotate(-18deg);
    background: radial-gradient(circle at 60% 40%, var(--third-color) 60%, var(--primary-color) 100%);
    opacity: 0.18;
    filter: blur(32px) saturate(1.3);
    border-radius: 40% 60% 70% 30% / 60% 40% 60% 40%;
    box-shadow:
        0 0 60px 10px var(--third-color),
        0 0 120px 40px var(--primary-color),
        0 0 180px 80px var(--third-color);
    animation: shadoow-float 3.5s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes shadoow-float {
    0% {
        opacity: 0.13;
        transform: translate(-50%, -50%) scale(1) rotate(-18deg);
        filter: blur(32px) saturate(1.3);
    }

    100% {
        opacity: 0.22;
        transform: translate(-50%, -54%) scale(1.13) rotate(8deg);
        filter: blur(38px) saturate(1.5);
    }
}



/* footer */
.olspark-footer {
    background: var(--dark-color);
    color: var(--white-color);
    font-family: var(--primary-font);
    font-size: 1rem;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -2px 24px 0 rgba(31, 38, 135, 0.07);
    /* margin-top: 48px; */
}



.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(4, 31, 138, 0.10);
    background: #fff;
    padding: 6px;
    object-fit: cover;
    object-position: 50% 30%;
}

.footer-title {
    color: var(--white-color);
}

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

.footer-icon {
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: background 0.2s, color 0.2s, transform 0.18s;
}

.footer-icon:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: scale(1.13) rotate(-8deg);
}

.footer-copy {
    font-size: 0.97rem;
    opacity: 0.85;
    letter-spacing: 0.5px;
}
.footer-social .privacy{
    color: var(--white-color);
    font-size: 0.8rem;
}












/* تفاصيل المتدربين */
.trainee-profile-section {
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.09);
    position: relative;
    z-index: 2;
    background: linear-gradient(120deg, #fff 70%, #f7f7fa 100%);
}

.card-avatar {
    padding: 10px;
    background-color: var(--color-border);
    border: 2px solid var(--text-color);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.trainee-avatar-box {
    position: relative;
    display: inline-block;
}

.trainee-avatar-img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 5px solid var(--primary-color);
    object-fit: contain;
    background-color: var(--white-color);
    box-shadow: 0 2px 16px 0 rgba(31, 38, 135, 0.13);
}

.trainee-badge {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
}

.trainee-rating i {
    font-size: 1.2rem;
}

.trainee-progress-circle {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
}

.trainee-progress-circle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 15px;
}

.trainee-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.trainee-info-box {
    padding-right: 10px;
    text-align: right;
}

.trainee-name {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 2rem;
}

.trainee-track {
    color: var(--third-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.trainee-bio {
    color: #444;
    font-size: 1.08rem;
}

.trainee-personal-list {
    list-style: none;
    padding: 0;
    color: #666;
}

.trainee-personal-list li {
    margin-bottom: 4px;
    font-size: 1rem;
}

.trainee-status-box {
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.07);
    padding: 18px 14px;
    text-align: center;
    border: 2px solid var(--text-color);
}

.trainee-status-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
}

.trainee-status-value {
    color: #333;
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 6px;
}

.trainee-skills-box {
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box, linear-gradient(to bottom, var(--primary-color), var(--third-color), rgba(255, 255, 255, 0.8)) border-box;
    border: 5px solid transparent;
    border-radius: 10px;
    box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.07);
    padding: 18px 14px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.skills-title {
    color: var(--header-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-skill {
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    color: #fff;
    font-weight: 700;
    border-radius: 3px;
    padding: 5px 14px;
    font-size: 0.98rem;
}

.badge-soft {
    background: #f7f7fa;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.badge-lang {
    background: #fff;
    color: var(--third-color);
    border: 1px solid var(--third-color);
}

.trainee-projects-section .projects-title,
.trainee-documents-section .documents-title,
.trainee-timeline-section .timeline-title {
    color: var(--third-color);
    font-weight: 800;
    font-size: 1.3rem;
    text-align: right;
}

.trainee-project-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.07);
    padding: 12px 10px;
    gap: 18px;
    min-height: 110px;
    transition: box-shadow 0.18s, transform 0.18s;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.trainee-project-card:hover {
    box-shadow: 0 8px 32px 0 var(--box_shadow);
    transform: translateY(-4px) scale(1.03);
}

.project-img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f7f7fa;
    border: 2px solid var(--third-color);
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img iframe {
    border-radius: 10px;
}

.project-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
}

.project-desc {
    color: #444;
    font-size: 0.98rem;
}

.project-date {
    color: #888;
    font-size: 0.93rem;
}

.document-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.07);
    padding: 18px 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
}

.document-card i {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--third-color);
}

.document-card:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.06);
}

.timeline {
    display: flex;
    flex-direction: row;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.timeline-item {
    position: relative;
    min-width: 140px;
    text-align: center;
    opacity: 0.7;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    border-radius: 50%;
    margin: 0 auto 8px auto;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
}

.timeline-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.07);
    padding: 8px 6px;
    font-size: 0.98rem;
    color: #333;
}

.timeline-date {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.97rem;
}

.timeline-label {
    display: block;
    color: #666;
    font-size: 0.95rem;
}




/* تفاصيل الطلاب */
.student-details .student-profile-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.student-details .profile-header {
    border-bottom: 2px solid rgba(106, 17, 203, 0.1);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.student-details .student-avatar {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    border: 5px solid var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    margin-left: 1rem;
}

.student-details .student-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-align: right;
}

.student-details .student-meta {
    color: var(--third-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-start;
}
.student-details .student-meta span{
    text-align: right;
    gap: 5px;
    display: flex;
}
.student-details .info-card {
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: right;
}

.student-details .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.student-details .section-title {
    color: var(--third-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(37, 117, 252, 0.2);
}

.student-details .info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.student-details .info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.student-details .info-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.student-details .info-value {
    color: var(--text-color);
}

.student-details .project-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.student-details .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.student-details .project-image {
    height: 180px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
}

.student-details .project-body {
    padding: 20px;
}

.student-details .project-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.student-details .project-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.student-details .status-in-progress {
    background-color: #fff3cd;
    color: #856404;
}

.student-details .status-completed {
    background-color: #d4edda;
    color: #155724;
}

.student-details .status-review {
    background-color: #cce5ff;
    color: #004085;
}

.student-details .timeline-container {
    position: relative;
    padding-right: 30px;
}

.student-details .timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 10px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--third-color));
}

.student-details .timeline-item {
    position: relative;
    padding-bottom: 25px;
}

.student-details .timeline-dot {
    position: absolute;
    right: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--third-color));
    border: 3px solid var(--white-color);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

.student-details .timeline-content {
    background: var(--white-color);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.student-details .timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.student-details .progress-container {
    margin-bottom: 20px;
}

.student-details .progress-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 600;
}

.student-details .progress-bar {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
    overflow: hidden;
}

.student-details .progress-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    transition: width 0.6s ease;
}

.student-details .language-card {
    background: var(--white-color);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.student-details .language-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.student-details .topic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.student-details .topic-item:last-child {
    border-bottom: none;
}

.student-details .topic-name {
    flex-grow: 1;
}

.student-details .topic-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-details .status-completed {
    background-color: #28a745;
    color: white;
}

.student-details .status-pending {
    background-color: #dc3545;
    color: white;
}

.student-details .resource-card {
    display: flex;
    align-items: center;
    background: var(--white-color);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.student-details .resource-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.student-details .resource-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: white;
    font-size: 1.2rem;
}

.student-details .icon-pdf {
    background-color: #e74c3c;
}

.student-details .icon-video {
    background-color: #3498db;
}

.student-details .icon-link {
    background-color: #2ecc71;
}

.student-details .resource-name {
    flex-grow: 1;
    font-weight: 500;
}

.student-details .resource-date {
    font-size: 0.8rem;
    color: #777;
}

/* ===== Banner Section Custom Styles ===== */
.baner {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 340px;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-color);
}
.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    filter: brightness(0.7);
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,rgba(44,44,80,0.5) 60%,rgba(196,43,41,0.3) 100%);
    z-index: 2;
}
.banner-content {
    position: relative;
    z-index: 3;
    color: var(--white-color);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.banner-icon img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(4,31,138,0.10);
    background: #fff;
    padding: 6px;
}
.banner-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white-color);
    text-shadow: 0 2px 16px #0008;
    margin-bottom: 1rem;
}
.banner-desc {
    font-size: 1.25rem;
    color: #f7f7fa;
    text-shadow: 0 2px 8px #0007;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
}
.banner-cta {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 14px 38px;
    border-radius: 6px;
    box-shadow: 0 2px 12px 0 rgba(31,38,135,0.07);
}
.banner-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 4;
    line-height: 0;
}
.banner-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* ===== End Banner Section Custom Styles ===== */











/* ===== Banner Trainees Customization ===== */
.baner-trainees .banner-title {
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: none;
}
.baner-trainees .banner-icon img {
    border: 2px solid var(--primary-color);
    background: #fff;
}
.baner-trainees .banner-desc {
    color: #fff;
    font-weight: 500;
}

/* ===== Unique Trainee Banner Styles ===== */
.trainee-banner-unique {
    position: relative;
    width: 100%;
    background: linear-gradient(120deg, #f7f7fa 60%, #fff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trainee-banner-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(135deg, #f7f7fa 0 40px, #fff 40px 80px);
    opacity: 0.7;
    z-index: 1;
}
.trainee-banner-circles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}
.trainee-banner-circles .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    background: var(--primary-color);
}
.trainee-banner-circles .circle1 {
    width: 120px; height: 120px;
    top: 18%; left: 8%;
    background: var(--primary-color);
}
.trainee-banner-circles .circle2 {
    width: 80px; height: 80px;
    bottom: 12%; right: 10%;
    background: var(--third-color);
    opacity: 0.13;
}
.trainee-banner-circles .circle3 {
    width: 44px; height: 44px;
    bottom: 22%; left: 22%;
    background: var(--primary-color);
    opacity: 0.09;
}
.trainee-banner-content {
    position: relative;
    z-index: 3;
    color: var(--header-color);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.trainee-banner-svg svg {
    width: 64px;
    height: 64px;
    box-shadow: 0 4px 24px 0 rgba(4,31,138,0.10);
    border-radius: 50%;
    background: #fff;
    padding: 4px;
}
.trainee-banner-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: none;
    line-height: normal;
}
.trainee-banner-desc {
    font-size: 1.15rem;
    color: var(--header-color);
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
    font-weight: 500;
}

/* ===== End Unique Trainee Banner Styles ===== */











/* ===== Courses Section Styles ===== */
.courses-section {
    background: linear-gradient(120deg, #fff 80%, #f7f7fa 100%);
    position: relative;
    z-index: 2;
}
.courses-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.courses-desc {
    color: var(--header-color);
    font-size: 1.1rem;
    margin-bottom: 0;
}
.courses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.course-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(31, 38, 135, 0.07);
    padding: 32px 22px 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: box-shadow 0.22s, transform 0.22s;
    min-height: 340px;
    overflow: hidden;
}
.course-card:hover {
    box-shadow: 0 8px 32px 0 var(--box_shadow);
    transform: translateY(-8px) scale(1.035);
    z-index: 2;
}
.course-icon {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.3s;
}
.course-html .course-icon { color: #e44d26; }
.course-css .course-icon { color: #1572b6; }
.course-js .course-icon { color: #f7df1e; text-shadow: 0 2px 8px #f7df1e44; }
.course-react .course-icon { color: #61dafb; text-shadow: 0 2px 8px #61dafb44; }

.course-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--header-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}
.course-badge {
    display: inline-block;
    background: var(--text-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 3px 16px;
    margin-bottom: 12px;
    margin-top: 2px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
}
.course-desc {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 18px;
    min-height: 56px;
    text-align: center;
}
.btn-course {
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    padding: 8px 24px;
    box-shadow: 0 2px 12px 0 rgba(31,38,135,0.07);
    transition: background 0.2s, color 0.2s;
}
.btn-course:hover {
    background: var(--third-color);
    color: #fff;
}

/* ===== End Courses Section Styles ===== */











/* ===== Course Details Banner Styles ===== */
.course-details-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(120deg, #f7f7fa 70%, #fff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.course-details-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(135deg, #f7f7fa 0 40px, #fff 40px 80px);
    opacity: 0.7;
    z-index: 1;
}
.course-details-circles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}
.course-details-circles .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.13;
    background: var(--primary-color);
}
.course-details-circles .circle1 {
    width: 90px; height: 90px;
    top: 18%; left: 7%;
    background: var(--primary-color);
}
.course-details-circles .circle2 {
    width: 38px; height: 38px;
    bottom: 18%; right: 12%;
    background: var(--third-color);
    opacity: 0.09;
}
.course-details-content {
    position: relative;
    z-index: 3;
    color: var(--header-color);
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.course-details-svg svg {
    width: 64px;
    height: 64px;
    box-shadow: 0 4px 24px 0 rgba(4,31,138,0.10);
    border-radius: 50%;
    background: #fff;
    padding: 4px;
}
.course-details-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: none;
}
.course-details-badge {
    display: inline-block;
    background: var(--text-color);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 3px 18px;
    margin-bottom: 12px;
    margin-top: 2px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.10);
}
.course-details-desc {
    color: var(--header-color);
    font-size: 1.08rem;
    margin-bottom: 18px;
    min-height: 40px;
    text-align: center;
    font-weight: 500;
}
.btn-course-details {
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-size: 1.08rem;
    font-weight: 700;
    padding: 10px 32px;
    box-shadow: 0 2px 12px 0 rgba(31,38,135,0.07);
    transition: background 0.2s, color 0.2s;
}
.btn-course-details:hover {
    background: var(--third-color);
    color: #fff;
}

/* ===== End Course Details Banner Styles ===== */











/* ===== Course Details V3 - Professional & Asymmetrical Layout ===== */
.course-details-v3 {
    background-color: #f8f9fa;
}
.course-box-v3 {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}
.box-title-v3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--header-color);
    margin-bottom: 24px;
}
.learn-grid-v3 {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.learn-grid-v3 li {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}
.learn-grid-v3 i {
    color: var(--primary-color);
    margin-left: 10px;
}

/* Curriculum Accordion V3 */
.curriculum-accordion-v3 .card {
    border: none;
    background: transparent;
}
.curriculum-accordion-v3 .card-header {
    padding: 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 10px;
}
.btn-link-v3 {
    width: 100%;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--header-color);
    text-decoration: none !important;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
    outline: none !important;
}
.btn-link-v3.btn:focus{
    outline: none;
    box-shadow: none;
}
.curriculum-accordion-v3 .card{
    margin-bottom: 1rem;
    border-radius: 5px;
    background-color: var(--white-color);
    box-shadow: 0px 0px 25px 0px #e9ecef;
}
.module-title-v3 {
    display: flex;
    align-items: center;
}
.module-number-v3 {
    background-color: #f8f9fa;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}
.collapse-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 13px;
}
.btn-link-v3.collapsed .collapse-icon {
    transform: rotate(-90deg);
}
.lesson-list-v3 {
    list-style: none;
    padding: 20px;
}
.lesson-list-v3 li {
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
}
.lesson-list-v3 li i {
    color: var(--third-color);
    margin-left: 8px;
}
.lesson-duration {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Instructor Box V3 */
.instructor-img-v3 {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    margin-left: 20px;
}
.instructor-name-v3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--header-color);
}
.instructor-bio-v3 {
    color: var(--text-color);
}

/* Summary Card V3 */
.course-summary-card-v3 {
    position: sticky;
    top: 120px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}
.video-preview-v3 {
    position: relative;
    cursor: pointer;
}
.video-preview-v3 img { width: 100%; }
.play-button-overlay-v3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.video-preview-v3:hover .play-button-overlay-v3 {
    opacity: 1;
}
.summary-body-v3 {
    padding: 24px;
}
.price-tag-v3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--header-color);
    margin-bottom: 15px;
}
.btn-enroll-v3 {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    padding: 12px;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s;
}
.btn-enroll-v3:hover {
    background-color: var(--third-color);
    color: #fff;
}
.course-meta-list-v3 {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.course-meta-list-v3 li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}
.course-meta-list-v3 li:last-child {
    border-bottom: none;
}
.course-meta-list-v3 strong {
    color: var(--header-color);
    font-weight: 600;
}
.course-meta-list-v3 span {
    color: var(--text-color);
}
.course-meta-list-v3 i {
    color: var(--primary-color);
    margin-left: 8px;
}
.btn-gift-v3 {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px;
    transition: background-color 0.3s, color 0.3s;
}
.btn-gift-v3:hover {
    background-color: var(--primary-color);
    color: #fff;
}






/* Vision, Mission, Values Section */
.vision-mission-section {
    background-color: #f8f9fa;
}

.vmv-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.vmv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.vmv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vmv-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-color);
    margin-bottom: 15px;
}

.vmv-text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}





/* Our Achievements Section */
.our-achievements-section {
    background-color: var(--white-color);
}

.achievement-card {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--header-color);
}

.achievement-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}








/* ===== Blogs Section ===== */
.blogs-section {
    background-color: #f8f9fa;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.blog-card-img-container {
    display: block;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-decoration: none !important;
    align-self: flex-start;
    transition: background-color 0.3s;
    position: relative;
    z-index: 2;
}

.blog-category:hover {
    background-color: var(--third-color);
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-title a {
    color: var(--header-color);
    text-decoration: none !important;
    transition: color 0.3s;
}

.blog-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
}

.author-name {
    font-weight: 600;
    color: var(--header-color);
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
}

.blog-details-banner-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.blog-details-banner-meta .meta-item {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    gap: 5px;

}

.blog-details-banner-meta .meta-item.category {
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    color: #fff !important;
    text-decoration: none !important;
    transition: background-color 0.3s;
}

.blog-details-banner-meta .meta-item.category:hover {
    background-color: var(--third-color);
}

.blog-details-banner-meta .meta-item i {
    margin-left: 5px;
    color: var(--primary-color);
}




/* ===== Blog Details Area ===== */
.blog-details-area {
    background-color: #fff;
}

.blog-details-content {
    direction: rtl;
    text-align: right;
}

.blog-details-img img {
    width: 100%;
    border-radius: 15px;
}

.blog-details-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4c4c4c;
    margin-bottom: 20px;
}

.blog-details-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-color);
    margin: 30px 0 15px;
}

.custom-blockquote {
    background-color: #f8f9fa;
    border-right: 5px solid var(--primary-color);
    padding: 15px;
    margin: 30px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--header-color);
}

.custom-blockquote footer {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 10px;
    font-style: normal;
}

.blog-details-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.blog-details-content ul li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.blog-details-content ul li::before {
    content: '\f058'; /* FontAwesome check-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary-color);
}

.tags-and-share .tags a {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--text-color) !important;
    padding: 5px 15px;
    border-radius: 5px;
    margin-left: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none !important;
}

.tags-and-share .tags a:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

.share-links span {
    font-weight: 600;
    margin-left: 10px;
}

.share-links a {
    color: var(--text-color);
    margin: 0 5px;
    transition: color 0.3s;
}

.share-links a:hover {
    color: var(--primary-color);
}

.author-box-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: start;
    margin-bottom: 10px;
}

.author-box-details .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: 20px;
}

.author-box-details h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--header-color);
    margin-bottom: 5px;
}
.author-box-details .author-info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}
/* Sidebar Styles */
.sidebar .sidebar-widget {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: right;
}

.sidebar .widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--header-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.search-form button {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px 0 0 5px;
}

.recent-posts li {
    list-style: none;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts a {
    color: var(--header-color);
    font-weight: 600;
    text-decoration: none !important;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.recent-posts a:hover {
    color: var(--primary-color);
}

.post-date {
    font-size: 0.85rem;
    color: #888;
}

.category-list li {
    list-style: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
}









/* ===== FAQ Section ===== */
.faq-section {
    background-color: #f8f9fa;
}

.faq-card {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px !important; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-header {
    background-color: #fff;
    padding: 0;
    border-bottom: none;
}

.faq-header .btn-link {
    width: 100%;
    font-weight: 600;
    color: var(--header-color);
    padding: 20px;
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header .btn-link:hover {
    color: var(--primary-color);
}

.faq-header .btn-link::after {
    content: '\f078'; /* down-arrow */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.faq-header .btn-link[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.faq-body {
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.7;
    padding: 0 14px 10px;
    text-align: right;
}






/* ===== Login Page ===== */

.login-classic-bg {
    min-height: 100vh;
    background: #f4f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
}

.login-classic-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07);
    padding: 40px 30px 30px 30px;
    max-width: 460px;
    width: 100%;
    margin: auto;
    text-align: center;
}

.login-classic-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
    padding: 6px;
}

.login-classic-title {
    color: var(--header-color);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.login-classic-form .form-group {
    text-align: right;
    margin-bottom: 18px;
}

.login-classic-form label {
    color: var(--header-color);
    font-weight: 600;
    margin-bottom: 6px;
}

.login-classic-form .form-control {
    border-radius: 7px;
    border: 1px solid #e0e0e0;
    height: 46px;
    font-size: 1rem;
    background: #f9f9fb;
    transition: border-color 0.2s;
}

.login-classic-form .form-control:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(196,43,41,0.07);
}

.btn-classic-login {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(196,43,41,0.07);
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-classic-login:hover {
    background: var(--third-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(4,31,138,0.09);
}

.login-classic-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s;
}

.login-classic-link:hover {
    color: var(--third-color);
}



/* ===== Privacy Policy Section ===== */
.privacy-policy-section {
    background-color: #f8f9fa;
}

.policy-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-right: 5px solid var(--primary-color);
    text-align: right;
}

.policy-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--header-color);
    margin-bottom: 15px;
}

.policy-text {
    color: var(--text-color);
    line-height: 1.8;
}



/* ===================================
    Course Registration Success Page
====================================== */
.registration-success-section {
    background-color: #f8f9fa;
}

.registration-success-wrapper {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    padding: 50px 30px;
}

.success-icon {
    font-size: 6rem;
    color: #28a745;
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.success-message {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 15px auto 30px auto;
    line-height: 1.8;
}

.success-message strong {
    color: var(--primary-color);
}
