/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: 
        radial-gradient(circle at 1px 1px, rgba(115, 176, 72, 0.15) 1px, transparent 0),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 255, 254, 0.95) 100%);
    background-size: 20px 20px, 100% 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(115, 176, 72, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(115, 176, 72, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #73B048;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #73B048;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #73B048;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-join-btn-mobile {
    display: none;
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(115, 176, 72, 0.3);
    white-space: nowrap;
}

.nav-join-btn-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 176, 72, 0.4);
    color: white !important;
}

.nav-join-btn-mobile.active {
    background: linear-gradient(135deg, #558B2F 0%, #73B048 100%);
    box-shadow: 0 6px 20px rgba(115, 176, 72, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 25%, #f0f8f0 50%, #e8f5e8 75%, #f8fffe 100%);
    color: #333;
    padding: 100px 0 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Floating Elements */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(115, 176, 72, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatElement 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 1px 1px, rgba(115, 176, 72, 0.08) 1px, transparent 0),
        radial-gradient(circle at 20% 80%, rgba(115, 176, 72, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(85, 139, 47, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(115, 176, 72, 0.05) 0%, transparent 50%);
    background-size: 30px 30px, 100% 100%, 100% 100%, 100% 100%;
    z-index: 0;
    animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Quranic Verse Container */
.hero-verse-container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 40px;
}

/* Main Hero Container */
.hero-container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Request Service Container */
.hero-request-container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 40px 0;
    padding: 0 20px;
}

.hero-request-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 255, 254, 0.95) 100%);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(115, 176, 72, 0.15);
    border: 1px solid rgba(115, 176, 72, 0.1);
    backdrop-filter: blur(10px);
}

.hero-request-title {
    font-size: 2rem;
    font-weight: 700;
    color: #73B048;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(115, 176, 72, 0.2);
}

.hero-request-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-request-form {
    margin-top: 25px;
}

.request-input-group {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.request-input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid rgba(115, 176, 72, 0.2);
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: 'Cairo', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: right;
}

.request-input:focus {
    outline: none;
    border-color: #73B048;
    box-shadow: 0 0 0 3px rgba(115, 176, 72, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.request-input::placeholder {
    color: #999;
    font-style: italic;
}

.btn-request {
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(115, 176, 72, 0.3);
    white-space: nowrap;
}

.btn-request:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(115, 176, 72, 0.4);
}

.btn-request:active {
    transform: translateY(-1px) scale(1.02);
}

/* Download Buttons Container */
.hero-buttons-container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 40px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: right;
    max-width: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #73B048;
    text-shadow: 2px 2px 4px rgba(115, 176, 72, 0.2);
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.1);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #666;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
    max-width: 500px;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(115, 176, 72, 0.1);
    box-shadow: 0 8px 25px rgba(115, 176, 72, 0.1);
    transition: all 0.3s ease;
}

.hero-description:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(115, 176, 72, 0.15);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #73B048;
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(115, 176, 72, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #73B048;
    border: 2px solid #73B048;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(115, 176, 72, 0.4);
    border-color: transparent;
}

