/* VARIABLES */
/* =========================================================
   Custom Bootstrap Color Overrides
   Inspired by logo (Light Mode Palette)
   ========================================================= */

/* 🎨 Base Colors */
:root {
    --bs-primary: #009DFF;
    --bs-secondary: #0077B6;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-white: #ffffff;
    --bs-black: #000000;

    /* ⚫ Grays */
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;

    /* 🔵 SGMA Blues */
    --sgma-blue-lightest: #ddf2ff;
    --sgma-blue-lighter: #9edaff;
    --sgma-blue-light: #78d2ff;
    --sgma-blue-100: #4fbbff;
    --sgma-blue-200: #009DFF;
    --sgma-blue-300: #0088dd;
    --sgma-blue-400: #0088dd;
    --sgma-blue-500: #007fcc;
    --sgma-blue-600: #0077B6;
    --sgma-blue-700: #00669e;
    --sgma-blue-800: #005F8C;
    --sgma-blue-900: #005b8c;
    --sgma-blue-dark: #004A75;
    --sgma-blue-darker: #00283f;
    --sgma-blue-darkest: #001623;
}

/* Background Colors */
.bg-gray-100 {
    background-color: var(--bs-gray-100);
}

.bg-gray-200 {
    background-color: var(--bs-gray-200);
}

.bg-gray-300 {
    background-color: var(--bs-gray-300);
}

.bg-gray-400 {
    background-color: var(--bs-gray-400);
}

.bg-gray-500 {
    background-color: var(--bs-gray-500);
}

.bg-gray-600 {
    background-color: var(--bs-gray-600);
}

.bg-gray-700 {
    background-color: var(--bs-gray-700);
}

.bg-gray-800 {
    background-color: var(--bs-gray-800);
}

.bg-gray-900 {
    background-color: var(--bs-gray-900);
}

.bg-sgma-blue-light {
    background-color: var(--sgma-blue-light);
}

.bg-sgma-blue-100 {
    background-color: var(--sgma-blue-100);
}

.bg-sgma-blue-200 {
    background-color: var(--sgma-blue-200);
}

.bg-sgma-blue-300 {
    background-color: var(--sgma-blue-300);
}

.bg-sgma-blue-400 {
    background-color: var(--sgma-blue-400);
}

.bg-sgma-blue-500 {
    background-color: var(--sgma-blue-500);
}

.bg-sgma-blue-600 {
    background-color: var(--sgma-blue-600);
}

.bg-sgma-blue-700 {
    background-color: var(--sgma-blue-700);
}

.bg-sgma-blue-800 {
    background-color: var(--sgma-blue-800);
}

.bg-sgma-blue-900 {
    background-color: var(--sgma-blue-900);
}

.bg-sgma-blue-dark {
    background-color: var(--sgma-blue-dark);
}

/* =========================================================
   💬 Texts
   ========================================================= */
.text-gray-100 {
    color: var(--bs-gray-100);
}

.text-gray-200 {
    color: var(--bs-gray-200);
}

.text-gray-300 {
    color: var(--bs-gray-300);
}

.text-gray-400 {
    color: var(--bs-gray-400);
}

.text-gray-500 {
    color: var(--bs-gray-500);
}

.text-gray-600 {
    color: var(--bs-gray-600);
}

.text-gray-700 {
    color: var(--bs-gray-700);
}

.text-gray-800 {
    color: var(--bs-gray-800);
}

.text-gray-900 {
    color: var(--bs-gray-900);
}

.text-sgma-blue-light {
    color: var(--sgma-blue-light);
}

.text-sgma-blue-100 {
    color: var(--sgma-blue-100);
}

.text-sgma-blue-200 {
    color: var(--sgma-blue-200);
}

.text-sgma-blue-300 {
    color: var(--sgma-blue-300);
}

.text-sgma-blue-400 {
    color: var(--sgma-blue-400);
}

.text-sgma-blue-500 {
    color: var(--sgma-blue-500);
}

.text-sgma-blue-600 {
    color: var(--sgma-blue-600);
}

.text-sgma-blue-700 {
    color: var(--sgma-blue-700);
}

