/* ==========================================================================
   Quran Teaching - Hero Section Stylesheet
   ========================================================================== */

:root {
    --color-primary-blue: #1b507d;
    --color-primary-hover: #133c5e;
    --color-gold: #cfa228;
    --color-gold-hover: #b0871d;
    --color-text-dark: #222222;
    --color-text-muted: #555555;
    --color-white: #ffffff;
    --font-arabic: 'Amiri', serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-color: #dfa929 #091a2d;
    scrollbar-width: thin;
}

/* Custom Themed Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #091a2d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #dfa929 0%, #c4921f 100%);
    border-radius: 8px;
    border: 2px solid #091a2d;
}

::-webkit-scrollbar-thumb:hover {
    background: #facc15;
}

/* ==========================================
   Clean 60FPS Fluid Motion Reveal System
   ========================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.reveal-on-scroll.reveal-left {
    transform: translateX(-20px);
}

.reveal-on-scroll.reveal-right {
    transform: translateX(20px);
}

.reveal-on-scroll.reveal-scale {
    transform: translateY(12px) scale(0.98);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: none;
}

/* Snappy Micro Delays */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.2s; }
.delay-5 { transition-delay: 0.25s; }

/* ==========================================
   Top Announcement / Contact Bar
   ========================================== */
.top-bar {
    background-color: #0b2239;
    color: #d0dce8;
    font-size: 13px;
    padding: 10px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    z-index: 102;
    position: relative;
}

