:root {
    /* Primary Executive Blue Palette */
    --bosla-primary: #112A62;
    --bosla-nav-active: #e1effe;
    --bosla-secondary: #003d80;
    --bosla-accent: #00d4ff;
    --bosla-bg-light: #f8fbff;
    --bosla-text-dark: #1a2b3c;
    --bosla-gold: #ff8c00;
    --bosla-glass: rgba(255, 255, 255, 0.9);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --wave-top: rgba(255, 255, 255, 0.2);
    --wave-mid: rgba(255, 255, 255, 0.4);
    --wave-bottom: #f8fbff;
    --p-grad: linear-gradient(135deg, #0d6efd 0%, #003d99 100%);
    --dark: #0a162b;
    --dark2: var(--bosla-primary);
    --green: var(--bosla-secondary);
    --green-light: #0056b3;
    --green-glow: var(--bosla-gold);
    --gold: var(--bosla-gold);
    --gold-light: var(--bosla-gold);
    --white: var(--bosla-bg-light);
    --gray: #6b7280;
    --red: #d32f2f;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d6efd 100%);
    color: var(--bosla-text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.announcement-bar {
    background-color: var(--bosla-gold);
    color: #ffffff;
    font-size: 0.9rem;
    position: relative;
    z-index: 1050;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.announcement-bar a {
    transition: all 0.3s ease;
}

.announcement-bar a:hover {
    color: #002b5b !important;
}

.announcement-bar .badge {
    font-size: 0.75rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.navbar.fixed-top {
    top: 40px;
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.8rem;
    }
}

.bosla-nav {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-link-custom {
    color: #4a5568;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.nav-link-custom:hover {
    color: var(--bosla-primary);
    background-color: #f8faff;
}

.nav-link-custom.active {
    background-color: var(--bosla-nav-active);
    color: var(--bosla-primary);
}

/* إجبار القائمة على العرض الكامل */
.dropdown-mega {
    position: static !important;
    /* هذا يجعل العرض يعتمد على الـ Navbar وليس الـ li */
}

.dropdown-mega .mega-menu-wrapper {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    /* عرض الشاشة بالكامل */
    margin-top: 0;
    background: rgba(10, 22, 43, 0.98);
    /* backdrop-filter: blur(20px); */
    border-top: 2px solid var(--bosla-gold) !important;
    border-radius: 0;
    /* عرض كامل عادة لا يحتاج حواف دائرية */
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease-out;
}

.dropdown-mega:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* تنسيق القسم الجانبي الملون */
.bg-mega-accent {
    background: linear-gradient(135deg, #112A62 0%, #060b1a 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* أيقونة خلفية مائية للزينة */
.bg-icon-watermark {
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
    z-index: 1;
}

/* تنسيق العناوين والقوائم */
.mega-title {
    color: var(--bosla-gold);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: right;
    display: flex;
    align-items: center;
}

.mega-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, rgba(255, 140, 0, 0.3), transparent);
    margin-right: 15px;
}

.mega-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mega-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mega-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--bosla-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.3rem;
}

.mega-text span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: block;
}

.mega-text small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* تحسين الموبايل */
@media (max-width: 991px) {

    /* تجعل الـ li تسمح بظهور ما بداخلها */
    .dropdown-mega {
        position: relative !important;
    }

    .dropdown-mega .mega-menu-wrapper {
        position: relative !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none;
        /* مخفية حتى يتم الضغط */
        background: #0a162b !important;
        border: none !important;
        max-width: 100vw;
    }

    /* هذا الكلاس هو ما يضيفه بوتستراب عند الضغط */
    .dropdown-mega.show .mega-menu-wrapper,
    .dropdown-mega .mega-menu-wrapper.show {
        display: block !important;
    }

    /* إخفاء الجزء الجانبي (دليل الشركات) في الموبايل لتقليل الزحام أو جعله بسيطاً */
    .bg-mega-accent {
        padding: 30px 20px !important;
    }

    .mega-item {
        margin-bottom: 10px;
    }
}



@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
        text-align: center;
    }

    .nav-link-custom {
        justify-content: center;
        margin-bottom: 10px;
    }

    .navbar-brand img {
        height: 50px !important;
        margin: 15px 0;
    }
}

.magic-dropdown {
    border-radius: 15px !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter: blur(10px); */
    min-width: 240px;
    margin-top: 15px !important;
    border: 1px solid rgba(13, 110, 253, 0.1) !important;
}

.magic-item {
    display: flex !important;
    align-items: center;
    padding: 12px 15px !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #333 !important;
    font-weight: 600 !important;
    margin-bottom: 5px;
}

.icon-box {
    width: 38px;
    height: 38px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--bosla-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.magic-item:hover {
    background: #0d6efd !important;
    color: #fff !important;
    transform: translateX(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.magic-item:hover .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(15deg);
}

.magic-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 25px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}


/* Unusual Hero Slider Effect */
.hero-ecosystem {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.wave-mask-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 1000' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M 0,0 L 1440,0 L 1440,820 C 1100,980 900,650 720,850 C 400,1050 200,750 0,920 Z' fill='black'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 1000' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M 0,0 L 1440,0 L 1440,820 C 1100,980 900,650 720,850 C 400,1050 200,750 0,920 Z' fill='black'/></svg>");

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

.hero-image-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.4)), url('../Images/hero.jpeg');
    background-size: cover;
    background-position: center;
    animation: kenBurns 7s ease-in-out infinite alternate;
    -webkit-animation: kenBurns 7s ease-in-out infinite alternate;
}

