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

:root {
    --gold: #D4AF37;
    --gold-light: #C9A961;
    --teal: #1a4d4d;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --dark: #2c2c2c;
    --gray: #999;
    --light-gray: #f4f4f4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: var(--dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle, #FFFFFF 0%, #FAFAFA 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease 6.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-logo {
    width: 250px;
    height: auto;
    margin-bottom: 3rem;
    animation: logoFadeIn 1s ease forwards;
    position: relative;
    overflow: hidden;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    animation: shimmer 1.5s ease 1s forwards;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.loading-ayat {
    text-align: center;
    color: var(--dark);
    max-width: 600px;
    padding: 0 20px;
}

.loading-ayat::before {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 2rem;
    animation: lineGrow 0.8s ease 2s forwards;
}

@keyframes lineGrow {
    to {
        width: 100px;
    }
}

.ayat-arabic {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease 2.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ayat-translation {
    font-size: 18px;
    color: #666;
    margin-bottom: 0.8rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease 3.5s forwards;
}

.ayat-reference {
    font-size: 14px;
    color: #999;
    opacity: 0;
    animation: fadeInUp 0.8s ease 4s forwards;
}

.loading-dots {
    margin-top: 3rem;
    display: flex;
    gap: 0.8rem;
    opacity: 0;
    animation: fadeIn 0.5s ease 4.5s forwards;
}

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

.loading-dots span {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    animation: elegantBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes elegantBounce {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

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

.nav-logo img {
    height: 120px;
    width: auto;
    transition: height 0.3s ease;
}

#navbar.scrolled .nav-logo img {
    height: 90px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

#navbar.scrolled .nav-menu a {
    color: var(--dark);
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

#navbar.scrolled .mobile-menu-toggle span {
    background: var(--dark);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Full */
.hero-full {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 32px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

/* Intro Section */
.intro-section {
    padding: 100px 0;
    background: var(--white);
}

.ayat-quran-box {
    text-align: center;
    margin-bottom: 3rem;
}

.ayat-quran-box .ayat-arabic {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.ayat-quran-box .ayat-translation {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.ayat-quran-box .ayat-reference {
    font-size: 14px;
    color: var(--gray);
}

.divider-gold {
    width: 100px;
    height: 2px;
    background: var(--gold);
    margin: 3rem auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.location-text {
    text-align: center;
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 3rem;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Stats Section */
.status-contribution-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFBF0 100%);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.status-contribution-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    color: var(--dark);
    margin-bottom: 1rem;
}

.status-intro {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.contribution-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 2px solid var(--gold);
}

.qr-side {
    text-align: center;
}

.qr-small {
    width: 200px;
    height: auto;
    border: 3px solid var(--gold);
    border-radius: 8px;
}

.bank-side h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.bank-info-compact p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.bank-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.bank-account {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
}

.bank-holder {
    font-size: 14px;
    color: var(--gray);
}

.link-project {
    display: block;
    text-align: center;
    font-size: 16px;
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-project:hover {
    color: var(--gold);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--off-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

.stat-number {
    font-size: 60px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 1rem;
    color: var(--dark);
}

.cta-section p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 3rem;
}

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

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--teal);
    color: var(--white);
    padding: 40px 0 30px;
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 0.5rem;
    color: var(--white);
}

footer p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.divider-gold-small {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 2rem auto;
}

.footer-badge {
    color: var(--gold);
    font-weight: 500;
    margin: 1rem 0;
}

.footer-copyright {
    font-size: 14px;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 2rem;
        display: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        color: var(--dark);
    }
    
    .nav-menu a::after {
        background: var(--gold);
    }
    
    .hero-full {
        height: 60vh;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .contribution-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .qr-small {
        width: 160px;
    }
}

/* Page Header Split */
.page-header-split {
    padding: 120px 0 80px;
    background: var(--white);
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: var(--dark);
    margin-bottom: 2rem;
}

.divider-gold-left {
    width: 100px;
    height: 2px;
    background: var(--gold);
    margin: 2rem 0;
}

.lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--gray);
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-section.alt-bg {
    background: var(--off-white);
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.content-box.centered {
    text-align: center;
}

.content-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.content-box p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.problem-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.vision-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.vision-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .split-text h1 {
        font-size: 36px;
    }
    
    .problem-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .content-box {
        padding: 2rem;
    }
}

/* Page Header Hero */
.page-header-hero {
    height: 50vh;
    position: relative;
    overflow: hidden;
}

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

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.header-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 24px;
    color: var(--gold);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.info-item {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 8px;
}

.info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-value {
    font-size: 18px;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.6;
}

/* Capacity Grid */
.capacity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.capacity-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.capacity-card.highlight {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.capacity-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.capacity-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.capacity-desc {
    font-size: 14px;
    color: var(--gray);
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.facility-item {
    background: var(--off-white);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.facility-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.facility-item p {
    font-size: 14px;
    color: var(--gray);
}

/* Concept Box */
.concept-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.concept-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.concept-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.concept-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
}

/* Document Card */
.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.document-card {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid var(--gold);
    text-align: center;
}

.document-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 1rem;
}

.document-card p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 2rem;
}

.btn-download {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.file-info {
    font-size: 14px;
    color: var(--gray);
    margin-top: 1rem;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.status-item {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
}

.status-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.status-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.status-item.completed .status-label {
    color: var(--gold);
}

.status-item.in-progress .status-label {
    color: var(--teal);
}

.status-detail {
    font-size: 14px;
    color: var(--gray);
}

/* Cost Section */
.cost-summary {
    text-align: center;
    margin-bottom: 3rem;
}

.cost-total-label {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 1rem;
}

.cost-total {
    font-size: 56px;
    font-weight: 700;
    color: var(--gold);
}

/* Accordion */
.cost-breakdown {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: 2px solid var(--gold);
    border-radius: 4px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion:hover {
    background: var(--off-white);
}

.accordion.active {
    background: var(--gold);
    color: var(--white);
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.cost-table tr {
    border-bottom: 1px solid var(--light-gray);
}

.cost-table td {
    padding: 1rem;
    font-size: 16px;
}

.cost-table td:first-child {
    color: var(--dark);
}

.cost-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--dark);
}

.cost-table tr.subtotal td {
    font-weight: 700;
    color: var(--teal);
    padding-top: 1.5rem;
}

.cost-table tr.total td {
    font-weight: 700;
    color: var(--gold);
    font-size: 18px;
    padding-top: 1.5rem;
}

/* Responsive for Project page */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 36px;
    }
    
    .info-grid,
    .capacity-grid,
    .concept-box,
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cost-total {
        font-size: 42px;
    }
}

/* Gallery Page */
.page-header-simple {
    padding: 140px 0 60px;
    background: var(--white);
    text-align: center;
}

.page-header-simple h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: var(--dark);
    margin-bottom: 1rem;
}

.page-header-simple p {
    font-size: 20px;
    color: var(--gray);
}

.featured-section {
    padding: 60px 0;
    background: var(--off-white);
}

.featured-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.featured-image {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-image img:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 1rem;
    font-size: 16px;
    color: var(--gray);
}

.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 3rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 14px;
    color: var(--gray);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: var(--white);
    font-size: 60px;
    font-weight: 300;
    cursor: pointer;
}

/* Contribute Page */
.contribute-hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
}

.contribute-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: -1;
}

.contribute-content {
    position: relative;
    z-index: 1;
}

.contribute-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    text-align: center;
    color: var(--dark);
    margin-bottom: 2rem;
}

