/* Hero Section - Professional Enhancement */
.hero {
    /*background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('{% static "image/hero.png" %}');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 150px 20px;
    
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    font-style: italic;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mission Section - Professional Styling */
.mission {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #2c3e50);
}

.mission h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.mission h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e74c3c;
}

.mission p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5a6c7d;
    font-weight: 400;
}

/* Services Section - Professional Enhancement */
.services-info {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    position: relative;
}

.services-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
}

.services-info h2 {
    color: #f39c12;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.services-info h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #f39c12;
}

.service-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

.time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #f39c12;
}

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

.time-card h3 {
    margin-bottom: 20px;
    color: #f39c12;
    font-size: 1.4rem;
    font-weight: 600;
}

.time-card p {
    margin-bottom: 12px;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

/* Events Section - Professional Enhancement */
.events {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    text-align: center;
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #e74c3c);
}

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

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    min-height: 250px;
    max-height: 400px;
}

.events h2 {
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.events h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e74c3c;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
}

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

.event-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.event-card .date {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.event-card p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.event-type {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.days-until {
    background: #27ae60;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Events CTA Button */
.events .cta-button {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    margin-top: 20px;
}

.events .cta-button:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .mission,
    .services-info,
    .events {
        padding: 60px 20px;
    }
    
    .mission h2,
    .services-info h2,
    .events h2 {
        font-size: 1.8rem;
    }
    
    .service-times {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .time-card {
        padding: 30px 20px;
    }
    
    .event-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    min-height: 100px;
    max-height: 250px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .mission p {
        font-size: 1rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding-bottom: 10px;
    }
}

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

.mission,
.services-info,
.events {
    animation: fadeInUp 0.8s ease-out;
}

/* Loading state for dynamic content */
.event-card,
.time-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

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