/* ============================================================
   OGA — Main Stylesheet
   Colors: Navy #1A3C5E | Gold #C9A84C | Light #E8F4FD
   ============================================================ */

:root {
    --oga-primary:    #1A3C5E;
    --oga-secondary:  #C9A84C;
    --oga-light:      #E8F4FD;
    --oga-dark:       #1F2937;
    --oga-gray:       #6B7280;
    --oga-bg-alt:     #F9FAFB;
    --oga-success:    #10B981;
    --oga-danger:     #EF4444;
    --bs-font-sans-serif: 'Inter', sans-serif;
}

/* ── Typography ─────────────────────────────── */
body {
    font-family: 'Inter', sans-serif;
    color: var(--oga-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--oga-primary);
}

/* ── Bootstrap Overrides ────────────────────── */
.btn-primary {
    background-color: var(--oga-primary);
    border-color: var(--oga-primary);
}
.btn-primary:hover {
    background-color: #152e48;
    border-color: #152e48;
}
.btn-outline-primary {
    color: var(--oga-primary);
    border-color: var(--oga-primary);
}
.btn-outline-primary:hover {
    background-color: var(--oga-primary);
}
.text-primary { color: var(--oga-primary) !important; }
.bg-primary   { background-color: var(--oga-primary) !important; }
.text-gold    { color: var(--oga-secondary); }

/* ── Premium Topbar ─────────────────────────── */
.oga-topbar {
    background: #0B1120;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bg-gold {
    background-color: var(--oga-secondary) !important;
}
.text-gold {
    color: var(--oga-secondary) !important;
}
.tb-contact-link {
    color: #94A3B8;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.tb-contact-link:hover { color: #fff; }
.tb-contact-link i { font-size: 0.8rem; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.tb-contact-link:hover i { transform: scale(1.2) rotate(10deg); }
.tb-contact-link.tb-wa:hover { color: #25D366; }
.tb-contact-link.tb-wa:hover i { color: #25D366; }

.oga-topbar .tb-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.oga-topbar .tb-verify-btn i { color: var(--oga-secondary); font-size: 0.85rem; }
.oga-topbar .tb-verify-btn:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.4);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.2);
}

.oga-topbar .tb-social-circles a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #94A3B8;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.oga-topbar .tb-social-circles a:hover {
    background: var(--oga-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(201, 168, 76, 0.3);
}

.oga-topbar .tb-portal-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--oga-secondary) 0%, #a68430 100%);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
    transition: all 0.3s ease;
    border: none;
}
.oga-topbar .tb-portal-cta:hover {
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.5);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #a68430 0%, var(--oga-secondary) 100%);
    color: #fff !important;
}

/* ── Navbar ─────────────────────────────────── */
.oga-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.05);
    padding: 0;
    transition: all 0.4s ease;
}
.oga-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border-bottom-color: transparent;
}
.oga-navbar > .container {
    min-height: 80px;
    transition: min-height 0.4s ease;
}
.oga-navbar.scrolled > .container {
    min-height: 70px;
}

/* Brand */
.oga-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none !important;
    padding: 8px 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.oga-brand:hover { transform: scale(1.02); }
.oga-logo {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    transition: height 0.4s ease;
}
.oga-navbar.scrolled .oga-logo { height: 44px; }

/* Custom hamburger */
.oga-toggler {
    border: none;
    background: rgba(26,60,94,.05);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.oga-toggler:hover { background: rgba(26,60,94,.1); }
.oga-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--oga-primary);
    border-radius: 2px;
    transition: all 0.3s;
}
.oga-toggler:focus { outline: none; box-shadow: 0 0 0 3px rgba(201,168,76,0.3); }

/* Nav links */
.oga-navbar .nav-link.oga-nav-link {
    position: relative;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    padding: 28px 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.oga-navbar.scrolled .nav-link.oga-nav-link { padding: 23px 8px; }

.oga-navbar .nav-link.oga-nav-link::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--oga-secondary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}
.oga-navbar.scrolled .nav-link.oga-nav-link::before { bottom: 15px; }

