:root {
    --primary-dark: #0C4C4A;
    --primary-medium: #225B59;
    --accent-red: #FF0000;
    --black: #000000;
    --white: #FFFFFF;
    --light-bg: #F8F8F8;
    --text-dark: #333333;
    --text-light: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.app-header {
    text-align: center;
    padding: 30px 0;
    position: relative;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.logo:hover {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(12, 76, 74, 0.3));
}

.app-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-medium));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.tagline {
    font-size: 1.3rem;
    color: var(--primary-medium);
    font-weight: 500;
    position: relative;
    margin-top: 5px;
}

.tagline::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-red), transparent);
    margin: 8px auto 0;
    opacity: 0.7;
}

.main-nav {
    margin-top: 20px;
}

.nav-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.nav-link:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 76, 74, 0.2);
}

.nav-link.active {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 76, 74, 0.2);
}

.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: var(--white);
    padding: 100px 20px;
    margin: 30px 0;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(12, 76, 74, 0.25);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(12, 76, 74, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-medium), var(--accent-red));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(12, 76, 74, 0.4);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

@keyframes pulse {
    0% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    50% { transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3); }
    100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

.features {
    margin: 60px 0;
}

.section-title {
    text-align: center;
    margin: 0 auto 40px;
    color: var(--primary-dark);
    position: relative;
    font-size: 2rem;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-dark), var(--accent-red));
}

.section-title::before {
    left: -40px;
}

.section-title::after {
    right: -40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-dark), var(--accent-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    background: linear-gradient(to bottom, var(--primary-dark), var(--primary-medium));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.trending, .popular-events {
    margin: 60px 0;
}

.event-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    max-width: 400px;
    min-width: 320px;
    width: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
}

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

.event-image {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.event-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.event-details {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    padding-bottom: 76px;
}

.event-date {
    color: var(--primary-medium);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.event-details h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.event-button {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-medium));
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    width: auto;
    box-shadow: 0 2px 8px rgba(12, 76, 74, 0.10);
    position: absolute;
    left: 30px;
    bottom: 30px;
    margin-top: 0;
    align-self: auto;
}

.event-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 76, 74, 0.3);
}

.event-details::after {
    content: '';
    display: block;
    height: 16px;
    width: 100%;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s;
}

.app-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 0;
    margin-top: 80px;
    text-align: center;
    position: relative;
    border-radius: 25px;
    font-size: 20px;
}

.app-footer::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 2%;
    width: 96.4%;
    height: 7px;
    background: linear-gradient(to right, var(--primary-dark), var(--accent-red));
    border-radius: 40px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.3rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-red);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .app-header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title::before,
    .section-title::after {
        width: 20px;
    }
    
    .section-title::before {
        left: -25px;
    }
    
    .section-title::after {
        right: -25px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-image {
        height: 200px;
        width: 100%;
    }
    .app-footer{
        font-size: 16px;
    }
    .app-footer::before{
        width: 89.5%;
        left:5.5%;
    }
    .carousel-arrow {
        display: none !important;
    }
    .carousel-nav .events-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    margin: 60px 0;
    padding: 40px 0;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 3px rgba(34, 91, 89, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.file-hint {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed var(--primary-medium);
    border-radius: 8px;
    background-color: var(--light-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    border-color: var(--primary-dark);
    background-color: rgba(34, 91, 89, 0.05);
}

input[type="file"]::file-selector-button {
    background-color: var(--primary-medium);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-dark);
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.carousel-arrow {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(12, 76, 74, 0.15);
    transition: background 0.3s, transform 0.2s;
    z-index: 2;
}

.carousel-arrow:hover {
    background: var(--accent-red);
    color: white;
    transform: scale(1.1);
}

.carousel-nav .events-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}