.contribute-intro {
    text-align: center;
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.ayat-box-contribute {
    text-align: center;
    margin-bottom: 4rem;
}

.ayat-arabic-small {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.ayat-translation-small {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.ayat-reference-small {
    font-size: 14px;
    color: var(--gray);
}

.bank-card {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid var(--gold);
    text-align: center;
}

.bank-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 2rem;
}

.qr-section {
    margin-bottom: 2rem;
}

.qr-code {
    width: 400px;
    height: auto;
    border: 4px solid var(--gold);
    border-radius: 8px;
}

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

.bank-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

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

.bank-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bank-value {
    font-size: 18px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.6;
}

.transparency-box {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 8px;
}

.transparency-box h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.transparency-box a {
    color: var(--teal);
    text-decoration: underline;
}

.other-ways {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.other-ways h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 2rem;
}

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

.way-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.way-item h4 {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.way-item p {
    font-size: 16px;
    color: var(--gray);
}

/* Contact Page */
.contact-header {
    height: 30vh;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
}

.contact-section {
    padding: 80px 0;
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 3rem;
}

.email-box {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.email-link {
    font-size: 24px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--gold);
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin: 3rem 0;
    color: var(--dark);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.committee-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.committee-role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.committee-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.committee-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem auto;
}

.whatsapp-link {
    display: inline-block;
    font-size: 18px;
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: var(--gold);
    transform: scale(1.05);
}

.ajk-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2.5rem;
    background: var(--off-white);
    border-radius: 8px;
}

.ajk-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.ajk-list p {
    font-size: 14px;
    color: var(--gray);
}

.location-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.location-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.location-box p {
    font-size: 18px;
    color: var(--dark);
    line-height: 1.8;
}

/* Responsive for Gallery, Contribute, Contact */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .ways-grid {
        grid-template-columns: 1fr;
    }
    
    .committee-grid {
        grid-template-columns: 1fr;
    }
    
    .ajk-list {
        grid-template-columns: 1fr;
    }
    
    .qr-code {
        width: 300px;
    }
}

/* Prayer Times Widget */
.prayer-widget {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 160px;
    background: #0d4d4d;
    border: 2px solid #D4AF37;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    z-index: 900;
    transition: all 0.3s ease;
}

.prayer-widget.collapsed {
    width: 35px;
    height: 120px;
    border-radius: 15px 0 0 15px;
    right: 0;
}

.prayer-widget.collapsed .prayer-content {
    display: none;
}

.prayer-widget.collapsed .prayer-header {
    border-radius: 15px 0 0 15px;
    padding: 10px 5px;
    border-bottom: none;
    height: 100%;
    writing-mode: vertical-rl;
}

.prayer-widget.collapsed .prayer-title {
    font-size: 10px;
    letter-spacing: 2px;
}

.prayer-widget.collapsed .prayer-toggle {
    display: none;
}

.prayer-header {
    background: linear-gradient(135deg, #0d4d4d 0%, #1a4d4d 100%);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #D4AF37;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
}

.prayer-title {
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    font-weight: 600;
    color: #D4AF37;
    letter-spacing: 0.5px;
}

.prayer-toggle {
    background: none;
    border: none;
    color: #D4AF37;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.prayer-toggle:hover {
    transform: scale(1.1);
}

.prayer-content {
    padding: 8px;
}

.prayer-location {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: #f5f5f5;
    text-align: center;
    margin-bottom: 3px;
    opacity: 0.9;
}

.prayer-hijri {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
}

.prayer-times {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prayer-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.prayer-time.next {
    background: rgba(212, 175, 55, 0.2);
    border-left: 2px solid #D4AF37;
}

.prayer-time.next .prayer-name,
.prayer-time.next .prayer-hour {
    color: #D4AF37;
    font-weight: 600;
    font-size: 10px;
}

.prayer-name {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: #f5f5f5;
    font-weight: 400;
}

.prayer-hour {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: #f5f5f5;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .prayer-widget {
        right: 5px;
        width: 130px;
        top: 45%;
    }
    
    .prayer-widget.collapsed {
        width: 28px;
        height: 100px;
        right: 0;
    }
    
    .prayer-widget.collapsed .prayer-header {
        padding: 8px 4px;
    }
    
    .prayer-widget.collapsed .prayer-title {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
    
    .prayer-header {
        padding: 6px 8px;
    }
    
    .prayer-title {
        font-size: 10px;
    }
    
    .prayer-content {
        padding: 6px;
    }
    
    .prayer-time {
        padding: 3px 5px;
    }
    
    .prayer-name,
    .prayer-hour {
        font-size: 8px;
    }
    
    .prayer-time.next .prayer-name,
    .prayer-time.next .prayer-hour {
        font-size: 9px;
    }
    
    .prayer-location {
        font-size: 8px;
    }
    
    .prayer-hijri {
        font-size: 7px;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .prayer-widget {
        width: 120px;
        right: 0;
    }
    
    .prayer-widget.collapsed {
        width: 25px;
        height: 90px;
    }
    
    .prayer-widget.collapsed .prayer-title {
        font-size: 7px;
    }
}
