/*
 * Masjid Al-Islam Rhode Island
 * Premium Design System
 * Version 1.0
 */

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Greens */
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;

    /* Accent Gold */
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;

    /* Neutrals */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Semantic Colors */
    --background: #ffffff;
    --surface: #ffffff;
    --surface-elevated: rgba(255, 255, 255, 0.8);
    --text-primary: #171717;
    --text-secondary: #525252;
    --text-muted: #737373;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-slower: 500ms ease;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 6rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.015em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    :root {
        --section-padding: 4rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary-700);
    border: 2px solid var(--primary-200);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo span {
    color: var(--primary-800);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary-700);
    background: var(--primary-50);
}

.nav-donate {
    margin-left: 1rem;
}

.nav-donate .btn-primary,
.nav-donate .btn-primary:hover,
.nav-donate .btn-primary:focus,
.navbar .nav-donate .btn-primary,
.navbar .nav-donate .btn-primary:hover,
.navbar.scrolled .nav-donate .btn-primary,
.navbar.scrolled .nav-donate .btn-primary:hover,
.nav-links .nav-donate .btn-primary,
.nav-links .nav-donate .btn-primary:hover {
    color: white !important;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700)) !important;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-trigger svg {
    transition: transform var(--transition-base);
}

/* Desktop only - rotate chevron on hover */
@media (min-width: 969px) {
    .nav-dropdown:hover .dropdown-trigger svg {
        transform: rotate(180deg);
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-200);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 100;
}

/* Desktop only - hover to show dropdown */
@media (min-width: 969px) {
    .nav-dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem !important;
    color: var(--text-secondary) !important;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.dropdown-menu a:hover {
    background: var(--primary-50) !important;
    color: var(--primary-700) !important;
}

/* Nested Dropdown (has-nested) */
.has-nested {
    position: relative;
}

.nested-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.nested-trigger svg {
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.nested-menu {
    position: absolute;
    left: 100%;
    top: 0;
    transform: translateX(8px) !important;
    min-width: 190px;
    opacity: 0;
    visibility: hidden;
}

@media (min-width: 969px) {
    .has-nested:hover > .nested-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) !important;
    }

    .has-nested:hover > .nested-trigger svg {
        transform: rotate(0deg);
    }
}

.navbar.scrolled .dropdown-menu a {
    color: var(--text-secondary) !important;
}

.navbar.scrolled .dropdown-menu a:hover {
    color: var(--primary-700) !important;
    background: var(--primary-50) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--text-primary);
}

/* Hide close button on desktop */
.mobile-close-btn {
    display: none;
}