.oga-navbar .nav-link.oga-nav-link:hover,
.oga-navbar .nav-link.oga-nav-link.active {
    color: var(--oga-primary);
}
.oga-navbar .nav-link.oga-nav-link:hover::before,
.oga-navbar .nav-link.oga-nav-link.active::before {
    opacity: 1;
    bottom: 12px;
}
.oga-navbar.scrolled .nav-link.oga-nav-link:hover::before,
.oga-navbar.scrolled .nav-link.oga-nav-link.active::before { bottom: 8px; }

/* Dropdown caret */
.oga-navbar .nav-link.oga-nav-link.dropdown-toggle::after {
    border: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}
.oga-navbar .dropdown.show .nav-link.oga-nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown panel */
.oga-navbar .oga-dropdown {
    min-width: 260px;
    padding: 12px 0;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 3px solid var(--oga-secondary);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    margin-top: 0 !important;
    animation: ogaDropIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top center;
}
@keyframes ogaDropIn {
    from { opacity: 0; transform: scaleY(0.9) translateY(-10px); }
    to   { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* Dropdown items */
.oga-navbar .dropdown-item.oga-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.oga-navbar .dropdown-item.oga-drop-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--oga-secondary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}
.oga-navbar .dropdown-item.oga-drop-item:hover,
.oga-navbar .dropdown-item.oga-drop-item:focus {
    background: linear-gradient(90deg, rgba(232, 244, 253, 0.8) 0%, transparent 100%);
    color: var(--oga-primary);
    padding-left: 30px;
}
.oga-navbar .dropdown-item.oga-drop-item:hover::before { transform: scaleY(1); }

.oga-navbar .dropdown-item.oga-drop-item i {
    width: 20px;
    text-align: center;
    color: var(--oga-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.oga-navbar .dropdown-item.oga-drop-item:hover i { transform: scale(1.2); }

.oga-navbar .dropdown-item.oga-drop-all {
    font-weight: 700;
    color: var(--oga-primary);
    background: rgba(201,168,76,0.05);
}
.oga-drop-divider {
    margin: 8px 20px;
    border-color: rgba(0,0,0,.06);
}

/* Actions area */
.oga-nav-actions {
    border-left: 1px solid rgba(0,0,0,.08);
    padding-left: 20px !important;
    margin-left: 8px;
}

/* Action Items (Search, Language) */
.oga-nav-action-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #4b5563;
    background: rgba(0,0,0,0.03);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.oga-nav-action-icon:hover {
    background: var(--oga-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26,60,94,.2);
}

/* Language button */
.oga-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--oga-primary);
    background: rgba(26,60,94,.04);
    border: 1px solid rgba(26,60,94,.1);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.oga-lang-btn:hover {
    background: var(--oga-primary);
    border-color: var(--oga-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26,60,94,.2);
    transform: translateY(-2px);
}
.oga-lang-btn i { font-size: 0.85rem; }

/* Enroll CTA */
.oga-enroll-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--oga-primary), #1e4b7a);
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(26,60,94,.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.oga-enroll-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}
.oga-enroll-btn:hover::after { left: 150%; }
.oga-enroll-btn:hover {
    background: linear-gradient(135deg, var(--oga-secondary), #b8922e);
    color: #fff;
    box-shadow: 0 8px 20px rgba(201,168,76,.4);
    transform: translateY(-2px);
}
.oga-btn-arrow { transition: transform 0.3s ease; font-size: 0.8rem; }
.oga-enroll-btn:hover .oga-btn-arrow { transform: translateX(4px); }

/* ── Navbar Mobile ───────────────────────────── */
@media (max-width: 991.98px) {
    .oga-navbar > .container { min-height: 70px; }
    .oga-navbar.scrolled > .container { min-height: 60px; }
    .oga-logo { height: 40px; }
    .oga-navbar.scrolled .oga-logo { height: 36px; }

    .oga-navbar .navbar-collapse {
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 20px;
        background: #fff;
        position: absolute;
        top: 100%; left: 0; right: 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        padding: 10px 20px 20px;
    }
    .oga-navbar .nav-link.oga-nav-link {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0,0,0,.03);
    }
    .oga-navbar .nav-link.oga-nav-link::before { display: none; }
    .oga-navbar .nav-link.oga-nav-link:hover,
    .oga-navbar .nav-link.oga-nav-link.active {
        background: var(--oga-light);
        padding-left: 24px;
        border-radius: 8px;
    }
    .oga-navbar .oga-dropdown {
        box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
        border: none;
        border-left: 3px solid var(--oga-secondary);
        border-radius: 0 8px 8px 0;
        margin-left: 16px;
        animation: none;
        background: rgba(249,250,251,0.8);
    }
    .oga-nav-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        border-left: none !important;
        border-top: 1px solid rgba(0,0,0,.05);
        padding: 20px 0 0 !important;
        margin-left: 0 !important;
    }
    .oga-nav-actions-row {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-bottom: 10px;
    }
    .oga-lang-btn,
    .oga-enroll-btn { justify-content: center; }
}

