body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #333;
}

/* Navbar */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    margin: 5px 10px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-btn {
    background: #22c55e;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    margin-left: 15px;
    text-decoration: none;
}

.nav-btn:hover {
    background: #16a34a;
}

/* Header */
.header {
    background: url("bg.png") no-repeat center 30% / cover;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.overlay {
    background: rgba(0,0,0,0.55);
    padding: 20px 40px;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.overlay h1 {
    margin: 0;
    font-size: 3.5rem;
}

.overlay p {
    margin-top: 12px;
    font-size: 1.3rem;
}

/* Sections */
section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
    background: #f4f4f4;
}

/* About Section */
#about .about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
}

#about .about-text {
    flex: 3;
    min-width: 300px;
}

#about .about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

#about .about-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}

#about .about-image {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Features Section */
#features h2 {
    font-size: 2.4rem;
    text-align: center;
}

.features-intro {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 800px;
    text-align: center;
    color: #555;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 25px;
    border-radius: 12px;
    background: #f9f9f9;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-item i {
    color: #22c55e;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
}

/* Event Cards */
.event-card {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 700px;
    margin: 20px auto;
    transition: transform 0.3s ease;
    flex-wrap: wrap;
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-image {
    width: 40%;
    object-fit: cover;
    min-width: 200px;
}

.event-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.event-content h3 {
    margin-top: 0;
    font-size: 1.6rem;
    color: #222;
}

.event-content p {
    margin: 8px 0;
    color: #555;
}

.event-btn {
    align-self: flex-start;
    margin-top: 12px;
    background-color: #22c55e;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.event-btn:hover {
    background-color: #16a34a;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    text-align: center;
    padding: 15px 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .overlay h1 {
        font-size: 3rem;
    }

    .overlay p {
        font-size: 1.2rem;
    }
}

@media (max-width: 900px) {
    #about .about-container {
        flex-direction: column;
        text-align: center;
    }

    #about .about-text, #about .about-image {
        min-width: auto;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        max-width: 80%;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        margin: 5px 0;
    }
}

@media (max-width: 600px) {
    .event-card {
        flex-direction: column;
    }

    .event-image {
        width: 100%;
        height: 180px;
    }

    .overlay h1 {
        font-size: 2.2rem;
    }

    .overlay p {
        font-size: 1rem;
    }

    .features-intro {
        font-size: 1rem;
    }
}