@media (max-width: 968px) {

    /* Mobile Navbar Overrides - Stick and no scroll effect */
    .navbar,
    .navbar.scrolled {
        background: linear-gradient(135deg, #006A4E 0%, #004D38 100%) !important;
        padding: 1rem 0 !important;
        /* Keep original padding */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar .nav-logo span,
    .navbar.scrolled .nav-logo span {
        color: white !important;
    }

    .mobile-menu-btn span,
    .navbar.scrolled .mobile-menu-btn span {
        background: white !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #006A4E 0%, #004D38 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 0 1.5rem 2rem;
        box-shadow: none;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    /* Close button header */
    .mobile-close-btn {
        display: flex;
        justify-content: flex-end;
        padding: 1.5rem 0;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .close-menu-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        color: white;
        box-shadow: none;
    }

    .close-menu-btn:hover {
        transform: rotate(90deg);
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        /* Light subtle separator */
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links>li>a {
        width: 100%;
        padding: 1.25rem 0.5rem;
        color: rgba(255, 255, 255, 0.95);
        /* White text */
        font-size: 1.25rem;
        font-weight: 500;
        font-family: 'Outfit', sans-serif;
        transition: all 0.2s ease;
        background: transparent !important;
    }

    .nav-links>li>a:hover,
    .nav-links>li>a.active {
        color: white;
        background: transparent !important;
        padding-left: 1rem;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }

    .nav-donate {
        margin: 2rem 0.5rem 0;
        padding: 0;
        border: none !important;
    }

    .nav-donate .btn {
        width: 100%;
        background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
        color: white !important;
        border: none;
        padding: 1.25rem 2rem;
        font-weight: 700;
        font-size: 1.125rem;
        border-radius: 100px;
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }

    .nav-donate .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown>a.dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        color: rgba(255, 255, 255, 0.95);
    }

    .nav-dropdown>a.dropdown-trigger svg {
        color: rgba(255, 255, 255, 0.6);
        transition: transform 0.3s ease;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        background: rgba(0, 0, 0, 0.2);
        /* Dark overlay for depth */
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 0.5rem;
        margin: 0.5rem 0;
    }

    .nav-dropdown.active .dropdown-trigger svg {
        transform: rotate(180deg);
        color: white;
    }

    .dropdown-menu li {
        border-bottom: none !important;
        margin: 0;
    }

    .dropdown-menu a {
        padding: 1rem 1.5rem !important;
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.8) !important;
        background: transparent;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 0.75rem;
        opacity: 1;
    }

    .dropdown-menu a::before {
        content: '';
        /* Dot indicator */
        display: block;
        width: 6px;
        height: 6px;
        background: var(--gold-500);
        border-radius: 50%;
        opacity: 0.7;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        padding-left: 2rem !important;
    }

    /* Mobile Nested Dropdown */
    .has-nested {
        width: 100%;
    }

    .nested-trigger {
        padding: 1rem 1.5rem !important;
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .nested-trigger svg {
        color: rgba(255, 255, 255, 0.5);
    }

    .nested-menu {
        position: static !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.15) !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        margin-left: 1rem !important;
        border-left: 2px solid rgba(255, 255, 255, 0.15) !important;
        transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
    }

    .has-nested.active > .nested-menu {
        max-height: 300px;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0.35rem !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
    }

    .has-nested.active > .nested-trigger svg {
        transform: rotate(90deg);
        color: white;
    }

    .nested-menu a {
        padding: 0.85rem 1.25rem !important;
        font-size: 1rem !important;
    }

    .nested-menu a::before {
        width: 4px !important;
        height: 4px !important;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-tagline svg {
    width: 18px;
    height: 18px;
    color: var(--gold-400);
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   PRAYER TIMES SECTION
   ============================================ */
.prayer-times {
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--background) 100%);
    position: relative;
}

.prayer-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--primary-100);
    position: relative;
    overflow: hidden;
}

.prayer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--gold-500));
}

.prayer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.prayer-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-xl);
    background: var(--neutral-50);
    transition: all var(--transition-base);
    position: relative;
}

.prayer-item:hover {
    background: var(--primary-50);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.prayer-item.active {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.prayer-item.active .prayer-name,
.prayer-item.active .prayer-time {
    color: white;
}

.prayer-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    transition: all var(--transition-base);
}

.prayer-item:hover .prayer-icon {
    background: var(--primary-200);
}

.prayer-item.active .prayer-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.prayer-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.prayer-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-700);
}

.prayer-adhan {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 500;
}

