/* Quran Recitation Page Styles */


.guide-intro {
    margin-bottom: 3rem;
}

.intro-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.intro-card i {
    font-size: 3rem;
    color: #059669;
    margin-bottom: 1rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.intro-card p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.guide-section {
    margin-bottom: 3rem;
}

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

.guide-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #059669;
}

.guide-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.guide-card h4 i {
    color: #059669;
    font-size: 1.1rem;
}

.guide-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.guide-card p:last-child {
    margin-bottom: 0;
}

.guide-card strong {
    color: #1f2937;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .guide-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .intro-card {
        padding: 1.5rem;
    }
    
    .intro-card i {
        font-size: 2.5rem;
    }
    
    .intro-card h3 {
        font-size: 1.3rem;
    }
    
    .intro-card p {
        font-size: 1rem;
    }
    
    .guide-card {
        padding: 1.25rem;
    }
    
    .guide-card h4 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .guide-card h4 i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .intro-card {
        padding: 1rem;
    }
    
    .guide-card {
        padding: 1rem;
    }
    
    .guide-card h4 {
        font-size: 1rem;
    }
    
    .guide-card p {
        font-size: 0.9rem;
    }
}

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

.guide-card {
    animation: fadeInUp 0.6s ease-out;
}

.guide-card:nth-child(1) { animation-delay: 0.1s; }
.guide-card:nth-child(2) { animation-delay: 0.2s; }
.guide-card:nth-child(3) { animation-delay: 0.3s; }

/* Special styling for different sections 
.guide-section:nth-child(2) .guide-card {
    border-left: 4px solid #059669;
}

.guide-section:nth-child(3) .guide-card {
    border-left: 4px solid #3b82f6;
}

.guide-section:nth-child(4) .guide-card {
    border-left: 4px solid #8b5cf6;
}

.guide-section:nth-child(5) .guide-card {
    border-left: 4px solid #ef4444;
}

.guide-section:nth-child(6) .guide-card {
    border-left: 4px solid #f59e0b;
}

*/

/* Icon variations for different sections */
.guide-section:nth-child(2) .guide-card h4 i {
    color: #059669;
}

.guide-section:nth-child(3) .guide-card h4 i {
    color: #3b82f6;
}

.guide-section:nth-child(4) .guide-card h4 i {
    color: #8b5cf6;
}

.guide-section:nth-child(5) .guide-card h4 i {
    color: #ef4444;
}

.guide-section:nth-child(6) .guide-card h4 i {
    color: #f59e0b;
}

/* Country Section Styles */
.country-section {
    margin-bottom: 3rem;
}

.country-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
}

.country-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.country-header i {
    color: #059669;
    font-size: 1.2rem;
}

.fi {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    border-radius: 2px;
}

/* Different color schemes for countries */
.sudan .country-header {
    border-left: 3px solid #000000;
}

.sudan .country-header i {
    color: #000000;
}

.ethiopia .country-header {
    border-left: 3px solid #fbbf24;
}

.ethiopia .country-header i {
    color: #fbbf24;
}

.algeria .country-header {
    border-left: 3px solid #006233;
}

.algeria .country-header i {
    color: #006233;
}

.indonesia .country-header {
    border-left: 3px solid #e70011;
}

.indonesia .country-header i {
    color: #e70011;
}

.bahrain .country-header {
    border-left: 3px solid #ce1126;
}

.bahrain .country-header i {
    color: #ce1126;
}

.saudi-arabia .country-header {
    border-left: 3px solid #199D00;
}

.saudi-arabia .country-header i {
    color: #199D00;
}




/* Video Section Styles */
.video-section {
    margin-bottom: 3rem;
}

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

.video-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #059669;
}

.video-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.video-card h3 i {
    color: #2563eb;
    font-size: 1.1rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f9fafb;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-card p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive video grid */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-card {
        padding: 1.25rem;
    }
    
    .video-card h3 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .video-card h3 i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-card {
        padding: 1rem;
    }
    
    .video-card h3 {
        font-size: 1rem;
    }
    
    .video-card p {
        font-size: 0.9rem;
    }
}

/* Animation for video cards */
.video-card {
    animation: fadeInUp 0.6s ease-out;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }

/* Special styling for video section */
.video-section .section-header i {
    color: #fbbf24;
}


.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

/* Country-specific video card colors 
.sudan .video-card {
    border-left-color: #000000;
}

.sudan .video-card:hover {
    border-color: #000000;
}

.ethiopia .video-card {
    border-left-color: #fbbf24;
}

.ethiopia .video-card:hover {
    border-color: #fbbf24;
}

.algeria .video-card {
    border-left-color: #006233;
}

.algeria .video-card:hover {
    border-color: #006233;
}

.indonesia .video-card {
    border-left-color: #e70011;
}

.indonesia .video-card:hover {
    border-color: #e70011;
}

.bahrain .video-card {
    border-left-color: #ce1126;
}

.bahrain .video-card:hover {
    border-color: #ce1126;
}

.saudi-arabia .video-card {
    border-left-color: #199D00;
}

.saudi-arabia .video-card:hover {
    border-color: #199D00;
}

*/