.event-gallery {
    margin: 30px 0;
}

.gallery-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo {
    height: 200px;
    width: 200px;
    float: left;
}

.logo-section {
    display: flex;
    justify-content: flex-start; /* Ensures content inside aligns to the left */
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-bar {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon {
    width: 20px;
    height: auto;
}

.time-box {
    position: relative;
    display: inline-block;
    width: 60px; 
    height: 40px;
}

.time-background {
    width: 100%;
    height: 100%;
    display: block;
}

.time-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #000; 
    pointer-events: none; 
}

.nav-link {
    color: #fff;
}

.toggle-section {
    padding: 20px;
}

.nav {
    padding: 10px;
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: white;
}


.navbar-container {
    display: flex;
    justify-content: center;
    margin: 20px 0; 
}

.rounded-menu-bar {
    background-color: black; 
    border-radius: 25px;
    padding: 10px 20px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}


.nav {
    margin: 0;
    padding: 0;
    list-style-type: none; 
}

.nav-item {
    display: inline-block;
    margin: 0 10px;
}

.nav-link {
    color: white;
    background-color: black;
    padding: 10px 20px;
    border-radius: 5px; 
    transition: all 0.3s ease; 
    text-decoration: none; 
}

.nav-link:hover {
    color: black; 
    background-color: white;
}


.nav-link:active {
    color: black; 
    background-color: white; 
    font-weight: bold; 
}


.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(59, 100, 189);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: green;
}

input:checked + .slider:before {
    transform: translateX(26px); 
}


.section-heading {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.container{
    margin-top: 2%;
}
.search-bar{
    margin-top: 2%;
}

.upcoming {
    display: flex;
    justify-content: flex-start; /* Aligns content to the left */
}

/* Main Content */
.event-timer {
    font-size: large;
    font-weight: bold;
    text-align: center;
    padding: 20px 10px;
}

.timer {
    font-size: 2rem;
    font-family: 'Courier New', monospace;
    background-color: black;
    color: white;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
}

/* Event Details Section */
.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    padding-top: 30px;
    align-items: flex-start;
    justify-content: space-between;
}

/* Events List Box */
.event-list {
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 38%; /* Reduced width to make it narrower */
    height: 600px; /* Increased height to make it taller */
    overflow-y: auto; /* Adds scroll for overflow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional shadow */
}

/* Scrollbar Styling (Optional) */
.event-list::-webkit-scrollbar {
    width: 12px;
}

.event-list::-webkit-scrollbar-thumb {
    background-color: gray;
    border-radius: 5px;
}

.event-list h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.event-list .arrow-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

/* Event Image Box */
.event-image {
    width: 60%; /* Adjust width for image container */
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Optional for rounded corners */
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-list {
        width: 100%; /* Full width for small screens */
        height: auto; /* Adjust height dynamically */
    }

    .event-image {
        width: 100%; /* Full width for image container */
    }

    .event-details {
        flex-direction: column; /* Stack items vertically */
    }
}


/* Action Buttons */
/* Event Actions Section */
.event-actions {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    position: relative;
}

.action-box {
    background-color: black;
    border-radius: 15px;
    padding: 30px 20px; /* Increased padding for better spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px; /* Increased width for a larger box */
    height: auto; /* Adjust height dynamically */
    gap: 20px; /* Increased gap between buttons */
    margin-right: 20px; /* Added padding from the right */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional shadow for better visibility */
}

/* Buttons inside the box */
.btn {
    display: inline-block;
    text-align: center;
    width: 100%; /* Full-width buttons inside the box */
    padding: 15px 20px; /* Increased padding for buttons */
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem; /* Increased font size for better readability */
    color: white;
    transition: transform 0.3s ease; /* Animation on hover */
}

.btn:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.link-btn {
    background-color: blue;
}

.rsvp-btn {
    background-color: green;
}

/* Media Query for Responsive Design */
@media (max-width: 768px) {
    .action-box {
        width: 150px; /* Adjust width for smaller screens */
        padding: 20px 15px; /* Adjust padding for smaller screens */
    }

    .btn {
        font-size: 0.9rem; /* Reduce font size on smaller screens */
        padding: 10px 15px;
    }
}

/* Footer */
/* Footer Styles */
footer {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.footer .container {
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.container {
    padding-left: 3rem; 
    padding-right: 3rem; 
}

.custom-image-size {
    max-width: 90%; 
    height: auto; 
}

.row.g-2 {
    --bs-gutter-x: 0.5rem; 
    --bs-gutter-y: 0.5rem; 
}

/* Adds space between rows */
.row.g-3 {
    margin-bottom: 15px;
}

/* Adds hover effect */
.gallery-img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 8px; /* Optional: Rounds image corners */
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Dark mode styles */
body.dark-mode {
    background-color: #121212;
    color: #f5f5f5;
}

/* Dark mode navbar */
body.dark-mode .navbar {
    background-color: #121212;
}

body.dark-mode .navbar .nav-link {
    color: #fff;
    
}

body.dark-mode .navbar .nav-link :hover{
    color: #121212;
    
}

body.dark-mode .rounded-menu-bar :hover {
    color: #121212;
}

body.dark-mode .rounded-menu-bar {
    background-color: #121212;
}

/* Dark mode search bar */
body.dark-mode .searchbar input {
    background-color: #333;
    color: #fff;
    border-color: #555;
}

body.dark-mode .searchbar input::placeholder {
    color: #aaa;
}

/* Dark mode toggle container */
body.dark-mode .toggle-container {
    background-color: #121212 !important;
}

/* Dark mode for greeting section */
body.dark-mode .greeting-section {
    background-color: #121212;
    color: #fff;
}

/* Dark mode for timeline section */
body.dark-mode .timeline-section {
    background-color: #121212;
}

body.dark-mode .timeline-header h2 {
    background-color: #121212;
    color: #fff;
}

body.dark-mode .timeline-header::before,
body.dark-mode .timeline-dots::before {
    background-color: #555;
}

body.dark-mode .dot {
    background-color: #fff;
}

body.dark-mode .dot-info {
    color: #fff;
}

/* Dark mode for gallery section */
body.dark-mode .gallery-section {
    background-color: #121212;
}

body.dark-mode .gallery-header h2 {
    background-color: #121212;
    color: #fff;
}

body.dark-mode .gallery-header::before {
    background-color: #555;
}

/* Dark mode image captions or borders */
body.dark-mode .gallery-slider img {
    border: 1px solid #121212;
}

/* Dark mode footer adjustments */
body.dark-mode .footer {
    background-color: #121212 !important;
}

/* Adjust any other specific elements for the About page */
body.dark-mode .about-content h2,
body.dark-mode .about-content h3 {
    color: #fff;
}

body.dark-mode .about-content .card {
    background-color: #121212;
    color: #f5f5f5;
    border-color: #555;
}

body.dark-mode .about-content .card-header {
    background-color: #121212;
    border-color: #555;
}

/* Dark mode for team member profiles if present */
body.dark-mode .team-member {
    background-color: #121212;
    border-color: #555;
}

body.dark-mode .team-member h4 {
    color: #fff;
}

/* Smooth transition for dark mode toggle */
body, body.dark-mode, 
body .navbar, body.dark-mode .navbar,
body .searchbar input, body.dark-mode .searchbar input,
body .greeting-section, body.dark-mode .greeting-section,
body .timeline-section, body.dark-mode .timeline-section,
body .gallery-section, body.dark-mode .gallery-section,
body .about-content, body.dark-mode .about-content {
    transition: all 0.3s ease;
}