.prayer-item.active .prayer-adhan {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PREMIUM PRAYER TIMES CARD
   ============================================ */
.prayer-card-premium {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.prayer-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.prayer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.prayer-card-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.prayer-card-date {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.prayer-card-hijri {
    font-size: 0.9rem;
    color: var(--primary-600);
    font-weight: 500;
}

.prayer-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    border-radius: var(--radius-full);
    color: var(--primary-700);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Premium Prayer Times Grid */
.prayer-times-premium-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.prayer-time-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prayer-time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prayer-time-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.prayer-time-card:hover::before {
    opacity: 1;
}

.prayer-time-card.active {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-color: transparent;
}

.prayer-time-card.active::before {
    opacity: 0;
}

.prayer-time-card.active .prayer-time-card-icon,
.prayer-time-card.active .prayer-time-card-name,
.prayer-time-card.active .time-label,
.prayer-time-card.active .time-value {
    color: white !important;
}

.prayer-time-card.active .time-value.starts {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9) !important;
}

.prayer-time-card.active .time-value.iqamah {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
}

.prayer-time-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.fajr-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.sunrise-icon {
    background: linear-gradient(135deg, #f6d365, #fda085);
    color: white;
}

.dhuhr-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.asr-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.maghrib-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
}

.isha-icon {
    background: linear-gradient(135deg, #30cfd0, #330867);
    color: white;
}

.prayer-time-card-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.prayer-time-card-times {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prayer-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.prayer-time-row.single {
    justify-content: center;
}

.time-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
}

.time-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
}

.time-value.starts {
    background: var(--neutral-100);
    color: var(--text-secondary);
}

.time-value.iqamah {
    background: var(--primary-100);
    color: var(--primary-700);
}

.time-value.sunrise {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: white;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

.sunrise-card {
    background: linear-gradient(135deg, #fef9e7, #fdf6e3);
}

/* Jummah Banner */
.jummah-banner {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.jummah-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.jummah-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jummah-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.jummah-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.jummah-times {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.jummah-times-grid {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.jummah-time-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
}

.jummah-time-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.85;
}

.jummah-time-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   DAY NAVIGATION
   ============================================ */
.day-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    gap: 1rem;
}

.day-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-200);
    background: white;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.day-nav-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.day-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.day-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.day-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

/* Responsive Day Navigation */
@media (max-width: 600px) {
    .day-navigation {
        padding: 0.75rem;
    }

    .day-nav-btn span {
        display: none;
    }

    .day-nav-btn {
        padding: 0.75rem;
    }

    .day-nav-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   WEEKLY TABLE
   ============================================ */
.weekly-table-container {
    margin-top: 1.5rem;
}

.weekly-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.weekly-prayer-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 650px;
}

.weekly-prayer-table th {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    padding: 1rem 0.75rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.weekly-prayer-table th:first-child {
    text-align: left;
    padding-left: 1rem;
}

.weekly-prayer-table td {
    padding: 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--neutral-100);
    vertical-align: middle;
}

.weekly-prayer-table tr:last-child td {
    border-bottom: none;
}

.weekly-prayer-table tr:nth-child(even) {
    background: var(--neutral-50);
}

/* Day column */
.day-cell {
    text-align: left !important;
    padding-left: 1rem !important;
}

.day-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.day-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

/* Today row */
.weekly-prayer-table tr.today-row {
    background: linear-gradient(90deg, var(--primary-50), rgba(var(--primary-rgb), 0.05)) !important;
}

.weekly-prayer-table tr.today-row .day-name {
    color: var(--primary-700);
}

.today-badge {
    background: var(--primary-600);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Friday row */
.weekly-prayer-table tr.friday-row {
    background: linear-gradient(90deg, #fef9e7, rgba(255, 243, 205, 0.3)) !important;
}

.weekly-prayer-table tr.friday-row .day-name {
    color: var(--gold-700);
}

.friday-badge {
    background: var(--gold-500);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* Time cells */
.time-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.adhan-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.iqamah-time {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-700);
    background: var(--primary-50);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.sunrise-time {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gold-700);
    background: var(--gold-50);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* Table Legend */
.table-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.legend-dot.starts {
    background: var(--neutral-200);
    border: 1px solid var(--neutral-300);
}

.legend-dot.iqamah {
    background: var(--primary-600);
}

/* Responsive */
@media (max-width: 768px) {
    .week-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .week-nav-btn {
        width: 100%;
        justify-content: center;
    }

    .week-nav-btn span {
        display: none;
    }

    .week-nav-btn svg {
        width: 24px;
        height: 24px;
    }

    .week-navigation {
        flex-direction: row;
    }

    .week-nav-btn {
        width: auto;
        padding: 0.75rem;
    }
}

/* ============================================
   WEEKLY SWIPER CAROUSEL (Keep for reference)
   ============================================ */
.weekly-swiper-section {
    margin-top: 2.5rem;
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-100);
}

.weekly-swiper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.weekly-swiper-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.weekly-swiper-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.weekly-swiper-nav {
    display: flex;
    gap: 0.5rem;
}

.swiper-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.swiper-nav-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.swiper-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.weekly-swiper-container {
    overflow: hidden;
    position: relative;
}

.weekly-swiper-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    touch-action: pan-y pinch-zoom;
}

.weekly-day-card {
    min-width: calc(33.333% - 0.67rem);
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.weekly-day-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.weekly-day-card.loading {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-muted);
}

.weekly-day-card.today {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-color: var(--primary-200);
}

.weekly-day-card.friday {
    background: linear-gradient(135deg, #fef9e7, #fdf6e3);
    border-color: var(--gold-200);
}

.weekly-day-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--neutral-100);
}

.weekly-day-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.weekly-day-card.friday .weekly-day-name {
    color: var(--gold-600);
}

.weekly-day-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.today-badge {
    background: var(--primary-600);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.friday-badge {
    background: var(--gold-500);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.weekly-day-prayers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.weekly-prayer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--neutral-100);
}

.weekly-prayer-row:last-child {
    border-bottom: none;
}

.weekly-prayer-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    width: 70px;
}

.weekly-prayer-times-cell {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.weekly-time {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.weekly-time.starts {
    background: var(--neutral-100);
    color: var(--text-secondary);
}

.weekly-time.iqamah {
    background: var(--primary-100);
    color: var(--primary-700);
}

.weekly-time.sunrise-only {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: white;
}

/* Swiper Dots */
.weekly-swiper-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.swiper-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--neutral-200);
    cursor: pointer;
    transition: all 0.2s ease;
}

.swiper-dot.active {
    width: 24px;
    background: var(--primary-600);
}

/* Legend */
.weekly-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-100);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.legend-dot.starts {
    background: var(--neutral-200);
    border: 1px solid var(--neutral-300);
}

.legend-dot.iqamah {
    background: var(--primary-600);
}

/* Responsive */
@media (max-width: 1024px) {
    .prayer-times-premium-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .weekly-day-card {
        min-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .prayer-times-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prayer-card-premium {
        padding: 1.5rem;
    }

    .prayer-card-date {
        font-size: 1.25rem;
    }

    .weekly-day-card {
        min-width: calc(100% - 0rem);
    }

    .weekly-swiper-section {
        padding: 1.5rem;
    }

    .prayer-time-card {
        padding: 1rem 0.75rem;
    }

    .prayer-time-card-icon {
        width: 40px;
        height: 40px;
    }

    .jummah-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .prayer-times-premium-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .prayer-time-card-name {
        font-size: 0.9rem;
    }

    .time-label {
        font-size: 0.6rem;
    }

    .time-value {
        font-size: 0.75rem;
        padding: 0.2rem 0.35rem;
    }
}

/* Weekly Calendar Card */
.weekly-calendar-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.weekly-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.weekly-prayer-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 700px;
}

.weekly-prayer-table th {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    padding: 1rem 0.75rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.weekly-prayer-table th:first-child {
    border-top-left-radius: var(--radius-lg);
}

.weekly-prayer-table th:last-child {
    border-top-right-radius: var(--radius-lg);
}

.weekly-prayer-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--neutral-100);
    vertical-align: middle;
}

