html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
    padding: 20px 0;
}

.footer-section {
    flex-shrink: 0;
}

/* Header styling */
.header-section {
    background-color: transparent;
    padding: 0; /* Removed top padding */
    position: absolute;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-logo {
    height: 50px;
    width: auto;
    max-width: 150px;
}

.navbar {
    padding: 0;
}

.navbar-nav .nav-item .nav-link {
    font-size: 16px;
    padding: 10px 20px;
    color: black;
    font-weight: 500;
    
}

.navbar-nav .nav-item .nav-link:hover {
    color: black;
    text-decoration: underline;
}

.nav {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Mobile styles */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
}


/* Banner Section */
.banner-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    aspect-ratio: 16/9;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.banner-content p {
    font-size: 1.5rem;
    margin: 20px 0;
}

.banner-content .btn {
    padding: 10px 30px;
    font-size: 1.2rem;
}

/* Overlay for better text readability */
.banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


/* Responsive Adjustments */

@media (max-width: 1200px){
    .banner-section{
        height: 90vh;
    }
}

@media (max-width: 968px) {
    .banner-section{
        height: 70vh;
    }

    .nav {
        padding-left: 150px;
        padding-right: 150px;
    }
    
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .banner-content .btn {
        padding: 8px 25px;
        font-size: 1rem;
    }
    .banner-section{
        height: 70vh; /* Increased height */
    }
    .nav {
        padding-left: 100px;
        padding-right: 100px;
    }
}


@media (max-width: 576px) {
    .banner-section{
        height: 50vh; /* Increased height */
    }
    .nav {
        padding-left: 50px;
        padding-right: 50px;
    }
}


#upcoming-events {
    background-color: #f5f5f5;
    padding: 20px 0;
}

.text{
    font-size: 1.4rem;
    padding-bottom: 20px;
}

.event-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.event-card.dropdown-open {
    z-index: 10;
}

.event-card:hover {
    transform: scale(1.02);
}

.event-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-actions {
    margin-top: 15px;
}

.card-actions > div {
    margin-bottom: 10px;
}

.event-card .card-title a {
    text-decoration: none;
    color: #333;
    line-height: 1.4;
    letter-spacing: 1px;
    font-size: 16px;
}

.event-card .card-title a:hover {
    text-decoration: underline;
}

.read{
    text-decoration: none;
    color: black;
}
/* Responsive Design for Event Cards */
@media (max-width: 768px) {
    .event-card {
        margin-bottom: 20px;
    }
}

.view-div{
    text-align: center;
}

.view-link {
    color: #ffffff !important;
    border-width: 6px !important;
    border-color: #000000;
    border-radius: 50px;
    letter-spacing: 2px;
    font-size: 12px;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif !important;
    background-color: #000000;

    padding-top: 10px !important;
    padding-right: 20px !important;
    padding-bottom: 10px !important;
    padding-left: 20px !important;
    line-height: 1.7em !important;
    font-weight: 500;
    
}


.footer-section {
    background-color: black;
    color: white;
    padding: 40px 0;
}

.logo{
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-section .logo img {
    max-width: 70%;
    height: auto;
    margin-bottom: 20px;
    text-align: center;
}

.footer-section .logos {
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    justify-content: center;
    text-align: center;
}

.footer-section .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-section .text-section p {
    margin-bottom: 20px;
}

.map-pin{
    max-width: 40px;
}

.footer-section .links, .footer-section .quick-links {
    margin-bottom: 20px;
    text-decoration: none;
    color: white;
}

.quick-links p a {
    text-decoration: none;
    color: white;
}

.footer-section .quick-links img {
    max-width: 100px;
    height: auto;
    margin-top: 10px;
}

/* Responsive Design */
@media (min-width: 992px) {
    .footer-section .logos {
        width: 33.33%;
    }
    .footer-section .content {
        width: 66.67%;
    }
}

@media (max-width: 991px) {
    .footer-section .logos, .footer-section .content {
        width: 100%;
        text-align: center;
    }

    .footer-section .logos {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer-section .text-section, .footer-section .links, .footer-section .quick-links {
        margin-bottom: 20px;
    }
}

@media (max-width: 1200px){
    .footer-section .logo img {
        max-width: 70%;
    }
}

@media (max-width: 968px) {.main-content {
    flex: 1 0 auto;
    padding: 20px 0;
}
    .footer-section .logo img {
        max-width: 60%;
    }
    
}

@media (max-width: 768px) {
    .footer-section .logo img {
        max-width: 50%;
    }
}


@media (max-width: 576px) {
    .footer-section .logo img {
        max-width: 40%;
    }
}

/* Calendar Dropdown Button Styles */
.calendar-dropdown-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-calendar-action {
    background: #000000;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    list-style: none;
}

.btn-calendar-action::-webkit-details-marker {
    display: none;
}

.calendar-icon {
    margin-right: 8px;
}

.dropdown-content {
    position: absolute;
    background: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    padding: 10px;
    border-radius: 5px;
    display: none;
    min-width: 200px;
}

.calendar-dropdown-wrapper[open] .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.password-container {
    position: relative;
}

.password-container input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 99;
}