/* ===================================
   Global Styles & Variables
   =================================== */
:root {
    --primary-color: #1a3a5f;
    --secondary-color: #00d4ff;
    --accent-color: #00a8cc;
    --dark-color: #0d1f2d;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #1a3a5f 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #1a3a5f 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

/* Smooth scroll with easing */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Enhanced focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

body.loading {
    overflow: hidden;
}

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

/* ===================================
   Loading Screen
   =================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader {
    text-align: center;
}

.loader-inner {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.loader-circle {
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
    animation-delay: -0.16s;
}

.loader-circle:nth-child(3) {
    animation-delay: 0s;
}

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

.loader-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ===================================
   Scroll Progress Indicator
   =================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-1);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--gradient-1);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--white);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    top: 70%;
    right: 30%;
    animation-delay: 2s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    background: var(--white);
    bottom: 10%;
    right: 20%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 15s infinite linear;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 14s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 16s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 13s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 4.5s;
    animation-duration: 17s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: titleReveal 1s ease-out;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: subtitleReveal 1s ease-out 0.3s both;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--white);
}

.hero-location i {
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    animation: buttonGlow 2s infinite;
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 212, 255, 0.4);
    }
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    animation: statPulse 2s infinite;
}

@keyframes statPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    transition: var(--transition);
    animation: iconFloat 3s ease-in-out infinite;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.2) rotate(10deg);
    }
    50% {
        transform: scale(1.3) rotate(15deg);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--white);
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: titleUnderline 1s ease-out 0.5s forwards;
}

@keyframes titleUnderline {
    to {
        width: 80px;
    }
}

.section-title {
    animation: sectionTitleReveal 0.8s ease-out;
}

@keyframes sectionTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--light-color);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-right: 3px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.about-card .card-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.about-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-card ul li {
    padding: 0.4rem 0;
    padding-right: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.about-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    height: 500px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float-card 3s infinite ease-in-out;
}

.floating-card i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.floating-card span {
    font-weight: 600;
    color: var(--primary-color);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.card-3 {
    top: 50%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   Board of Directors Section
   =================================== */
.board-section {
    background: var(--white);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.board-member {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.board-member:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.member-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.board-member:hover .member-icon {
    transform: scale(1.1) rotate(5deg);
}

.board-member h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.board-member p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--secondary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: var(--shadow-lg);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    transition: var(--transition);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===================================
   Features Section
   =================================== */
.features {
    background: var(--light-color);
}

.features-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-right: 4px solid transparent;
}

.feature-item:hover {
    transform: translateX(-10px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-right-color: var(--secondary-color);
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-color);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    opacity: 0.3;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
}

/* ===================================
   Membership Section
   =================================== */
.membership {
    background: var(--gradient-1);
    color: var(--white);
}

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

.membership-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.membership-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.membership-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-item i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 1.5rem;
}

.amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.period {
    font-size: 1.2rem;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--secondary-color);
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    background: var(--light-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.step-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin: 2rem 0 1.5rem;
}

.step-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Waqf Fund Section
   =================================== */
.waqf-fund {
    background: var(--white);
}

.waqf-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.waqf-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.waqf-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    border-right: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.waqf-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-md);
}

.waqf-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.waqf-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.waqf-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.waqf-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.waqf-stat-card {
    background: var(--gradient-1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.waqf-stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.waqf-stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.waqf-stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.waqf-stat-card p {
    opacity: 0.9;
}

/* ===================================
   Reports Section
   =================================== */
.reports-section {
    background: var(--light-color);
}

.reports-section .container {
    max-width: 1000px;
}

.report-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
}

.report-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.report-card:hover .report-icon {
    transform: scale(1.2) rotate(10deg);
}

.report-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.report-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.report-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.report-card ul {
    list-style: none;
    padding: 0;
}

.report-card ul li {
    padding: 0.4rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.report-card ul li i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* ===================================
   Discussion Platform Section
   =================================== */
.discussion-platform {
    background: var(--white);
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.platform-feature {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.platform-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.platform-feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.platform-feature p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   App Features Section
   =================================== */
.app-features {
    background: var(--light-color);
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.app-feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.app-feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.app-feature-card:hover .app-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-color);
}

.app-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.app-feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.app-feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Sustainability Section
   =================================== */
.sustainability {
    background: var(--gradient-1);
    color: var(--white);
}

.sustainability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sustainability-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.sustainability-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
}

.sus-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.sustainability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sustainability-card p {
    opacity: 0.9;
    line-height: 1.8;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.1);
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--light-color);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.info-link:hover {
    color: var(--primary-color);
    gap: 0.8rem;
}

/* ===================================
   App Store Buttons
   =================================== */
.app-store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.app-store-btn i {
    font-size: 1.5rem;
}

.app-store-btn.android-btn:hover {
    background: #3DDC84;
    border-color: #3DDC84;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.app-store-btn.ios-btn:hover {
    background: #000;
    border-color: #000;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Modal Styles
   =================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.8);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.8;
    font-style: italic;
}

/* ===================================
   Developer Section
   =================================== */
.developer-section {
    background: var(--light-color);
    padding: 80px 0;
}

.developer-content {
    max-width: 800px;
    margin: 0 auto;
}

.developer-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.developer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.developer-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--white);
    transition: var(--transition);
}

.developer-card:hover .developer-icon {
    transform: scale(1.1) rotate(5deg);
}

.developer-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.developer-role {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.developer-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: right;
}

.developer-skills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.skill-tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Animations
   =================================== */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-right {
    animation: slideRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        gap: 0;
        max-height: calc(4 * 60px + 2rem);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: var(--light-color);
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 3px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: var(--primary-color);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .membership-content,
    .contact-content,
    .waqf-content {
        grid-template-columns: 1fr;
    }
    
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container,
    .report-cards,
    .platform-features,
    .app-features-grid,
    .sustainability-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

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

    .feature-item {
        grid-template-columns: 60px 1fr 60px;
        gap: 1rem;
    }

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

    .feature-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .board-grid {
        grid-template-columns: 1fr;
    }
    
    .board-member {
        padding: 1.5rem;
    }
    
    .about-card {
        padding: 1.2rem;
    }
    
    .about-card h3 {
        font-size: 1.1rem;
    }
    
    .about-card p,
    .about-card ul li {
        font-size: 0.85rem;
    }
    
    .about-card .card-icon {
        font-size: 1.5rem;
    }
    
    .developer-card {
        padding: 2rem 1.5rem;
    }
    
    .developer-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .developer-card h3 {
        font-size: 1.5rem;
    }
    
    .developer-description {
        font-size: 0.9rem;
    }
    
    .service-card,
    .step-item,
    .waqf-card,
    .report-card,
    .platform-feature,
    .app-feature-card,
    .sustainability-card,
    .info-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .amount {
        font-size: 3rem;
    }

    .app-store-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-store-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .modal-icon {
        font-size: 3rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 1rem;
    }

    .loader-text {
        font-size: 1.2rem;
    }

    .loader-circle {
        width: 15px;
        height: 15px;
    }

    .particle {
        width: 3px;
        height: 3px;
    }

    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        opacity: 0.05;
    }
}