.weekly-prayer-table tbody tr:last-child td {
    border-bottom: none;
}

.weekly-prayer-table tbody tr:hover {
    background: var(--neutral-50);
}

.weekly-prayer-table tbody tr.today-row {
    background: var(--primary-50);
}

.weekly-prayer-table tbody tr.today-row:hover {
    background: var(--primary-100);
}

.weekly-prayer-table .day-cell {
    text-align: left;
    padding-left: 1rem;
}

.weekly-prayer-table .day-name {
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.weekly-prayer-table .day-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.weekly-prayer-table .today-badge {
    display: inline-block;
    background: var(--primary-600);
    color: white;
    font-size: 0.6rem;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.weekly-prayer-table .friday-row .day-name {
    color: var(--gold-600);
}

.weekly-prayer-table .time-cell {
    line-height: 1.4;
}

.weekly-prayer-table .adhan-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--primary-50);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    margin-bottom: 0.25rem;
}

.weekly-prayer-table .iqamah-time {
    display: block;
    font-weight: 600;
    color: var(--primary-700);
    font-size: 0.85rem;
}

.weekly-prayer-table .sunrise-time {
    font-weight: 500;
    color: var(--gold-600);
}

@media (max-width: 768px) {
    .prayer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prayer-grid .prayer-item:last-child {
        grid-column: span 2;
    }

    .weekly-calendar-card {
        padding: 1rem;
    }

    .weekly-prayer-table {
        font-size: 0.75rem;
    }

    .weekly-prayer-table th,
    .weekly-prayer-table td {
        padding: 0.5rem 0.25rem;
    }
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--neutral-200);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-300));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-radius: var(--radius-xl);
    color: var(--primary-600);
    font-size: 2rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Facility Cards */
