:root {
    --primary-gold: #c9a961;
    --dark-gold: #b08d4a;
    --light-gold: #e6d4a8;
    --dark-bg: #2c2c2c;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f6f1;
    --white: #ffffff;
    --border-color: #e5e5e5;
}

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

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

button, input, select, textarea {
    font-family: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

img { max-width: 100%; height: auto; display: block; }

html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) #f1ece0;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f5efdf;
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 8px;
    border: 2px solid #f5efdf; 
    transition: background 0.2s;
}

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

::-webkit-scrollbar-thumb:active {
    background: #9a7a37;
}

::-webkit-scrollbar-corner {
    background: #f5efdf;
}

body.dark-mode {
    scrollbar-color: var(--primary-gold) #1a1a1a;
}
body.dark-mode ::-webkit-scrollbar-track { background: #1a1a1a; }
body.dark-mode ::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-color: #1a1a1a;
}
body.dark-mode ::-webkit-scrollbar-thumb:hover { background: #d4b97a; }
body.dark-mode ::-webkit-scrollbar-corner { background: #1a1a1a; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mobile-only { display: none; }

.ar-1-1   { aspect-ratio: 1 / 1 !important; }
.ar-4-3   { aspect-ratio: 4 / 3 !important; }
.ar-16-9  { aspect-ratio: 16 / 9 !important; }
.ar-16-8  { aspect-ratio: 16 / 8 !important; }   
.ar-16-6  { aspect-ratio: 16 / 6 !important; }   
.ar-21-9  { aspect-ratio: 21 / 9 !important; }   

.is-hidden { display: none !important; }

.section-cta { text-align: center; margin-top: 40px; }
.section-cta--tight { text-align: center; margin-top: 30px; }
.section-cta--gap-bottom { text-align: center; margin-bottom: 36px; }

.list-toolbar { margin-bottom: 22px; }

.icon-star-yellow { color: #fbbf24; }
.icon-star-yellow--sm { color: #fbbf24; font-size: 14px; }

.icon-gold-inline {
    color: var(--primary-gold);
    margin-inline-start: 6px;
}

.text-strong-dark { color: var(--text-dark); }

.btn-block {
    display: block;
    text-align: center;
    text-decoration: none;
}
.btn-block--padded   { padding: 13px; }
.btn-block--stacked  { margin-top: 10px; padding: 12px; }

.lead-text {
    font-size: 15px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.info-note {
    margin-top: 22px;
    padding: 18px 22px;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 14px;
}

.form-subhead {
    color: var(--text-dark);
    font-size: 13.5px;
    font-weight: 700;
    margin: 18px 0 8px;
}

.auth-switch--tight { margin-top: 8px; }

.bullet-list--spaced { margin-top: 40px; }

.page-section-header--spaced-lg { margin-top: 60px; }

.legal-back-link { margin-top: 12px; }

.btn-inline-block-spaced {
    margin-top: 28px;
    display: inline-block;
}

.label-centered-block {
    text-align: center;
    display: block;
}

i.icon, i.fa-solid, i.fa-brands, i.fa-regular {
    display: inline-block;
    flex-shrink: 0;
    line-height: 1;
}
.icon {
    flex-shrink: 0;
    display: inline-block;
}

.skip-link {
    position: absolute;
    top: -50px;
    inset-inline-start: 10px;
    background: var(--primary-gold);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    font-size: 14px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gold);
    color: #fff;
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 11px 28px;
    border-radius: 5px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s, gap 0.3s;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: #fff;
    gap: 12px;
}

.btn-link {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-link:hover { gap: 8px; }

.btn-subscribe-alt {
    background: transparent;
    color: var(--primary-gold);
    border: 1.5px solid var(--primary-gold);
    padding: 8px 20px;
    border-radius: 25px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 13px;
    align-self: flex-start;
}

.btn-subscribe-alt:hover {
    background: var(--primary-gold);
    color: #fff;
}

.swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    opacity: 1;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    margin: 0 4px;

    position: relative;
    border: 7px solid transparent;
    background-clip: padding-box;
    box-sizing: content-box;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-gold);
    background-clip: padding-box;
    width: 28px;
    border-radius: 12px;
}

.hero-pagination.swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    background-clip: padding-box;
    width: 12px;
    height: 12px;
}

.hero-pagination.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-gold);
    background-clip: padding-box;
    width: 30px;
    border-radius: 12px;
}

.top-bar {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 101;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

.top-bar-logo {
    height: 40px;
    width: auto;
}

.top-bar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info i, .top-bar-info .icon { color: var(--primary-gold); }

.top-bar-tz {
    opacity: 0.7;
    font-size: 0.85em;
    margin-inline-start: 2px;
}

.top-bar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-dropdown { position: relative; }

.lang-toggle {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle .lang-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-toggle .lang-arrow {
    font-size: 9px;
    transition: transform 0.3s;
}

.lang-toggle:hover {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 6px;
    margin: 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
    z-index: 200;
    border: 1px solid var(--border-color);
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li button {
    background: transparent;
    border: none;
    width: 100%;
    text-align: start;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-dark);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.lang-menu li button:hover {
    background: var(--bg-light);
    color: var(--primary-gold);
}

.lang-menu li button .lang-flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
}

.dark-mode-toggle {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 12px;
}

.dark-mode-toggle:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
    transform: rotate(15deg);
}

.dark-mode-toggle.active i, .dark-mode-toggle.active .icon {
    transform: rotate(360deg);
    transition: transform 0.5s;
}

.top-bar-search-btn {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 11px;
}

.top-bar-search-btn:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
    transform: scale(1.08);
}

body.dark-mode .top-bar-search-btn {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}

.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    font-weight: 700;
    text-align: justify;
    text-align-last: justify;
}

.logo-text span {
    font-size: 13px;
    font-weight: 700;
    display: block;
    text-align: justify;
    text-align-last: justify;
}

.logo-line-1 { color: #e1ab00; }
.logo-line-2 { color: #8d6d02; }
.logo-line-3 { color: #4fa038; }

.vision-2030 {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a,
.nav-menu li .dropdown-toggle {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;

    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active,
.nav-menu li .dropdown-toggle:hover,
.nav-menu li .dropdown-toggle.active {
    color: var(--primary-gold);
}

.nav-menu li a.active::after,
.nav-menu li .dropdown-toggle.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 2px;
    pointer-events: none;
}

.has-dropdown:hover > a.active::after,
.has-dropdown:hover > .dropdown-toggle.active::after {
    opacity: 0;
}

.dropdown-toggle:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 4px;
    border-radius: 4px;
}

.has-dropdown { position: relative; }

.dropdown-arrow {
    font-size: 10px;
    margin-inline-start: 4px;
    transition: transform 0.3s;
}

.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 10px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    z-index: 100;
    border-top: 3px solid var(--primary-gold);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    inset-inline-start: 25px;
    width: 0;
    height: 0;
    border-inline-end: 8px solid transparent;
    border-inline-start: 8px solid transparent;
    border-bottom: 8px solid var(--primary-gold);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, padding 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-gold);
    padding-inline-start: 25px;
}

.dropdown-menu li a::after { display: none; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-icon:hover { color: var(--primary-gold); }
.search-icon:focus { outline: none; }
.search-icon:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 4px;
    border-radius: 4px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    z-index: 1001;
    position: relative;
}

.hamburger-menu:hover {
    background: var(--bg-light);
    border-color: var(--primary-gold);
}

.hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.hamburger-menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.open span:nth-child(2) { opacity: 0; }
.hamburger-menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
    pointer-events: none;
}

