/* ============================================
   DITIB Merkez Camii Willich e.V. - Premium Donation Page
   Red & White Theme - Modern & Professional
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #C41E3A;
    --primary-dark: #9B1B30;
    --primary-light: #E63950;
    --primary-ultra-light: #FEF0F2;
    --secondary: #1A1A2E;
    --secondary-light: #2A2A4A;
    --gold: #D4A853;
    --gold-light: #E4C373;
    --gold-dark: #B8923E;
    --accent: #1E3A5F;
    --accent-light: #2A5082;
    --text: #1A1A2E;
    --text-light: #5A6070;
    --text-muted: #9CA3AF;
    --bg: #FAFAFA;
    --bg-light: #F3F4F6;
    --bg-warm: #FDF5F5;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.12);
    --shadow-red: 0 10px 40px rgba(196, 30, 58, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-arabic: 'Amiri', serif;
}

/* === Reset === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
    font-family: var(--font-arabic), var(--font-main);
}

html[lang="ar"] .section-title,
html[lang="ar"] .slide-title {
    font-family: var(--font-arabic), var(--font-display);
}

/* === RTL Support === */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
}

html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: auto;
}

html[dir="rtl"] .bank-info-box .copy-btn {
    right: auto;
    left: 0;
}

html[dir="rtl"] select.form-control {
    background-position: left 12px center;
    padding-right: 16px;
    padding-left: 40px;
}

html[dir="rtl"] .fixed-lang-selector {
    right: auto;
    left: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-main);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Preloader === */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: preloaderPulse 1.5s ease infinite;
}

.preloader-icon i {
    color: var(--white);
    font-size: 2rem;
}

.preloader-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.preloader-subtext {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
    animation: preloaderSlide 1.2s ease infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(196, 30, 58, 0);
    }
}

@keyframes preloaderSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(350%);
    }
}

/* === Fixed Language Selector === */
.fixed-lang-selector {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 6px;
    border-radius: 16px 0 0 16px;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
}

.fixed-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fixed-lang-btn .flag-img {
    width: 28px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    flex-shrink: 0;
}

.fixed-lang-text {
    font-weight: 700;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.fixed-lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.fixed-lang-btn:hover .fixed-lang-text {
    color: rgba(255, 255, 255, 0.9);
}

.fixed-lang-btn:hover .flag-img {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.fixed-lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.fixed-lang-btn.active .fixed-lang-text {
    color: var(--white);
}

.fixed-lang-btn.active .flag-img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fixed-lang-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: langShimmer 3s ease infinite;
}

@keyframes langShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Header Top Bar */
.header-top-bar {
    background: var(--secondary);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.header-top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.top-bar-left a i {
    color: var(--primary-light);
    font-size: 0.72rem;
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-social {
    display: flex;
    gap: 4px;
}

.top-bar-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.78rem;
}

.top-bar-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

/* Header Main */
.header-main {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled .header-top-bar {
    margin-top: -40px;
    opacity: 0;
    pointer-events: none;
}

.header.scrolled .header-main {
    box-shadow: 0 2px 30px rgba(196, 30, 58, 0.08);
    border-bottom-color: rgba(196, 30, 58, 0.1);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.25);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-sm) + 2px);
    border: 2px solid rgba(196, 30, 58, 0.15);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-main {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-dark);
    letter-spacing: -0.3px;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 2px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.86rem;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    left: 14px;
    right: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.header-cta {
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 700;
    font-size: 0.86rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.header-cta:hover::before {
    left: 100%;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero Slider === */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: scale(1.05);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.slide.active .slide-image {
    transform: scale(1.08);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.75) 0%, rgba(26, 26, 46, 0.85) 100%);
    z-index: 1;
}

.video-overlay-dark {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(42, 42, 74, 0.82) 50%, rgba(196, 30, 58, 0.6) 100%);
}