/* The slow, smooth zoom & pan animation */
@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-1%, -1%);
    }
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .hero-ecosystem {
        height: 100vh;
        /* Keeps the impact on mobile */
    }

    .display-3 {
        font-size: 2.5rem;
    }
}


/* Service Card Animations */
.portals-section {
    scroll-margin-top: 100px;
}

.service-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #112a62 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 15px;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(255 255 255 / 31%);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(253, 253, 253, 0.584);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
    -webkit-transition: var(--transition-smooth);
    -moz-transition: var(--transition-smooth);
    -ms-transition: var(--transition-smooth);
    -o-transition: var(--transition-smooth);
}

.service-card i {
    font-size: 1.4rem;
    color: #fff;
    transition: var(--transition-smooth);
}

.service-card:hover .card-icon {
    background: var(--bosla-primary);
}

.service-card:hover i {
    color: white;
    transform: scale(1.1) rotate(-8deg);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 25px;
}

.custom-tabs .nav-link {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.custom-tabs .nav-link.active {
    background-color: var(--bosla-gold) !important;
    /* لونك البرتقالي */
    border-color: var(--bosla-gold);
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.custom-tabs .nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.bg-orange {
    background-color: var(--bosla-gold) !important;
}

.text-orange {
    color: var(--bosla-gold) !important;
}

.bg-dark-blue {
    background: linear-gradient(135deg, #1a1a1a 0%, #112a62 100%);
}

.bg-info-soft {
    background-color: rgba(0, 212, 255, 0.1);
}


/* Primary Soft (Blue) */
.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1) !important;
    /* 10% Opacity of Bootstrap Primary */
    color: #0d6efd !important;
    /* Solid Primary Text */
}

/* Warning Soft (Yellow/Orange) */
.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.15) !important;
    /* 15% Opacity for better visibility */
    color: #ffc107 !important;
    /* Solid Warning Text */
}

/* Success Soft (Green - for the Market Indicator) */
.bg-success-soft {
    background-color: rgba(28, 200, 138, 0.1) !important;
    color: #1cc88a !important;
}

/* Info Soft (Cyan/Light Blue) */
.bg-info-soft {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0 !important;
}

/* Action Accent Soft (The new Indigo button color) */
.bg-action-soft {
    background-color: rgba(78, 115, 223, 0.1) !important;
    color: #4e73df !important;
}

.border-accent {
    border-bottom: 5px solid var(--bosla-primary);
}

.stretched-link::after {
    /* Ensures the click area covers the whole card */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Floating AI Button */
.ai-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--bosla-accent);
    color: var(--bosla-secondary);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recruitment-section {
    direction: rtl;
}

/* تنسيق العنوان */
.blue-line-accent {
    width: 60px;
    height: 4px;
    margin-top: 10px;
    margin-right: 0;
    border-radius: 2px;
}

.btn-add-job {
    background: var(--main-blue);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* بطاقة الوظيفة */
.job-card-premium {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: 0.3s;
}

.job-icon-box {
    width: 60px;
    height: 60px;
    background: var(--soft-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-blue);
    font-size: 1.5rem;
}

.job-status-badge {
    background: var(--soft-blue);
    color: var(--main-blue);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
}

.btn-apply-now {
    background: var(--main-blue);
    color: white;
    border-radius: 10px;
}

/* بطاقة المؤشر */
.market-indicator-card {
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(195, 194, 194, 0.517);
}

.indicator-icon-sm {
    width: 35px;
    height: 35px;
    background: #e8f5e9;
    color: #28a745;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
}

.ai-prediction-box {
    border-right: 4px solid var(--main-blue);
    border-radius: 10px;
}

.btn-action-accent {
    background-color: #4e73df;
    /* Indigo Blue */
    color: white;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.2);
}

.btn-action-accent:hover {
    background-color: #224abe;
    color: white;
    transform: translateY(-2px);
}

.bg-success-vibrant {
    background-color: #1cc88a;
    /* Vibrant Green */
}

.chart-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
}