.hero-slider {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding-top: 70px;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(270deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.4) 100%),
        radial-gradient(ellipse at 25% 50%, rgba(201,169,97,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-slide .container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    color: #fff;
    text-align: start;
    transition: opacity 0.4s ease;
}

.swiper-slide:not(.swiper-slide-active) .hero-content { opacity: 0; }

.swiper-slide-active .hero-content {
    opacity: 1;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.22), rgba(201, 169, 97, 0.08));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.5);
    color: #fff;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: 0 3px 15px rgba(201, 169, 97, 0.18);
    letter-spacing: 0.3px;
}

.hero-content h1,
.hero-content h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.4;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
    position: relative;
}

.hero-content h1::after,
.hero-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    margin-top: 14px;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(201,169,97,0.6);
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.9;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    max-width: 560px;
    font-weight: 400;
}

.hero-content .btn {
    padding: 15px 42px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(201,169,97,0.45), 0 0 0 1px rgba(255,255,255,0.1) inset;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s, opacity 0.4s;
    letter-spacing: 0.3px;
}

.hero-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

[dir="rtl"] .hero-content .btn::before { transform: translateX(100%); }

.hero-content .btn:hover::before { transform: translateX(100%); }

[dir="rtl"] .hero-content .btn:hover::before { transform: translateX(-100%); }

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201,169,97,0.6), 0 0 0 1px rgba(255,255,255,0.2) inset;
}

.hero-social {
    position: absolute;
    inset-inline-end: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
}

.hero-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 14px;
}

.hero-social a:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateX(-5px);
}

.hero-pagination {
    position: absolute;
    bottom: 100px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: auto !important;
    z-index: 3;
}

.stats-section {
    margin-top: -80px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.stats {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 10px;
    border-top: 3px solid var(--primary-gold);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    border-inline-end: 1px solid var(--border-color);
    padding: 0 10px;
}

.stat-item:last-child { border-inline-end: none; }

.stat-icon {
    width: 55px;
    height: 55px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-info { text-align: start; }

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.section { padding: 60px 0; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

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

.about-text h3 {
    color: var(--text-dark);
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text h3:not(:first-child) {
    margin-top: 30px;
}

.about-text h3::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 16px;
    background: url('../assets/shape-star.svg') no-repeat center / contain;
    flex-shrink: 0;
}

.about-text p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.9;
}

.about-btn {
    align-self: flex-start;
    margin-top: 30px;
    padding: 11px 32px;
    background: transparent;
    color: var(--primary-gold);
    border: 1.5px solid var(--primary-gold);
    border-radius: 5px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.about-btn:hover {
    background: var(--primary-gold);
    color: #fff;
    gap: 12px;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 380px;
}

.about-img {
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.about-video {
    grid-row: 1 / -1;
    grid-column: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.about-img-small:nth-of-type(1) {
    grid-row: 1;
    grid-column: 2;
}

.about-img-small:nth-of-type(2) {
    grid-row: 2;
    grid-column: 2;
}

.about-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 100%);
}

.about-video-tag {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    background: rgba(255,255,255,0.95);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-gold);
    z-index: 3;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-video-tag i, .about-video-tag .icon {
    font-size: 10px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    z-index: 2;
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% { box-shadow: 0 0 0 0 rgba(201,169,97,0.7); }
    70% { box-shadow: 0 0 0 25px rgba(201,169,97,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,169,97,0); }
}

.about-video:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    animation: none;
    box-shadow: 0 12px 35px rgba(201,169,97,0.6);
}

.services { background: var(--bg-light); }

.services-alt-grid-2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-alt-2 {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    overflow: hidden;
    border-top: 3px solid transparent;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-alt-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top-color: var(--primary-gold);
}

.service-alt-2-num {
    position: absolute;
    top: 10px;
    inset-inline-end: 15px;
    font-size: 50px;
    font-weight: 800;
    color: var(--light-gold);
    opacity: 0.4;
    line-height: 1;
    pointer-events: none;
}

.service-alt-2-icon {
    width: 70px;
    height: 70px;
    margin: 15px auto 18px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.service-alt-2-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s;
}

.service-alt-2:hover .service-alt-2-icon {
    background: var(--primary-gold);
    transform: rotate(-5deg);
}

.service-alt-2:hover .service-alt-2-icon img {
    filter: brightness(0) invert(1);
}

.service-alt-2 h3 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.service-alt-2 p {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.7;
}

.programs-section { background: var(--white); }

.programs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 20px;
}

.programs-header-text h2,
.testimonials-header-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    position: relative;
    padding-inline-start: 15px;
}

.programs-header-text h2::before,
.testimonials-header-text h2::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-gold);
    border-radius: 2px;
}

.programs-header-text p,
.testimonials-header-text p {
    color: var(--text-light);
    font-size: 14px;
}

.view-all {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: gap 0.3s;
}

.view-all:hover { gap: 10px; }

.programs-alt-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.prog-card-2 {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 220px 1fr;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    border: 1px solid var(--border-color);
}

.prog-card-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-gold);
}

.prog-card-2-img {
    background: linear-gradient(135deg, #b08d4a, #c9a961);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.prog-card-2-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0,0,0,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.prog-card-2-img img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: brightness(0) invert(1);
    transition: transform 0.5s;
}

.prog-card-2:hover .prog-card-2-img img {
    transform: scale(1.1) rotate(-5deg);
}

.prog-card-2-level {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--primary-gold);
    padding: 5px 18px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.prog-card-2-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prog-card-2-code {
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.prog-card-2-body h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.5;
}

.prog-card-2-body > p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
}

.prog-card-2-meta {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.prog-card-2-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.prog-card-2-meta i, .prog-card-2-meta .icon { color: var(--primary-gold); }

.maqraa-section { background: var(--bg-light); }

.maqraa-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.maqraa-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.maqraa-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.maqraa-card:hover .maqraa-img {
    transform: scale(1.05);
}

.maqraa-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.maqraa-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-inline-start: 15px;
}

.maqraa-content h3::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-gold);
    border-radius: 2px;
}

.maqraa-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.9;
}

.maqraa-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.maqraa-actions .btn-outline {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 28px;
}

.maqraa-actions .btn-outline:hover {
    background: var(--primary-gold);
    color: #fff;
}

.religious-corner { background: var(--bg-light); }

.corner-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: #fff;
    width: fit-content;
    margin-inline-end: auto;
    margin-inline-start: auto;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.tab {
    padding: 10px 32px;
    background: transparent;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
}

.tab.active {
    background: var(--primary-gold);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201,169,97,0.4);
}

.tab-content-wrapper { position: relative; }

