﻿/* General reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    margin-left: 33px !important;
    margin-right: 35px !important;
}

/* Event card container */
.event-card {
    position: relative;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 40px auto;
    max-width: 1000px;
    height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }

/* Full card overlay */
.event-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.8), rgba(240, 230, 140, 0.8));
    clip-path: circle(0% at center);
    transition: clip-path 0.4s ease-out;
    z-index: 0;
}

.event-card:hover .event-card-overlay {
    clip-path: circle(150% at center);
}

/* Animated cursor effect */
/*.event-card:hover {
    cursor: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgdmlld0JveD0iMCAwIDUwIDUwIj48Y2lyY2xlIGN4PSIyNSIgY3k9IjI1IiByPSIyMCIvPjxjaXJjbGUgY3g9IjI1IiBjeT0iMjUiIHI9IjEwIiBmaWxsPSIjNjNjYmZmIi8+PC9zdmc+"), auto;
}*/

/* Event card content fix */
.event-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    width: 100%;
    position: relative;
    z-index: 5; /* Ensure it's below the date circle */
}

.event-card-date {
    position: absolute;
    top: -10px; /* Move it up */
    left: 20px;
    z-index: 10; /* Keep it on top */
    text-align: center;
}

.event-card-details {
    margin-left: 100px; /* Adjust to move the content to the right */
    position: relative;
}

/* Ensure the date circle has a pointer cursor */
.date-circle {
    background-color: #fce5dc; /* Light peach */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer; /* Cursor will change to a pointer */
    position: relative; /* Needed for tooltip positioning */
}

    /* Tooltip styling */
    .date-circle::after {
        visibility: hidden;
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
        text-align: center;
        padding: 5px 10px;
        border-radius: 5px;
        position: absolute;
        bottom: -40px; /* Adjust tooltip position below */
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        font-size: 14px;
    }

    /* Show tooltip when hovering */
    .date-circle:hover::after {
        visibility: visible;
        opacity: 1;
    }

.date-day {
    font-size: 22px;
    font-weight: bold;
    color: #000000; /* Black color for the day */
}

.date-month {
    font-size: 14px;
    text-transform: uppercase;
    color: #ba4d4d; /* Reverted to the original red color */
}

/* Event details */
.event-card-details h3 {
    margin: 0;
    font-size: 18px;
    color: #4d294b;
}

.event-card-meta {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

/* Info button */
.event-info-btn {
    background-color: #e34e4e; /* Reverted to the original red color */
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin-left: auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .event-info-btn:hover {
        background-color: #c63c3c; /* Darker red on hover */
        color: white;
        transform: scale(1.1);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        text-align: center;
        margin: 20px 2px; /* Add horizontal gaps on mobile view */
    }

    .event-card-content {
        flex-direction: column;
        align-items: center;
        padding: 3px;
    }

    .event-card-details h3 {
        margin: 0;
        font-size: 11px;
        color: #4d294b;
    }

    .event-card-meta {
        font-size: 11px;
    }

    .event-card-date {
        position: absolute;
        top: -14px;
        left: 20px;
        text-align: center;
        z-index: 1;
    }

    .event-info-btn {
        display: block;
        margin: 4px auto; /* Centers the button horizontally */
        padding: 6px 7px; /* Reduced padding */
        font-size: 12px; /* Smaller font size */
        border-radius: 15px; /* Adjusted border radius for a sleeker look */
    }

    .date-circle {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 70px;
    }
}

.about-area1 {
    position: relative;
    display: block;
    padding-top: 0px;
    padding-bottom: 20px;
    border-radius: 30px;
    max-width: 90%; /* Adjust the width (e.g., 80% of the container width) */
    margin: 0 auto; /* Centers the element */
    background: linear-gradient(45deg, #FF7EB3, #65E7FF, #FFEF9F, #7A95FF);
    background-size: 400% 400%; /* Allows animation to flow smoothly */
    animation: gradientAnimation 10s ease infinite; /* Smooth infinite animation */
}


@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.responsive-heading {
    text-align: center;
    color: #333;
    font-size: 25px;
    margin-top: 20px; /* Adjust if needed */
    margin-bottom: 20px; /* Adjust if needed */
}

/* Media Query for Small Screens (Mobile - 320px) */
@media (max-width: 320px) {
    .responsive-heading {
        font-size: 20px; /* Reduce font size for smaller mobile devices */
        margin-top: 10px; /* Reduce top margin */
        margin-bottom: 10px; /* Reduce bottom margin */
    }
}

/* Media Query for 375px wide screens (iPhone 6/7/8, small tablets) */
@media (max-width: 480px) {
    .responsive-heading {
        font-size: 22px; /* Slightly larger than 320px screen */
        margin-top: 10px;
        margin-bottom: 12px;
    }
}


/*--------------------------- form loading -------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex; /* Using Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    /*top:50px;
    left:50px;*/
}

.rotating-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: spin 5s linear infinite;
    top: -60px;
    left: -60px;
}

    .rotating-circle:nth-child(1) {
        border-top: 4px solid #6aaf08;
        animation-duration: 3s;
    }

    .rotating-circle:nth-child(2) {
        border-bottom: 4px solid black;
        animation-duration: 2s;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.loader-container img {
    position: absolute;
    /*   top: 0;
    left: 30%; */
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    animation: fadeBounce 2s infinite alternate;
}

/* Simple fade and bounce effect */
@keyframes fadeBounce {
    0% {
        opacity: 0.5; /* Start with low opacity */
        transform: translate(-50%, -50%) translateY(-10px); /* Move image up */
    }

    100% {
        opacity: 1; /* Full opacity */
        transform: translate(-50%, -50%) translateY(10px); /* Move image down */
    }
}