/* Bento Grid Layout */
.bento-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* توزيع العناصر داخل الـ Grid */
.bento-main {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-secondary {
    width: 100%;
}

.bento-small {
    grid-column: span 2;
    grid-row: span 1;
}

/* تأثيرات بصرية */
.bento-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.bento-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.bento-overlay-light {
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.x-small {
    font-size: 0.75rem;
}

/* Responsive Adjustments (الأهم للاستجابة) */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-main {
        grid-column: span 2;
        height: 350px;
    }

    .bento-secondary {
        grid-column: span 1;
        height: 250px;
    }

    .bento-small {
        grid-column: span 1;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-main,
    .bento-secondary,
    .bento-small {
        grid-column: span 1;
        height: 300px;
    }
}


.shadow-xl {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

.bg-soft-primary {
    background-color: #e7f0ff;
}

.bg-light-soft {
    background-color: #fcfdfe;
}

.icon-sm {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.pulse-red {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(255, 77, 77, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
    }
}

.preview-card {
    transition: transform 0.5s ease;
}

.preview-card:hover {
    transform: translateY(-10px);
}

.features-list span {
    font-size: 0.95rem;
    color: #4a5568;
}

/* تنسيق زر الواتساب المخصص */
.btn-whatsapp-style {
    background-color: #25d366;
    /* لون واتساب الرسمي */
    color: white;
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 12px 30px;
}

.btn-whatsapp-style:hover {
    background-color: #1ebe57;
    /* لون أغمق قليلاً عند التمرير */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-style i {
    font-size: 1.4rem;
}

/* Marketplace Specific Styles */
.category-pill {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid var(--bosla-primary);
    color: var(--bosla-primary);
    white-space: nowrap;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.category-pill:hover,
.category-pill.active {
    background: var(--bosla-primary);
    color: white;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--bosla-accent);
}

.vendor-banner {
    background: linear-gradient(45deg, var(--bosla-secondary), #007bff);
    border-radius: 25px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.vendor-banner::after {
    content: '\f5d1';
    /* FontAwesome cow icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -20px;
    bottom: -20px;
    font-size: 150px;
    opacity: 0.1;
}

/* Smooth floating animation for AI icon */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.ai-float {
    animation: float 3s ease-in-out infinite;
}

/* Subtle background movement for hero */
.hero-ecosystem {
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* RTL-friendly scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bosla-bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--bosla-primary);
    border-radius: 10px;
}

/* Academy Specific Styles */
.academy-section .shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.course-img {
    height: 200px;
    object-fit: crop;
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}

.course-info-item {
    font-size: 0.85rem;
    color: #6c757d;
}

.section-title {
    color: #2d3436;
    position: relative;
    padding-bottom: 15px;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
}

.roadmap-card {
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0d6efd;
}

.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #fff;
}



.transition-smooth {
    transition: all 0.3s ease;
}

/* Corporate Section Styles */
.hover-blur:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px);
}

.icon-sm {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shadow-xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .corporate-services-section .rounded-5 {
        border-radius: 2rem !important;
    }
}

/* Event Ticket Styles */

.event-ticket {
    background: white;
    background-image: radial-gradient(circle at 2px 2px, #f0f0f0 1px, transparent 0);
    background-size: 24px 24px;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    /* border: 1px solid #eee; */
}

.event-ticket:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.ticket-date {
    background: var(--bosla-primary);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
}

.ticket-body {
    padding: 30px;
    flex-grow: 1;
}

.ticket-divider {
    border-right: 2px dashed #eee;
    position: relative;
    background: white;
}

.ticket-divider::before,
.ticket-divider::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #0F60D7;
    border-radius: 50%;
    left: -13px;
    z-index: 2;
}

.ticket-divider::before {
    top: -12px;
}

.ticket-divider::after {
    bottom: -12px;
}

.bg-warning-soft {
    background-color: #fff3cd;
}



@media (max-width: 768px) {
    .event-ticket {
        flex-direction: column;
    }

    .ticket-divider {
        border-right: none;
        border-bottom: 2px dashed #eee;
        height: 2px;
        width: 100%;
    }

    .ticket-divider::before,
    .ticket-divider::after {
        top: -13px;
        left: auto;
        background: #0F60D7;
    }

    .ticket-divider::before {
        left: -12px;
    }

    .ticket-divider::after {
        right: -12px;
    }
}


.partners {
    background: var(--bosla-primary);
}


.bg-dark-blue {
    background-color: #001f3f !important;
}

.custom-faq-dark .accordion-button {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 22px 25px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.custom-faq-dark .accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.custom-faq-dark .accordion-body {
    background-color: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    line-height: 1.8;
}

.custom-faq-dark .accordion-button::after {
    filter: brightness(0) invert(1);
}

.custom-faq-dark .accordion-item:hover .accordion-button.collapsed {
    border-color: var(--bosla-gold);
    transform: translateX(-5px);
    background-color: rgba(255, 140, 0, 0.05);
}



.footer-modern-v2 {
    background-color: #060b1a;
    /* لون داكن جداً للفخامة */
    color: white;
}

/* القوائم الرأسية */
.footer-vertical-links li {
    margin-bottom: 12px;
}

.footer-vertical-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-vertical-links a:hover {
    color: var(--bosla-gold);
    transform: translateX(-5px);
    /* حركة خفيفة لليسار في RTL */
}

/* صناديق اللوجو الصغيرة */
.mini-logo-box {
    width: 45px;
    height: 45px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mini-logo-box img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.mini-logo-box:hover {
    background: var(--bosla-gold);
    border-color: var(--bosla-gold);
}

.mini-logo-box:hover img {
    opacity: 1;
}

/* النشرة البريدية */
.newsletter-col {
    backdrop-filter: blur(10px);
}

:root {
    --bosla-primary: #0a162b;
    --bosla-gold: #ff8c00;
    --bosla-accent: #00d4ff;
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);
}

.footer-modern {
    background-color: var(--bosla-primary);
    border-top: 1px solid var(--white-10);
}

/* Newsletter Box */
.bg-glass-blue {
    background: linear-gradient(135deg, rgba(17, 42, 98, 0.9), rgba(10, 22, 43, 0.9));
    backdrop-filter: blur(20px);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-color: var(--bosla-gold);
}

.btn-gold-glow {
    background: var(--bosla-gold);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-gold-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.5);
    color: white;
}

/* Service Logos Grid */
.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-logo-link {
    background: var(--white-05);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white-10);
    transition: all 0.3s ease;
}

.service-logo-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* filter: brightness(0) invert(1);  */
    opacity: 0.6;
}

.service-logo-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--bosla-gold);
    transform: scale(1.05);
}

