body{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
    color: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 248, 245, 0.0381125) 15.31%, #063D06 28.4%, #1A531A 59.13%, rgba(32, 81, 32, 0.8) 82.13%, rgba(0, 102, 51, 0.5) 100%);

}





/* Default navbar style */
.navbar {
    background-color: transparent; /* Transparent by default */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

/* Navbar style when scrolled */
.navbar.scrolled {
    background-color: #006400; /* Dark green when scrolled */
}


.navbar-nav .nav-item .nav-link {
    font-size: 1rem; /* Slightly larger font size */
    font-weight: 500; /* Make text bolder */
    padding: 15px;
    color: #d1cece; /* White text color */
    text-transform: uppercase; /* Make text all caps for emphasis */
    letter-spacing: 1px; /* Increase spacing between letters for better readability */
    transition: color 0.3s, transform 0.3s; /* Smooth transition for hover effect */
}

.navbar-nav .nav-item .nav-link:hover {
    color: #ffdd00; /* Change text color on hover (yellow for contrast) */
    transform: scale(1.05); /* Slightly scale up text on hover */
}

.navbar-nav .nav-item .btn {
    font-size: 1.1rem; /* Increase font size for the button */
    font-weight: 700; /* Make the button text bolder */
    text-transform: uppercase; /* Uppercase text */
    padding: 10px 20px; /* Adjust padding for a larger button */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.navbar-nav .nav-item .btn:hover {
    background-color: #ffdd00; /* Change background color on hover */
    color: #333; /* Change text color on hover */
    transform: scale(1.05); /* Slightly scale up the button on hover */
}

@media (max-width: 992px) {
    .navbar {
        background-color: green !important;
    }
    .navbar-brand img {
        height: 30px !important; /* Reduce logo size on mobile */
    }
    .navbar-toggler {
        border: none;
        outline: none;
    }
    .navbar-toggler-icon {
        background: none;
        font-size: 1.5rem;
        color: white;
    }
    .navbar-nav {
        text-align: left;
        
    }
    .navbar-nav .nav-item {
        margin: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
}


.carousel-item {
    height: 799px; /* Set the fixed height you want */
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover; /* Ensures the image covers the entire space without stretching */
    width: 100%;
    height: 100%; /* Make sure the image fills the container */
}
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(6, 61, 6, 0), rgba(6, 61, 6, 0.9)); /* Transparent to dark green */
    z-index: 1; /* Ensure it's above the image */
}

.constant-caption {
    position: absolute;  /* Use absolute positioning */
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 21;
    text-align: left;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    width: 300px;
    /* Optional: Uncomment the background if you need contrast */
    /* background: rgba(0, 0, 0, 0.5); */
  }

.carousel-caption {
    position: relative;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 15px;
    border-radius: 10px;
    color: #fff;
}

.carousel-caption h1,
.carousel-caption p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Optional: adds text shadow for better readability */
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Fallback for older browsers */
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    transition: min-height 0.3s ease-in-out; /* Smooth height adjustment */
}

/* Hero image styling */
.hero-section img {
    width: 100%;
    height: 100%; /* Match container height instead of 100vh */
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-section img.active {
    opacity: 1;
}

/* Tablet (iPad Air) */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 500px;
        max-height: 600px;
        height: 100vh; /* Maintain vh fallback */
    }
}

/* Mobile (iPhone SE) */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        max-height: 500px;
        height: 100dvh; /* Dynamic viewport for mobile browsers */
    }
}

/* General styles */
.events {
    margin: 0px 0;
}

.swiper {
    width: 100%;
    padding: 30px 0;
}

.event-card {
    color: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 0px;
    display: flex;
    align-items: left;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow the cards to wrap for smaller screens */
}

.event-image {
    width: 100%;
    max-height: 500px;
    border-top-right-radius: 150px;
    border-bottom-right-radius: 150px;
    object-fit: cover;
}


