body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f6f8;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #e8ebf0;
}

.logo img {
    height: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: #0059ff;
    background-color: white;
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid transparent;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #0059ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    background: linear-gradient(90deg, #8dadec, #0059ff);
    color: white;
    border-color: #0059ff;
}

nav a:hover::after {
    width: 80%;
}

/* ===== Tagline ===== */
.tagline {
    background: linear-gradient(90deg, #dce9ff, #c4daff);
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.2rem;
    color: #1a2a5a;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tagline h2 {
    margin: 0;
    font-weight: bold;
    color: rgb(0, 101, 184); 
    font-style: italic;
}

/* Main Container */
.mainbox {
    margin-bottom: 30px;
    margin-left: 100px;
    margin-right: 100px;
}

/* Event/About Section */
.event-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Event Card Row */
.event-card {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delays */
.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; }
.event-card:nth-child(4) { animation-delay: 0.4s; }
.event-card:nth-child(5) { animation-delay: 0.5s; }
.event-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alternate layout for even cards */
.event-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Image Box - FIXED SIZING */
.event-image {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    width: 450px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.event-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Image - CONSISTENT SIZING WITH OBJECT-FIT */
.event-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}

/* Text Box */
.event-details {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.event-details h1 {
    color: #1a2a5a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.event-details p {
    color: #444;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #d2d5da, #c0c5cc);
    text-align: center;
    padding: 30px;
    color: white;
}

/* Social icons */
.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.socials img {
    width: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.socials img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(0, 89, 255, 0.5));
}

/* Cash App Button */
.cash-app-btn {
    display: inline-flex;
    align-items: center;
    background-color: #00C244;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cash-app-btn:hover {
    background: #a0fc9d;
    transform: scale(1.05);
    color: rgb(19, 167, 0);
}

.cash-app-btn img {
    width: 60px;
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 1100px) {
    .mainbox {
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .event-card {
        flex-direction: column !important;
        align-items: center;
    }
    
    .event-image,
    .event-details {
        width: 100%;
        max-width: 500px;
    }
    
    .event-image {
        height: 250px;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tagline {
        font-size: 1rem;
        padding: 15px;
    }
    
    .event-details h1 {
        font-size: 1.4rem;
    }
}