.service-logo-link:hover img {
    opacity: 1;
    filter: none;
    /* يظهر اللوجو بألوانه الحقيقية عند الـ hover */
}

/* Social Tiles */
.social-tile {
    width: 40px;
    height: 40px;
    background: var(--white-05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-tile:hover {
    background: var(--bosla-gold);
    color: white;
    transform: rotate(10deg);
}

/* Nav Links */
.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--bosla-gold);
    padding-right: 5px;
}

.mega-footer-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--bosla-gold);
    margin-top: 10px;
}

.footer-logo {
    width: 100px;
}

/* ********* About Us Page ******** */
/* الهيدر الفرعي لصفحة من نحن */
.hero-about-sub {
    position: relative;
    width: 100%;
    height: 60vh;
    /* ارتفاع أقل لصفحة فرعية */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #fff; */
    overflow: hidden;
}

/* القناع (Mask) بشكل موجة جديدة */
.wave-mask-wrapper-sub {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    /* شكل موجة جديدة (انحناء واحد انسيابي) */
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 600' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M 0,0 L 1440,0 L 1440,450 C 1000,600 500,300 0,550 Z' fill='black'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 600' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'><path d='M 0,0 L 1440,0 L 1440,450 C 1000,600 500,300 0,550 Z' fill='black'/></svg>");

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

/* تعبئة الصورة مع نفس حركة الـ Ken Burns للمحافظة على التناسق */
.hero-image-fill-sub {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 43, 91, 0.8), rgba(0, 43, 91, 0.5)), url('../Images/hero.jpeg');
    /* يمكنك تغيير الصورة هنا */
    background-size: cover;
    background-position: center;
    animation: kenBurns 10s ease-in-out infinite alternate;
}

/* المحتوى */
.hero-about-sub .hero-content {
    position: relative;
    z-index: 10;
    color: white;
    margin-bottom: 50px;
    /* لرفع النص قليلاً بعيداً عن حافة الموجة */
}

/* استجابة الموبايل لصفحة من نحن */
@media (max-width: 768px) {
    .hero-about-sub {
        height: 50vh;
    }
}

.value-card {
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 20px 20px rgba(255, 255, 255, 0.257);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.822);
    color: var(--bosla-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.value-card:hover .value-icon {
    background: var(--bosla-gold);
    color: #fff !important;
}

/* تنسيق قسم القيم */
.value-card-simple {
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.value-card-simple:hover {
    border-color: var(--bosla-gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.value-icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(13, 110, 253, 0.05);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.value-card-simple:hover .value-icon-circle {
    background: #0d6efd;
    color: #fff;
    transform: scale(1.1);
}

/* لون البرتقالي المخصص */
.border-orange {
    border-color: var(--bosla-gold) !important;
}

.text-orange {
    color: var(--bosla-gold);
}

.bg-orange {
    background-color: var(--bosla-gold);
}

/* **************contact us *************** */

.contact-info-card {
    background: linear-gradient(135deg, #0d6efd 0%, #003a8c 100%);
    position: relative;
    z-index: 1;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
}

body.magazine,
body.gromedia {
    background: var(--dark);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===== NOISE TEXTURE OVERLAY ===== */
body.magazine::before,
body.gromedia::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("../Images/background.svg");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
}

.magazine h2,
.gromedia h2 {
    color: #fff;
}

/* ===== HERO ===== */
.magazine .hero,
.gromedia .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 80px;
    overflow: hidden;
}

.magazine .hero-bg,
.gromedia .hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 107, 42, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(212, 160, 23, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, #0a0f0a 0%, #0d150d 100%);
    z-index: 0;
}

.magazine .hero-grid,
.gromedia .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 158, 66, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 158, 66, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.magazine .hero>*,
.gromedia .hero>* {
    position: relative;
    z-index: 2;
}

.magazine .badge,
.gromedia .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* background: rgba(45,158,66,0.15); */
    background: #112b6298;
    border: 1px solid #0134a1e0;
    color: var(--green-glow);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    animation: fadeDown 0.8s ease both;
}

.magazine .badge::before,
.gromedia .badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-glow);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.magazine .hero-title,
.gromedia .hero-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    animation: fadeDown 0.9s ease 0.1s both;
}

.magazine .hero-title .highlight,
.gromedia .hero-title .highlight {
    color: var(--gold-light);
    position: relative;
    display: inline-block;
}

.magazine .hero-title .highlight::after,
.gromedia .hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.magazine .hero-subtitle,
.gromedia .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray);
    max-width: 640px;
    margin: 0 auto 40px;
    animation: fadeDown 1s ease 0.2s both;
}

.magazine .hero-subtitle span,
.gromedia .hero-subtitle span {
    color: var(--white);
    font-weight: 600;
}

.magazine .hero-cta-group,
.gromedia .hero-cta-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeDown 1s ease 0.3s both;
}

.magazine .btn-primary,
.gromedia .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px #0134a1e0;
    position: relative;
    overflow: hidden;
}

.magazine .btn-primary::before,
.gromedia .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.magazine .btn-primary:hover,
.gromedia .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px #0134a19a;
}

