:root {
    --primary-color: #00624d;
    --primary-dark: #004d3d;
    --primary-light: #00ddea;
    --accent-color: #ffde59;
    --text-primary: #222;
    --text-secondary: #555;
    --background-light: #f8f9fa;
    --spacing-unit: 1rem;
}

/* Global Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    background: linear-gradient(120deg, #f8f9fa 60%, #e6f7f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0,98,77,0.10);
    animation: fadeInUp 0.7s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.mySlides {
    width: 100%;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92) contrast(1.05);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.mySlides img:hover {
    transform: scale(1.03) rotate(-1deg);
}

.overlay-text {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    width: 90%;
    max-width: 900px;
    text-shadow: 0 4px 24px rgba(0, 98, 77, 0.18);
    background: rgba(0, 98, 77, 0.85);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 12px rgba(0,98,77,0.10);
    animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}

/* Featured Event Section */
.featured-event {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(120deg, #f8f9fa 60%, #e6f7f3 100%);
}

.section-title {
    text-align: center;
    font-size: 2.7rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    letter-spacing: 0.01em;
}

.event-showcase {
    margin: 2rem 0 0 0;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.event-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 98, 77, 0.13);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    width: 260px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s cubic-bezier(.4,0,.2,1);
}

.event-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 98, 77, 0.18);
}

.event-link {
    display: block;
    width: 100%;
    height: 100%;
}

.event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: filter 0.2s, transform 0.3s;
}

.event-card:hover .event-image {
    filter: brightness(0.97) contrast(1.08);
    transform: scale(1.04);
}

.event-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.event-info {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--accent-color);
}

/* Features Section */
.features {
    padding: 4rem 0 3rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--accent-color);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem 2rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 2px solid transparent;
    box-shadow: 0 2px 12px rgba(0,98,77,0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 98, 77, 0.13);
}

.feature-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1.08rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 32px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    margin-top: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,98,77,0.08);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--primary-color-darker);
    transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,98,77,0.04);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.04);
}

/* Contact Section */
.contact {
    background: linear-gradient(120deg, #f8f9fa 60%, #e6f7f3 100%);
    padding: 3rem 0 2rem 0;
}

.contact-content {
    text-align: center;
}

.contact-text {
    font-size: 1.25rem;
    color: var(--primary-color-darker);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media only screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .overlay-text {
        font-size: 1.5rem;
        padding: 1rem 1rem;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        width: 98%;
        padding: 0 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .hero {
        height: 320px;
    }

    .overlay-text {
        font-size: 1.1rem;
        padding: 0.7rem 0.5rem;
    }

    .event-card {
        width: 98vw;
        min-height: 220px;
    }
}

@media only screen and (max-width: 480px) {
    .section-title {
        font-size: 1.2rem;
    }

    .overlay-text {
        font-size: 0.95rem;
        padding: 0.5rem 0.2rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-text {
        font-size: 0.98rem;
    }

    .btn-primary, .btn-secondary {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
}