﻿:root {
    --primary-blue: #003973;
    --secondary-blue: #00b8f1;
    --accent-blue: #005aa9;
    --light-bg: #e3ecf5;
    --text-dark: #1d2a36;
    --dark-blue: #003a76;
    --bs-btn-color: #003973 !important;
    --btn-outline-primary: #003973 !important;
}

.text-primary {
    color: #003973 !important
}

body {
    font-family: 'Assistant', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f7fb;
    color: var(--text-dark);
}

a {
    text-decoration: none;
}

/* ---------- NAVBAR ---------- */
.main-navbar {
    background-color: #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

    .main-navbar .navbar-brand img {
        height: 32px;
    }

.btn-outline-primary-round {
    border-radius: 30px;
    border-width: 1.5px;
    padding: 0.4rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-outline-primary {
    border-color: #003973;
    color: #003973;
}

.full-center {
    margin-top:40px;
    display: flex; /* تفعيل Flexbox */
    flex-direction: column; /* ترتيب العناصر عمودي */
    justify-content: center; /* توسيط عمودي */
    align-items: center; /* توسيط أفقي */
    text-align: center; /* لضبط النصوص */
    padding: 0 20px; /* هام لتفادي الالتصاق في الشاشات الصغيرة */
}


/* ---------- HERO ---------- */
.hero-section {
    background-image: url('../images/hero.png');
    border-radius: 35px;
    padding: 3.5rem 4rem;
    margin-top: 1.25rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

.hero-cta-btn {
    border-radius: 30px;
    border: 1px solid #fff;
    padding: 0.35rem 1.5rem 0.35rem 0.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

    .hero-cta-btn .icon-circle {
        width: 40px;
        height: 40px;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
    }

.hero-social-list .social-icon {
    width: 42px;
    height: 42px;
    border-radius: 20px;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hero-graphic-wrapper {
    text-align: center;
}

.hero-graphic {
    max-height: 340px;
    width: auto;
}

/* ---------- STATS STRIP ---------- */
.stats-strip {
    background-color: #ffffff;
    border-radius: 35px;
    padding: 2.25rem 3.5rem;
    margin-top: 1.5rem;
}

.stat-item-number {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-item-label {
    font-size: 1.05rem;
    font-weight: 600;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
}

/* ---------- SERVICES ---------- */
.services-section {
    padding: 2rem 0;
}

.services-wrapper {
    border-radius: 24px;
    padding: 2.5rem 2.5rem 2rem;
}

.service-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.service-icon-img {
    width: 60px; /* عدّل القيم حسب التصميم */
    height: 60px;
    object-fit: contain; /* حتى لا يتم تمديد الصورة */
    display: block;
}

.services-divider {
    width: 50%; /* نصف عرض الحاوية */
    margin: 0 auto; /* لتوسيط الخط */
    border: none; /* إزالة النمط الافتراضي */
    border-top: 2px solid #003e7e; /* لون وسمك الخط */
    opacity: 1; /* إظهار كامل بدون شفافية Bootstrap */
}


.service-title {
    font-size: 1.35rem;
    font-weight: 600;
}

.service-text {
    font-size: 0.98rem;
}

/* ---------- ACADEMY ---------- */

.academy-icon {
    width: 20px; /* الحجم المناسب حسب التصميم */
    height: 20px;
    object-fit: contain;
    display: inline-block;
}

.badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(112,112,112,0.15);
}


.academy-section {
    padding: 2.5rem 0;
}

.academy-gallery img {
    border-radius: 30px;
    height: 310px;
    object-fit: cover;
}

.academy-gallery .col-md-4:nth-child(2) img {
    margin-top: -20px;
}

.academy-badges .badge-icon {
    width: 45px;
    height: 45px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.academy-list-item i {
    color: var(--primary-blue);
    margin-right: 0.4rem;
}

/* ---------- EVENTS & WEBINARS ---------- */
.events-section {
    padding: 2.5rem 0;
}

.events-box,
.calendar-box {
    border-radius: 35px;
    padding: 1.5rem;
    height: 100%;
}

.event-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.event-meta {
    font-size: 0.82rem;
    opacity: 0.7;
}

.event-tag-online {
    border-radius: 8px;
    border: 1px solid #2a7e19;
    padding: 0.2rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2a7e19;
}

.event-tag-register {
    border-radius: 8px;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    background-color: var(--primary-blue);
    color: #ffffff;
}

.calendar-header .badge {
    background-color: #dce3eb;
    color: var(--primary-blue);
    border-radius: 0;
}

    .calendar-header .badge:first-child {
        border-radius: 8px 0 0 0;
    }

    .calendar-header .badge:last-child {
        border-radius: 0 8px 0 0;
    }

.calendar-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.8rem;
}

    .calendar-table th,
    .calendar-table td {
        border: 1px solid #d7e8fa;
        padding: 0.45rem;
        text-align: right;
        vertical-align: top;
        background-color: #ffffff;
    }

        .calendar-table td.active-day {
            background-color: #dce3eb;
        }

.calendar-footer .btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---------- EXPERT TEAM ---------- */
.expert-section {
    padding: 2.5rem 0;
}

.expert-card {
    border-radius: 35px;
    padding: 1.5rem 1.75rem;
    height: 100%;
}

    .expert-card p {
        font-size: 0.95rem;
    }

.expert-profile {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.expert-avatar {
    width: 60px;
    height: 60px;
    border-radius: 24px;
    background-color: #dce3eb;
    background-position: center;
    background-size: cover;
    margin-right: 0.9rem;
}

.expert-name {
    font-weight: 600;
    font-size: 1.05rem;
}

.expert-role {
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.expert-exp {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    padding: 2.5rem 0 0;
}

.testimonial-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 32px;
    padding: 1.6rem 1.7rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.7rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #dce3eb;
    background-position: center;
    background-size: cover;
}

.testimonial-meta {
    font-size: 0.8rem;
    color: #003973;
}

    .testimonial-meta span:last-child {
        opacity: 0.45;
        display: block;
    }

.testimonial-title {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.stars i {
    color: #e4c528;
    margin-right: 2px;
}

.btn-show-more-testimonials {
    margin-top: 1rem;
    border-radius: 20px;
    padding: 0.4rem 1.4rem;
    font-size: 0.9rem;
}

/* ---------- COMMUNITY CTA ---------- */
.community-section {
    padding: 3rem 0;
}

.community-banner {
    border-radius: 35px;
    background-image: url('../images/hero.png');
    color: #ffffff;
    padding: 3rem 3.5rem;
    text-align: center;
}

/* ---------- BLOG ---------- */
.blog-section {
    padding: 2.5rem 0;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .blog-card img {
        height: 180px;
        object-fit: cover;
    }

.blog-body {
    padding: 1rem 1.1rem 1.25rem;
}

.blog-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.blog-meta {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ---------- FINAL CTA STRIP ---------- */
.final-cta-section {
    padding: 2.5rem 0 1rem;
}

.final-cta-box {
    border-radius: 35px;
    padding: 2rem 2.5rem;
    text-align: center;
}

/* FOOTER */
.main-footer {
    background: rgba(0, 58, 118, 1);
    color: #ffffff;
    border-radius: 35px;
    margin: 0 0 1.5rem;
    padding-top: 3rem;
}

.footer-inner {
    max-width: 1207px;
    margin: 0 auto;
}

.footer-logo img {
    height: 54px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 20px;
    background-color: #ffffff;
    border: 1px solid rgba(112,112,112,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.4rem;
    font-size: 1rem;
}

    .footer-social a.facebook {
        color: #3d5a98;
    }

    .footer-social a.instagram {
        background: radial-gradient(92.18% 99.11% at 26.56% 107.7%, #ffdd55 0%, #ffdd55 10%, #ff543e 50%, #c837ab 100%);
        color: #ffffff;
    }

    .footer-social a.linkedin {
        color: #0076b2;
    }

    .footer-social a.twitter {
        color: #000000;
    }

.footer-column-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.footer-link {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.footer-divider {
    border-top: 1px solid #26c0f2;
    margin: 1.25rem 0;
}

.footer-bottom-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 991.98px) {
    .main-footer {
        border-radius: 0;
    }
}

@media (max-width: 767.98px) {
    .academy-title,
    .courses-title {
        font-size: 2rem;
    }

    .course-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

<!-- About -->


/* ABOUT HEADER */
.about-header-section {
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.about-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
}

/* WHO WE ARE */
.who-we-are-section {
    padding: 1.5rem 0 2.5rem;
}

.who-we-are-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.who-we-are-text {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
}

.who-we-are-btn {
    margin-top: 1.5rem;
    background-color: var(--primary-blue);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

    .who-we-are-btn:hover {
        background-color: #002c5b;
        color: #ffffff;
    }

.who-we-are-image-wrapper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.12);
}

    .who-we-are-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ===== VALUES / MISSION / VISION ===== */

.vmv-section {
    padding: 22px 0 40px;
    background-color: #F3F6FB;
}

.vmv-wrapper {
    max-width: 1467px;
    margin: 0 auto;
}

/* ===== CARD BASE ===== */

.vmv-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 30px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    min-height: 538px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* تحريك Values و Vision للأسفل قليلاً مثل تصميم Figma */
.vmv-values,
.vmv-vision {
    margin-top: 3.5rem; /* عدّل القيمة حسب ما تراه مناسبًا */
}

/* محتوى النص داخل الكارد */
.vmv-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 301px;
}

/* ===== TEXT STYLE ===== */

.vmv-overline {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #1D2A36;
    margin: -8px 0 0.1rem;
}

.vmv-title {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: #1D2A36;
    margin-bottom: 18px;
}

.vmv-text {
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #1D2A36;
}

/* ===== BACKGROUND SHAPE (WATERMARK) ===== */

.vmv-card::before {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.10;
    pointer-events: none;
}

/* Values – النجمة */
.vmv-values::before {
    width: 513px;
    height: 513px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../images/icon10.svg");
}

/* Mission – شكل المفتاح/الهدف */
.vmv-mission::before {
    width: 358px;
    height: 358px;
    left: 75%;
    top: -80px;
    transform: translateX(-50%);
    background-image: url("../images/icon9.svg");
}

/* Vision – العين في أسفل اليمين */
.vmv-vision::before {
    width: 329px;
    height: 329px;
    left: 90px;
    top: 310px;
    background-image: url("../images/icon8.svg");
}

/* ===== ALIGNMENT PER CARD ===== */

/* Values → النص في منتصف الكارد */
.vmv-values {
    display: flex;
    flex-direction: column;
    justify-content: center; /* وسط عمودي */
    align-items: flex-start; /* محاذاة يسار */
}

    .vmv-values .vmv-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

/* Mission → النص في أسفل الكارد */
.vmv-mission {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .vmv-mission .vmv-content {
        margin-top: auto; /* يدفع المحتوى لأسفل */
        padding-bottom: 32px;
    }

/* Vision → النص في أعلى الكارد */
.vmv-vision {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* أعلى */
    align-items: flex-start;
}

    .vmv-vision .vmv-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .vmv-wrapper {
        padding-inline: 40px;
    }
}

@media (max-width: 992px) {
    .vmv-card {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .vmv-wrapper {
        padding-inline: 16px;
    }

    .vmv-card {
        min-height: 380px;
        padding: 32px 24px;
    }

    .vmv-values::before,
    .vmv-mission::before,
    .vmv-vision::before {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.8);
    }

    .vmv-values,
    .vmv-vision {
        margin-top: 1.5rem;
    }
}



/* EXPERT TEAM */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
}

.expert-section {
    padding: 2.5rem 0;
}

.expert-card {
    border-radius: 35px;
    padding: 1.75rem 1.75rem 1.5rem;
    text-align: center;
    height: 100%;
}

.expert-photo {
    width: 100px;
    height: 100px;
    border-radius: 40px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

    .expert-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.expert-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.expert-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: -0.25rem;
}

.expert-exp {
    font-size: 0.8rem;
    color: var(--primary-blue);
    opacity: 0.4;
}

.expert-desc {
    font-size: 0.95rem;
    margin-top: 0.75rem;
}

.expert-social {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

    .expert-social a {
        width: 42px;
        height: 42px;
        border-radius: 20px;
        border: 1px solid rgba(112, 112, 112, 0.1);
        background-color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
    }

    .expert-social .linkedin {
        color: #0076b2;
    }

    .expert-social .twitter-x {
        color: #000000;
    }

.expert-book-btn {
    margin-top: 1rem;
    background-color: var(--primary-blue);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.45rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
}

/* STATS STRIP */
.stats-strip {
    background-color: #ffffff;
    border-radius: 35px;
    padding: 2.5rem 3.5rem;
    margin: 0 auto 2.5rem;
}

.stat-item-number {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark-blue);
}

.stat-item-label {
    font-size: 1.05rem;
    font-weight: 600;
}

/* PROFESSIONAL CERTIFICATIONS */
.cert-section {
    padding: 0 0 3rem;
}

/* إطار رئيسي مطابق للـ Figma */
.cert-wrapper {
    max-width: 1467px;
    margin-inline: auto;
    border-radius: 35px;
    overflow: hidden;
    background-color: #eef2f7; /* لون الخلفية الفاتح في الجزء الأيمن */
}

    /* إزالة الهوامش بين الأعمدة داخل الـ wrapper */
    .cert-wrapper .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

/* الجانبان */
.cert-left,
.cert-right {
    padding: 3.5rem 3.75rem;
}

/* الجزء الأيسر */
.cert-left {
    background-color: var(--dark-blue);
    color: #ffffff;
    position: relative;
    display: flex;
    align-items: center; /* تقريباً في منتصف الارتفاع كما في Figma */
}

/* محتوى النص في اليسار */
.cert-left-inner {
    position: relative;
    z-index: 1;
}

/* الخلفية الشفافة مع الأشكال حسب Figma */
.cert-left::after {
    content: "";
    position: absolute;
    inset: -20%;
    opacity: 0.08;
    background-image: url("assets/icons/certificate-bg.svg");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: -20% -10%;
}

/* العناوين */
.cert-heading {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.cert-subheading {
    font-size: 1.02rem;
    font-weight: 500;
    margin-bottom: 1.1rem;
    line-height: 1.5;
}

/* اللائحة بالنِّقاط البيضاء كما في Figma */
.cert-list {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0;
    padding-left: 1.1rem; /* مسافة النِّقاط عن النص */
}

    .cert-list li + li {
        margin-top: 0.15rem;
    }

/* الجزء الأيمن */
.cert-right {
    padding: 0; /* مهم جداً حتى لا يزيد الارتفاع */
    display: flex;
}

.cert-bg-img {
    width: 100%;
    height: auto;
    display: block;
}

/* شبكة الأيقونات: عمودين، 3 صفوف (الأخير به أيقونة واحدة) */
.cert-icons-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.1rem;
    row-gap: 1.6rem;
    justify-items: center;
    /* هذه هي النقطة المهمة */
    align-content: space-between; /* أول صف عند أعلى القسم، وآخر صف عند أسفله */
}

/* بما أن الـ SVG يحتوي الخلفية، لا نضيف خلفية إضافية هنا */
.cert-icon-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* حجم الأيقونات مثل الكروت في Figma */
    .cert-icon-card img {
        display: block;
        max-width: 140px;
        width: 100%;
        height: auto;
    }

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .cert-left,
    .cert-right {
        padding: 2.5rem 2rem;
    }

    .cert-wrapper {
        border-radius: 24px;
    }

    .cert-icons-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 1.25rem;
        column-gap: 1.25rem;
    }

    .cert-left-inner {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .cert-heading {
        font-size: 1.8rem;
    }

    .cert-subheading {
        font-size: 0.95rem;
    }

    .cert-icon-card img {
        max-width: 120px;
    }
}


/* READY TO CHAT CTA */
.chat-section {
    padding: 2.5rem 0 3rem;
    text-align: center;
}

.chat-title {
    font-size: 2.4rem;
    font-weight: 800;
}

.chat-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
}

.chat-actions {
    margin-top: 1rem;
    display: inline-flex;
    gap: 0.75rem;
}

    .chat-actions .btn-primary {
        background-color: var(--primary-blue);
        border-radius: 8px;
    }

    .chat-actions .btn-outline-primary {
        border-color: rgba(0, 57, 115, 0.4);
        color: var(--primary-blue);
        border-radius: 8px;
    }

@media (max-width: 991.98px) {
    .stats-strip {
        padding-inline: 2rem;
    }

    .cert-left,
    .cert-right {
        padding: 2.25rem 2rem;
    }

    .main-footer {
        border-radius: 0;
    }
}

@media (max-width: 767.98px) {
    .about-title {
        font-size: 2rem;
    }

    .who-we-are-title {
        font-size: 2.1rem;
    }

    .cert-icons-grid {
        grid-template-columns: 1fr;
    }
}


/* HEADER */
.services-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.services-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
}

/* SERVICES GRID */
.services-grid-section {
    padding-bottom: 2.5rem;
}

.service-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 2.5rem 2.4rem;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.12);
    height: 100%;
    overflow: hidden;
}

    .service-card::before {
        /* الخلفية الأيقونية الباهتة */
        content: "";
        position: absolute;
        inset: 8%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        opacity: 0.08;
        pointer-events: none;
    }

    /* اربط كل كرت بأيقونة مختلفة إذا توفرت لديك ملفات SVG/PNG */
    .service-card.dt::before {
        background-image: url("assets/services/digital-transformation.svg");
    }

    .service-card.os::before {
        background-image: url("assets/services/organization-strategy.svg");
    }

    .service-card.dm::before {
        background-image: url("assets/services/data-management.svg");
    }

    .service-card.ea::before {
        background-image: url("assets/services/enterprise-architecture.svg");
    }

    .service-card.pm::before {
        background-image: url("assets/services/process-management.svg");
    }

    .service-card.tc::before {
        background-image: url("assets/services/technology-consultation.svg");
    }

    .service-card.cs::before {
        background-image: url("assets/services/cyber-security.svg");
    }

    .service-card.fa::before {
        background-image: url("assets/services/financial-analysis.svg");
    }

    .service-card.hr::before {
        background-image: url("assets/services/hr-services.svg");
    }

.service-card-inner {
    position: relative;
    z-index: 1;
}

.service-number {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: -0.1rem;
}

.service-title {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-features-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.service-features {
    font-size: 1rem;
    margin-bottom: 0;
    padding-left: 1.1rem;
}

    .service-features li {
        margin-bottom: 0.1rem;
    }

/* CUSTOM CONSULTATION CTA */
.custom-section {
    padding: 2rem 0 3rem;
    text-align: center;
}

.custom-title {
    font-size: 2.3rem;
    font-weight: 800;
}

.custom-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
}

.custom-actions {
    margin-top: 1rem;
    display: inline-flex;
    gap: 0.75rem;
}

    .custom-actions .btn-primary {
        background-color: var(--primary-blue);
        border-radius: 8px;
    }

    .custom-actions .btn-outline-primary {
        border-radius: 8px;
        border-color: rgba(0, 57, 115, 0.4);
        color: var(--primary-blue);
    }


/*services icons*/

/* تحريك Values و Vision للأسفل قليلاً مثل تصميم Figma */
.vmv-up,
.vmv-center {
    margin-top: 3.5rem; /* عدّل القيمة حسب ما تراه مناسبًا */
}

/* النص في منتصف الكارد */
.vmv-center {
    display: flex;
    flex-direction: column;
    justify-content: center; /* وسط عمودي */
    align-items: flex-start; /* محاذاة يسار */
}

.vmv-center .vmv-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* النص في أسفل الكارد */
.vmv-down {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .vmv-down .vmv-content {
        margin-top: auto; /* يدفع المحتوى لأسفل */
        padding-bottom: 32px;
    }

/* النص في أعلى الكارد */
.vmv-up {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* أعلى */
    align-items: flex-start;
}

    .vmv-up .vmv-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }


/* dt – النجمة */
.vmv-dt::before {
    width: 513px;
    height: 513px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../images/services/1.svg");
}



/* os – شكل المفتاح/الهدف */
.vmv-os::before {
    width: 358px;
    height: 358px;
    left: 75%;
    top: -80px;
    transform: translateX(-50%);
    background-image: url("../images/services/2.svg");
}

/* dm – العين في أسفل اليمين */
.vmv-dm::before {
    width: 329px;
    height: 329px;
    left: 90px;
    top: 310px;
    background-image: url("../images/services/3.svg");
}


/* dt – النجمة */
.vmv-ea::before {
    width: 513px;
    height: 513px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../images/services/4.svg");
}



/* os – شكل المفتاح/الهدف */
.vmv-pm::before {
    width: 358px;
    height: 358px;
    left: 75%;
    top: -80px;
    transform: translateX(-50%);
    background-image: url("../images/services/5.svg");
}

/* dm – العين في أسفل اليمين */
.vmv-tc::before {
    width: 329px;
    height: 329px;
    left: 90px;
    top: 310px;
    background-image: url("../images/services/6.svg");
}

/* dt – النجمة */
.vmv-cs::before {
    width: 513px;
    height: 513px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../images/services/7.svg");
}

/* os – شكل المفتاح/الهدف */
.vmv-fa::before {
    width: 358px;
    height: 358px;
    left: 75%;
    top: -80px;
    transform: translateX(-50%);
    background-image: url("../images/services/8.svg");
}

/* dm – العين في أسفل اليمين */
.vmv-hs::before {
    width: 329px;
    height: 329px;
    left: 90px;
    top: 310px;
    background-image: url("../images/services/9.svg");
}

/* ---------------------- 410px group (كانت 513px) ---------------------- */

/* dt */
.vmv-dt::before,
.vmv-ea::before,
.vmv-cs::before {
    width: 410px;
    height: 410px;
}

/* ---------------------- 286px group (كانت 358px) ---------------------- */

.vmv-os::before,
.vmv-pm::before,
.vmv-fa::before {
    width: 286px;
    height: 286px;
}

/* ---------------------- 263px group (كانت 329px) ---------------------- */

.vmv-dm::before,
.vmv-tc::before,
.vmv-hs::before {
    width: 263px;
    height: 263px;
}


/*contact*/



/* HEADER */
.contact-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
}

/* CONTACT BLOCKS */
.contact-main-section {
    padding-bottom: 3rem;
}

.contact-card,
.contact-form-wrapper {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 35px 25px;
}

.contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-map {
    border-radius: 4px;
    overflow: hidden;
    height: 150px;
    background-color: #d1d7dd;
}

    .contact-map img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.contact-info-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-info-list {
    font-size: 0.98rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.3rem;
}

    .contact-info-item i {
        color: var(--primary-blue);
        width: 24px;
        text-align: center;
    }

.contact-follow-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-social {
    display: flex;
    gap: 12px;
}

    .contact-social a {
        width: 42px;
        height: 42px;
        border-radius: 20px;
        background-color: #ffffff;
        border: 1px solid rgba(112,112,112,0.1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .contact-social a.facebook {
            color: #3d5a98;
        }

        .contact-social a.instagram {
            background: radial-gradient(92.18% 99.11% at 26.56% 107.7%, #ffdd55 0%, #ffdd55 10%, #ff543e 50%, #c837ab 100%);
            color: #ffffff;
        }

        .contact-social a.linkedin {
            color: #0076b2;
        }

        .contact-social a.twitter {
            color: #000000;
        }

/* FORM */
.contact-form-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form-title {
    font-weight: 700;
    font-size: 1rem;
}

.contact-form-subtitle {
    font-size: 1rem;
}

.contact-label {
    font-size: 0.86rem;
    margin-bottom: 0.2rem;
}

.contact-input,
.contact-select,
.contact-textarea {
    background: rgba(29, 42, 54, 0.05);
    border: 1px solid rgba(0, 57, 115, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    padding: 10px 16px;
}

    .contact-input::placeholder,
    .contact-select::placeholder,
    .contact-textarea::placeholder {
        opacity: 0.5;
    }

.contact-select {
    padding-right: 2.5rem;
}

.contact-textarea {
    min-height: 75px;
    resize: vertical;
}

.contact-submit-btn {
    width: 180px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--primary-blue);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
}

/* FAQ */
.faq-section {
    padding-bottom: 3rem;
    text-align: center;
}

.faq-icon {
    width: 128px;
    height: 128px;
    margin: 0 auto 1.5rem;
}

    .faq-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.faq-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-block {
    text-align: left;
    margin: 1rem auto 0;
    max-width: 1213px;
}

.faq-question {
    font-size: 1.35rem;
    font-weight: 700;
}

.faq-answer {
    font-size: 1.05rem;
}


/* الكارد نفسه */
.contact-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 18px 40px rgba(15, 35, 52, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* رأس الكارد (الصورة + الاسم + الوظيفة) */
.contact-profile {
    text-align: center;
}

/* خلفية دائرية فاتحة للصورة */
.contact-avatar-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 0.9rem;
    background-color: #f1f5fb; /* دائرة الخلفية كما في التصميم */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* الصورة نفسها داخل الدائرة */
.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* الاسم */
.contact-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

/* المسمّى الوظيفي */
.contact-position {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2870c9; /* درجة أزرق قريبة من Figma */
    margin-bottom: 0.1rem;
}

/* سنوات الخبرة */
.contact-experience {
    font-size: 0.8rem;
    color: #8c97a5;
}

/* الـ Bio */
.contact-bio {
    font-size: 0.9rem;
    color: #4c5563;
    line-height: 1.6;
    margin-bottom: 0;
}

/* عنوان Contact Information */
.contact-info-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

/* العناصر (الأيقونة + النص) — إن كان لديك ستايل سابق اتركه كما هو أو عدّله قليلاً */
.contact-info-list {
    font-size: 0.9rem;
    color: #3b4350;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.3rem;
}

    .contact-info-item i {
        margin-top: 0.1rem;
        font-size: 0.95rem;
        color: #2870c9;
    }

/* Follow us */
.contact-follow-title {
    font-size: 0.9rem;
    font-weight: 700;
}

/* الدوائر الخاصة بأيقونات السوشال */
.contact-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e1e6ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #3b4350;
    background-color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .contact-social a + a {
        margin-left: 0.5rem;
    }

    .contact-social a:hover {
        border-color: #2870c9;
        color: #2870c9;
    }


/*Courses*/
/* HEADER (Truspark Academy) */
.academy-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.academy-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.academy-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
}

.academy-start-btn {
    margin-top: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 0 4px;
    height: 50px;
    border-radius: 30px;
    border: 1px solid #003a76;
    background-color: #ffffff;
}

.academy-start-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 30px;
    background: rgba(0, 58, 118, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.academy-start-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

    .academy-start-icon i {
        font-size: 16px;
        color: #003a76;
    }

.academy-start-text {
    font-size: 18px;
    font-weight: 600;
    color: #003a76;
}

/* AVAILABLE COURSES SECTION */
.courses-section {
    padding: 1rem 0 3rem;
}

.courses-header {
    text-align: center;
    margin-bottom: 2rem;
}

.courses-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.courses-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
}

.course-card {
    border-radius: 35px;
    padding: 0 24px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.course-image-wrapper {
    position: relative;
    width: 100%;
    height: 246px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

    .course-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.course-level-badge {
    position: absolute;
    left: 9px;
    top: 9px;
    padding: 6px 8px;
    background-color: #dce3eb;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    line-height: 13px;
}

.course-content {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
}

.course-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

    .course-meta span {
        display: flex;
        align-items: center;
    }

.course-duration {
    color: #9ca3af;
}

.course-price {
    color: var(--primary-blue);
}

.course-enroll-btn {
    border-radius: 8px;
    border: 1px solid rgba(0, 57, 115, 0.4);
    background-color: transparent;
    padding: 0 12px;
    height: 36px;
    font-size: 16px;
    color: var(--primary-blue);
}


/* ===== COURSES LAYOUT ===== */

.courses-section {
    padding: 40px 0 60px;
}

.courses-header {
    text-align: center;
    margin-bottom: 28px;
}

.courses-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.courses-subtitle {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Layout: sidebar + content */
.courses-layout {
    align-items: flex-start;
}

/* ===== FILTER SIDEBAR ===== */

.courses-filters-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 90px; /* حسب ارتفاع الهيدر لديك */
}

.filters-header {
    margin-bottom: 14px;
}

.filters-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.filters-subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.filter-checkbox-list,
.filter-radio-list {
    padding-left: 2px;
}

    .filter-checkbox-list .form-check,
    .filter-radio-list .form-check {
        margin-bottom: 4px;
        font-size: 0.9rem;
    }

.reset-filters-btn {
    border-radius: 999px;
    border: 1px solid #003973;
    background: #f5f8ff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #003973;
}

/* ===== COURSE CARD ===== */

.course-card {
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-image-wrapper {
    position: relative;
    height: 190px;
    overflow: hidden;
}

    .course-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.course-level-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    background: #0b2b57;
    color: #fff;
    text-transform: uppercase;
}

.course-content {
    padding: 16px 18px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.course-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.course-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.8;
}

.course-price {
    font-weight: 700;
    color: #003973;
}

.course-enroll-btn {
    border-radius: 999px;
    border: none;
    padding: 7px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #003973;
    color: #fff;
    width: 100%;
    text-align: center;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991.98px) {
    .courses-filters-card {
        position: static;
        margin-bottom: 16px;
    }
}


/* ===== EXPERT SECTION LAYOUT ===== */

.expert-section {
    padding: 40px 0 60px;
}

.expert-layout {
    align-items: flex-start;
}

/* Sidebar للفلاتر */
.expert-filters-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 90px; /* عدّلها حسب ارتفاع الهيدر */
}

.filters-header {
    margin-bottom: 14px;
}

.filters-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.filters-subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.filter-checkbox-list {
    padding-left: 2px;
}

    .filter-checkbox-list .form-check {
        margin-bottom: 4px;
        font-size: 0.9rem;
    }

.reset-filters-btn {
    border-radius: 999px;
    border: 1px solid #003973;
    background: #f5f8ff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #003973;
}

/* بطاقات الخبراء (لو لم تكن مهيّأة سابقاً) */
.expert-card-bg {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 20px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.expert-photo img {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 10px;
}

.expert-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.expert-role {
    font-size: 0.9rem;
    color: #003973;
    margin-bottom: 2px;
}

.expert-exp {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.expert-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
    flex-grow: 1; /* لمعادلة ارتفاع الكروت */
}

.expert-social {
    display: flex;
    gap: 8px;
    justify-content: center;
}

    .expert-social a {
        width: 28px;
        height: 28px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        background: #f0f4fb;
        color: #003973;
    }

.expert-book-btn {
    border-radius: 999px;
    border: none;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #003973;
    color: #fff;
    width: 100%;
}

/* Responsive */
@media (max-width: 991.98px) {
    .expert-filters-card {
        position: static;
        margin-bottom: 16px;
    }
}


/* ===== COURSE DETAIL / HERO ===== */

.course-hero-section {
    background-color: #F3F6FB;
}

.course-hero-card {
    border-radius: 30px;
}

.course-hero-image-wrapper {
    max-height: 320px;
    overflow: hidden;
}

.course-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* badges on image */
.course-hero-badge-level,
.course-hero-badge-mode,
.course-hero-badge-category {
    position: absolute;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.68);
    color: #fff;
    backdrop-filter: blur(6px);
}

.course-hero-badge-level {
    left: 16px;
    top: 16px;
    background: #003973;
}

.course-hero-badge-mode {
    left: 16px;
    bottom: 16px;
}

.course-hero-badge-category {
    right: 16px;
    bottom: 16px;
}

/* hero text */
.course-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.course-hero-subtitle {
    font-size: 0.98rem;
    opacity: 0.85;
}

/* meta grid */
.course-hero-meta .meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.7;
}

.course-hero-meta .meta-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.course-hero-meta i {
    font-size: 1rem;
}

/* ===== MAIN BODY CARD ===== */

.course-detail-card {
    border-radius: 30px;
}

.course-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.course-learn-list,
.course-requirements-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

    .course-learn-list li,
    .course-requirements-list li {
        margin-bottom: 0.25rem;
        font-size: 0.95rem;
    }

/* curriculum */
.curriculum-list {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #FAFBFF;
}

.curriculum-item {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

    .curriculum-item:last-child {
        border-bottom: none;
    }

.curriculum-week {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.6;
}

.curriculum-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.curriculum-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== SIDEBAR ===== */

.course-sidebar {
    position: sticky;
    top: 90px; /* عدّل حسب ارتفاع الهيدر */
}

.course-sidebar-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.course-price-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: #003973;
}

.course-price-note {
    font-size: 0.85rem;
    opacity: 0.8;
}

.sidebar-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.sidebar-meta-list i {
    margin-top: 2px;
    font-size: 0.9rem;
    color: #003973;
}

/* instructor */
.instructor-avatar img {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    object-fit: cover;
}

.instructor-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.instructor-role {
    font-size: 0.8rem;
    opacity: 0.7;
}

.instructor-bio {
    font-size: 0.88rem;
    opacity: 0.9;
}

.instructor-social {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: #f0f4fb;
    color: #003973;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991.98px) {
    .course-sidebar {
        position: static;
        margin-top: 1rem;
    }

    .course-hero-image-wrapper {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .course-hero-title {
        font-size: 1.3rem;
    }

    .course-hero-section {
        padding-top: 16px;
    }
}


/* ===== EVENT DETAIL / HERO ===== */

.event-hero-section {
    background-color: #F3F6FB;
}

.event-hero-card {
    border-radius: 30px;
}

.event-hero-image-wrapper {
    max-height: 320px;
    overflow: hidden;
}

.event-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* badges on image */
.event-hero-badge-type,
.event-hero-badge-status,
.event-hero-badge-category {
    position: absolute;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.70);
    color: #fff;
    backdrop-filter: blur(6px);
}

.event-hero-badge-type {
    left: 16px;
    top: 16px;
    background-color: #003973;
}

.event-hero-badge-status {
    left: 16px;
    bottom: 16px;
}

.event-hero-badge-category {
    right: 16px;
    bottom: 16px;
}

/* hero text */
.event-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.event-hero-subtitle {
    font-size: 0.98rem;
    opacity: 0.85;
}

/* meta */
.event-hero-meta .meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.65;
}

.event-hero-meta .meta-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.event-hero-meta i {
    font-size: 1rem;
}

/* ===== EVENT BODY CARD ===== */

.event-detail-card {
    border-radius: 30px;
}

.event-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.event-topics-list,
.event-audience-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

    .event-topics-list li,
    .event-audience-list li {
        margin-bottom: 0.25rem;
        font-size: 0.95rem;
    }

/* agenda */
.event-agenda-list {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #FAFBFF;
}

.event-agenda-item {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

    .event-agenda-item:last-child {
        border-bottom: none;
    }

.agenda-time {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.6;
}

.agenda-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.agenda-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== SIDEBAR ===== */

.event-sidebar {
    position: sticky;
    top: 90px; /* عدّل حسب الهيدر */
}

.event-sidebar-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* date badge */
.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #F3F6FF;
    margin-bottom: 10px;
}

.event-date-day {
    font-size: 1.4rem;
    font-weight: 800;
    color: #003973;
    line-height: 1;
}

.event-date-month-year {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* sidebar meta list */
.event-sidebar-meta li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.event-sidebar-meta i {
    margin-top: 2px;
    font-size: 0.9rem;
    color: #003973;
}

/* price */
.event-sidebar-price {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

    .event-sidebar-price .price-main {
        font-size: 1.4rem;
        font-weight: 800;
        color: #003973;
    }

    .event-sidebar-price .price-note {
        font-size: 0.85rem;
        opacity: 0.8;
    }

/* speakers */
.event-speakers-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.speaker-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    object-fit: cover;
}

.speaker-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.speaker-role {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991.98px) {
    .event-sidebar {
        position: static;
        margin-top: 1rem;
    }

    .event-hero-image-wrapper {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .event-hero-title {
        font-size: 1.3rem;
    }

    .event-hero-section {
        padding-top: 16px;
    }
}


/* ===== BLOG LAYOUT ===== */

.blog-layout {
    align-items: flex-start;
}

/* SIDEBAR */
.blog-filters-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 90px;
}

.filters-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.filter-group {
    margin-bottom: 18px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.filter-checkbox-list .form-check {
    margin-bottom: 4px;
}

.reset-filters-btn {
    border: 1px solid #003973;
    background: #f2f6ff;
    color: #003973;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .blog-filters-card {
        position: static;
        margin-bottom: 20px;
    }
}


@media (max-width: 768px) {
    .main-footer {
        padding: 20px !important;
        margin-right: 10px !important;
        margin-left: 10px !important;
    }

        .main-footer .footer-inner {
            padding: 10px !important;
        }
}




/* ===== Calendar & Event details ===== */

.event-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

td.has-event {
    position: relative;
}

.event-list-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

    .event-list-item:last-child {
        border-bottom: none;
    }

.day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    padding: 0 8px;
    border-radius: 8px;
    background: linear-gradient(90deg,#00b8f1,#007bff);
    color: #fff; 
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

td.has-event .day-number {
    background: linear-gradient(90deg,#003973,#003973);
    color: #fff;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

    .calendar-table td {
        vertical-align: top;
        padding: 3px;
        width: 40px; 
    }

    .calendar-table tbody tr {
        height: 60px;
        width: 60px
    }

    .calendar-table td > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
    }