.magazine .btn-primary:hover::before,
.gromedia .btn-primary:hover::before {
    opacity: 1;
}

.magazine .btn-secondary,
.gromedia .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid rgba(245, 245, 240, 0.2);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.magazine .btn-secondary:hover,
.gromedia .btn-secondary:hover {
    border-color: var(--green-glow);
    color: var(--green-glow);
}

/* ===== STATS BAR ===== */
.gromedia .stats-bar {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 32px 20px;
    animation: fadeDown 1s ease 0.4s both;
}

.gromedia .stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.gromedia .stat-item .num {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold-light);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.gromedia .stat-item .label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
}

/* ===== SECTIONS ===== */
.gromedia section {
    padding: 80px 20px;
}

.gromedia .container {
    max-width: 900px;
    margin: 0 auto;
}

.gromedia .section-tag {
    display: inline-block;
    color: var(--green-glow);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.8;
}

.gromedia .section-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
}

.gromedia .section-desc {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 50px;
}

/* ===== PAIN SECTION ===== */
.gromedia .pain-section {
    background: linear-gradient(180deg, var(--dark) 0%, #0c140c 100%);
}

.gromedia .pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gromedia .pain-card {
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.2);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.gromedia .pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.15), transparent 70%);
    border-radius: 0 16px 0 0;
}

.gromedia .pain-card:hover {
    border-color: rgba(192, 57, 43, 0.4);
    transform: translateY(-4px);
}

.gromedia .pain-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    display: block;
}

.gromedia .pain-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #e8a09a;
}

.gromedia .pain-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== SOLUTION SECTION ===== */
.gromedia .solution-section {
    background: var(--dark2);
}

.gromedia .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gromedia .feature-card {
    background: rgba(26, 107, 42, 0.1);
    border: 1px solid rgba(45, 158, 66, 0.2);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.gromedia .feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green-light), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gromedia .feature-card:hover {
    border-color: rgba(45, 158, 66, 0.45);
    transform: translateY(-4px);
}

.gromedia .feature-card:hover::after {
    opacity: 1;
}

.gromedia .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(45, 158, 66, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.gromedia .feature-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.gromedia .feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== CHAPTERS ===== */
.gromedia .chapters-section {
    background: var(--dark);
}

.gromedia .chapters-list {
    margin-top: 40px;
}

.gromedia .chapter-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.gromedia .chapter-item:hover .chapter-num {
    background: var(--green);
    color: white;
}

.gromedia .chapter-num {
    min-width: 44px;
    height: 44px;
    border: 1.5px solid rgba(45, 158, 66, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--green-glow);
    transition: all 0.3s;
    flex-shrink: 0;
}

.gromedia .chapter-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gromedia .chapter-content p {
    font-size: 0.88rem;
    color: var(--gray);
}

/* ===== OBJECTIONS ===== */
.gromedia .obj-section {
    background: var(--dark2);
}

.gromedia .obj-grid {
    display: grid;
    gap: 16px;
    margin-top: 40px;
}

.gromedia .obj-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s;
}

.gromedia .obj-item:hover {
    border-color: rgba(63, 207, 92, 0.2);
    background: rgba(26, 107, 42, 0.06);
}

.gromedia .obj-q {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.gromedia .obj-q::before {
    content: '❓ ';
}

.gromedia .obj-a {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 500;
}

.gromedia .obj-a::before {
    content: '✅ ';
}

.gromedia .obj-icon {
    font-size: 2rem;
    opacity: 0.4;
}


/* ===== TESTIMONIALS ===== */
.gromedia .testimonials-section {
    background: var(--dark);
}

.gromedia .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gromedia .testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    transition: all 0.3s;
}

.gromedia .testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 158, 66, 0.25);
}

.gromedia .quote-mark {
    font-size: 3rem;
    color: var(--green-light);
    opacity: 0.3;
    line-height: 1;
    font-family: serif;
    margin-bottom: 10px;
    display: block;
}

.gromedia .testimonial-text {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.8;
}

.gromedia .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gromedia .author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bosla-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}

.gromedia .author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.gromedia .author-role {
    font-size: 0.8rem;
    color: var(--gray);
}

.gromedia .stars {
    color: var(--gold-light);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

/* ===== OFFER BOX ===== */
.gromedia .offer-section {
    /* Replaced dark green gradient with Bosla dark blue */
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    /* Replaced green borders with subtle accent borders */
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.gromedia .offer-box {
    /* Using the Bosla Glass effect or semi-transparent secondary blue */
    background: rgba(0, 61, 128, 0.12);
    border: 1.5px solid rgba(0, 212, 255, 0.25);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 680px;
    margin: 0 auto;
}

.gromedia .offer-box::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    /* Replaced green glow with Bosla Accent (Light Blue) glow */
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.gromedia .offer-label {
    display: inline-block;
    background: var(--gold);
    /* This is now #00d4ff */
    color: var(--bosla-primary);
    /* Dark navy text on light blue label */
    font-size: 0.8rem;
    font-weight: 900;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.gromedia .offer-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.25;
    color: var(--white);
}

.gromedia .offer-includes {
    list-style: none;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
    max-width: 380px;
    margin-right: auto;
    margin-left: auto;
}

.gromedia .offer-includes li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--white);
}

.gromedia .offer-includes li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    /* Checkmark circle now matches Bosla Secondary Blue */
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
}

.gromedia .price-display {
    margin: 32px 0 28px;
}