.app-mockup {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Lottie Player Styles */
lottie-player {
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(115, 176, 72, 0.15),
        0 0 0 1px rgba(115, 176, 72, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(248, 255, 254, 0.1) 100%);
    transform: scale(1.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

lottie-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(115, 176, 72, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

lottie-player:hover {
    transform: scale(1.15);
    box-shadow: 
        0 25px 50px rgba(115, 176, 72, 0.2),
        0 0 0 1px rgba(115, 176, 72, 0.2);
}

lottie-player:hover::before {
    opacity: 1;
}

/* Fallback image styles */
.fallback-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 450px;
    height: auto;
    transform: scale(1.1);
}

/* CSS Animation for fallback image */
.animated-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Quranic Verse Styles */
.hero-motto {
    margin: 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.quranic-verse {
    font-size: 1.6rem;
    font-weight: 600;
    color: #73B048;
    font-style: italic;
    line-height: 1.8;
    text-shadow: 2px 2px 4px rgba(115, 176, 72, 0.3);
    margin: 0;
    padding: 30px 50px;
    background: linear-gradient(135deg, rgba(115, 176, 72, 0.1) 0%, rgba(85, 139, 47, 0.1) 100%);
    border-radius: 25px;
    border: 2px solid rgba(115, 176, 72, 0.2);
    box-shadow: 
        0 15px 35px rgba(115, 176, 72, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    animation: verseGlow 4s ease-in-out infinite alternate;
}

@keyframes verseGlow {
    0% {
        box-shadow: 
            0 15px 35px rgba(115, 176, 72, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 20px 45px rgba(115, 176, 72, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.quranic-verse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    z-index: 0;
}

.quranic-verse {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    cursor: default;
}

.quranic-verse:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(115, 176, 72, 0.3);
}

.footer-motto {
    margin: 20px 0;
    text-align: center;
}

.quranic-verse-footer {
    font-size: 1rem;
    font-weight: 500;
    color: #bdc3c7;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 50%, #f0f8f0 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 1px 1px, rgba(115, 176, 72, 0.06) 1px, transparent 0),
        radial-gradient(circle at 10% 20%, rgba(115, 176, 72, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(85, 139, 47, 0.08) 0%, transparent 50%);
    background-size: 25px 25px, 100% 100%, 100% 100%;
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #73B048;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(115, 176, 72, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(115, 176, 72, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(115, 176, 72, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(115, 176, 72, 0.2);
    border-color: rgba(115, 176, 72, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #73B048;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 25%, #f0f8f0 50%, #f8fffe 75%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 1px 1px, rgba(115, 176, 72, 0.04) 1px, transparent 0),
        radial-gradient(circle at 30% 70%, rgba(115, 176, 72, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(85, 139, 47, 0.05) 0%, transparent 50%);
    background-size: 35px 35px, 100% 100%, 100% 100%;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #73B048;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Join Us Section */
.join-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 25%, #f0f8f0 50%, #e8f5e8 75%, #f8fffe 100%);
    position: relative;
    overflow: hidden;
}

.join-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 1px 1px, rgba(115, 176, 72, 0.05) 1px, transparent 0),
        radial-gradient(circle at 20% 30%, rgba(115, 176, 72, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(85, 139, 47, 0.08) 0%, transparent 50%);
    background-size: 30px 30px, 100% 100%, 100% 100%;
    z-index: 0;
}

.join-us .container {
    position: relative;
    z-index: 1;
}

.join-us-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.join-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.join-us-info h3 {
    font-size: 1.8rem;
    color: #73B048;
    margin-bottom: 30px;
    text-align: right;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(115, 176, 72, 0.1);
    border: 1px solid rgba(115, 176, 72, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(115, 176, 72, 0.15);
}

.benefit-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: #73B048;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.join-us-form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(115, 176, 72, 0.15);
    border: 1px solid rgba(115, 176, 72, 0.1);
    position: relative;
    overflow: hidden;
}

.join-us-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(115, 176, 72, 0.02) 50%, transparent 70%);
    z-index: 0;
}

.join-us-form-container > * {
    position: relative;
    z-index: 1;
}

.join-us-form h3 {
    color: #73B048;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.join-us-form .form-group {
    margin-bottom: 25px;
}

.join-us-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.join-us-form input,
.join-us-form select,
.join-us-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(115, 176, 72, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.join-us-form input:focus,
.join-us-form select:focus,
.join-us-form textarea:focus {
    outline: none;
    border-color: #73B048;
    box-shadow: 0 0 0 3px rgba(115, 176, 72, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: rgba(115, 176, 72, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #73B048;
}

/* Service loading state */
.loading-services {
    text-align: center;
    padding: 40px 20px;
    color: #73B048;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Service icon and name styling */
.service-icon {
    font-size: 1.2rem;
    margin-left: 8px;
    display: inline-block;
}

.service-name {
    font-weight: 500;
    color: #333;
}

.checkbox-label:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.checkbox-label:hover .service-name {
    color: #73B048;
    transition: color 0.2s ease;
}

.btn-large {
    width: 100%;
    padding: 18px 35px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.join-us-btn {
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(115, 176, 72, 0.3);
}

.join-us-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 176, 72, 0.4);
    color: white !important;
}

.join-us-btn::after {
    display: none;
}

.join-us-btn.active {
    background: linear-gradient(135deg, #558B2F 0%, #73B048 100%);
    box-shadow: 0 6px 20px rgba(115, 176, 72, 0.5);
}

/* Join Us Page Specific Styles */
.join-us-hero {
    background: linear-gradient(135deg, #73B048 0%, #558B2F 50%, #73B048 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-us-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.join-us-hero .container {
    position: relative;
    z-index: 1;
}

.join-us-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.join-us-hero-description {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 50%, #f8fffe 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 1px 1px, rgba(115, 176, 72, 0.04) 1px, transparent 0),
        radial-gradient(circle at 30% 70%, rgba(115, 176, 72, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(85, 139, 47, 0.06) 0%, transparent 50%);
    background-size: 25px 25px, 100% 100%, 100% 100%;
    z-index: 0;
}

.process-section .container {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(115, 176, 72, 0.1);
    border: 1px solid rgba(115, 176, 72, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(115, 176, 72, 0.1), transparent);
    transition: left 0.6s ease;
}

.process-step:hover::before {
    left: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(115, 176, 72, 0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(115, 176, 72, 0.3);
    position: relative;
    z-index: 1;
}

.step-content h3 {
    color: #73B048;
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Enhanced Join Us Form for separate page */
.join-us-page .join-us-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.join-us-page .join-us-content {
    grid-template-columns: 1fr;
    gap: 60px;
}

.join-us-page .join-us-info {
    text-align: center;
}

.join-us-page .benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Responsive adjustments for join us page */
@media (max-width: 768px) {
    .join-us-hero-title {
        font-size: 2.5rem;
    }
    
    .join-us-hero-description {
        font-size: 1.1rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .join-us-page .benefits-list {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 50%, #e8f5e8 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 1px 1px, rgba(115, 176, 72, 0.05) 1px, transparent 0),
        radial-gradient(circle at 20% 30%, rgba(115, 176, 72, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(85, 139, 47, 0.08) 0%, transparent 50%);
    background-size: 28px 28px, 100% 100%, 100% 100%;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #73B048;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(115, 176, 72, 0.15);
    border: 1px solid rgba(115, 176, 72, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(115, 176, 72, 0.02) 50%, transparent 70%);
    z-index: 0;
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(115, 176, 72, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #73B048;
    box-shadow: 0 0 0 3px rgba(115, 176, 72, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Privacy Policy Styles */
.privacy-section {
    padding: 120px 0 80px;
    background: #fff;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 700;
    color: #73B048;
    margin-bottom: 10px;
}

.privacy-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section-item {
    margin-bottom: 40px;
}

.privacy-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #73B048;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.privacy-subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px;
}

.privacy-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-list {
    color: #666;
    line-height: 1.8;
    margin-right: 20px;
}

.privacy-list li {
    margin-bottom: 8px;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: #fff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(115, 176, 72, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(85, 139, 47, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.footer-description {
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #73B048;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #73B048;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-join-btn-mobile {
        display: block;
    }

    .join-us-btn {
        display: none;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-verse-container {
        margin-bottom: 30px;
    }
    
    .hero-buttons-container {
        margin-top: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .join-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-checkboxes {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .join-us-form-container {
        padding: 30px 20px;
    }

    .privacy-title {
        font-size: 2rem;
    }

    .privacy-section-title {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-join-btn-mobile {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .nav-actions {
        gap: 10px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .quranic-verse {
        font-size: 1.1rem;
        /* padding: 20px 25px; */
        max-width: 90%;
    }

    lottie-player {
        transform: scale(1.05);
        max-width: 400px !important;
    }

    .fallback-image {
        transform: scale(1.05);
        max-width: 400px !important;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .privacy-title {
        font-size: 1.8rem;
    }

    .privacy-section {
        padding: 100px 0 60px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation for Icons */
.feature-icon {
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Pulse Animation for Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5aa0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid #73B048;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border: 2px solid #fff;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    margin: 0 20px;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(115, 176, 72, 0.1);
    background: linear-gradient(135deg, #73B048 0%, #558B2F 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-icon {
    font-size: 4rem;
    color: #73B048;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.modal-body h4 {
    color: #73B048;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-body p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: right;
}

.modal-features li {
    padding: 10px 0;
    color: #333;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-features li i {
    color: #73B048;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-modal {
    padding: 15px 25px;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 0 15px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-modal {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .request-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .request-input {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .btn-request {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-request-content {
        padding: 30px 20px;
    }
    
    .hero-request-title {
        font-size: 1.5rem;
    }
    
    .hero-request-description {
        font-size: 1rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .modal-icon {
        animation: none;
    }
}