.text-sgma-blue-800 {
    color: var(--sgma-blue-800);
}

.text-sgma-blue-900 {
    color: var(--sgma-blue-900);
}

.text-sgma-blue-dark {
    color: var(--sgma-blue-dark);
}

/* =========================================================
   🏷️ Badges
   ========================================================= */
.badge-primary {
    background-color: #009DFF;
}

.badge-secondary {
    background-color: #0077B6;
}

.badge-success {
    background-color: #198754;
}

.badge-info {
    background-color: #0dcaf0;
    color: #000;
}

.badge-warning {
    background-color: #ffc107;
    color: #000;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-light {
    background-color: #f8f9fa;
    color: #000;
}

.badge-dark {
    background-color: #212529;
}

/* BUTTONS */


/* =========================================================
   🧱 Min / Max Width & Height
   ========================================================= */
.min-w-10 {
    min-width: 10% !important;
}

.min-w-20 {
    min-width: 20% !important;
}

.min-w-30 {
    min-width: 30% !important;
}

.min-w-40 {
    min-width: 40% !important;
}

.min-w-50 {
    min-width: 50% !important;
}

.min-w-60 {
    min-width: 60% !important;
}

.min-w-70 {
    min-width: 70% !important;
}

.min-w-80 {
    min-width: 80% !important;
}

.min-w-90 {
    min-width: 90% !important;
}

.min-w-100 {
    min-width: 100% !important;
}

.max-w-10 {
    max-width: 10% !important;
}

.max-w-20 {
    max-width: 20% !important;
}

.max-w-30 {
    max-width: 30% !important;
}

.max-w-40 {
    max-width: 40% !important;
}

.max-w-50 {
    max-width: 50% !important;
}

.max-w-60 {
    max-width: 60% !important;
}

.max-w-70 {
    max-width: 70% !important;
}

.max-w-80 {
    max-width: 80% !important;
}

.max-w-90 {
    max-width: 90% !important;
}

.max-w-100 {
    max-width: 100% !important;
}

.max-w-200 {
    max-width: 200% !important;
}

.min-h-10 {
    min-height: 10% !important;
}

.min-h-20 {
    min-height: 20% !important;
}

.min-h-30 {
    min-height: 30% !important;
}

.min-h-40 {
    min-height: 40% !important;
}

.min-h-50 {
    min-height: 50% !important;
}

.min-h-60 {
    min-height: 60% !important;
}

.min-h-70 {
    min-height: 70% !important;
}

.min-h-80 {
    min-height: 80% !important;
}

.min-h-90 {
    min-height: 90% !important;
}

.min-h-100 {
    min-height: 100% !important;
}

.max-h-10 {
    max-height: 10% !important;
}

.max-h-20 {
    max-height: 20% !important;
}

.max-h-30 {
    max-height: 30% !important;
}

.max-h-40 {
    max-height: 40% !important;
}

.max-h-50 {
    max-height: 50% !important;
}

.max-h-60 {
    max-height: 60% !important;
}

.max-h-70 {
    max-height: 70% !important;
}

.max-h-80 {
    max-height: 80% !important;
}

.max-h-90 {
    max-height: 90% !important;
}

.max-h-100 {
    max-height: 100% !important;
}

.max-h-200 {
    max-height: 200% !important;
}

/* =========================================================
   📦 Extended Margins (rem-based)
   ========================================================= */
/* Bootstrap defaults: 0–5 = 0 → 3rem; extended to 6–10 */
.m-6 {
    margin: 4rem !important;
}

.m-7 {
    margin: 5rem !important;
}

.m-8 {
    margin: 6rem !important;
}

.m-9 {
    margin: 7rem !important;
}

.m-10 {
    margin: 8rem !important;
}

.mt-6 {
    margin-top: 4rem !important;
}

.mt-7 {
    margin-top: 5rem !important;
}

.mt-8 {
    margin-top: 6rem !important;
}

.mt-9 {
    margin-top: 7rem !important;
}

