body {
    margin: 0;
    font-family: 'Onest', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden; /* Disable horizontal scrolling */
}

nav {
    position: fixed;
    bottom: 0;
    top: auto;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 10px 0; /* Adjust padding as needed */
}

/* Navbar container styling */
.navbar {
    list-style: none;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Allows wrapping to prevent horizontal scroll */
    margin: 0;
    padding: 20px 0; /* You can adjust this padding for desktop if desired */
}

.navbar li {
    flex: 1;
    text-align: center;
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 10px;
}

.navbar a span {
    opacity: 0;
    position: absolute;
    top: 100%;
    transition: opacity 0.3s, top 0.3s;
    pointer-events: none;
}

.navbar a:hover span {
    opacity: 1;
    top: 30px;
}

.icon {
    font-size: 24px; /* Resize icons for mobile */
}

/* Dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 15%;
    bottom: 32px;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

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

.hero {
    background: #0052C4;
    text-align: center;
    height: 100vh; /* Ensure hero section fills entire screen */
    margin: 0; /* Remove any margin */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Added relative positioning */
    overflow: hidden;
    padding: 0; /* Ensure no padding */
    margin-bottom: 2rem;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    max-width: 100%;
}

.lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensure lights cover the entire height of the hero section */
    overflow: hidden;
    z-index: 1;
}

.light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400%; /* Doubled the size for larger beams */
    height: 400%; /* Doubled the size for larger beams */
    opacity: 0.15; /* Subtle opacity for a more transparent effect */
    animation: pulseLight 15s infinite ease-in-out; /* Slow, smooth animation */
    mix-blend-mode: screen;
    filter: blur(120px); /* Increased blur for a softer, more faded edge */
    transform: translate(-50%, -50%); /* Center the light */
    border-radius: 50%; /* Make the beams round */
}

.light1 {
    background: radial-gradient(circle, rgba(0, 174, 255, 0.7), rgba(0, 129, 226, 0.3), rgba(0, 129, 226, 0));
    animation-delay: 0s;
}

.light2 {
    background: radial-gradient(circle, rgba(0, 174, 255, 0.7), rgba(0, 129, 226, 0.3), rgba(0, 129, 226, 0));
    animation-delay: 2s; /* Slight offset for a layered effect */
}

@keyframes pulseLight {
    0% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0;
    }
}


.hero h1, .hero p, .hero button {
    color: #ffffff;
    position: relative;
    z-index: 4;
}

.hero h1 {
    font-size: 2em; /* Adjust font size for mobile */
    margin: 0 0 20px;
}

.hero p {
    font-size: 1.3em; /* Adjust font size for mobile */
    margin: 0 0 30px;
}

.hero button {
    background-color: #FEFEFE;
    border: none;
    color: #0052C4;
    padding: 10px 20px; /* Adjust padding for mobile */
    font-size: 1.2em; /* Adjust font size for mobile */
    cursor: pointer;
    border-radius: 5px;
    position: relative; /* Required for the shine effect */
    overflow: hidden; /* Hide the shine effect overflow */
    margin-top: 35px;
    transition: background-color 0.3s;
}

/* Shine effect */
.hero button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transform: skewX(-25deg);
    transition: all 0.5s;
}

/* Animation */
.hero button:hover::before {
    left: 100%;
    transition: all 0.5s;
}


section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.logo {
    max-width: 200px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px;
}

.loader {
    position: relative;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0px;
    height: 0px;
    border-radius: 100%;
    opacity: 0;
    animation: pulse_4923 4s infinite linear;
    border: 2px solid #f3f3f3; /* Increased border size for larger circles */
    box-shadow: 0px 0px 30px #eef0e5; /* Increased shadow for larger circles */
}

.circle:nth-child(1) {
    animation-delay: .2s;
}

.circle:nth-child(2) {
    animation-delay: .4s;
}

.circle:nth-child(3) {
    animation-delay: .8s;
}

.circle:nth-child(4) {
    animation-delay: 1s;
}