.event-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-list {
    list-style: none;
    padding: 0;
}

.event-list li {
    padding: 8px 0;
    font-size: 1.1rem;
}

.highlight {
    color: yellow;
    font-weight: bold;
}

.krccalender {
    color: yellow;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0;
}

.linecalensder {
    background-color: yellow;
    width: 100px; /* Adjust the width as per your requirement */
    height: 2px; /* Set a thinner height to make it look more like a line */
    display: inline-block; /* Ensures the line sits next to the text */
    margin-left: 10px; /* Optional: Adds space between the text and the line */
    vertical-align: middle; /* Aligns the line vertically in the middle with the text */
}

.event-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
}

.subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 900px) {
    .event-card {
        flex-direction: column; /* Stack the image and text vertically on medium screens */
    }

    .event-image {
        width: 100%; /* Ensure the image takes full width */
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .event-details {
        padding: 20px; /* Reduce padding for smaller screens */
    }
}

@media (max-width: 768px) {
    .krccalender {
        font-size: 1.2rem; /* Reduce font size for small screens */
    }

    .linecalensder {
        width: 70px; /* Reduce the line width on small screens */
    }

    .event-title {
        font-size: 2.5rem; /* Adjust title size for mobile */
    }

    .subtitle {
        font-size: 1.6rem; /* Adjust subtitle size for mobile */
    }

    .event-list li {
        font-size: 1rem; /* Adjust list items font size */
    }

    .event-card {
        padding: 20px; /* Add padding around cards on smaller screens */
    }

    .swiper {
        padding: 20px 0; /* Reduce padding around swiper on smaller screens */
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 2rem; /* Reduce title size even more for very small screens */
    }

    .subtitle {
        font-size: 1.4rem; /* Adjust subtitle size for small screens */
    }

    .event-list li {
        font-size: 0.9rem; /* Adjust list items font size */
    }

    .krccalender {
        font-size: 1rem; /* Adjust calendar label font size */
    }

    .linecalensder {
        width: 50px; /* Further reduce the width of the line on very small screens */
    }

    .event-card {
        padding: 15px; /* Reduce padding around the card */
    }

    .event-details {
        padding: 15px; /* Reduce padding in the event details */
    }

    .swiper-button-next,
    .swiper-button-prev {
        font-size: 1rem; /* Reduce size of swiper controls */
    }
}





/* General Card Styling */
.payment-card {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    color: white;
    background: #2C4B2C; 
}



/* Number Styling */
.number {
    font-size: 50px;
    font-weight: bold;
    margin-right: 20px;
    opacity: 0.8;
}

/* Card Text */
.card-content h5 {
    font-size: 20px;
    font-weight: bold;
    color: #FFD700; /* Yellow for headings */
}

.card-content p {
    margin: 0;
    font-size: 16px;
    color: white;
}

.card-content span {
    font-weight: bold;
}


.footer {
    background-color: #006400; /* Dark Green */
    background-image: url('images/footer.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    height: 550px;
    padding: 20px 0;
}
.footer img {
    display: none; /* Background image handled via CSS */
}
.footer .footer-content {
    position: relative;
    z-index: 1;
}
.footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
}
.footer .social-icons a:hover {
    color: #ccc;
}
@media (max-width: 768px) {
    .footer .col-4 {
        text-align: center;
    }
    .footer h4 {
        font-size: 1.5rem;
    }
    .footer .social-icons a {
        font-size: 1.2rem;
        margin: 0 5px;
    }
}
@media (max-width: 576px) {
    .footer {
        padding: 10px 0;
        background-image: none;
    }
    .footer h4 {
        font-size: 1.2rem;
    }
    .footer .social-icons a {
        font-size: 1rem;
    }

    
}

.custom-icons {
    font-size: 2rem; /* Adjust size as needed */
    color: #FFD700;  /* Facebook blue */
}

.custom-icons:hover {
    color: #ffffff; /* White on hover */
}