.mt-10 {
    margin-top: 8rem !important;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.mb-7 {
    margin-bottom: 5rem !important;
}

.mb-8 {
    margin-bottom: 6rem !important;
}

.mb-9 {
    margin-bottom: 7rem !important;
}

.mb-10 {
    margin-bottom: 8rem !important;
}

/* =========================================================
   🧍 Padding (rem-based)
   ========================================================= */
.p-6 {
    padding: 4rem !important;
}

.p-7 {
    padding: 5rem !important;
}

.p-8 {
    padding: 6rem !important;
}

.p-9 {
    padding: 7rem !important;
}

.p-10 {
    padding: 8rem !important;
}

.pt-6 {
    padding-top: 4rem !important;
}

.pt-7 {
    padding-top: 5rem !important;
}

.pt-8 {
    padding-top: 6rem !important;
}

.pt-9 {
    padding-top: 7rem !important;
}

.pt-10 {
    padding-top: 8rem !important;
}

.pb-6 {
    padding-bottom: 4rem !important;
}

.pb-7 {
    padding-bottom: 5rem !important;
}

.pb-8 {
    padding-bottom: 6rem !important;
}

.pb-9 {
    padding-bottom: 7rem !important;
}

.pb-10 {
    padding-bottom: 8rem !important;
}

/* =========================================================
   💡 Notes
   - Compatible with Bootstrap 5.x
   - Keeps all original utilities active
   - Works with responsive breakpoints if you prefix them
     (e.g. .w-lg-80, .m-md-7)
   ========================================================= */


/* transferred from main.css */
@media (min-width: 1px) {

    /* only desktop */
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        /* keeps alignment */
    }

    .dropdown-toggle::after {
        transform: rotate(180deg);
        /* optional: animate arrow */
    }
}


/* Badge */

.btn-cyan {
    background-color: #aae9f3;
    color: #161616;
    border: none;
    transition: background-color 0.2s;
    font-weight: bold;
}

.btn-cyan:hover,
.btn-cyan:focus {
    background-color: #2fa8bb;
    color: #161616;
}

.card {
    background: linear-gradient(135deg, #f4fbffec, #fdfdfde8);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.status-badge {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    top: -10px;
    right: -10px;
}

/* top-left */
/* .status-badge-left {
    background: linear-gradient(135deg, #ff9696, #ff3c3c);
    top: -10px;
    left: -10px;
    right: auto;
} */

.status-badge {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    top: -10px;
    right: -10px;
}

.status-badge-left {
    left: -10px;
    right: auto;
}

/* New Feature Badge */
.new-feat-badge {
    position: absolute;
    top: -4px;
    right: -10px;
    background: linear-gradient(135deg, #4facfe, white, #2d66e2);
    /* background: linear-gradient(135deg, #4facfe, #8e2de2, white, #8e2de2, #4facfe); */
    background-size: 200% 200%;
    animation: badge-gradient 3s ease infinite;
    color: #144671;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes badge-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.new-feat-badge-left {
    left: -10px;
    right: auto;
}

.nav-item {
    position: relative;
}

/* Carousel */
.carousel-caption h2 {
    display: inline-block;
    font-weight: 600;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.carousel-caption {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
}

html[lang="ar"] .carousel-caption {
    position: absolute;
    top: 60%;
    right: -25%;
    transform: translate(-50%, -50%);
    width: 75%;
}

/* custom stuff */
.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--bs-dark);
    border-radius: 2px;
}


/* swiper */
.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    color: var(--bs-primary);
    width: auto;
    height: auto;
    transform: none;
    margin: 0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: none !important;
}

/* card */
.campaign-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-img-wrapper img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campaign-card:hover {
    transform: scale(0.98);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    border-radius: inherit;
}

.bg-blur {
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.25);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

/* RTL niceties */
html[dir="rtl"] .footer-links a::after {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.image-box {
    background-image: url("/assets/images/logo.svg");
    background-size: contain;
    /* or cover */
    background-repeat: no-repeat;
    background-position: center;
    width: 100px;
    height: 100px;
}

header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lecture-hero {
    overflow: hidden;
    max-height: 250px;
    display: flex;
    align-items: center;
}