/* Define CSS Variables */
:root {
    --primary-color: #1c1943;
    --secondary-color: #6f22b8;
    --highlight-bg: #6f22b8;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --text-color: white;
    --bg-light: #f9f9f9;
    --bg-dark: #1c1943;
}

/* General Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

/* Body Styling */
body {
    background-color: var(--bg-dark);
    color: var(--text-color);
}

/* Heading */
.heading {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Event Section */
.event-container {
  padding: 30px; 
}

.event {
    background: #fff;
    color: black;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    cursor: pointer;
    max-height: 60px;
    padding: 10px;
}

.event:hover {
    max-height: 300px;
    padding: 20px;
}

.event-header {
    font-weight: bold;
    font-size: 26px;
}

.event-content {
    margin-top: 10px;
    display: none;
    font-size: 15px;
    color: #555;
}

.event:hover .event-content {
    display: block;
}

/* View Details Button */
.view-details {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
}

.view-details:hover {
    background-color: #d32f2f;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .event:hover {
        max-height: 600px;
    }
}
