
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
}

.main-navbar {
    background: rgba(13, 13, 13, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 800 !important;
}

.nav-link {
    color: #d0d0d0 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2E7D32 !important;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: opacity 0.5s ease;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('../images/hero.png') center/cover no-repeat;
    background-attachment: fixed;
    animation: fadeIn 0.8s ease;
}

.hero-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: clamp(3rem, 10vw, 5rem);
    letter-spacing: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-flag {
    height: clamp(2.5rem, 8vw, 4rem);
    width: auto;
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.hero-lead {
    color: #e0e0e0;
    font-size: clamp(1rem, 4vw, 1.5rem);
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

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

.btn-outline-light:hover {
    background-color: #149954 !important;
    border-color: #149954 !important;
}

.delay-100 {
    transition-delay: 0.1s;
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

section {
    padding: 60px 0;
    
}

section h2 {
    position: relative;
    padding-bottom: 20px;
}

.section-title-start {
    text-align: start;
}

.section-copy {
    line-height: 1.8;
}

.section-line {
    width: 80px;
    height: 3px;
    background-color: #2E7D32;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #2E7D32;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.timeline-item {
    width: 50%;
    padding: 20px 0;
    position: relative;
    display: flex;
}

.timeline-left::after,
.timeline-right::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid #2E7D32;
    top: 35px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-right {
    margin-right: 0;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-right::after {
    left: 0;
    transform: translateX(-50%);
}

.timeline-left {
    margin-right: auto;
    padding-right: 40px;
    padding-left: 0;
}

.timeline-left::after {
    right: 0;
    transform: translateX(50%);
}

.timeline-right .timeline-content,
.timeline-left .timeline-content {
    width: 100%;
}

.timeline-right .timeline-content {
    text-align: left;
}

.timeline-left .timeline-content {
    text-align: right;
}

.timeline-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.timeline-year {
    color: #E4312b;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.culture-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.culture-image-frame {
    height: 250px;
}

.culture-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.culture-icon {
    color: #2E7D32;
}

.stats-section {
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../images/alaqsa.png') center/cover fixed;
    color: #ffffff;
    padding: 80px 0;
}

.stat-number {
    font-family: 'Cairo', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #2E7D32;
}

.gallery-img {
    border-radius: 15px;
    transition: all 0.5s ease;
    height: 350px;
    filter: saturate(0.9) contrast(0.98);
    cursor: pointer;
}

.gallery-img:hover {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.final-message {
    background: #0d0d0d;
    color: #ffffff;
    padding: 100px 0;
    position: relative;
}

.final-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(46, 125, 50, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.support-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
        url('../images/support-bg.jpg') center center/cover no-repeat;
    color: #ffffff;
    padding: 90px 0;
}

.support-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.14), rgba(228, 49, 43, 0.08));
    pointer-events: none;
}

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

.support-title {
    color: #ffffff;
    line-height: 1.35;
    text-shadow: 0 6px 22px rgba(0,0,0,0.45);
}

.support-title::after {
    content: '';
    display: block;
    width: 86px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: #2E7D32;
}

.form-control {
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.94);
}

.form-control:focus {
    border-color: #149954 !important;
    box-shadow: 0 0 8px rgba(20,153,84,0.2) !important;
}

.support-card {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow: 0 24px 60px rgba(0,0,0,0.28) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-success-message {
    display: none;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(46, 125, 50, 0.24);
    border-radius: 10px;
    background: rgba(46, 125, 50, 0.08);
    color: #1b5e20;
    font-weight: 700;
}

.form-success-message.show {
    display: block;
}

.btn-submit {
    background: linear-gradient(135deg, #0d0d0d, #1b1b1b);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    padding: 13px 24px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2E7D32, #149954);
    box-shadow: 0 12px 28px rgba(46, 125, 50, 0.32);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
}

.luxury-footer {
    border-top: 2px solid #2E7D32;
    background: linear-gradient(to right, #0d0d0d, #1a1a1a);
}

.footer-social a,
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.footer-social a:hover {
    background: #2E7D32 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(46, 125, 50, 0.65) !important;
    transform: translateY(-3px);
}

.footer-links a {
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #2E7D32 !important;
    text-shadow: 0 0 12px rgba(46, 125, 50, 0.55) !important;
}

.footer-signature {
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.footer-signature p {
    color: #f3f3f3;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0;
}
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    .hero,
    .stats-section {
        background-attachment: scroll;
    }

    .support-section {
        background-position: center center;
        padding: 70px 0;
    }

    .support-title {
        font-size: 2rem;
        margin-bottom: 2rem !important;
    }

    .support-card {
        max-width: 92%;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem) !important;
    }

    .hero .lead {
        font-size: clamp(0.95rem, 3vw, 1.25rem);
    }

    .hero img {
        height: clamp(2rem, 6vw, 3rem) !important;
    }

    .timeline::after {
        left: auto;
        right: 20px;
        transform: translateX(50%);
        margin: 0;
    }

    .timeline-item {
        width: 100%;
        padding: 20px 0;
        padding-right: 50px !important;
        padding-left: 0 !important;
        flex-direction: row !important;
    }

    .timeline-right::after,
    .timeline-left::after {
        left: auto !important;
        right: 20px;
        top: 35px;
        transform: translateX(50%) !important;
    }

    .timeline-left,
    .timeline-right {
        margin-right: 0;
        padding-right: 50px !important;
        padding-left: 0 !important;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        text-align: right !important;
    }

    .culture-img {
        height: 200px !important;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .gallery-img {
        border-radius: 12px;
    }

    .final-message {
        padding: 60px 0;
    }

    .final-message h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2.5rem) !important;
    }

    .hero .lead {
        font-size: 0.9rem;
    }

    .support-section {
        background-position: center top;
        padding: 58px 0;
    }

    .support-title {
        font-size: 1.65rem;
    }

    .support-card {
        max-width: 100%;
    }

    section {
        padding: 30px 0;
    }

    section h2 {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .gallery-img {
        height: 220px !important;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}
