/* تنسيقات الصفحة الرئيسية المحسنة */

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

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* قسم البطل المحسن */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/1.webp') repeat;
    opacity: 0.1;
    z-index: 1;
    will-change: transform;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    color: var(--text-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* Enhanced Search Box */
.enhanced-search-box {
    margin-bottom: 40px;
}

.search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.search-input-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.search-icon {
    position: absolute;
    right: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 50px 15px 20px;
    font-size: 1.1rem;
    background: transparent;
    color: var(--text-color);
    border-radius: 50px;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: var(--secondary-color);
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.search-btn:hover {
    background: #b8941f;
    transform: translateX(-2px);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Visual - Mosque Illustration */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.mosque-illustration {
    position: relative;
    width: 300px;
    height: 300px;
}

.mosque-dome {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 60px 60px 0 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mosque-dome::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 4px;
}

.mosque-minaret {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mosque-minaret::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.mosque-base {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
}

/* Enhanced Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.enhanced-stats-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

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

.stats-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

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

.stats-content {
    position: relative;
    z-index: 2;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.stats-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.stats-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.enhanced-stats-card:hover .stats-decoration {
    transform: scale(1.2);
    opacity: 0.15;
}

/* Enhanced Website Sections */
.website-sections {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-card {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.section-card-header {
    position: relative;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.section-card.prepare-sermon-card .section-card-header {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.section-card.lectures-card .section-card-header {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.section-card.scholars-card .section-card-header {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
}

.section-card.thinkers-card .section-card-header {
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

.section-card.search-card .section-card-header {
    background: linear-gradient(135deg, #6610f2, #6f42c1);
}

.section-card.about-card .section-card-header {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.section-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.2rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.section-card:hover .section-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.section-badge-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.section-badge-corner.special {
    background: var(--secondary-color);
    color: white;
}

.section-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    text-align: center;
}

.section-card-description {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
    text-align: center;
}

.section-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f8f9fa;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.section-card-footer {
    padding: 0 30px 30px;
}

.section-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
}

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

.prepare-sermon-card .section-btn {
    background: #28a745;
}

.prepare-sermon-card .section-btn:hover {
    background: #20c997;
}

.prepare-sermon-card .section-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.prepare-sermon-card .section-btn.disabled:hover {
    background: #6c757d;
    transform: none;
}

.lectures-card .section-btn {
    background: #6f42c1;
}

.lectures-card .section-btn:hover {
    background: #e83e8c;
}

.scholars-card .section-btn {
    background: #fd7e14;
}

.scholars-card .section-btn:hover {
    background: #ffc107;
}

.thinkers-card .section-btn {
    background: #20c997;
}

.thinkers-card .section-btn:hover {
    background: #17a2b8;
}

.search-card .section-btn {
    background: #6610f2;
}

.search-card .section-btn:hover {
    background: #6f42c1;
}

.about-card .section-btn {
    background: #dc3545;
}

.about-card .section-btn:hover {
    background: #fd7e14;
}

.section-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.3s ease;
}

.section-card:hover .section-decoration {
    transform: scale(1.2) rotate(45deg);
    opacity: 0.1;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Sermon Cards */
.latest-sermons-section {
    position: relative;
}

.enhanced-sermon-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.enhanced-sermon-card:hover .card-image {
    transform: scale(1.05);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    position: relative;
}

.placeholder-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="%23fff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.card-category {
    background: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--secondary-color);
    transform: translateX(-3px);
}

.card-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #6c757d;
}

.empty-state h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Enhanced Article Cards */
.latest-articles-section {
    background: white;
    position: relative;
}

.enhanced-article-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.enhanced-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.article-category {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-reading-time {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-content {
    position: relative;
    z-index: 2;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.enhanced-article-card:hover .article-title {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6c757d;
    flex-wrap: wrap;
    gap: 10px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-excerpt {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.read-article-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.read-article-btn:hover {
    color: var(--secondary-color);
    transform: translateX(-3px);
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-decoration {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.3s ease;
}

.enhanced-article-card:hover .article-decoration {
    transform: scale(1.2);
    opacity: 0.1;
}

/* Enhanced Lecture Cards */
.upcoming-lectures-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.enhanced-lecture-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
}

.enhanced-lecture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--secondary-color);
}

.lecture-status {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

.status-badge {
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-badge.upcoming {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: pulse 2s infinite;
}

.lecture-content {
    position: relative;
    z-index: 2;
}

.lecture-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.4;
    padding-top: 15px;
}

.lecture-speaker {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
}

.speaker-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.speaker-info {
    flex: 1;
}

.speaker-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.speaker-title {
    font-size: 0.85rem;
    color: #6c757d;
}

.lecture-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

.detail-item i {
    width: 16px;
    color: var(--primary-color);
}

.lecture-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.lecture-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
    justify-content: center;
}

.lecture-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.enhanced-lecture-card:hover .lecture-decoration {
    transform: scale(1.1);
    opacity: 0.15;
}

/* Enhanced Features Section */
.features-section {
    background: white;
    position: relative;
}

.enhanced-feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.enhanced-feature-card.secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.enhanced-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.enhanced-feature-card.secondary .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.enhanced-feature-card:hover .feature-title {
    color: var(--primary-color);
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.feature-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.3s ease;
}

.enhanced-feature-card:hover .feature-decoration {
    transform: scale(1.2) rotate(45deg);
    opacity: 0.1;
}

/* Additional Hover Effects for Section Cards */
.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.section-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-card:hover .section-card-header::after {
    transform: scaleX(1);
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }

    .website-sections .section-card {
        margin-bottom: 25px;
    }

    .section-card-header {
        padding: 25px 20px 15px;
    }

    .section-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .section-card-body {
        padding: 20px;
    }

    .section-card-title {
        font-size: 1.3rem;
    }

    .section-features {
        gap: 8px;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .hero-visual {
        height: 250px;
        margin-top: 30px;
    }

    .mosque-illustration {
        width: 200px;
        height: 200px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .enhanced-search-box .search-input-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .search-btn {
        width: 100%;
    }

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

    .enhanced-stats-card,
    .enhanced-sermon-card,
    .enhanced-article-card,
    .enhanced-lecture-card,
    .enhanced-feature-card {
        margin-bottom: 20px;
    }
}

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

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

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

    .enhanced-stats-card {
        padding: 20px 15px;
    }

    .enhanced-sermon-card,
    .enhanced-article-card,
    .enhanced-lecture-card {
        padding: 20px;
    }

    .enhanced-feature-card {
        padding: 25px 20px;
    }
}
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.floating-card h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.floating-card p {
    color: #666;
    font-size: 0.9rem;
}

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

/* قسم الإحصائيات */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* قسم شهادات المستخدمين */
.testimonials-section {
    padding: 80px 0;
    background: var(--dark-color);
    color: var(--text-light);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    position: absolute;
    top: -10px;
    right: -10px;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* تحسين قسم آخر المحتويات */
.content-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #666;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.content-stats {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    color: #666;
    font-size: 0.9rem;
}

.content-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* تحسين بطاقات المحتوى */
.content-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.content-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.content-card:hover .content-image img {
    transform: scale(1.05);
}

.content-info {
    padding: 25px;
}

.content-info h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.content-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.content-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-excerpt {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.read-more {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.read-more::after {
    content: '←';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(-3px);
}
