/* Custom Styles for The School of Arabic and Islamic Studies */

/* Arabic Font for Specific Elements */
.arabic-text {
    font-family: 'Traditional Arabic', Arial, sans-serif;
    direction: rtl;
}

/* Prayer Times Widget */
.prayer-times {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.prayer-times h3 {
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.prayer-time {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.prayer-time:last-child {
    border-bottom: none;
}

.prayer-name {
    font-weight: 500;
}

.prayer-time .time {
    color: var(--primary-color);
    font-weight: 600;
}

/* Islamic Pattern Background */
.islamic-bg {
    background-image: url('../img/islamic-pattern.png');
    background-repeat: repeat;
    background-color: #f9f9f9;
}

/* Quran Verse Widget */
.quran-verse {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.quran-verse .verse-arabic {
    font-family: 'Traditional Arabic', Arial, sans-serif;
    font-size: 1.5rem;
    line-height: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.quran-verse .verse-translation {
    font-style: italic;
    color: #666;
}

.quran-verse .verse-reference {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 10px;
}

/* Hijri Date Widget */
.hijri-date {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.hijri-date .date {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.hijri-date .month {
    color: #666;
}

/* Islamic Gallery */
.gallery-item {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Islamic Events */
.islamic-event {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.islamic-event .event-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.islamic-event .event-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.islamic-event .event-desc {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .quran-verse .verse-arabic {
        font-size: 1.2rem;
        line-height: 2rem;
    }
}

/* Animation for Islamic Elements */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.islamic-element {
    animation: fadeIn 1s ease-in-out;
}

/* Special Styles for Arabic Content */
.arabic-content {
    direction: rtl;
    text-align: right;
}

.arabic-content .section-title:after {
    right: 0;
    left: auto;
}

/* Islamic Calligraphy Style */
.calligraphy {
    font-family: 'Arabic Typesetting', 'Traditional Arabic', serif;
    font-size: 1.5rem;
    color: #333;
    line-height: 1.8;
}

/* Mosque Icon Styles */
.mosque-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Special Button for Islamic Events */
.btn-islamic {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-islamic:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-islamic:hover {
    background-color: #0d47a1;
    color: #fff;
}

.btn-islamic:hover:before {
    left: 100%;
}

/* Special Alert for Islamic Notices */
.alert-islamic {
    background-color: #f8f4e8;
    border-left: 4px solid var(--primary-color);
    color: #5a4a3a;
}

/* Timeline for Islamic History */
.islamic-timeline {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.islamic-timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-content {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
/* Fees Table Styles */
.fees-table {
    width: 100%;
    border-collapse: collapse;
}

.fees-table th {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px;
    text-align: left;
}

.fees-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.fees-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fees-table tr:hover {
    background-color: #f1f1f1;
}

.fees-table .highlight {
    font-weight: bold;
    color: var(--primary-color);
}

/* Payment Methods */
.payment-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payment-method-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.payment-method-info h4 {
    margin-bottom: 5px;
}

.payment-method-info p {
    margin-bottom: 0;
    color: #666;
}
/* Hero Carousel Styles */
        .hero-carousel {
            position: relative;
            height: 80vh;
            overflow: hidden;
        }
        
        .hero-carousel-inner {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        .hero-carousel-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            transform: scale(1);
            transition: all 8s ease-in-out;
            z-index: 1;
        }
        
        .hero-carousel-item.active {
            opacity: 1;
            z-index: 2;
            transform: scale(1.05);
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            display: flex;
            align-items: center;
            z-index: 3;
        }
        
        .hero-content {
            z-index: 4;
            width: 100%;
        }
        
        /* Navigation Arrows */
        .hero-carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 5;
            transition: all 0.3s ease;
        }
        
        .hero-carousel-control:hover {
            background-color: rgba(255, 255, 255, 0.4);
        }
        
        .hero-carousel-control.prev {
            left: 20px;
        }
        
        .hero-carousel-control.next {
            right: 20px;
        }
        
        /* Indicators */
        .hero-carousel-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 5;
        }
        
        .hero-carousel-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .hero-carousel-indicator.active {
            background-color: white;
            transform: scale(1.2);
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .hero-carousel {
                height: 60vh;
            }
            
            .hero-carousel-control {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
        }