.video-overlay-red {
    background: linear-gradient(135deg, rgba(155, 27, 48, 0.8) 0%, rgba(196, 30, 58, 0.7) 50%, rgba(26, 26, 46, 0.85) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.slide-badge {
    display: inline-block;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.slide-title {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.slide-title .highlight {
    color: var(--white);
    font-size: 4.2rem;
    display: block;
    letter-spacing: 10px;
    text-shadow: 0 0 60px rgba(196, 30, 58, 0.5);
}

.slide-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hadith Slide */
.hadith-slide {
    padding: 0 40px;
}

.hadith-ornament {
    font-size: 3.5rem;
    color: var(--gold-light);
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(212, 168, 83, 0.3);
}

.hadith-text {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--white);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 18px;
    max-width: 700px;
    border: none;
    padding: 0;
}

html[lang="ar"] .hadith-text {
    font-family: var(--font-arabic);
    font-size: 1.8rem;
    font-style: normal;
}

.hadith-source {
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hadith-reference {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    margin-bottom: 35px;
}

/* Slider Progress */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    width: 0%;
    transition: width 0.1s linear;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 35px;
    border-radius: 6px;
}

/* Slider Counter */
.slider-counter {
    position: absolute;
    bottom: 60px;
    right: 60px;
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.counter-current {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 18px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(196, 30, 58, 0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 16px 42px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* === CTA Bar === */
.cta-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 22px 0;
    position: relative;
    overflow: hidden;
}

.cta-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.cta-text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
}

.cta-text i {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === Section Styling === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 22px;
    background: var(--primary-ultra-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(196, 30, 58, 0.1);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.title-underline {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 0 auto 18px;
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Stats Section === */
.stats-section {
    padding: 100px 0;
    background: var(--white);
}

.progress-showcase {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-percent {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

.progress-bar-wrapper {
    width: 100%;
    height: 14px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--gold));
    border-radius: 10px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 2s ease infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.stat-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 400;
}

/* === About Section === */
.about-section {
    padding: 100px 0 60px;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-lead {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 28px;
}

.about-highlight-box {
    background: var(--primary-ultra-light);
    border-left: 4px solid var(--primary);
    padding: 28px 32px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 30px;
}

html[dir="rtl"] .about-highlight-box {
    border-left: none;
    border-right: 4px solid var(--primary);
    border-radius: var(--radius) 0 0 var(--radius);
}

.about-highlight-box h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.about-highlight-box p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Values Grid */
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.about-value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.about-value-item:hover {
    box-shadow: var(--shadow);
    border-color: rgba(196, 30, 58, 0.15);
    transform: translateY(-2px);
}

.about-value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-ultra-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.about-value-item h4 {
    font-size: 0.92rem;
    color: var(--secondary);
    margin-bottom: 3px;
    font-weight: 700;
}

.about-value-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Mosque Illustration */
.about-visual {
    display: flex;
    justify-content: center;
}

.mosque-illustration {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
    position: relative;
    overflow: hidden;
}

.mosque-illustration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.02) 0deg, transparent 15deg);
    animation: slowRotate 60s linear infinite;
}

.mosque-dome {
    font-size: 5.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mosque-info {
    display: flex;
    gap: 35px;
    position: relative;
    z-index: 1;
}

.mosque-stat {
    text-align: center;
    color: var(--white);
}

.mosque-stat strong {
    font-size: 2rem;
    display: block;
    font-weight: 800;
}

.mosque-stat span {
    font-size: 0.82rem;
    opacity: 0.7;
}

/* Inspiration Block */
.inspiration-block {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: var(--radius-lg);
    padding: 55px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.inspiration-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.1);
}

.inspiration-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.inspiration-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.inspiration-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--gold-light);
}

.inspiration-content p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* === History Timeline === */
.history-section {
    padding: 100px 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 55px;
    display: flex;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
    border: 4px solid var(--white);
}

.timeline-content {
    width: 42%;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 30, 58, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-year {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-ultra-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* === Features Section === */
.features-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.floor-section {
    margin-bottom: 50px;
}

.floor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.floor-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.floor-header h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.features-grid:has(.feature-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: transparent;
}

.feature-card.full-width {
    grid-column: 1 / -1;
}

.feature-icon {
    width: 58px;
    height: 58px;
    background: var(--primary-ultra-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.feature-card h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* === Gallery Section === */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(196, 30, 58, 0.8), rgba(26, 26, 46, 0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.8rem;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === Process Section === */
.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.08);
}

.process-section .section-title {
    color: var(--white);
}

.process-section .section-badge {
    background: rgba(196, 30, 58, 0.2);
    color: var(--primary-light);
    border-color: rgba(196, 30, 58, 0.3);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.process-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 35px 28px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.process-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
}

.process-card h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.process-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* === Donation Section === */
.donation-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

.donation-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.donation-form-wrapper {
    background: var(--white);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.donation-form .form-group {
    margin-bottom: 22px;
}

.donation-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.92rem;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    font-family: var(--font-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

textarea.form-control {
    resize: vertical;
    min-height: 60px;
}

/* Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.amount-btn {
    padding: 14px 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-main);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.custom-amount-wrapper {
    position: relative;
}

.amount-input {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    padding: 14px 40px 14px 16px;
}

.currency-symbol {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.2rem;
}

html[dir="rtl"] .currency-symbol {
    right: auto;
    left: 16px;
}

/* Toggle Group */
.toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.toggle-btn {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn input {
    display: none;
}

.toggle-btn:hover,
.toggle-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-option {
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.payment-option input {
    display: none;
}

.payment-option i {
    font-size: 1.4rem;
    color: var(--primary);
}

.payment-option:hover,
.payment-option.active {
    border-color: var(--primary);
    background: var(--primary-ultra-light);
}

/* Bank Info Box */
.bank-info-box {
    background: var(--primary-ultra-light);
    border: 1px solid rgba(196, 30, 58, 0.12);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 22px;
    position: relative;
}

.bank-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.bank-info-box h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bank-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bank-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.88rem;
    min-width: 100px;
}

.bank-value {
    color: var(--text-light);
    font-size: 0.88rem;
}

.iban-value {
    font-family: monospace;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.copy-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.bank-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(196, 30, 58, 0.15);
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* Checkbox */
.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    color: var(--text) !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

/* Donate Submit Button */
.btn-donate-submit {
    position: relative;
    overflow: hidden;
}

.btn-donate-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: none;
}

.btn-donate-submit:hover::after {
    animation: buttonShimmer 0.6s ease;
}

@keyframes buttonShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* === Donation Sidebar === */
.donation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.summary-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.92rem;
}

.summary-row span:first-child {
    color: var(--text-light);
}

.summary-value {
    font-weight: 700;
    color: var(--text);
}

.summary-divider {
    height: 2px;
    background: var(--border);
    margin: 10px 0;
}

.summary-row.total {
    font-size: 1.25rem;
    padding: 12px 0;
}

.summary-row.total .summary-value {
    color: var(--primary-dark);
    font-weight: 800;
}

/* Security Card */
.security-card {
    text-align: center;
}

.security-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.security-card h4 {
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.security-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 15px;
}

.security-list {
    text-align: left;
}

html[dir="rtl"] .security-list {
    text-align: right;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text);
}

.security-list li i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Hadith Sidebar Card */
.hadith-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
}

.hadith-mini-ornament {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.hadith-mini-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 8px;
}

.hadith-mini-source {
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
}

html[lang="ar"] .hadith-mini-text {
    font-family: var(--font-arabic);
    font-style: normal;
}

/* Impact Card */
.impact-card h4 {
    color: var(--secondary);
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.impact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.impact-item:hover {
    background: var(--primary-ultra-light);
    transform: translateX(4px);
}

html[dir="rtl"] .impact-item:hover {
    transform: translateX(-4px);
}

.impact-amount {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
    min-width: 50px;
}

.impact-text {
    color: var(--text-light);
    font-size: 0.88rem;
}

/* === FAQ Section === */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

html[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    color: var(--primary);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.93rem;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

/* === Thank You / Imam Section === */
.thankyou-section {
    padding: 100px 0;
    background: var(--white);
}

.thankyou-dua {
    font-family: var(--font-display);
    font-size: 1.2rem !important;
    color: var(--primary) !important;
    font-style: italic;
}

.imam-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
    border: 1px solid var(--border-light);
}

html[dir="rtl"] .imam-card {
    text-align: right;
}

.imam-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.imam-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.25);
}

.imam-badge {
    background: var(--primary);
    color: var(--white);
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.imam-info h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.imam-message {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* === Contact Info Section === */
.contact-info-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 30, 58, 0.15);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-card:hover .contact-icon-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.contact-card h4 {
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Map */
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

/* === Premium Footer === */
.footer {
    background: #0A0A14;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.footer-cta-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-cta-icon {
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-cta-content h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Footer Main */
.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding: 70px 0 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-logo-main {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-logo-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 22px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

html[dir="rtl"] .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.86rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a i {
    font-size: 0.6rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links li a:hover i {
    color: var(--white);
}

.footer-contact-mini {
    margin-top: 28px;
}

.footer-contact-mini h4 {
    margin-bottom: 14px;
}

.footer-contact-mini p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-mini p i {
    color: var(--primary-light);
    width: 14px;
    text-align: center;
    font-size: 0.78rem;
}

/* Footer Bank Card */
.footer-bank-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.footer-bank-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-bank-details p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-bank-details strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.bank-label-sm {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    font-weight: 600;
}

.footer-newsletter p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
    padding: 22px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.7rem;
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
    z-index: 998;
}

html[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.4);
}

/* === Floating Donate (Mobile) === */
.floating-donate {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.1);
}

.floating-donate .btn {
    width: 100%;
    justify-content: center;
}

/* === Modal === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 55px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 460px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.3s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

html[dir="rtl"] .modal-close {
    right: auto;
    left: 15px;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-icon {
    font-size: 4.5rem;
    color: var(--primary);
    margin-bottom: 22px;
}

.modal-content h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.modal-content>p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }

    .mosque-illustration {
        max-width: 280px;
    }

    .donation-container {
        grid-template-columns: 1fr;
    }

    .donation-sidebar {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-number {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    html[dir="rtl"] .timeline::before {
        left: auto;
        right: 30px;
    }

    html[dir="rtl"] .timeline-number {
        left: auto;
        right: 30px;
    }

    html[dir="rtl"] .timeline-content {
        margin-left: 0 !important;
        margin-right: 80px !important;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-lg);
        z-index: 998;
    }

    .nav.active {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-top-bar {
        display: none;
    }

    .header-main .container {
        height: 64px;
    }

    /* Fixed lang selector on mobile - bottom right */
    .fixed-lang-selector {
        top: auto;
        bottom: 80px;
        right: 0;
        transform: none;
    }

    .fixed-lang-text {
        display: none;
    }

    .fixed-lang-btn {
        padding: 6px 8px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-title .highlight {
        font-size: 2.6rem;
        letter-spacing: 4px;
    }

    .hadith-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .amount-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .donation-form-wrapper {
        padding: 25px;
    }

    .imam-card {
        flex-direction: column;
        text-align: center;
    }

    html[dir="rtl"] .imam-card {
        text-align: center;
    }

    .inspiration-block {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 0 30px;
    }

    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-cta-content {
        flex-direction: column;
    }

    .footer-cta-content h3 {
        font-size: 1.4rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .floating-donate {
        display: block;
    }

    .footer {
        padding-bottom: 70px;
    }

    .slider-controls {
        bottom: 35px;
    }

    .slider-counter {
        display: none;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-item-large {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.6rem;
    }

    .slide-title .highlight {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .hadith-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .toggle-group {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .donation-form-wrapper {
        padding: 20px;
    }

    .sidebar-card {
        padding: 22px;
    }

    .modal-content {
        padding: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
}

/* Print */
@media print {

    .header,
    .fixed-lang-selector,
    .back-to-top,
    .hero-slider,
    .scroll-indicator,
    .floating-donate,
    .slider-controls,
    .preloader {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}