.header {
    position: relative;
    height: 400px; /* Adjust the height as per your design */
    overflow: hidden; /* Hide any parts of the image that go beyond the container */
    margin-bottom: 60px;
}

.header img {
    position: absolute; /* Position it within the container */
    top: 0;
    left: 0;
    width: 100%;  /* Ensure the image spans the entire width */
    height: 100%; /* Ensure the image spans the entire height */
    object-fit: cover; /* Make sure the image covers the container without stretching */
    z-index: -1; /* Push the image behind the text */
}

.header h1 {  
    color: white;
    text-align: center;
    padding-top: 180px;
    font-size: 24px;
    font-weight: bold;
}


        .container-event {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .featured-event {
            margin-bottom: 2rem;
        }

        .featured-event p{
            margin: 50px 0px;
            font-size: 18px;
            color: #666;
        }


        .featured-event h2 {
            color: #FF9900;
            margin: 5px 0px 40px;
            font-size: 28px;
            font-weight: bold;
        }

        .featured-image {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .event-description {
            color: #666;
            line-height: 1.6;
            margin: 1rem 0;
        }

        .events-section h2{
       
            font-size: 28px;
            font-weight: bold;
            color: #FF9900;
        }

        .events-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 2rem;
            justify-content: left;
        }


        .event-card {
            display: flex;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 100%;
            
            position: relative;
            overflow: hidden;
        }

        .event-image-container {
            position: relative;
            width: 200px;
            min-width: 200px;
        }

        .event-image {
            width: 350px;
            height: 100%;
            object-fit: cover;
        }

        .read-more{
          
            display: inline-block; /* Prevent full width */
            padding: 0.8rem 2rem; /* Button padding */
            background: #ffa726; /* Button background color */
            color: white; /* Button text color */
            text-decoration: none; /* Remove underline */
            border-radius: 5px; /* Rounded corners */
            font-weight: bold; /* Bold text */
            transition: transform 0.3s ease; /* Smooth hover effect */
            max-width: max-content; /* Ensure the width matches the content */
            text-align: center; /* Center the text */
        }

        .read-more:hover {
            background: #ff9100;
        }

        .date-badge {
            position: absolute;
            top: -3px;
            left: 20px;
            background-color: #ff9933;
            color: white;
            padding: 15px;
            border-radius: 0px 0px 14px 14px;
            text-align: center;
            font-weight: 500;
        }

        .date-badge .month {
            font-size: 0.8em;
            text-transform: uppercase;
            display: block;
            line-height: 1;
        }

        .date-badge .day {
            font-size: 1.5em;
            font-weight: bold;
            display: block;
            line-height: 1.2;
        }

        .event-content {
            padding: 20px;
            flex-grow: 1;
        }
        .event-content h3{
            font-size: 20px;
            font-weight: bold;
           color: #ff9933;
        }

        .event-content p{
        
           font-size: 14px;
           color: #666;
        }
        @media (max-width: 600px) {
            .event-card {
                flex-direction: column;
            }

            .event-image-container {
                width: 100%;
                height: 200px;
            }

            .date-badge {
                top: 20px;
                left: 20px;
            }
        }

        .pagination {
            display: flex;
            justify-content: center;
            margin: 50px auto;
        }

        .pagination p{  
            margin: 10px ;
        }
        
        .pagination a {
            margin: 0 5px;
            padding: 8px 12px;
            background-color: #FF9800;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }
        
        .pagination a:hover {
            background-color: #e68900;
        }
        
        .pagination.active-page {
            background-color: #FF9800;
            color: white;
        }

        @keyframes waveMove {
            0% {
                background-position: 0 0;
            }
            100% {
                background-position: 50px 50px;
            }
        }