/* ── Section Headings ───────────────────────── */
.section-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--oga-secondary);
    margin-top: 8px;
    border-radius: 2px;
}
.section-heading.centered::after {
    margin: 8px auto 0;
}

/* ── Course Card ────────────────────────────── */
.course-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.06);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    height: 100%;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}
.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}
.course-card .badge-level {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--oga-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}
.course-card .card-price {
    color: var(--oga-secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ── Stats Bar ──────────────────────────────── */
.stats-bar {
    background: var(--oga-primary);
    color: #fff;
}
.stats-bar .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--oga-secondary);
}

/* ── WhatsApp Float ─────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    transition: transform 0.2s;
    text-decoration: none;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
}

/* ── Back to Top ────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 999;
    background: var(--oga-primary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}
.back-to-top.visible { display: flex; }

/* ── Footer ─────────────────────────────────── */
.oga-footer .footer-links li {
    margin-bottom: 6px;
}
.oga-footer .footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}
.oga-footer .footer-links a:hover {
    color: var(--oga-secondary);
}
.oga-footer .footer-contact li {
    margin-bottom: 8px;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* ── Utility ────────────────────────────────── */
.bg-alt { background-color: var(--oga-bg-alt); }
.text-gold { color: var(--oga-secondary) !important; }
img { max-width: 100%; }

/* ── Flash Messages ─────────────────────────── */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9990;
    min-width: 300px;
}
/* ── Premium Dynamic Page Sections ──────────────── */
.oga-feature-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}
.oga-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--oga-secondary);
}
.oga-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(26,60,94,0.05);
    color: var(--oga-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.oga-feature-card:hover .oga-feature-icon {
    background: var(--oga-primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.oga-program-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.oga-program-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.oga-program-card .card-header-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.oga-program-card .card-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--oga-secondary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.oga-step-container {
    position: relative;
}
.oga-step-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}
.oga-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
}
.oga-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--oga-primary);
    color: #fff;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.bg-dark .oga-step-number {
    border-color: #0B1120;
}
.oga-step-item h4 {
    color: inherit;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* RTL Adjustments */
[dir="rtl"] .oga-navbar .nav-link.oga-nav-link i { margin-left: 5px; margin-right: 0; }
[dir="rtl"] .oga-feature-card { text-align: right; }
[dir="rtl"] .oga-step-item p { font-size: 0.9rem; }
.oga-lang-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 2.5rem;
    transition: all 0.4s ease;
    height: 100%;
}
.oga-lang-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}
.oga-lang-flag {
    font-size: 2.5rem;
    line-height: 1;
}
.oga-lang-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 1rem;
}
.oga-lang-pill-en { background: rgba(37,99,235,0.08); color: #2563eb; }
.oga-lang-pill-ar { background: rgba(16,185,129,0.08); color: #10b981; }
.oga-lang-pill-fr { background: rgba(79,70,229,0.08); color: #4f46e5; }
.oga-lang-pill-es { background: rgba(225,29,72,0.08); color: #e11d48; }

.pattern-bg {
    background-image: radial-gradient(var(--oga-secondary) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    background-color: #fff;
    opacity: 0.4;
}

.grayscale-filter { filter: grayscale(100%); }
.letter-spacing-2 { letter-spacing: 0.15em; }
.fw-black { font-weight: 900; }
.fst-serif { font-family: 'Playfair Display', serif; }
.max-w-700 { max-width: 700px; }

.min-vh-50 { min-height: 50vh; }
.z-index-2 { z-index: 2; }
.inset-0 { top: 0; left: 0; right: 0; bottom: 0; }
.opacity-60 { opacity: 0.6; }

.oga-hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.oga-hero-section h1 { color: #fff; }