.gromedia .price-display .price-main {
    font-family: 'Tajawal', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    /* Price color uses the soft blue nav-active color for visibility */
    color: var(--gold-light);
    line-height: 1;
}

.gromedia .price-display .price-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 6px;
}

.gromedia .guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Uses the Glass variable for a soft background */
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===== FINAL CTA ===== */
.gromedia .final-cta {
    text-align: center;
    background: var(--dark);
    padding: 80px 20px 100px;
}

.gromedia .final-cta .section-title {
    margin-bottom: 14px;
}

.gromedia .final-cta .section-desc {
    margin: 0 auto 36px;
}

/* ===== FOOTER ===== */
.gromedia footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    /* padding: 30px 20px; */
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
}

/* ===== STICKY CTA ===== */
.gromedia .sticky-cta {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(10, 15, 10, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid #0134a189;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gromedia .sticky-cta.visible {
    transform: translateY(0);
}

.gromedia .sticky-cta p {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.gromedia .sticky-cta p span {
    color: var(--green-glow);
}

/* ===== WHATSAPP FLOAT ===== */
.gromedia .wa-float {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s;
    animation: floatBounce 3s ease-in-out infinite;
}

.gromedia .wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gromedia .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.gromedia .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== DIVIDER ===== */
.gromedia .divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 158, 66, 0.3), transparent);
    margin: 0;
}


.gromedia .book-showcase {
    background: linear-gradient(180deg, #0c140c 0%, var(--dark2) 100%);
    padding: 70px 20px;
}

.gromedia .book-showcase-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.gromedia .book-img-wrap {
    position: relative;
}

.gromedia .book-img-wrap img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px #0134a189;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
}

.gromedia .book-img-wrap img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 30px #0134a189;
}

.gromedia .book-img-wrap::before {
    content: '';
    position: absolute;
    inset: -15px;
    background: radial-gradient(ellipse, #0134a189, transparent 70%);
    border-radius: 24px;
    z-index: -1;
}

.gromedia .book-info {
    padding: 10px;
}

.gromedia .book-tag {
    display: inline-block;
    background: #112b6298;
    border: 1px solid #0134a1e0;
    color: var(--green-glow);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.gromedia .book-info h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 14px;
}

.gromedia .book-info p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.8;
}

.gromedia .book-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.gromedia .spec-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 12px 16px;
}

.gromedia .spec-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 3px;
}

.gromedia .spec-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

@media (max-width: 700px) {
    .gromedia .book-showcase-inner {
        grid-template-columns: 1fr;
    }
}


.gromedia .editions-section {
    background: var(--dark);
    padding: 70px 20px;
}

.gromedia .editions-header {
    text-align: center;
    margin-bottom: 50px;
}

.gromedia .editions-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: end;
}

.gromedia .edition-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gromedia .edition-card img {
    width: 100%;
    display: block;
}

.gromedia .edition-card .ed-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px 16px 16px;
    text-align: center;
}

.gromedia .edition-card .ed-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.gromedia .edition-card .ed-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
}

.gromedia .edition-card.old {
    opacity: 0.75;
    filter: saturate(0.7);
}

.gromedia .edition-card.old:hover {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(-6px);
}

.gromedia .edition-card.current {
    transform: scale(1.07);
    box-shadow: 0 20px 60px #0134a1e0, 0 0 0 2px #0134a189;
}

.gromedia .edition-card.current:hover {
    transform: scale(1.1) translateY(-6px);
}

.gromedia .ed-badge.v1 {
    background: rgba(255, 255, 255, 0.15);
    color: #ccc;
}

.gromedia .ed-badge.v2 {
    background: rgba(212, 160, 23, 0.25);
    color: var(--gold-light);
}

.gromedia .ed-badge.v3 {
    background: var(--green);
    color: white;
}

.gromedia .editions-note {
    text-align: center;
    margin-top: 36px;
    color: var(--gray);
    font-size: 0.9rem;
}

.gromedia .editions-note span {
    color: var(--green-glow);
    font-weight: 700;
}