.top-bar-container {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d0dce8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.top-bar-item:hover {
    color: #dfa929;
}

.top-bar-item svg {
    width: 15px;
    height: 15px;
    color: #dfa929;
    flex-shrink: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-link {
    color: #ffffff;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-link:hover {
    opacity: 1;
    color: #dfa929;
    transform: translateY(-1px);
}

.social-link svg {
    width: 15px;
    height: 15px;
}

/* ==========================================
   Main Header / Navbar
   ========================================== */
.site-header {
    width: 100%;
    height: 85px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.header-container {
    max-width: 1380px;
    height: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.site-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 800;
    color: #0b3a82;
    letter-spacing: 0.5px;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.brand-subtitle .sub-line {
    flex: 1;
    height: 1.5px;
    background-color: #0b3a82;
}

.brand-subtitle .sub-text {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    color: #0b3a82;
    letter-spacing: 2px;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #dfa929;
}

.nav-link .arrow {
    font-size: 11px;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   NAVIGATION DROPDOWN MENU (Desktop)
   ========================================================= */
.site-header {
    position: relative;
    z-index: 1000 !important;
}

@media (min-width: 1025px) {
    .main-nav {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .nav-list {
        display: flex;
        list-style: none;
        gap: 32px;
        align-items: center;
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-dropdown {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .nav-dropdown:hover > .nav-link .arrow,
    .nav-dropdown:focus-within > .nav-link .arrow,
    .nav-dropdown.dropdown-open > .nav-link .arrow {
        transform: rotate(180deg);
        color: #dfa929;
    }

    .nav-dropdown .dropdown-menu {
        position: absolute;
        top: calc(100% + 4px);
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        background: #ffffff;
        border-radius: 18px;
        box-shadow: 0 20px 50px rgba(11, 34, 57, 0.18), 0 0 0 1px rgba(223, 169, 41, 0.22);
        width: 520px;
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99999 !important;
    }

    /* Hover bridge */
    .nav-dropdown .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        right: 0;
        height: 15px;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu,
    .nav-dropdown.dropdown-open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }

    .dropdown-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.22s ease;
        background: transparent;
        border: 1px solid transparent;
    }

    .dropdown-item:hover {
        background: #fdfaf2;
        border-color: rgba(223, 169, 41, 0.35);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(223, 169, 41, 0.1);
    }

    .dropdown-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: rgba(11, 58, 130, 0.07);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #0b3a82;
        transition: all 0.22s ease;
    }

    .dropdown-item:hover .dropdown-icon {
        background: #dfa929;
        color: #0b2239;
        box-shadow: 0 4px 12px rgba(223, 169, 41, 0.35);
    }

    .dropdown-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        text-align: left;
    }

    .dropdown-title {
        font-family: var(--font-sans);
        font-size: 13.5px;
        font-weight: 700;
        color: #0b2239;
        line-height: 1.25;
        transition: color 0.2s ease;
    }

    .dropdown-item:hover .dropdown-title {
        color: #0b3a82;
    }

    .dropdown-sub {
        font-family: var(--font-sans);
        font-size: 11px;
        color: #64748b;
        line-height: 1.2;
    }

    .dropdown-item-all {
        grid-column: 1 / -1;
        background: rgba(223, 169, 41, 0.08);
        border: 1px solid rgba(223, 169, 41, 0.25);
        margin-bottom: 2px;
    }

    .dropdown-item-all:hover {
        background: rgba(223, 169, 41, 0.18);
        border-color: #dfa929;
    }

    .drawer-header,
    .drawer-action-card,
    .drawer-contact-block,
    .drawer-footer,
    .nav-link-icon,
    .courses-count-tag {
        display: none !important;
    }
}

.btn-register-header {
    background-color: #dfa929;
    color: #0d2b45;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(223, 169, 41, 0.3);
    transition: all 0.3s ease;
}

.btn-register-header:hover {
    background-color: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(223, 169, 41, 0.45);
}

.btn-register-header svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-register-header:hover svg {
    transform: translateX(4px);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    z-index: 1001;
    transition: background 0.25s ease;
}

.mobile-toggle:hover {
    background: rgba(14, 53, 92, 0.08);
}

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background-color: #0b2239;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #dfa929;
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #dfa929;
}

/* Hide Top Contact Bar on All Mobile & Tablet Devices */
@media (max-width: 1024px) {
    .top-bar {
        display: none !important;
    }
}

/* Global Mobile & Tablet Navigation Drawer & Responsive Layout */
@media (max-width: 1024px) {
    .top-bar {
        display: none !important;
    }

    .header-container {
        padding: 0 20px;
        height: 72px;
    }

    .site-header {
        height: 72px;
        position: sticky;
        top: 0;
        z-index: 999;
        background: #ffffff;
    }

    .site-logo {
        height: 46px;
    }

    .brand-title {
        font-size: 17px;
    }

    .brand-subtitle .sub-text {
        font-size: 8.5px;
        letter-spacing: 1.5px;
    }

    .header-action {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        background: transparent;
        border: none;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 8px;
        border-radius: 8px;
        z-index: 1100;
        transition: all 0.3s ease;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2.5px;
        background-color: #0b2239;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
        background-color: #dfa929;
    }

    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
        background-color: #dfa929;
    }

    /* Side Slide-out Drawer */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 340px !important;
        max-width: 90vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: linear-gradient(180deg, #091e33 0%, #061524 60%, #030c16 100%) !important;
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.65) !important;
        padding: 0 0 30px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        transform: translateX(105%) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 1050 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        border-left: 1.5px solid rgba(223, 169, 41, 0.35) !important;
    }

    .main-nav.active {
        transform: translateX(0) !important;
    }

    /* Fixed Sticky Drawer Header */
    .drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 18px 20px !important;
        background: #061726 !important;
        border-bottom: 1px solid rgba(223, 169, 41, 0.25) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 60 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
    }

    .drawer-brand {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .drawer-logo {
        height: 38px !important;
        width: auto !important;
        filter: drop-shadow(0 2px 8px rgba(223, 169, 41, 0.35)) !important;
    }

    .drawer-brand-text {
        display: flex !important;
        flex-direction: column !important;
    }

    .drawer-brand-name {
        font-family: var(--font-sans) !important;
        font-size: 14.5px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
    }

    .drawer-brand-sub {
        font-family: var(--font-sans) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #dfa929 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
    }

    .drawer-close-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: rgba(223, 169, 41, 0.12) !important;
        border: 1.5px solid #dfa929 !important;
        color: #dfa929 !important;
        cursor: pointer !important;
        line-height: 1 !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 0 14px rgba(223, 169, 41, 0.25) !important;
    }

    .drawer-close-btn:hover,
    .drawer-close-btn:active {
        background: #dfa929 !important;
        color: #061726 !important;
        transform: scale(1.1) rotate(90deg) !important;
        box-shadow: 0 0 20px rgba(223, 169, 41, 0.6) !important;
    }

    /* Navigation list inside Drawer */
    .nav-list {
        display: flex !important;
        flex-direction: column !important;
        list-style: none !important;
        gap: 8px !important;
        width: 100% !important;
        height: auto !important;
        padding: 16px 18px 0 18px !important;
        margin: 0 !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
    }

    .nav-list li {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        padding: 11px 14px !important;
        border-radius: 12px !important;
        font-family: var(--font-sans) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-decoration: none !important;
        transition: all 0.22s ease !important;
    }

    .nav-link-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .nav-link-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        background: rgba(223, 169, 41, 0.12) !important;
        color: #dfa929 !important;
        flex-shrink: 0 !important;
        border: 1px solid rgba(223, 169, 41, 0.2) !important;
    }

    .nav-link:hover {
        background: rgba(223, 169, 41, 0.15) !important;
        color: #dfa929 !important;
        border-color: rgba(223, 169, 41, 0.4) !important;
        transform: translateX(3px);
    }

    .nav-link.active {
        background: linear-gradient(135deg, #dfa929 0%, #ca931e 100%) !important;
        color: #081b2e !important;
        border-color: #dfa929 !important;
        box-shadow: 0 4px 16px rgba(223, 169, 41, 0.4) !important;
        font-weight: 800 !important;
    }

    .nav-link.active .nav-link-icon {
        background: rgba(8, 27, 46, 0.2) !important;
        color: #081b2e !important;
        border-color: transparent !important;
    }

    .nav-dropdown-meta {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .courses-count-tag {
        display: inline-block !important;
        font-size: 10.5px !important;
        font-weight: 800 !important;
        color: #081b2e !important;
        background: #dfa929 !important;
        padding: 2px 8px !important;
        border-radius: 10px !important;
        letter-spacing: 0.3px !important;
    }

    /* Mobile Dropdown Menu Styling */
    .nav-dropdown {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        align-items: stretch !important;
        position: static !important;
    }

    .nav-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px !important;
        background: rgba(0, 0, 0, 0.35) !important;
        border: 1px solid rgba(223, 169, 41, 0.3) !important;
        border-radius: 12px !important;
        margin: 8px 0 0 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-dropdown.dropdown-open .dropdown-menu {
        display: block !important;
        transform: none !important;
    }

    .nav-dropdown.dropdown-open > .nav-link .arrow {
        transform: rotate(180deg) !important;
        color: #dfa929 !important;
    }

    .nav-dropdown.dropdown-open > .nav-link {
        border-color: rgba(223, 169, 41, 0.6) !important;
        background: rgba(223, 169, 41, 0.15) !important;
        color: #dfa929 !important;
    }

    .dropdown-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 9px 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 9px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
    }

    .dropdown-item:hover,
    .dropdown-item:active {
        background: rgba(223, 169, 41, 0.22) !important;
        border-color: rgba(223, 169, 41, 0.5) !important;
        transform: none !important;
    }

    .dropdown-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        background: rgba(223, 169, 41, 0.18) !important;
        color: #dfa929 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .dropdown-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        text-align: left !important;
        min-width: 0 !important;
        flex: 1 !important;
    }

    .dropdown-title {
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .dropdown-sub {
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 10.5px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }

    /* Drawer Promo / Trial Card */
    .drawer-action-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        background: linear-gradient(135deg, rgba(223, 169, 41, 0.16) 0%, rgba(13, 43, 69, 0.8) 100%) !important;
        border: 1.5px solid rgba(223, 169, 41, 0.45) !important;
        border-radius: 16px !important;
        padding: 16px !important;
        margin: 16px 18px 0 18px !important;
        box-sizing: border-box !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
        text-align: left !important;
    }

    .drawer-action-badge {
        display: inline-block !important;
        align-self: flex-start !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        color: #081b2e !important;
        background: #dfa929 !important;
        padding: 3px 8px !important;
        border-radius: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
    }

    .drawer-action-title {
        font-family: var(--font-sans) !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin: 2px 0 0 0 !important;
        line-height: 1.3 !important;
    }

    .drawer-action-desc {
        font-size: 11.5px !important;
        color: #d0dce8 !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }

    .btn-drawer-cta {
        background: linear-gradient(135deg, #dfa929 0%, #ca931e 100%) !important;
        color: #081b2e !important;
        font-family: var(--font-sans) !important;
        font-weight: 800 !important;
        font-size: 13px !important;
        padding: 10px 16px !important;
        border-radius: 25px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-decoration: none !important;
        margin-top: 6px !important;
        box-shadow: 0 4px 14px rgba(223, 169, 41, 0.4) !important;
        transition: all 0.25s ease !important;
    }

    .btn-drawer-cta:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 18px rgba(223, 169, 41, 0.55) !important;
    }

    /* Drawer Quick Contact Block */
    .drawer-contact-block {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 12px 18px 0 18px !important;
        box-sizing: border-box !important;
    }

    .drawer-contact-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 9px 10px !important;
        border-radius: 10px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .drawer-contact-btn.whatsapp {
        background: rgba(37, 211, 102, 0.15) !important;
        color: #25d366 !important;
        border: 1px solid rgba(37, 211, 102, 0.35) !important;
    }

    .drawer-contact-btn.whatsapp:hover {
        background: #25d366 !important;
        color: #081b2e !important;
    }

    .drawer-contact-btn.phone {
        background: rgba(223, 169, 41, 0.12) !important;
        color: #dfa929 !important;
        border: 1px solid rgba(223, 169, 41, 0.3) !important;
    }

    .drawer-contact-btn.phone:hover {
        background: #dfa929 !important;
        color: #081b2e !important;
    }

    /* Drawer Footer */
    .drawer-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 16px 18px 0 18px !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-sizing: border-box !important;
    }

    .drawer-socials {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .drawer-social-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: #dfa929 !important;
        border: 1px solid rgba(223, 169, 41, 0.25) !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .drawer-social-icon:hover {
        background: #dfa929 !important;
        color: #081b2e !important;
        transform: scale(1.1) !important;
    }

    .drawer-trust-note {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.6) !important;
        margin: 0 !important;
        text-align: center !important;
    }

    /* Mobile Hero Section */
    .hero-wrapper {
        background-image: none !important;
        background-color: #0e355c !important;
        min-height: auto !important;
        padding: 24px 0 50px 0 !important;
    }

    .hero-container {
        padding: 0 20px !important;
    }

    .hero-content {
        margin-top: 0 !important;
        max-width: 100% !important;
        text-align: left;
    }

    .hero-mobile-image {
        display: block !important;
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        margin-top: 36px !important;
        margin-bottom: -50px !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .hero-mobile-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 480px !important;
        border-radius: 0 !important;
        object-fit: cover !important;
        border: none !important;
        box-shadow: none !important;
        display: block !important;
    }

    .hero-title {
        font-size: clamp(28px, 6vw, 36px) !important;
        line-height: 1.22 !important;
    }

    .hero-description {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
    }

    /* Mobile Interactive Quran Learning Section */
    .interactive-section {
        min-height: auto !important;
        padding: 60px 20px 70px 20px !important;
        background: linear-gradient(145deg, #fbf7ef 0%, #f5efe4 50%, #ede4d2 100%) !important;
    }

    .interactive-container {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 32px !important;
        padding: 0 !important;
    }

    .interactive-media {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }

    .blob-wrapper {
        width: 270px !important;
        height: 270px !important;
        max-width: 75vw !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        border: 3.5px solid #dfa929 !important;
        overflow: hidden !important;
        margin: 0 auto !important;
        box-shadow: 0 0 24px rgba(223, 169, 41, 0.6), 0 0 50px rgba(223, 169, 41, 0.25), 0 14px 32px rgba(0, 0, 0, 0.45) !important;
        background: #0b2239 !important;
    }

    .blob-image {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .interactive-content {
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .welcome-text {
        font-size: 13px !important;
        letter-spacing: 2px !important;
        color: #b8860b !important;
        font-weight: 800 !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .interactive-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        color: #0b2b4d !important;
        margin-bottom: 16px !important;
        text-align: center !important;
    }

    .interactive-title .gold-text {
        color: #cfa228 !important;
        display: block !important;
    }

    .interactive-desc {
        color: #475569 !important;
        font-size: 14.5px !important;
        line-height: 1.65 !important;
        max-width: 480px !important;
        margin: 0 auto 26px auto !important;
        text-align: center !important;
    }

    .btn-trial {
        margin: 0 auto !important;
        background-color: #dfa929 !important;
        color: #0b2239 !important;
        box-shadow: 0 8px 24px rgba(223, 169, 41, 0.45) !important;
    }

    .gold-frame {
        display: none !important;
    }

    /* Mobile Reasons / Core Strengths Section */
    .reasons-section {
        background-image: none !important;
        background-color: #ffffff !important;
        padding: 40px 0 70px 0 !important;
        min-height: auto !important;
    }

    .reasons-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .reasons-content {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .reasons-mobile-image {
        display: block !important;
        width: 100% !important;
        margin: 10px 0 36px 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .reasons-mobile-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: 340px !important;
        max-height: 48vh !important;
        border-radius: 22px !important;
        border: 2.5px solid rgba(223, 169, 41, 0.45) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25) !important;
        object-fit: cover !important;
        object-position: center 15% !important;
        display: block !important;
    }

    .reasons-title,
    .features-list {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .reasons-title {
        font-size: 32px !important;
        margin-bottom: 28px !important;
        text-align: left !important;
    }

    .features-list {
        gap: 24px !important;
    }

    .feature-item {
        gap: 16px !important;
    }

    .feature-icon {
        width: 44px !important;
        height: 44px !important;
    }
}

/* ==========================================
   Hero Section Styling
   ========================================== */
.hero-wrapper {
    width: 100%;
    min-height: max(620px, calc(100vw * 1200 / 2752 + 40px));
    background-color: #0e355c;
    background-image: url('assets/images/Hero.webp');
    background-size: 100% auto;
    background-position: center -110px;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 30px 0 50px 0;
    margin-bottom: 0;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, 
        rgba(14, 53, 92, 0) 0%, 
        rgba(14, 53, 92, 0.25) 25%,
        rgba(14, 53, 92, 0.6) 50%, 
        rgba(14, 53, 92, 0.9) 75%, 
        #0e355c 88%,
        #0e355c 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-container {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    max-width: 620px;
    color: #ffffff;
    margin-top: 0px;
}

.hero-mobile-image {
    display: none;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #dfa929;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 50px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.btn-register-hero {
    background-color: #dfa929;
    color: #0d2b45;
    border: none;
    padding: 15px 36px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(223, 169, 41, 0.35);
    transition: all 0.3s ease;
}

.btn-register-hero:hover {
    background-color: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(223, 169, 41, 0.5);
}

.btn-courses {
    color: #dfa929;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-trust-block {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 10px;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero-trust-block:hover {
    transform: translateY(-3px);
}

.hero-trust-block:hover .trust-students-count {
    color: #f6c858;
    text-decoration: underline;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #ffffff;
    margin-left: -12px;
}

.avatar-img:first-child {
    margin-left: 0;
}

.trust-students-count {
    color: #dfa929;
    font-weight: 700;
    font-size: 15px;
}

.trust-rating {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

/* Section 2: Interactive Quran Learning Section (Warm Sand / Parchment Luxury Theme) */
.interactive-section {
    width: 100vw;
    background: radial-gradient(circle at 88% 18%, rgba(223, 169, 41, 0.16) 0%, transparent 45%),
                radial-gradient(circle at 12% 82%, rgba(207, 162, 40, 0.12) 0%, transparent 50%),
                linear-gradient(145deg, #fbf7ef 0%, #f5efe4 50%, #ede4d2 100%);
    border-top: 1.5px solid rgba(223, 169, 41, 0.35);
    border-bottom: 1.5px solid rgba(223, 169, 41, 0.25);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.interactive-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.interactive-media {
    flex: 1;
    max-width: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-wrapper {
    width: 440px;
    height: 440px;
    max-width: 90vw;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
    border: 5px solid #dfa929 !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(11, 34, 57, 0.16), 0 0 35px rgba(223, 169, 41, 0.28) !important;
    background: #ffffff;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.blob-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px rgba(11, 34, 57, 0.22), 0 0 45px rgba(223, 169, 41, 0.4) !important;
}

.blob-image {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    display: block !important;
    object-fit: cover !important;
}

.interactive-content {
    flex: 1;
    max-width: 600px;
    color: #0b2239;
}

.interactive-content .welcome-text {
    color: #b8860b !important;
}

.interactive-content .interactive-title {
    color: #0b2b4d !important;
}

.interactive-content .interactive-title .gold-text {
    color: #cfa228 !important;
}

.interactive-content .interactive-desc {
    color: #475569 !important;
}

/* Section 3: Reasons / Right Fit Section */
.reasons-section {
    width: 100vw;
    min-height: 100vh;
    background-color: #ffffff;
    background-image: url('assets/images/H (3).webp');
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.reasons-container {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 60px;
}

.reasons-content {
    max-width: 580px;
}

.reasons-mobile-image {
    display: none;
}

.reasons-title {
    font-family: var(--font-sans);
    font-size: 44px;
    font-weight: 800;
    color: #dfa929;
    line-height: 1.2;
    margin-bottom: 45px;
    letter-spacing: -0.5px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.feature-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text {
    flex: 1;
}

.feature-heading {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 700;
    color: #dfa929;
    margin-bottom: 6px;
}

.feature-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 440px;
}

/* Section 5: Recent Reviews Section */
.reviews-section {
    width: 100vw;
    min-height: 100vh;
    background-color: #ffffff;
    position: relative;
    padding: 90px 0 110px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.reviews-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.reviews-title {
    font-family: var(--font-sans);
    font-size: 46px;
    font-weight: 800;
    color: #dfa929;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.reviews-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin-bottom: 45px;
}

.review-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 42px 36px 36px 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.review-card.side-card {
    width: 440px;
    opacity: 0.35;
    transform: scale(0.88);
    filter: blur(1px);
}

.review-card.main-review {
    width: 520px;
    z-index: 5;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(223, 169, 41, 0.3);
}

.review-card.main-review:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

.reviewer-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #dfa929;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(223, 169, 41, 0.25);
}

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

.reviewer-name {
    font-family: var(--font-sans);
    font-size: 19px;
    font-weight: 700;
    color: #dfa929;
    margin-bottom: 4px;
}

.reviewer-location {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #888888;
    margin-bottom: 14px;
    font-weight: 500;
}

.star-rating {
    color: #eab308;
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.review-quote {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.65;
    color: #555555;
    max-width: 420px;
}

/* Pagination Dots */
.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Section 6: Footer Section - Exact Reference Match */
.site-footer {
    width: 100%;
    background-color: #071728 !important;
    color: #ffffff !important;
    padding: 70px 0 30px 0 !important;
    font-family: var(--font-sans);
    position: relative;
    border-top: 1px solid rgba(223, 169, 41, 0.2);
}

.footer-container {
    max-width: 1320px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr 1.15fr 1.25fr !important;
    gap: 40px !important;
    margin-bottom: 45px !important;
}

.footer-col {
    display: flex !important;
    flex-direction: column !important;
}

/* Col 1: Brand & Contact */
.footer-brand-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
}

.footer-logo-img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
}

.footer-brand-text {
    display: flex !important;
    flex-direction: column !important;
}

.footer-brand-title {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

.footer-brand-sub {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #dfa929 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    margin-top: 3px !important;
}

.footer-brand-sub .dash {
    color: #dfa929 !important;
    opacity: 0.8 !important;
}

.footer-desc-text {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #94a3b8 !important;
    margin-bottom: 22px !important;
    max-width: 320px !important;
}

.footer-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.footer-contact-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-contact-link:hover {
    color: #dfa929 !important;
}

.footer-contact-link svg {
    width: 16px !important;
    height: 16px !important;
    color: #dfa929 !important;
    flex-shrink: 0 !important;
}

/* Heading with Golden Underline */
.footer-col-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
}

.footer-gold-bar {
    width: 32px !important;
    height: 2px !important;
    background-color: #dfa929 !important;
    border-radius: 2px !important;
    margin-bottom: 22px !important;
}

/* Link Lists */
.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.footer-links-list li a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.footer-links-list li a:hover {
    color: #dfa929 !important;
    transform: translateX(3px) !important;
}

/* Col 4: Global Online Campus & Circular Social Icons */
.footer-social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 22px !important;
}

.footer-social-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.footer-social-btn:hover {
    background: #dfa929 !important;
    color: #071728 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(223, 169, 41, 0.35) !important;
}

.footer-social-btn svg {
    width: 17px !important;
    height: 17px !important;
    fill: currentColor !important;
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding-top: 25px !important;
    text-align: center !important;
}

.footer-copyright-text {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px !important;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #d4a328;
    transform: translateY(-2px);
}

/* Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    font-size: 12.5px;
    color: #9ca3af;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 36px;
}

.btn-services {
    text-decoration: none;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.8px;
}

.btn-demo {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    border: none;
    padding: 18px 38px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 28px rgba(27, 80, 125, 0.38);
}

/* ==========================================================================
   Comprehensive Multi-Device & Mobile Responsiveness Optimizations
   ========================================================================== */

/* Medium Tablets & Below (<= 1024px) */
@media (max-width: 1024px) {
    .hero-container,
    .reasons-container,
    .showcase-container,
    .reviews-container,
    .footer-container {
        padding: 0 32px;
    }

    .stat-counter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .hero-title {
        font-size: clamp(34px, 4.5vw, 48px);
    }
}

/* Small Tablets & Mobile Landscape (<= 768px) */
@media (max-width: 768px) {
    html, body {
        font-size: 15px;
    }

    .top-bar-left {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-wrapper {
        padding: 50px 0 60px 0;
        min-height: auto;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        max-width: 320px;
    }

    .btn-demo {
        width: 100%;
        justify-content: center;
        padding: 15px 28px;
    }

    .btn-services {
        text-align: center;
    }

    /* Section 3: Why Choose Us */
    .reasons-section {
        background-image: none !important;
        background-color: #ffffff !important;
        padding: 0 0 70px 0 !important;
        min-height: auto !important;
    }

    .reasons-container {
        padding: 0 20px;
    }

    .reasons-title {
        font-size: 32px !important;
        margin-bottom: 36px !important;
    }

    .reason-card {
        padding: 24px 20px !important;
        margin-bottom: 20px !important;
    }

    /* Section 4: Video Reels Showcase */
    .video-showcase {
        padding: 60px 0 80px 0 !important;
        min-height: auto !important;
    }

    .showcase-container {
        padding: 0 20px;
    }

    .showcase-title {
        font-size: 32px !important;
        margin-bottom: 30px !important;
    }

    .showcase-slider-wrapper,
    .video-showcase-wrapper {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 10px 0 !important;
        box-sizing: border-box !important;
    }

    .video-showcase {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 10px 0 !important;
    }

    .video-card {
        border-radius: 26px !important;
        overflow: hidden !important;
        position: relative !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        cursor: pointer !important;
    }

    .video-card.main-card {
        order: 2 !important;
        display: block !important;
        width: min(340px, 86vw) !important;
        max-width: 340px !important;
        aspect-ratio: 9 / 16 !important;
        height: auto !important;
        min-height: unset !important;
        max-height: 80vh !important;
        z-index: 10 !important;
        position: relative !important;
        transform: scale(1) !important;
        opacity: 1 !important;
        filter: none !important;
        border: 3.5px solid #dfa929 !important;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }

    .video-card.side-card {
        display: none !important;
    }

    .video-card img,
    .video-card .reel-thumb-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .video-showcase-wrapper .slider-btn {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 50 !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        background: #0b2239 !important;
        border: 2.5px solid #dfa929 !important;
        color: #dfa929 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    .video-showcase-wrapper .slider-btn.prev-btn {
        left: 4px !important;
    }

    .video-showcase-wrapper .slider-btn.next-btn {
        right: 4px !important;
    }

    .video-showcase-wrapper .slider-btn svg {
        width: 22px !important;
        height: 22px !important;
        pointer-events: none !important;
    }

    /* Section 5: Reviews */
    .reviews-section {
        padding: 60px 0 80px 0 !important;
        min-height: auto !important;
        background-color: #ffffff !important;
    }

    .reviews-section .gold-frame {
        display: none !important;
    }

    .reviews-container {
        padding: 0 16px !important;
        position: relative !important;
    }

    .reviews-title {
        font-size: 32px !important;
        margin-bottom: 24px !important;
    }

    .reviews-slider-wrapper {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .reviews-slider-viewport {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 20px 0 !important;
    }

    .reviews-slider-track {
        display: flex !important;
        gap: 16px !important;
        align-items: center !important;
    }

    .review-card {
        flex: 0 0 calc(100vw - 36px) !important;
        width: calc(100vw - 36px) !important;
        max-width: 380px !important;
        min-width: 280px !important;
        padding: 32px 20px 26px 20px !important;
        border-radius: 24px !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08) !important;
        box-sizing: border-box !important;
        transform: scale(0.96) !important;
        opacity: 0.75 !important;
    }

    .review-card.active {
        opacity: 1 !important;
        transform: scale(1) !important;
        border: 2.5px solid #dfa929 !important;
        box-shadow: 0 18px 45px rgba(223, 169, 41, 0.22), 0 10px 24px rgba(0, 0, 0, 0.06) !important;
    }

    .review-quote,
    .review-text {
        font-size: 14.5px !important;
        line-height: 1.65 !important;
        color: #4b5563 !important;
    }

    #reviewsSliderWrapper .slider-btn {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 25 !important;
        flex-shrink: 0 !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        border-radius: 50% !important;
        background: #0b2239 !important;
        color: #dfa929 !important;
        border: 2px solid #dfa929 !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28) !important;
    }

    #reviewsSliderWrapper .prev-btn {
        left: -4px !important;
    }

    #reviewsSliderWrapper .next-btn {
        right: -4px !important;
    }

    .pagination-dots {
        margin-top: 18px !important;
    }

    /* Modals */
    .modal-card {
        width: 94% !important;
        max-height: 90vh !important;
        padding: 28px 20px !important;
        overflow-y: auto !important;
    }

    .video-modal-card {
        width: 92% !important;
        max-width: 380px !important;
        aspect-ratio: 9 / 16 !important;
        max-height: 85vh !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 0 14px;
        height: 68px;
    }

    .site-header {
        height: 68px;
    }

    .main-nav {
        top: 68px;
        height: calc(100vh - 68px);
        padding: 24px 16px 40px 16px;
    }

    .site-logo {
        height: 40px;
    }

    .brand-title {
        font-size: 15px;
    }

    .brand-subtitle .sub-text {
        font-size: 7.5px;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 27px;
    }

    .reasons-title,
    .showcase-title,
    .reviews-title,
    .courses-hero-title,
    .section-main-title {
        font-size: 26px !important;
    }

    .filter-tabs-wrapper {
        display: none !important;
    }

    .arch-course-card {
        padding: 24px 16px 28px 16px !important;
    }

    .btn-learn-more {
        width: 100% !important;
        padding: 12px 24px !important;
        font-size: 14.5px !important;
    }

    .stat-counter-grid {
        grid-template-columns: 1fr !important;
    }

    .pricing-card.featured {
        order: -1 !important;
    }
}

/* Inline Direct Video Player for Carousel Cards */
.video-card.is-playing {
    transform: scale(1) !important;
    cursor: default;
}

.video-card.is-playing img,
.video-card.is-playing .reel-thumb-video {
    display: none !important;
}

.video-card.is-playing .play-btn-overlay {
    display: none !important;
}

.video-card .inline-reel-iframe,
.video-card .inline-reel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 22px;
    z-index: 50 !important;
    background: #000000 !important;
    pointer-events: auto !important;
    object-fit: cover;
}

.close-inline-video-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    border: 1.5px solid rgba(223, 169, 41, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 60;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-inline-video-btn:hover {
    background: #dfa929;
    color: #0b2239;
    transform: scale(1.1);
    border-color: #dfa929;
}

/* ==========================================
   Accessibility & Performance Enhancements
   ========================================== */
:focus-visible {
    outline: 2px solid #dfa929;
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #dfa929;
    outline-offset: 2px;
}

/* Minimum Accessible Touch Target for Mobile */
@media (max-width: 768px) {
    .social-link,
    .footer-social-btn,
    .drawer-social-icon,
    .drawer-close-btn,
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Respect User Preference for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==============================================================================
   Floating Phone / Call Button Position (Moved to Bottom Left)
   Prevents overlapping with floating chatbot on the bottom right
   ============================================================================== */
.floating-phone-btn,
.floating-call-btn,
.call-now-button,
#call-now-button,
.floating-phone,
.phone-float,
.float-phone,
.call-btn-float,
.quick-call-btn,
.btn-phone-floating,
.phone-floating-btn,
a.floating-phone,
[class*="phone-float"],
[class*="call-float"],
[class*="floating-phone"],
[class*="floating-call"],
[id*="call-now"],
[id*="floating-phone"] {
    position: fixed !important;
    left: 24px !important;
    right: auto !important;
    bottom: 24px !important;
    z-index: 999990 !important;
}

@media (max-width: 768px) {
    .floating-phone-btn,
    .floating-call-btn,
    .call-now-button,
    #call-now-button,
    .floating-phone,
    .phone-float,
    .float-phone,
    .call-btn-float,
    .quick-call-btn,
    .btn-phone-floating,
    .phone-floating-btn,
    a.floating-phone,
    [class*="phone-float"],
    [class*="call-float"],
    [class*="floating-phone"],
    [class*="floating-call"],
    [id*="call-now"],
    [id*="floating-phone"] {
        left: 16px !important;
        right: auto !important;
        bottom: 16px !important;
    }
}