.facility-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.facility-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.facility-image {
    width: 120px;
    height: 100px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-content h4 {
    margin-bottom: 0.5rem;
}

.facility-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.quote-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-400);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.quote-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: white;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quote-source {
    color: var(--primary-300);
    font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--neutral-800);
}

.footer-brand p {
    color: var(--neutral-400);
    margin: 1rem 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-800);
    border-radius: var(--radius-lg);
    color: var(--neutral-400);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
}

.footer h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--neutral-400);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-400);
    padding-left: 0.25rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    color: var(--neutral-500);
    font-size: 0.875rem;
}

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: white;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background: white;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-control::placeholder {
    color: var(--neutral-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-600);
}

.text-gold {
    color: var(--gold-500);
}

.text-white {
    color: white;
}

.text-muted {
    color: var(--text-muted);
}

.bg-primary {
    background: var(--primary-600);
}

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

.bg-white {
    background: white;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ============================================
   CONTACT PAGE SPECIFIC
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: var(--neutral-50);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.contact-item a:hover {
    color: var(--primary-600);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-100);
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DONATE PAGE SPECIFIC
   ============================================ */
.donate-hero {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donate-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.donate-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    text-align: center;
    border: 2px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.donate-card:hover {
    border-color: var(--primary-400);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.donate-card.featured {
    border-color: var(--primary-500);
    position: relative;
    overflow: hidden;
}

.donate-card.featured::before {
    content: 'Recommended';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-600);
    color: white;
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.donate-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-radius: 50%;
    font-size: 2rem;
}

.donate-card h3 {
    margin-bottom: 0.75rem;
}

.donate-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .donate-options {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
}

@media (max-width: 968px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .prayer-card {
        padding: 1.5rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--primary-100);
    border-top-color: var(--primary-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   PREMIUM PROGRAM ACCORDION
   ============================================ */
.programs-section {
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.programs-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.programs-image-wrapper {
    position: sticky;
    top: 120px;
}

.programs-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.programs-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.programs-image:hover img {
    transform: scale(1.03);
}

.programs-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.4), transparent 50%);
    pointer-events: none;
}

.programs-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.programs-badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.programs-badge-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.programs-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.programs-content>p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Accordion Container */
.program-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Accordion Item */
.accordion-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    border: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.accordion-item:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
}

.accordion-item.active {
    border-color: var(--primary-500);
    box-shadow: 0 10px 40px rgba(5, 150, 105, 0.15);
}

/* Accordion Header */
.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-icon {
    background: rgba(255, 255, 255, 0.2);
}

.accordion-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.accordion-item.active .accordion-title {
    color: white;
}

.accordion-toggle {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.accordion-item.active .accordion-toggle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(45deg);
}

/* Accordion Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, var(--primary-50), white);
}

.accordion-item.active .accordion-content {
    max-height: 700px;
}

.accordion-body {
    padding: 1.5rem;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.program-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-100);
    transition: all 0.25s ease;
}

.program-item:hover {
    border-color: var(--primary-300);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.program-item-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-item-content {
    flex: 1;
}

.program-item-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.program-item-time {
    font-size: 0.85rem;
    color: var(--primary-600);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .programs-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .programs-image-wrapper {
        position: relative;
        top: auto;
    }

    .programs-image img {
        height: 350px;
    }

    .programs-content h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    .accordion-header {
        padding: 1rem 1.25rem;
    }

    .accordion-icon {
        width: 36px;
        height: 36px;
    }

    .accordion-title {
        font-size: 1rem;
    }
}

/* ============================================
   ISLAMIC EVENTS CALENDAR
   ============================================ */
.events-section {
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.event-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.event-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.event-card.featured .event-content {
    padding: 2rem;
}

.event-header {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    padding: 1.25rem 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event-card.featured .event-header {
    padding: 1.5rem 2rem;
}

.event-card.ramadan .event-header {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.event-card.eid .event-header {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

.event-card.hajj .event-header {
    background: linear-gradient(135deg, #059669, #047857);
}

.event-card.ashura .event-header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.event-card.mawlid .event-header {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.event-date-badge {
    text-align: center;
    min-width: 60px;
}

.event-date-badge .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.event-date-badge .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.event-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
}

.event-card.featured .event-name {
    font-size: 1.5rem;
}

.event-content {
    padding: 1.25rem 1.5rem;
}

.event-hijri {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-50);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--primary-700);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.event-countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.9375rem;
}

.event-countdown svg {
    width: 18px;
    height: 18px;
}

.events-footer {
    margin-top: 3rem;
    text-align: center;
}

.hijri-date-display {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-100);
}

.hijri-date-display svg {
    width: 24px;
    height: 24px;
    color: var(--gold-500);
}

.hijri-date-display span {
    font-weight: 600;
    color: var(--text-primary);
}

.hijri-date-display .hijri-label {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card.featured {
        grid-column: span 1;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .event-date-badge {
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
    }
}

/* YouTube Section Responsive */
@media (max-width: 768px) {
    .section [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   FAQ SECTION - Modern Tab Design
   ============================================ */

/* Tab Navigation */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.faq-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-tab svg {
    transition: all var(--transition-base);
}

.faq-tab:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-tab.active {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-color: var(--primary-600);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

.faq-tab.active svg {
    color: white;
}

/* FAQ Content Panels */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-100);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-100);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    gap: 1rem;
}

.faq-question span {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--text-primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    color: var(--primary-600);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.faq-icon svg {
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    background: var(--primary-600);
    color: white;
}

.faq-item.active .faq-icon svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer a {
    color: var(--primary-600);
    font-weight: 500;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--primary-700);
}

/* FAQ Contact CTA */
.faq-cta {
    margin-top: 4rem;
    text-align: center;
}

.faq-cta-content {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    padding: 3rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--primary-200);
}

.faq-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-800);
}

.faq-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-tabs {
        gap: 0.5rem;
    }

    .faq-tab {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .faq-tab svg {
        display: none;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question span {
        font-size: 1rem;
    }
}

/* ============================================
   RAMADAN SECTION RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .ramadan-section [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    .ramadan-section [style*="display: flex"][style*="gap: 3rem"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-500), var(--primary-700));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-600), var(--primary-800));
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-600) var(--neutral-100);
}