.tab-content {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tab-content.active {
    position: relative;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.corner-swiper,
.corner-swiper-videos {
    width: 100%;
    padding-bottom: 65px;
}

.corner-swiper-videos .video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.corner-swiper-videos .swiper-slide {
    height: auto;
}

.corner-card {
    display: block;
    height: 520px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    position: relative;
    overflow: hidden;
}

.corner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.corner-card.video::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 22px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.corner-card.video:hover::after {
    background: var(--primary-gold);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.corner-pagination,
.corner-pagination-videos {
    text-align: center;
}

.news-section { background: var(--bg-light); }

.news-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-timeline-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 350px 1fr;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.news-timeline-item.reverse {
    grid-template-columns: 1fr 350px;
}

.news-timeline-item.reverse .news-timeline-img { order: 2; }

.news-timeline-item:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.news-timeline-img {
    background-size: cover;
    background-position: center;
    min-height: 240px;
}

.news-timeline-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-timeline-date-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
    width: fit-content;
}

.news-timeline-date-box i, .news-timeline-date-box .icon { color: var(--primary-gold); }

.news-timeline-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.news-timeline-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.news-timeline-content .btn {
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 13px;
}

.testimonials { background: var(--white); }

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.testimonials-swiper { padding-bottom: 65px; }

.testimonial-card-3 {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 25px;
    align-items: flex-start;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    height: 100%;
}

.testimonial-card-3:hover {
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.testimonial-card-3-avatar {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 42px;
    flex-shrink: 0;
    position: relative;
}

.testimonial-card-3-quote {
    position: absolute;
    bottom: -8px;
    inset-inline-end: -8px;
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 14px;
}

.testimonial-card-3-content h3 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.testimonial-role {
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.testimonial-card-3-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.stars {
    color: var(--primary-gold);
    font-size: 13px;
    letter-spacing: 2px;
}

.testimonials-pagination {
    text-align: center;
}

.app-download {
    padding: 60px 0;
    background: var(--bg-light);
}

.app-alt-3-card {
    background: linear-gradient(135deg, #fff 0%, #faf7ee 100%);
    border-radius: 25px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(201,169,97,0.2);
}

.app-alt-3-logo img {
    height: 75px;
    margin-bottom: 18px;
}

.app-alt-3-info h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 800;
    position: relative;
    padding-inline-start: 18px;
}

.app-alt-3-info h2::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: linear-gradient(180deg, var(--primary-gold), var(--dark-gold));
    border-radius: 3px;
}

.app-alt-3-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.app-alt-3-stats {
    display: flex;
    gap: 35px;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.app-stat strong {
    font-size: 28px;
    color: var(--primary-gold);
    font-weight: 800;
    display: block;
    line-height: 1;
}

.app-stat small {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    display: block;
}

.app-stat-stars {
    color: var(--primary-gold);
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 1px;
}

.app-alt-3-qr { text-align: center; }

.qr-box {
    width: 180px;
    height: 180px;
    background: #fff;
    border: 3px dashed var(--primary-gold);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    padding: 18px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.qr-box:hover {
    border-style: solid;
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(201,169,97,0.25);
}

.qr-pattern {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 130px;
}

.qr-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
    font-weight: 600;
}

.app-alt-3-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-btn {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 13px;
}

.app-btn:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
}

.app-btn i, .app-btn .icon { font-size: 26px; }

.app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: start;
    line-height: 1.2;
}

.app-btn-text small {
    font-size: 10px;
    opacity: 0.8;
}

.footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.footer-logo .footer-logo-img {
    height: 65px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 14px;
}

.social-links a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    position: relative;
    padding-inline-start: 12px;
}

.footer-col h3::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: var(--primary-gold);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col ul li span {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s, padding 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover,
.footer-col ul li span:hover {
    color: var(--primary-gold);
    padding-inline-start: 5px;
}

.footer-col ul li a i, .footer-col ul li a .icon,
.footer-col ul li span i, .footer-col ul li span .icon {
    color: var(--primary-gold);
    font-size: 11px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.chat-btn {
    position: fixed;
    bottom: 25px;
    inset-inline-end: 25px;
    width: 55px;
    height: 55px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(201,169,97,0.5);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    z-index: 99;
    font-size: 22px;
    border: none;
}

.chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(201,169,97,0.7);
}

body.dark-mode {
    --text-dark: #e8e8e8;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --white: #0f0f0f;
    --border-color: #2a2a2a;
    --dark-bg: #050505;
    background: #0f0f0f;
}

body.dark-mode .navbar { background: #161616; border-bottom: 1px solid #2a2a2a; }
body.dark-mode .top-bar { background: #0a0a0a; border-bottom-color: #1f1f1f; }
body.dark-mode .top-bar-logo,
body.dark-mode .vision-2030 { filter: brightness(0) invert(1); opacity: 0.85; }

body.dark-mode .lang-toggle,
body.dark-mode .dark-mode-toggle { background: #1a1a1a; border-color: #2a2a2a; color: #e8e8e8; }
body.dark-mode .lang-toggle:hover,
body.dark-mode .dark-mode-toggle:hover { background: var(--primary-gold); color: #fff; border-color: var(--primary-gold); }

body.dark-mode .lang-menu { background: #1a1a1a; border-color: #2a2a2a; }
body.dark-mode .lang-menu li button { color: #e8e8e8; }
body.dark-mode .lang-menu li button:hover { background: #252525; color: var(--primary-gold); }

body.dark-mode .dropdown-menu { background: #1a1a1a; border-top-color: var(--primary-gold); }
body.dark-mode .dropdown-menu li a { color: #e8e8e8; }
body.dark-mode .dropdown-menu li a:hover { background: #252525; color: var(--primary-gold); }

body.dark-mode .services,
body.dark-mode .maqraa-section,
body.dark-mode .news-section,
body.dark-mode .religious-corner,
body.dark-mode .app-download { background: #161616; }

body.dark-mode .stats { background: #1a1a1a; border-top-color: var(--primary-gold); }
body.dark-mode .stat-icon { background: #252525 !important; }
body.dark-mode .stat-item { border-color: #2a2a2a !important; }

body.dark-mode .news-timeline-item,
body.dark-mode .testimonial-card-3,
body.dark-mode .maqraa-card,
body.dark-mode .service-alt-2,
body.dark-mode .prog-card-2 { background-color: #1a1a1a; border-color: #2a2a2a; }

body.dark-mode .testimonial-card-3:hover { background-color: #252525; }
body.dark-mode .corner-card { border-color: #2a2a2a; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
body.dark-mode .corner-card.video::after { background: rgba(20,20,20,0.95); color: var(--primary-gold); }
body.dark-mode .maqraa-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.18); }
body.dark-mode .corner-tabs { background: #1a1a1a; border-color: #2a2a2a; }
body.dark-mode .tab { background: transparent; color: var(--text-dark); }
body.dark-mode .tab.active { background: var(--primary-gold); color: #fff; }
body.dark-mode .news-timeline-date-box,
body.dark-mode .qr-pattern { background: #252525; }
body.dark-mode .qr-box,
body.dark-mode .testimonial-card-3-quote { background: #1a1a1a; }

body.dark-mode .app-alt-3-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #1f1a14 100%);
    border-color: rgba(201,169,97,0.3);
}

body.dark-mode .footer { background: #050505; border-top: 1px solid #1f1f1f; }
body.dark-mode .footer-bottom { border-top-color: #1f1f1f; }
body.dark-mode .about-text h3 { color: #eee; }
body.dark-mode .hero-content h1,
body.dark-mode .hero-content h2,
body.dark-mode .hero-content p { color: #fff; }
body.dark-mode .hamburger-menu { border-color: #2a2a2a; }
body.dark-mode .hamburger-menu span { background: #e8e8e8; }
body.dark-mode .nav-menu { background: #161616; }
body.dark-mode .nav-menu li { border-bottom-color: #2a2a2a; }
body.dark-mode .nav-mobile-brand {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.14), rgba(201, 169, 97, 0.05));
    border-bottom-color: #2a2a2a !important;
}
body.dark-mode .nav-mobile-brand-line-2 { color: #b8b8b8; }
body.dark-mode .has-dropdown .dropdown-menu { background: #1a1a1a; }

body.dark-mode .corner-card,
body.dark-mode .news-timeline-img,
body.dark-mode .maqraa-img,
body.dark-mode .about-img {
    filter: brightness(0.88);
    transition: filter 0.3s;
}

body.dark-mode .corner-card:hover,
body.dark-mode .news-timeline-item:hover .news-timeline-img,
body.dark-mode .maqraa-card:hover .maqraa-img {
    filter: brightness(1);
}

@media (max-width: 1700px) {
    .nav-menu { gap: 22px; }
    .nav-menu li a,
    .nav-menu li .dropdown-toggle { font-size: 14px; }
    .nav-actions { gap: 10px; }
    .nav-actions .btn { padding: 9px 16px; font-size: 13.5px; }
    .register-dropdown > .btn { padding: 9px 16px; font-size: 13.5px; }
    .logo-img { height: 52px; }
    .logo-text span { font-size: 11.5px; }
}

@media (max-width: 1200px) {
    .container { padding: 0 25px; }
    .services-alt-grid-2 { grid-template-columns: repeat(3, 1fr); }

    .nav-menu { gap: 18px; }
    .nav-menu li a,
    .nav-menu li .dropdown-toggle { font-size: 13.5px; }
    .nav-actions { gap: 8px; }
    .nav-actions .btn { padding: 8px 14px; font-size: 13px; }
    .register-dropdown > .btn { padding: 8px 14px; font-size: 13px; }
    .logo-img { height: 50px; }
    .logo-text span { font-size: 11px; }
    .vision-2030 { height: 28px; }
    .apps-toggle { width: 34px; height: 34px; font-size: 14px; }
}

@media (max-width: 1100px) {
    .nav-menu { gap: 12px; }
    .nav-menu li a,
    .nav-menu li .dropdown-toggle { font-size: 12.5px; }
    .nav-menu li .dropdown-toggle .dropdown-arrow { font-size: 10px; }
    .nav-actions { gap: 6px; }
    .nav-actions .btn { padding: 7px 11px; font-size: 12px; }
    .register-dropdown > .btn { padding: 7px 11px; font-size: 12px; }
    .logo-img { height: 44px; }
    .logo-text span { font-size: 10px; }
    .vision-2030 { display: none; }   
}

@media (max-width: 992px) {
    .container { padding: 0 20px; }

    .top-bar { padding: 6px 0; font-size: 11px; }
    .top-bar-info { font-size: 11px; gap: 12px; }
    .top-bar-info span:nth-child(3),
    .top-bar-info span:nth-child(4) { display: none; }
    .top-bar-logo { height: 32px; }
    .lang-name { display: none; }
    .lang-toggle { padding: 4px 8px; }

    .hamburger-menu { display: flex; }
    .desktop-only { display: none !important; }
    .vision-2030 { display: none; }
    .search-icon { display: none; }

    .nav-menu {
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0 0 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        transform: translateX(100%);   
        transition: transform 0.35s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.open { transform: translateX(0); }

    .nav-mobile-brand {
        background: linear-gradient(135deg, rgba(201, 169, 97, 0.10), rgba(201, 169, 97, 0.04));
        border-bottom: 1px solid var(--border-color) !important;
        padding: 22px 25px 18px;
    }
    .nav-mobile-brand-link {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 0 !important;
        text-decoration: none;
        justify-content: flex-start !important;
        background: none !important;
    }
    .nav-mobile-brand-link:hover { background: none !important; }
    .nav-mobile-brand-logo {
        height: 46px;
        width: auto;
        flex-shrink: 0;
    }
    .nav-mobile-brand-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    .nav-mobile-brand-line-1 {
        font-size: 15px;
        font-weight: 700;
        color: var(--primary-gold);
        line-height: 1.2;
    }
    .nav-mobile-brand-line-2 {
        font-size: 11px;
        color: var(--text-light);
        line-height: 1.3;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li a,
    .nav-menu li .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 25px;
        font-size: 15px;
        width: 100%;
        text-align: start;
        gap: 8px;
    }

    .nav-menu li a.active::after,
    .nav-menu li .dropdown-toggle.active::after { display: none; }

    .nav-menu li a.active,
    .nav-menu li .dropdown-toggle.active {
        color: var(--primary-gold);
        background: rgba(201, 169, 97, 0.08);
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown .dropdown-menu::before { display: none; }
    .has-dropdown.open .dropdown-menu { max-height: 500px; }
    .has-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(201, 169, 97, 0.10);
    }
    .dropdown-menu li:last-child { border-bottom: none; }

    .dropdown-menu li a {
        padding: 12px 40px !important;
        font-size: 14px !important;
        color: var(--text-light) !important;
        justify-content: flex-start !important;
    }
    .dropdown-menu li a:hover { color: var(--primary-gold) !important; background: rgba(201, 169, 97, 0.06); }

    .nav-mobile-actions {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 20px 25px;
        border-bottom: none !important;
    }

    .nav-mobile-actions .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    .menu-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        inset-inline: 0;
        width: 100%;
    }

    body.menu-open .vision-2030,
    body.menu-open .nav-actions > :not(.hamburger-menu) {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s;
    }

    body.menu-open .hamburger-menu {
        position: relative;
        z-index: 1002;
    }

    .hero-slide { padding-top: 50px; }
    .hero-content h1,
    .hero-content h2 { font-size: 28px; line-height: 1.4; }
    .hero-content p { font-size: 14px; line-height: 1.7; }
    .hero-content .btn { padding: 12px 30px; font-size: 14px; }
    .hero-tag { font-size: 11px; padding: 5px 14px; margin-bottom: 14px; }
    .hero-content h1::after,
    .hero-content h2::after { width: 50px; height: 2px; margin-top: 10px; }
    .hero-social { inset-inline-end: 8px; gap: 8px; }
    .hero-social a { width: 32px; height: 32px; font-size: 12px; }
    .hero-pagination { bottom: 60px !important; }

    .stats-section { margin-top: -50px; margin-bottom: 20px; }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 25px;
    }
    .stat-item {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center;
        padding: 18px 20px !important;
        border-inline-end: none !important;
        border-bottom: none !important;
        gap: 14px;
    }
    .stat-item:nth-child(2n+1) {
        border-inline-end: 1px solid var(--border-color) !important;
    }
    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-color) !important;
    }
    .stat-icon { width: 50px; height: 50px; padding: 10px; flex-shrink: 0; }
    .stat-info { display: block; text-align: start; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 11px; }

    .section { padding: 50px 0; }
    .section-title { margin-bottom: 30px; }
    .section-title h2 { font-size: 26px; }
    .section-title p { font-size: 14px; padding: 0 10px; }

    .about-content { grid-template-columns: 1fr; gap: 30px; }
    .about-text h3 { font-size: 18px; }
    .about-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 140px;
        height: auto;
    }
    .about-video {
        grid-row: 1;
        grid-column: 1 / -1;
    }
    .about-img-small:nth-of-type(1) {
        grid-row: 2;
        grid-column: 1;
    }
    .about-img-small:nth-of-type(2) {
        grid-row: 2;
        grid-column: 2;
    }
    .play-btn { width: 65px; height: 65px; font-size: 22px; }

    .programs-header,
    .testimonials-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .programs-header-text h2,
    .testimonials-header-text h2 { font-size: 24px; }
    .view-all { align-self: flex-start; font-size: 13px; }

    .services-alt-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .service-alt-2 { padding: 25px 18px; }
    .service-alt-2-num { font-size: 42px; }
    .service-alt-2-icon { width: 65px; height: 65px; padding: 13px; margin: 12px auto 15px; }

    .programs-alt-grid-2 { grid-template-columns: 1fr; gap: 15px; }
    .prog-card-2 { grid-template-columns: 160px 1fr; }
    .prog-card-2-img { padding: 20px; }
    .prog-card-2-img img { width: 70px; height: 70px; }
    .prog-card-2-level { font-size: 11px; padding: 4px 12px; bottom: 10px; }
    .prog-card-2-body { padding: 18px; }
    .prog-card-2-body h3 { font-size: 15px; }
    .prog-card-2-body > p { font-size: 12px; }
    .prog-card-2-meta { font-size: 11px; gap: 12px; }

    .maqraa-card {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr;
    }
    .maqraa-img { height: 200px; order: 1; }
    .maqraa-content { padding: 25px; order: 2; }
    .maqraa-content h3 { font-size: 20px; }
    .maqraa-content p { font-size: 14px; }
    .maqraa-actions { flex-wrap: wrap; gap: 12px; }

    .corner-card { height: 460px; }

    .news-timeline-item,
    .news-timeline-item.reverse {
        grid-template-columns: 1fr;
    }
    .news-timeline-item.reverse .news-timeline-img { order: 0; }
    .news-timeline-img { min-height: 220px; }
    .news-timeline-content { padding: 25px; }
    .news-timeline-content h3 { font-size: 18px; }

    .testimonial-card-3 {
        grid-template-columns: 90px 1fr;
        gap: 15px;
        padding: 22px;
    }
    .testimonial-card-3-avatar { width: 90px; height: 90px; font-size: 35px; }

    .app-alt-3-card {
        grid-template-columns: 1fr;
        padding: 35px 25px;
        gap: 30px;
        text-align: center;
    }
    .app-alt-3-info h2 { padding-inline-start: 0; font-size: 24px; }
    .app-alt-3-info h2::before { display: none; }
    .app-alt-3-stats { justify-content: center; }
    .app-alt-3-qr { margin: 0 auto; }
    .qr-box { width: 160px; height: 160px; }
    .qr-pattern { font-size: 110px; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

    .chat-btn { width: 45px; height: 45px; font-size: 18px; bottom: 20px; inset-inline-end: 20px; }

    .apps-dropdown-menu {
        min-width: 0;
        width: min(280px, calc(100vw - 30px));
        max-width: calc(100vw - 30px);
        inset-inline-start: auto;
        inset-inline-end: 0;
    }

    .apps-dropdown-header { padding: 14px 16px; gap: 10px; }
    .apps-dropdown-item   { padding: 14px 16px; gap: 10px; }
    .apps-dropdown-header strong,
    .apps-dropdown-item strong { font-size: 13.5px; }
    .apps-dropdown-header small,
    .apps-dropdown-item small  { font-size: 11.5px; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }

    .top-bar-info { display: none; }
    .top-bar-logo { height: 26px; }
    .top-bar-actions { gap: 6px; }
    .dark-mode-toggle { width: 26px; height: 26px; font-size: 11px; }

    .navbar { padding: 12px 0; }
    .logo-img { height: 42px; }
    .logo-text span { font-size: 9px !important; line-height: 1.35; }
    .logo { gap: 8px; }
    .hamburger-menu { width: 36px; height: 36px; }
    .hamburger-menu span { width: 18px; }

    .hero-slider { height: 460px; }
    .hero-slide { padding-top: 35px; }
    .hero-content h1,
    .hero-content h2 { font-size: 22px; line-height: 1.45; }
    .hero-content p { font-size: 13px; margin-bottom: 20px; line-height: 1.7; }
    .hero-content .btn { padding: 11px 26px; font-size: 13px; }
    .hero-tag { font-size: 10px; padding: 4px 12px; margin-bottom: 12px; }
    .hero-content h1::after,
    .hero-content h2::after { width: 40px; height: 2px; margin-top: 8px; }
    .hero-social { display: none; }

    .stats-section { margin-top: -40px; }
    .stats {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    .stat-item {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center;
        text-align: start;
        gap: 14px;
        padding: 18px 22px !important;
        border-bottom: 1px solid var(--border-color) !important;
        border-inline-end: none !important;
    }
    .stat-item:nth-child(2n+1) { border-inline-end: none !important; }
    .stat-item:last-child { border-bottom: none !important; }
    .stat-icon { width: 44px; height: 44px; padding: 9px; flex-shrink: 0; }
    .stat-info { display: block; text-align: start; }
    .stat-number { font-size: 20px; }
    .stat-label { font-size: 12px; }

    .section { padding: 40px 0; }
    .section-title { margin-bottom: 25px; }
    .section-title h2 { font-size: 22px; }
    .section-title p { font-size: 13px; padding: 0 5px; }

    .about-images { grid-template-rows: 200px 130px; }
    .about-text h3 { font-size: 17px; margin-bottom: 8px; }
    .about-text p { font-size: 14px; margin-bottom: 15px; }
    .play-btn { width: 55px; height: 55px; font-size: 18px; }
    .about-video-tag { font-size: 11px; padding: 5px 12px; top: 12px; inset-inline-start: 12px; }

    .programs-header-text h2,
    .testimonials-header-text h2 { font-size: 20px; }

    .services-alt-grid-2 { grid-template-columns: 1fr; gap: 12px; }
    .service-alt-2 { padding: 25px 22px; }
    .service-alt-2-num { font-size: 44px; top: 8px; inset-inline-end: 12px; }
    .service-alt-2-icon { width: 60px; height: 60px; padding: 12px; }
    .service-alt-2 h3 { font-size: 15px; }
    .service-alt-2 p { font-size: 13px; }

    .prog-card-2 { grid-template-columns: 1fr; }
    .prog-card-2-img { height: 160px; padding: 25px; }
    .prog-card-2-img img { width: 75px; height: 75px; }
    .prog-card-2-body { padding: 20px; }

    .maqraa-img { height: 180px; }
    .maqraa-content { padding: 22px; }
    .maqraa-content h3 { font-size: 18px; }
    .maqraa-content p { font-size: 13px; }
    .maqraa-actions { flex-direction: column; align-items: stretch; }
    .maqraa-actions .btn { width: 100%; }

    .corner-tabs { width: 100%; max-width: 320px; }
    .tab { padding: 8px 18px; font-size: 12px; flex: 1; }
    .corner-card { height: 540px; }

    .news-timeline-img { min-height: 180px; }
    .news-timeline-content { padding: 20px; }
    .news-timeline-content h3 { font-size: 16px; line-height: 1.5; }
    .news-timeline-content p { font-size: 13px; }
    .news-timeline-content .btn { width: 100%; padding: 10px; font-size: 13px; }
    .news-timeline-date-box { font-size: 12px; padding: 6px 14px; }

    .testimonial-card-3 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
        padding: 25px 20px;
    }
    .testimonial-card-3-avatar {
        margin: 0 auto;
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
    .testimonial-card-3-quote { width: 30px; height: 30px; bottom: -6px; inset-inline-end: -6px; font-size: 11px; }
    .testimonial-role { display: block; }
    .testimonial-card-3-content .stars { display: block; text-align: center; }

    .app-alt-3-card { padding: 25px 18px; border-radius: 18px; }
    .app-alt-3-logo img { height: 55px; margin-bottom: 12px; }
    .app-alt-3-info h2 { font-size: 19px; margin-bottom: 10px; }
    .app-alt-3-info p { font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
    .app-alt-3-stats {
        flex-direction: row;
        gap: 0;
        justify-content: space-around;
        padding-top: 18px;
        border-top: 1px solid var(--border-color);
    }
    .app-stat strong { font-size: 22px; }
    .app-stat small { font-size: 11px; }
    .qr-box { width: 140px; height: 140px; padding: 14px; }
    .qr-pattern { font-size: 95px; }
    .qr-label { font-size: 12px; margin-bottom: 14px; }
    .app-alt-3-buttons { flex-direction: column; gap: 8px; }
    .app-alt-3-buttons .app-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
        font-size: 12px;
    }
    .app-alt-3-buttons .app-btn i, .app-btn .icon { font-size: 22px; }

    .footer { padding: 35px 0 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; text-align: start; }
    .footer-col h3 { font-size: 16px; }
    .footer-bottom { font-size: 12px; }
    .social-links { justify-content: flex-start; }
}

@media (min-width: 1440px) {
    .container { max-width: 1320px; }
    .hero-slider { height: 540px; }
    .hero-slide { padding-top: 80px; }
    .hero-content h1,
    .hero-content h2 { font-size: 38px; }
    .hero-content p { font-size: 17px; }
    .section { padding: 70px 0; }
    .section-title h2 { font-size: 38px; }
    .stat-number { font-size: 30px; }
    .stat-label { font-size: 13px; }
    .stat-icon { width: 58px; height: 58px; padding: 13px; }
    .about-images { height: 440px; }
    .maqraa-img { height: 320px; }
}

@media (min-width: 993px) and (max-width: 1439px) {
    .hero-slider { height: 540px; }
    .hero-slide { padding-top: 80px; }
}

@media (min-width: 1700px) {
    .container { max-width: 1500px; }
    .hero-slider { height: 600px; }
    .hero-slide { padding-top: 90px; }
    .hero-content { max-width: 750px; }
    .hero-content h1,
    .hero-content h2 { font-size: 42px; }
    .hero-content p { font-size: 18px; margin-bottom: 30px; }
    .hero-content .btn { padding: 16px 45px; font-size: 17px; }
    .section { padding: 80px 0; }
    .section-title { margin-bottom: 50px; }
    .section-title h2 { font-size: 42px; }
    .section-title p { font-size: 17px; }
    .logo-img { height: 68px; }
    .logo-text span { font-size: 14px; }
    .vision-2030 { height: 55px; }
    .btn { padding: 14px 36px; font-size: 15px; }
}

@media (min-width: 1920px) {
    .container { max-width: 1700px; }
    .hero-slider { height: 680px; }
    .hero-slide { padding-top: 100px; }
    .hero-content h1,
    .hero-content h2 { font-size: 46px; }
    .hero-content p { font-size: 18px; }
    .section { padding: 90px 0; }
    .section-title h2 { font-size: 46px; }
    .stat-number { font-size: 32px; }
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    overflow-y: auto;
}

.search-modal[hidden] { display: none; }

.search-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-modal-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 760px;
    padding: 50px 50px 45px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: slideDown 0.35s ease;
    margin: auto;
}

.search-modal-close {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.search-modal-close:hover {
    background: var(--bg-light);
    color: var(--primary-gold);
}

.search-modal-title {
    color: var(--primary-gold);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: start;
}

.search-modal-welcome {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    margin: 25px 0 8px;
}

.search-modal-headline {
    text-align: center;
    color: var(--primary-gold);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 30px;
}

.search-modal-form {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    align-items: stretch;
}

.search-modal-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-modal-input-icon {
    position: absolute;
    inset-inline-start: 18px;
    color: var(--primary-gold);
    font-size: 16px;
    pointer-events: none;
}

.search-modal-input {
    width: 100%;
    padding: 14px 18px;
    padding-inline-start: 50px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background: #fff;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.search-modal-input::placeholder {
    color: #aaa;
}

.search-modal-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}

.search-modal-input::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9a961' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: center;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.search-modal-input::-webkit-search-cancel-button:hover,
input[type="search"]::-webkit-search-cancel-button:hover {
    opacity: 1;
}

.search-modal-submit {
    padding: 14px 30px;
    font-size: 15px;
    flex-shrink: 0;
}

.search-modal-suggest {
    margin-bottom: 30px;
    text-align: start;
}

.search-modal-suggest-label {
    color: var(--text-dark);
    font-size: 14px;
    margin: 0 0 12px;
    font-weight: 600;
}

.search-modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.search-modal-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201,169,97,0.12);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.search-modal-tag:hover {
    background: var(--primary-gold);
    color: #fff;
}

.search-modal-popular {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
}

.search-modal-popular-title {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 18px;
}

.search-modal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.search-modal-pill {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}

.search-modal-pill:hover {
    background: var(--primary-gold);
    color: #fff;
}

body.search-modal-open {
    overflow: hidden;
}

body.dark-mode .search-modal-card {
    background: #1a1a1a;
    box-shadow: 0 25px 80px rgba(0,0,0,0.7);
}
body.dark-mode .search-modal-close { color: #ddd; }
body.dark-mode .search-modal-close:hover { background: #2a2a2a; }
body.dark-mode .search-modal-input {
    background: #0f0f0f;
    border-color: #2a2a2a;
    color: #eee;
}
body.dark-mode .search-modal-popular { border-top-color: #2a2a2a; }

@media (max-width: 768px) {
    .search-modal-card {
        padding: 40px 25px 30px;
        border-radius: 14px;
    }
    .search-modal-headline { font-size: 22px; }
    .search-modal-form { flex-direction: column; gap: 10px; }
    .search-modal-submit { width: 100%; }
    .search-modal-tags { justify-content: center; }
    .search-modal-suggest { text-align: center; }
    .search-modal-suggest-label { text-align: center; }
}

@media (max-width: 576px) {
    .search-modal-card { padding: 30px 18px 25px; }
    .search-modal-headline { font-size: 19px; }
    .search-modal-welcome { font-size: 14px; }
    .search-modal-input { padding: 12px 14px; padding-inline-start: 44px; font-size: 16px; }
    .search-modal-input-icon { inset-inline-start: 14px; }
    .search-modal-pill, .search-modal-tag { font-size: 12px; padding: 6px 14px; }
}

.register-dropdown {
    position: relative;
    display: inline-block;
}

.register-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    min-width: 280px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 1000;
}

.register-dropdown:hover .register-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.register-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s, opacity 0.18s;
}

.register-dropdown-menu a:hover {
    background: rgba(201,169,97,0.10);
    color: var(--primary-gold);
}

.register-dropdown-menu a:has(.register-status.closed) {
    opacity: 0.55;
}

.register-dropdown-menu a:has(.register-status.closed):hover {
    background: rgba(220,53,69,0.05);
    color: var(--text-dark);
}

.register-dropdown-menu a .icon {
    font-size: 14px;
    color: var(--primary-gold);
}

.register-dropdown-text {
    flex: 1;
}

.register-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.register-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.register-status.open {
    background: rgba(45,143,95,0.12);
    color: #2d8f5f;
}
.register-status.open::before {
    background: #2d8f5f;
    box-shadow: 0 0 0 3px rgba(45,143,95,0.15);
}

.register-status.closed {
    background: rgba(220,53,69,0.10);
    color: #c43644;
}
.register-status.closed::before {
    background: #c43644;
}

body.dark-mode .register-status.open {
    background: rgba(45,143,95,0.20);
    color: #5fc28a;
}
body.dark-mode .register-status.closed {
    background: rgba(220,53,69,0.18);
    color: #ff7a87;
}

body.dark-mode .register-dropdown-menu {
    background: #1a1a1a;
    box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}
body.dark-mode .register-dropdown-menu a { color: #eee; }

i.fa-solid.icon, i.fa-brands.icon, i.fa-regular.icon {
    line-height: 1;
}

.dropdown-arrow.icon { font-size: 11px; }

.btn .icon, .btn-outline-gold .icon, .btn-primary .icon {
    font-size: 14px;
    margin: 0 4px;
    vertical-align: -0.05em;
}

.top-bar-info i, .top-bar-info .icon { font-size: 13px; }

.view-all .icon { font-size: 11px; }

.search-icon .icon { font-size: 18px; }

.notif-dropdown {
    position: relative;
}

.notif-toggle {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s;
}

.notif-toggle:hover {
    background: rgba(201,169,97,0.10);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.notif-toggle .icon { font-size: 16px; }

.notif-badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #dc3545;
    color: #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

.notif-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.15);
    min-width: 360px;
    max-width: 400px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 1000;
    overflow: hidden;
}

.notif-dropdown:hover .notif-dropdown-menu,
.notif-dropdown.is-open .notif-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(201,169,97,0.04);
}

.notif-dropdown-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notif-dropdown-header-title strong {
    font-size: 15px;
    color: var(--text-dark);
}

.notif-dropdown-header-badge {
    display: inline-block;
    padding: 2px 9px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.notif-dropdown-mark-all {
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.18s;
}

.notif-dropdown-mark-all:hover {
    background: rgba(201,169,97,0.12);
}

.notif-dropdown-body {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px;
}

.notif-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s, opacity 0.18s;
    position: relative;
}

.notif-dropdown-item:hover {
    background: rgba(201,169,97,0.06);
}

.notif-dropdown-item.unread::before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-start: 4px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
}

.notif-dropdown-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.notif-dropdown-item-icon .icon { color: #fff !important; }

.notif-dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.notif-dropdown-text strong {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-dropdown-preview {
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.notif-dropdown-text small {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

.notif-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(201,169,97,0.04);
    border-top: 1px solid var(--border-color);
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.22s, opacity 0.22s, gap 0.22s;
}

.notif-dropdown-footer:hover {
    background: rgba(201,169,97,0.10);
    gap: 12px;
}

.notif-dropdown-footer .icon { font-size: 11px; }

.user-dropdown {
    position: relative;
}

.user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.user-toggle .icon { font-size: 14px; }

.user-toggle .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.25s;
}

.user-dropdown:hover .user-toggle .dropdown-arrow,
.user-dropdown.is-open .user-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    min-width: 240px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu,
.user-dropdown.is-open .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 6px;
}

.user-dropdown-avatar {
    font-size: 30px !important;
    color: var(--primary-gold);
}

.user-dropdown-header strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.user-dropdown-header small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s, opacity 0.18s;
}

.user-dropdown-menu a:hover {
    background: rgba(201,169,97,0.10);
    color: var(--primary-gold);
}

.user-dropdown-menu a .icon {
    font-size: 14px;
    color: var(--primary-gold);
    width: 18px;
}

.user-dropdown-logout {
    border-top: 1px solid var(--border-color);
    margin-top: 6px;
    padding-top: 12px !important;
}

.user-dropdown-logout:hover {
    background: rgba(220,53,69,0.08) !important;
    color: #dc3545 !important;
}

.user-dropdown-logout .icon { color: #dc3545 !important; }

.apps-dropdown {
    position: relative;
}

.apps-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.apps-toggle:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
    transform: scale(1.08) rotate(-5deg);
}

.apps-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-start: 0;
    inset-inline-end: auto;
    background: #fff;
    min-width: 320px;
    max-width: calc(100vw - 32px);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    border: 1px solid var(--border-color);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
    z-index: 1000;
}

.apps-dropdown:hover .apps-dropdown-menu,
.apps-dropdown.is-open .apps-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.apps-dropdown-header {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.apps-dropdown-header > .icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apps-dropdown-header strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3px;
}

.apps-dropdown-header small {
    font-size: 12px;
    opacity: 0.9;
}

.apps-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, opacity 0.22s ease, padding 0.22s ease;
    position: relative;
}

.apps-dropdown-item:last-child { border-bottom: none; }

.apps-dropdown-item:hover {
    background: rgba(201,169,97,0.06);
    padding-inline-start: 22px;
}

.apps-dropdown-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.05));
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
}

.apps-dropdown-icon.alt {
    background: linear-gradient(135deg, rgba(45,143,95,0.15), rgba(45,143,95,0.05));
    color: #2d8f5f;
}

.apps-dropdown-item:hover .apps-dropdown-icon {
    transform: scale(1.06);
}

.apps-dropdown-text {
    flex: 1;
    min-width: 0;
}

.apps-dropdown-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.apps-dropdown-text small {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.4;
}

.apps-dropdown-arrow {
    color: var(--text-light);
    font-size: 12px;
    transition: transform 0.25s, color 0.25s;
}

[dir="rtl"] .apps-dropdown-item:hover .apps-dropdown-arrow {
    color: var(--primary-gold);
    transform: translateX(-4px);
}

[dir="ltr"] .apps-dropdown-item:hover .apps-dropdown-arrow {
    color: var(--primary-gold);
    transform: scaleX(-1) translateX(-4px);
}

body.dark-mode .apps-toggle {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}

body.dark-mode .apps-dropdown-menu {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

body.dark-mode .apps-dropdown-item {
    border-bottom-color: #2a2a2a;
}

body.dark-mode .apps-dropdown-item:hover {
    background: rgba(201,169,97,0.10);
}

body.dark-mode .apps-dropdown-text strong { color: #eee; }

@media (max-width: 768px) {
    .apps-dropdown-menu {
        inset-inline-start: auto;
        inset-inline-end: 0;

        min-width: 280px;
        max-width: calc(100vw - 30px);
    }
}

.apps-dropdown-header {
    text-decoration: none;
    transition: filter 0.25s;
}
.apps-dropdown-header:hover {
    filter: brightness(1.08);
}
.apps-dropdown-header-arrow {
    margin-inline-start: auto;
    font-size: 13px;
    transition: transform 0.25s;
}
[dir="rtl"] .apps-dropdown-header:hover .apps-dropdown-header-arrow {
    transform: translateX(-4px);
}
[dir="ltr"] .apps-dropdown-header:hover .apps-dropdown-header-arrow {
    transform: scaleX(-1) translateX(-4px);
}

body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="password"],
body.dark-mode input[type="tel"],
body.dark-mode input[type="number"],
body.dark-mode input[type="search"],
body.dark-mode input[type="date"],
body.dark-mode input[type="url"],
body.dark-mode select,
body.dark-mode textarea {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #eee;
}

body.dark-mode input[type="text"]:focus,
body.dark-mode input[type="email"]:focus,
body.dark-mode input[type="password"]:focus,
body.dark-mode input[type="tel"]:focus,
body.dark-mode input[type="search"]:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus {
    background: #0d0d0d;
    border-color: var(--primary-gold);
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #777;
}

body.dark-mode .btn-outline {
    color: #eee;
    border-color: #444;
}

body.dark-mode .btn-outline:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

body.dark-mode label {
    color: #ddd;
}

body.dark-mode .program-subscribe-card,
body.dark-mode .service-info-card,
body.dark-mode .service-card,
body.dark-mode .program-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}

body.dark-mode .page-section.alt-bg,
body.dark-mode .alt-bg {
    background: #0a0a0a;
}

body.dark-mode .list-search input,
body.dark-mode .list-sort select {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #eee;
}

body.dark-mode .list-filter-btn {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #ddd;
}

body.dark-mode .list-filter-btn:hover,
body.dark-mode .list-filter-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}

body.dark-mode .list-results-count {
    color: #aaa;
}

*:focus-visible {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible {
    outline-offset: 3px;
}

@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;
    }
}

@media print {
    .top-bar, .navbar, .footer, .chat-float, .search-modal { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}

.btn-outline-light {
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 5px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    background: transparent;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.20);
}

.btn-outline-light:focus-visible {
    outline: 3px solid var(--primary-gold);
    outline-offset: 3px;
}

.app-download .app-alt-3-card {
    margin-bottom: 30px;
}

.app-download .app-alt-3-card:last-of-type {
    margin-bottom: 0;
}

.app-alt-3-logo {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.35);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-alt-3-eyebrow {
    display: inline-block;
    background: rgba(201, 169, 97, 0.10);
    color: var(--primary-gold);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.app-alt-3-reverse {
    grid-template-columns: 1fr 1.5fr;
}

.app-alt-3-reverse .app-alt-3-info { order: 2; }
.app-alt-3-reverse .app-alt-3-qr { order: 1; }

body.dark-mode .app-download {
    background: #0a0a0a;
}

body.dark-mode .app-alt-3-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #181410 100%);
    border-color: #2a2520;
}

body.dark-mode body.dark-mode .app-alt-3-info h2 {
    color: #eee;
}

body.dark-mode .app-alt-3-info p {
    color: #aaa;
}

body.dark-mode .app-stat strong { color: #eee; }
body.dark-mode .app-stat small { color: #aaa; }

@media (max-width: 992px) {
    .app-alt-3-card,
    .app-alt-3-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px;
    }

    .app-alt-3-reverse .app-alt-3-info { order: 1; }
    .app-alt-3-reverse .app-alt-3-qr { order: 2; }
}

@media (max-width: 600px) {
    .app-alt-3-card {
        padding: 28px 22px;
    }

    .app-alt-3-info h2 { font-size: 24px; }

    .app-alt-3-logo {
        width: 64px;
        height: 64px;
        font-size: 26px;
        border-radius: 14px;
    }
}

.app-alt-3-features-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 24px;
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-alt-3-features-link .icon {
    font-size: 12px;
    transition: transform 0.25s;
}

.app-alt-3-features-link:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.30);
}

[dir="rtl"] .app-alt-3-features-link:hover .icon { transform: translateX(-4px); }
[dir="ltr"] .app-alt-3-features-link:hover .icon { transform: scaleX(-1) translateX(-4px); }

body.dark-mode .app-alt-3-features-link {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

body.dark-mode .app-alt-3-features-link:hover {
    background: var(--primary-gold);
    color: #fff;
}

[dir="ltr"] .fa-chevron-left,
[dir="ltr"] .fa-chevron-right,
[dir="ltr"] .fa-angle-left,
[dir="ltr"] .fa-angle-right,
[dir="ltr"] .fa-arrow-left,
[dir="ltr"] .fa-arrow-right,
[dir="ltr"] .fa-long-arrow-left,
[dir="ltr"] .fa-long-arrow-right,
[dir="ltr"] .fa-arrow-left-long,
[dir="ltr"] .fa-arrow-right-long,
[dir="ltr"] .fa-caret-left,
[dir="ltr"] .fa-caret-right,
[dir="ltr"] .fa-arrow-up-right-from-square {
    transform: scaleX(-1);
}

.page-hero-breadcrumb-sep,
.breadcrumb-sep,
.page-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    font-size: 0.75em;
}

[dir="ltr"] .auth-checkbox,
[dir="ltr"] .newsletter-form-agree label,
[dir="ltr"] .complaints-form-agreement label,
[dir="ltr"] .register-agree label {
    direction: rtl;
}

[dir="ltr"] .page-hero-breadcrumb,
[dir="ltr"] .page-breadcrumb {
    direction: ltr !important;
}

.dir-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    text-decoration: none;
    line-height: 1;
}
.dir-toggle:hover {
    background: rgba(201,169,97,0.15);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}
.dir-toggle .icon { font-size: 11px; }
.dir-toggle-label { letter-spacing: 0.5px; }

@media (max-width: 992px) {
    .dir-toggle-label { display: none; }
    .dir-toggle { padding: 4px 8px; }
}

::selection {
    background: rgba(201, 169, 97, 0.30);
    color: var(--text-dark);
}
::-moz-selection {
    background: rgba(201, 169, 97, 0.30);
    color: var(--text-dark);
}

body.dark-mode ::selection {
    background: rgba(201, 169, 97, 0.45);
    color: #fff;
}
body.dark-mode ::-moz-selection {
    background: rgba(201, 169, 97, 0.45);
    color: #fff;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.55;
    filter: invert(64%) sepia(34%) saturate(458%) hue-rotate(2deg) brightness(94%) contrast(86%);
    transition: opacity 0.2s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

body.dark-mode input[type="date"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="time"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(80%) sepia(34%) saturate(458%) hue-rotate(2deg) brightness(94%) contrast(86%);
}

textarea::-webkit-resizer {
    background-color: transparent;
    background-image:
        linear-gradient(135deg, transparent 50%, var(--primary-gold) 50%, var(--primary-gold) 55%, transparent 55%, transparent 65%, var(--primary-gold) 65%, var(--primary-gold) 70%, transparent 70%);
    background-position: bottom right;
    background-size: 14px 14px;
    background-repeat: no-repeat;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #fff inset;
    -webkit-text-fill-color: var(--text-dark);
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--primary-gold);
}

body.dark-mode input:-webkit-autofill,
body.dark-mode input:-webkit-autofill:hover,
body.dark-mode input:-webkit-autofill:focus,
body.dark-mode textarea:-webkit-autofill,
body.dark-mode select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #1a1a1a inset;
    -webkit-text-fill-color: #eee;
}

input[type="file"]::-webkit-file-upload-button,
input[type="file"]::file-selector-button {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    margin-inline-end: 12px;
    background: var(--primary-gold);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
input[type="file"]::-webkit-file-upload-button:hover,
input[type="file"]::file-selector-button:hover {
    background: var(--dark-gold);
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--primary-gold);
}

:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 2px;
}
button:focus-visible,
a:focus-visible {
    outline-offset: 3px;
}

img, picture, video, canvas, svg {
    max-width: 100%;
}

:disabled,
[disabled] {
    cursor: not-allowed;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

a, button, input, textarea, select, [role="button"], label {
    -webkit-tap-highlight-color: transparent;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
textarea,
select {
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
    caret-color: var(--primary-gold);
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

button:not([class]) {
    background-color: transparent;
}

::placeholder {
    color: var(--text-light);
    opacity: 1;
}
::-webkit-input-placeholder { color: var(--text-light); opacity: 1; }
::-moz-placeholder         { color: var(--text-light); opacity: 1; }
:-ms-input-placeholder     { color: var(--text-light); opacity: 1; }

:disabled,
[disabled] {
    opacity: 0.6;
}
:disabled::placeholder,
[disabled]::placeholder {
    opacity: 0.6;
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled,
button:disabled,
select:disabled,
input:disabled,
textarea:disabled {
    cursor: not-allowed;
}

body.dark-mode ::placeholder { color: rgba(255,255,255,0.45); }

@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    textarea,
    select,
    .search-modal-input {
        font-size: 16px;
    }
}

@supports (padding: max(0px)) {
    .chat-btn {
        bottom: max(25px, env(safe-area-inset-bottom));
        inset-inline-end: max(25px, env(safe-area-inset-right));
    }

    .footer .container {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .app-toast {
        bottom: max(24px, env(safe-area-inset-bottom));
    }
}

body.legal-modal-open {
    overflow: hidden;
}

.search-modal,
.legal-modal,
.legal-modal-body,
.gallery-lightbox,
.nav-menu.open {
    overscroll-behavior: contain;
}

@media (min-width: 577px) and (max-width: 992px) {
    .dark-mode-toggle,
    .top-bar-search-btn {
        width: 36px;
        height: 36px;
    }
}

.logo-img,
.nav-mobile-brand-logo,
.footer-logo-img,
.auth-brand-logo-img {
    aspect-ratio: 398 / 615;
}

.app-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-dark);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10001;
    max-width: calc(100% - 32px);
    text-align: center;
    line-height: 1.5;
}

.app-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

@supports (padding: max(0px)) {
    .app-toast {
        bottom: max(24px, env(safe-area-inset-bottom));
    }
}

body.dark-mode .app-toast {
    background: #f0f0f0;
    color: var(--text-dark);
}

