.hero {
    min-height: 80vh; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('../images/hero1.jpeg'); 
    background-position: top center;
    background-size: cover; 
    background-attachment: scroll;
    
    color: white;
    text-align: center;
    position: relative;
}

.hero-container {
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-text {
    margin-top: 10rem;
    padding: 40px;
}

.hero-title {
    margin-top: -10rem;
    font-size: 3.5rem;
    color: white;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn-primary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-buttons .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.features {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.7;
}

.upcoming-events {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.events-preview {
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.event-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.event-month {
    font-size: 1.3rem;
    margin: 8px 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.event-year {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.event-details {
    padding: 35px;
    flex: 1;
}

.event-title {
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.event-location {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location::before {
    content: '📍';
}

.event-desc {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.event-card .btn-outline {
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.event-card .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 100px 0;
        background-attachment: scroll;
    }
    
    .hero-text {
        padding: 35px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .features, .upcoming-events {
        padding: 80px 0;
    }
    
    .features-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-text {
        margin-top: 12rem;
        padding: 30px;
        max-width: 95%;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .features, .upcoming-events {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        padding: 20px;
        min-height: auto;
    }
    
    .event-day, .event-month, .event-year {
        font-size: 1.3rem;
    }
    
    .event-details {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-text {
        padding: 25px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .features, .upcoming-events {
        padding: 50px 0;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
    
    .event-date {
        gap: 20px;
        padding: 15px;
    }
    
    .event-details {
        padding: 20px;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero {
    animation: fadeIn 1.2s ease-out;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.event-card {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}