@media (max-width: 600px) {
    .gromedia .editions-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .gromedia .edition-card.current {
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .gromedia .offer-box {
        padding: 36px 24px;
    }

    .gromedia .obj-item {
        grid-template-columns: 1fr;
    }

    .gromedia .obj-icon {
        display: none;
    }

    .gromedia .sticky-cta p {
        font-size: 0.8rem;
    }
}

/* ===== MAG SHELF STYLE ===== */
.mag-shelf-section {
    background: #0a0f0a;
    padding: 100px 20px;
    direction: rtl;
}

.mag-shelf-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mag-shelf-header {
    text-align: center;
    margin-bottom: 60px;
}

.shelf-tag {
    color: var(--green-glow);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.shelf-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.mag-shelf-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.shelf-item {
    flex: 0 1 350px;
    /* Fixed width base for each card */
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.shelf-item:hover {
    transform: translateY(-10px);
}

/* Card Visuals */
.shelf-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    /* Keeps consistent book shape */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.shelf-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shelf-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shelf-status.current {
    background: var(--green);
    border-color: var(--green-light);
}

/* Text Info */
.shelf-info {
    margin-top: 20px;
    text-align: center;
}

.shelf-info h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Tajawal', sans-serif;
}

.shelf-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .shelf-item {
        flex: 0 1 100%;
        max-width: 320px;
    }
}

/* ===== BOSLA VIEWER STYLING ===== */
.bosla-viewer-section {
    background: var(--bosla-primary);
    /* #0a162b */
    padding: 100px 20px;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

.bosla-viewer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1250px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Magazine Display */
.bosla-magazine-col {
    flex: 1 1 700px;
}

.bosla-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 70%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--bosla-accent);
    /* #00d4ff */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.bosla-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bosla-tip {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Info Column Styling */
.bosla-info-col {
    flex: 0 1 400px;
}

.bosla-status-badge {
    display: inline-block;
    background: var(--bosla-secondary);
    /* #003d80 */
    border: 1px solid var(--bosla-accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bosla-view-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
}

.bosla-view-subtitle {
    color: var(--bosla-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.bosla-view-desc {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.bosla-view-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.bosla-spec-card {
    background: var(--bosla-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
}

.spec-label {
    display: block;
    color: var(--gray);
    font-size: 0.75rem;
}

.spec-val {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
}

/* CTA Button */
.bosla-view-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--p-grad);
    /* Linear gradient using your blue */
    color: var(--white);
    font-weight: 800;
    padding: 18px;
    border-radius: 15px;
    text-decoration: none !important;
    transition: var(--transition-smooth);
    border: 1px solid var(--bosla-accent);
}

.bosla-view-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

/* Mobile Fixes */
@media (max-width: 992px) {
    .bosla-magazine-col {
        flex: 1 1 100%;
    }

    .bosla-info-col {
        flex: 1 1 100%;
    }
}

/* ===== GLOBAL DARK THEME OVERRIDES ===== */
body.dark-theme {
    background-color: var(--dark);
    color: var(--white);
}

.nav-logo-img {
    height: 60px;
}

/* Hero Library */
.hero-library {
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 60px 20px;
}

.bosla-badge {
    background: var(--bosla-secondary);
    color: var(--bosla-accent);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--bosla-accent);
    margin-bottom: 20px;
}

/* Expertise Section (Dark Version) */
.mag-expertise {
    background: var(--bosla-primary);
    /* Deep Navy */
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.text-accent {
    color: var(--bosla-accent) !important;
}

.expertise-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--white);
}

.expertise-text {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.expertise-list {
    margin-top: 30px;
}

.exp-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 700;
}

.exp-list-item i {
    color: var(--bosla-gold);
}

/* Stats Styling */
.stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    flex: 1 1 calc(50% - 20px);
    transition: var(--transition-smooth);
}

.stat-item.gold-border {
    border: 1px solid var(--bosla-gold);
}

.stat-item.blue-border {
    border: 1px solid var(--bosla-accent);
}

.stat-item.full-blue {
    flex: 1 1 100%;
    background: var(--bosla-secondary);
    border: 1px solid var(--bosla-accent);
}

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--white);
}

.stat-label {
    color: var(--bosla-accent);
    margin: 0;
    font-weight: 700;
}

/* Buttons */
.btn-bosla-primary {
    background: var(--p-grad);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--bosla-accent);
    transition: var(--transition-smooth);
}

.btn-bosla-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    color: var(--white);
}

/* Footer */
.bosla-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

.logo-section {
    background-color: var(--bosla-primary);
    min-height: 200px;
}

.circle-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    /* Starts drawing from the top center */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* The Solid Background of the circle */
.circle-bg {
    fill: #fff;
    transition: var(--transition-smooth);
}

