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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header Styles */
.hero-section {
    background: linear-gradient(135deg, #001f3f 0%, #004080 100%); /* لون أزرق داكن جديد */
    color: white;
    padding: 120px 0; /* زيادة المسافة */
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* جعلها تغطي الشاشة بالكامل */
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: right;
    position: relative;
    z-index: 5; /* لضمان ظهور المحتوى فوق الزخرفة */
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 50%); /* تأثير نجوم خفيف */
    opacity: 0.8;
}

.main-title {
    font-family: 'Amiri', serif;
    font-size: 4.5rem; /* زيادة حجم الخط */
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(255,255,255,0.5); /* إضافة توهج خفيف */
    position: relative;
    z-index: 2;
}

.subtitle {
    font-size: 1.8rem; /* زيادة حجم الخط */
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

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

.intro-section {
    background: white;
}

.main-quote {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-40px);
}

.main-quote h2 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.emphasis {
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Insights Grid */
.content-section {
    background: #f8f9fa;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.insight-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.insight-card .icon {
    font-size: 3rem;
    margin: 25px 0 15px 0;
    display: block;
    position: relative;
    z-index: 2;
}

.insight-card h3 {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0 20px 20px 20px;
    position: relative;
    z-index: 2;
}

.insight-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    padding: 0 30px 30px 30px;
    position: relative;
    z-index: 2;
}

/* Wisdom Section */
.wisdom-section {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%); /* خلفية زرقاء داكنة جديدة */
    color: white;
}

.wisdom-content h2 {
    font-family: 'Amiri', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.wisdom-points {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.wisdom-point {
    display: flex;
    align-items: flex-start; /* تغيير المحاذاة */
    gap: 30px;
    background: rgba(255,255,255,0.15); /* زيادة الشفافية قليلاً */
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.wisdom-point .number {
    font-size: 2rem; /* تصغير حجم الرقم قليلاً */
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    width: 60px; /* تصغير حجم الدائرة */
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255,107,107,0.5);
}

.wisdom-point h4 {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.wisdom-point p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Quote Item */
.quote-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.quote-content {
    text-align: center;
    color: white;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.quote-content blockquote {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.islamic-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.islamic-decoration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Diagrams Section */
.diagrams-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

.section-title {
    font-family: 'Amiri', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.diagrams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.diagram-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.diagram-card.full-width {
    grid-column: 1 / -1;
}

.d.wisdom-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.2);
}
/* Ripple Effect CSS (Added from script.js) */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.insight-card, .diagram-card, .gallery-item {
    position: relative;
    overflow: hidden;
}

.diagram-card h3 {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.diagram-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.diagram-card:hover img {
    transform: scale(1.02);
}

/* Reflection Section Updates */
.reflection-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.reflection-text-section {
    flex: 2;
}

.reflection-image-section {
    flex: 1;
}

.reflection-image-section img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Reflection Section */
.reflection-section {
    background: #2c3e50;
    color: white;
}

.reflection-card {
    background: rgba(255,255,255,0.1);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.reflection-card h2 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.reflection-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

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

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .main-quote {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .main-quote h2 {
        font-size: 2rem;
    }
    
    .emphasis {
        font-size: 1.4rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .diagrams-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .reflection-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .wisdom-point {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .reflection-card {
        padding: 40px 30px;
        margin: 0 20px;
    }
}

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

[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease-out;
}

[data-aos-delay="200"] {
    animation-delay: 0.2s;
}

[data-aos-delay="400"] {
    animation-delay: 0.4s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}