@keyframes pulse_4923 {
    0% {
        opacity: 0.0;
        width: 0px;
        height: 0px;
        transform: translate(-50%, -50%) scale(1);
    }

    10% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(2);
    }

    100% {
        opacity: 0.0;
        width: 800px; /* Increased final width */
        height: 800px; /* Increased final height */
        transform: translate(-50%, -50%) scale(1);
    }
}

#wisdom {
    margin-top: 20px;
    font-size: 1.2em;
    color: #ffffff;
    text-align: center;
}

#shareButtons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

#shareButtons button {
    background-color: #FEFEFE;
    border: none;
    color: #0052C4;
    padding: 10px 20px; /* Adjust padding for mobile */
    font-size: 1.2em; /* Adjust font size for mobile */
    cursor: pointer;
    border-radius: 5px;
    position: relative; /* Required for the shine effect */
    overflow: hidden; /* Hide the shine effect overflow */
    margin-top: 35px;
    transition: background-color 0.3s;
}


/* Animation */
#shareButtons button:hover::before {
    left: 100%;
    transition: all 0.5s;
}
#shareButtons i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    nav {
        position: fixed; /* Fix navbar at bottom on mobile */
        bottom: 0;
        top: auto;
        padding: 10px 0; /* Reduce padding for mobile */
    }

    .navbar {
        flex-wrap: wrap; /* Allow wrapping to prevent horizontal scroll */
    }

    .navbar li {
        flex: none;
        width: 20%; /* Adjust width to fit items without scrolling */
    }

    .hero {
        height: 100vh; /* Ensure hero section fills entire screen */
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .hero-content {
        padding: 0 10px; /* Adjust padding for mobile */
    }

    .navbar a {
        font-size: 14px; /* Further adjust font size for smaller screens */
        padding: 5px;
    }

    .icon {
        font-size: 20px; /* Resize icons for smaller screens */
    }
    
    /* Mobile view adjustments for dropdown */
    .dropdown-content {
        display: none;
        position: fixed;
        top: auto;
        bottom: 8%; /* Position dropdown 60px above bottom */
        right: 0%; /* 10px from the right edge */
        background-color: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1;
        text-align: center;
    }

    .dropdown-content a {
        padding: 10px 20px;
        text-align: center;
        width: 100%; /* Ensure links take the full width of the dropdown */
        box-sizing: border-box;
    }

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

@media (min-width: 769px) {
    nav {
        position: fixed;
        bottom: 0;
        top: auto;
        padding: 10px 0; /* Increase padding for desktop */
    }
}

#events {
    padding: 60px 20px;
    text-align: center;
}

#events h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.event-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.event-card {
    position: relative; /* Add position relative to create a positioning context */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.event-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; /* Adjust the desired height */
}

.event-image img {
    width: auto;
    height: 100%;
    min-width: 100%; /* Ensure the image covers the container */
    object-fit: cover; /* Cover ensures the image fills the container while maintaining aspect ratio */
}

.event-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-title {
    min-height: 60px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-title h3 {
    font-size: 1.5em;
    margin: 0;
    text-align: center;
}

.event-description {
    margin-top: 10px;
    flex-grow: 1;
}

.event-description p {
    margin: 5px 0;
    line-height: 1.5;
    text-align: center;
}

.highlight {
    position: absolute;
    top: 10px; /* Adjust top position */
    left: 10px; /* Adjust left position */
    background-color: #7f85ff;
    color: #fff;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.8em;
    z-index: 1; /* Ensure it's above other content */
}

.register-btn {
    display: inline-block;
    background-color: #0036ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    align-self: center; /* Center the button horizontally */
    margin-top: 20px; /* Add some margin to the top */
}

.register-btn:hover {
    background-color: #03186a;
}

@media (max-width: 768px) {
    .event-cards {
        flex-direction: column;
        align-items: center;
    }
}




/* This CSS will apply only to screens with a max-width of 768px */
@media (max-width: 768px) {
    /* Hide scrollbar for specific element or whole body */
    body {
      -ms-overflow-style: none;  /* Internet Explorer 10+ */
      scrollbar-width: none;  /* Firefox */
    }
    
    body::-webkit-scrollbar {
      display: none;  /* Chrome, Safari, Opera */
    }
  }
  