/* The Animated Circular Border */
.circle-border {
    fill: none;
    stroke: var(--bosla-gold);
    stroke-width: 4;
    stroke-linecap: round;
    /* Circumference (2 * pi * 48) is approx 301.5 */
    stroke-dasharray: 302;
    stroke-dashoffset: 302;
    /* Fully hidden */
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects */
.circle-wrapper:hover .circle-border {
    stroke-dashoffset: 0;
    /* Fully visible */
}

.circle-wrapper:hover .circle-bg {
    fill: #fff;
    /* Slight change to white on hover */
}

.circle-wrapper:hover {
    transform: translateY(-5px);
}

.circle-content {
    position: relative;
    z-index: 2;
    width: 65%;
    height: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: grayscale(20%);
    /* Optional: clean professional look */
}

.circle-wrapper:hover .partner-logo {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Responsive Scaling */
@media (max-width: 576px) {
    .circle-wrapper {
        width: 110px;
        height: 110px;
    }
}

.partnerSwiper {
    padding: 30px 0 60px 0;
    overflow: hidden;
    /* Prevents horizontal scrollbars */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure the circles maintain their aspect ratio inside the slider */
.circle-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.circle-bg {
    fill: #fff;
    transition: var(--transition-smooth);
}

.circle-border {
    fill: none;
    stroke: var(--bosla-gold);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 302;
    stroke-dashoffset: 302;
    transition: stroke-dashoffset 0.8s ease;
}

.partner-logo {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    z-index: 2;
}

/* Specific fix for small screens to make the logo look prominent */
@media (max-width: 576px) {
    .circle-wrapper {
        width: 180px;
        /* Slightly larger on mobile since it's the only item */
        height: 180px;
    }
}


.ai-showcase-section {
    background: #060b1a;
    padding: 100px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--dark), var(--bosla-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scanner Container */
.scanner-container {
    position: relative;
    border-radius: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-ai-img {
    border-radius: 20px;
    filter: saturate(1.2) contrast(1.1);
}

/* The Scan Line Animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--bosla-gold), transparent);
    box-shadow: 0 0 20px var(--bosla-gold);
    z-index: 5;
    animation: scanMove 4s infinite ease-in-out;
}

@keyframes scanMove {

    0%,
    100% {
        top: 5%;
        opacity: 0;
    }

    50% {
        top: 90%;
        opacity: 1;
    }
}

/* Floating Data Tags */
.data-tag {
    position: absolute;
    background: rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid var(--bosla-gold);
    color: var(--bosla-gold);
    padding: 4px 12px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    z-index: 10;
}

.tag-1 {
    top: 20%;
    right: 10%;
    animation: float 3s infinite ease-in-out;
}

.tag-2 {
    bottom: 30%;
    left: 5%;
    animation: float 3s infinite 1.5s ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Feature Cards */
.ai-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    text-align: right;
    transition: 0.3s;
}

.ai-feature-card i {
    color: var(--bosla-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.ai-feature-card h6 {
    color: white;
    margin-bottom: 5px;
}

.ai-feature-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.ai-feature-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
}

/* Buttons */
.btn-ai-primary {
    background: linear-gradient(135deg, var(--bosla-gold), var(--dark));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    transition: 0.3s;
}

.btn-ai-primary:hover {
    box-shadow: 0 0 30px var(--bosla-gold);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-glass {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bosla-gold);
}

:root {
    --bosla-gold: #ff8c00;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.events-showcase-v2 {
    background-color: #060b1a;
    /* Matching your AI section */
    padding: 100px 0;
    z-index: 1;
}

/* Background Animated Glows */
.event-glow-1,
.event-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
}

.event-glow-1 {
    top: -10%;
    right: -5%;
    background: #00d4ff;
}

.event-glow-2 {
    bottom: -10%;
    left: -5%;
    background: #00ff95;
}

/* The Glass Card */
.event-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 45px;
    position: relative;
    transition: var(--transition-smooth);
}

.event-glass-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 140, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Date Badge */
.date-badge-premium {
    background: linear-gradient(135deg, #00ff95 0%, #00805c 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 255, 149, 0.2);
}

.bg-blue-grad {
    background: linear-gradient(135deg, #00d4ff 0%, #0056b3 100%);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

/* Icon Box */
.icon-box-glass {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Feature List */
.event-specs li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Buttons */
.btn-exhibition-glow,
.btn-conference-glow {
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-exhibition-glow {
    background: linear-gradient(90deg, #00ff95, #00805c);
}

.btn-conference-glow {
    background: linear-gradient(90deg, #00d4ff, #0056b3);
}

.btn-exhibition-glow:hover,
.btn-conference-glow:hover {
    color: white;
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Utility */
.bg-glow-gold {
    background: rgba(255, 140, 0, 0.1);
    color: var(--bosla-gold);
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.text-bosla-gold {
    color: var(--bosla-gold);
}

.hover-gold:hover {
    color: var(--bosla-gold) !important;
}

@media (max-width: 768px) {
    .event-glass-card {
        padding: 30px;
    }

    .display-5 {
        font-size: 2rem;
    }
}

/* ********************************************************************** */
.recruitment-cta {
    overflow: hidden;
}

.label-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--bosla-accent);
    color: var(--bosla-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-image-wrapper img {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    height: 350px;
}

.cta-image-wrapper:hover img {
    transform: scale(1.02);
}

.floating-badge-ai {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--bosla-gold);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.glass-stat-card {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: rgba(17, 42, 98, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-width: 120px;
    z-index: 2;
}

.text-orange {
    color: var(--bosla-gold);
}

@media (max-width: 991px) {

    .glass-stat-card,
    .floating-badge-ai {
        display: none;
    }
}

/* Central Portal Button */
.portal-core {
    width: 140px;
    height: 140px;
    background: var(--bosla-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    position: relative;
    z-index: 5;
    transition: var(--transition-smooth);
    border: 4px solid var(--dark);
}

.core-inner span {
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 8px;
}

.core-ring,
.core-ring-2 {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--bosla-accent);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    opacity: 0.3;
}

.core-ring-2 {
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed var(--bosla-gold);
    animation: rotate-rev 15s linear infinite;
}

.portal-core:hover {
    transform: scale(1.1);
    background: var(--bosla-accent);
    box-shadow: 0 0 40px var(--bosla-accent);
}
.ads-billboard-section {
    background: #000; /* خلفية سوداء لتركيز الضوء على الإعلانات */
}

.billboard-layout {
    display: flex;
    gap: 15px;
    height: 600px; /* ارتفاع ثابت للقسم لضمان الاتزان */
}

/* الإعلان الرئيسي */
.bb-main {
    flex: 2; /* يأخذ ضعف مساحة الجانب */
    position: relative;
}

/* الجانب */
.bb-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bb-secondary {
    flex: 1;
}

.bb-split {
    flex: 1;
    display: flex;
    gap: 15px;
}

.bb-small {
    flex: 1;
}

/* تنسيق العناصر */
.bb-item {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.bb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bb-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff0000; 
    color: #fff;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
    .billboard-layout {
        flex-direction: column;
        height: auto;
    }
    .bb-main, .bb-secondary, .bb-small {
        height: 300px; 
    }
}