  /* all text fonts */
  *{
    font-family: Arial;
}

body{
  background-color: #f0efef;
}
/* Ensure images and video cover the full width while maintaining aspect ratio */

/* Carousel */
/* Main Carousel Styling */

#carouselUpdate {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Set exact aspect ratio to match 2800:970 images */
.carousel-item {
  position: relative;
  height: 0;
  padding-bottom: 34.64%; /* 970/2800 = 0.3464 = 34.64% */
  overflow: hidden;
}

.carousel-item img.carouselImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* Will stretch to fill the container exactly */
}

/* Video slide styling */
.video-slide {
  position: relative;
  height: 0;
  padding-bottom: 34.64%; /* Maintains the same aspect ratio as other slides */
  overflow: hidden;
}

.video-slide img.carouselImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Changed to cover to avoid stretching */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1; /* Ensure it sits above the image */
}

/* Update content wrapper to position correctly */
.content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  z-index: 2; /* Ensure content is above overlay */
  justify-content: center;
  flex-wrap: nowrap; /* prevents wrapping */
}


/* Tagline section with responsive font sizes */
.tagline {
  width: 100%;
  padding: 10px;
}

/* Default tagline font sizes for desktop */
.tagline h1 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.tagline h2 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.tagline h3 {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
}

.tagline h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tagline p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Video container */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 26.25%; /* Standard 16:9 video aspect ratio */
}

.responsive-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive adjustments - Desktop */
@media (min-width: 1200px) {
  .tagline {
    width: 45%;
  }
  
  .video-container {
    width: 50%;
    padding-bottom: 28.125%; /* Maintain 16:9 aspect ratio at 50% width */
    margin: 0;
  }
  
  .content-wrapper {
    padding: 25px 50px;
  }
}

/* Responsive adjustments - Laptop */
@media (min-width: 768px) and (max-width: 1199px) {
  .tagline {
    width: 55%;
  }
  
  .video-container {
    width: 45%;
    padding-bottom: 28.125%; /* Maintain 16:9 aspect ratio at 50% width */
    margin: 0;
  }
  
  
  .tagline h1 {
    font-size: 1.3rem;
  }
  
  .tagline h2 {
    font-size: 1.2rem;
  }
  
  .tagline h3 {
    font-size: 1rem;
  }
  
  .tagline p {
    font-size: 0.9rem;
  }
}

/* Medium screen specific styling (tablets) */


/* Mobile specific styling */
@media (max-width: 768px){
  .content-wrapper {
    flex-wrap: nowrap;
  }

 

  .tagline h1 {
    font-size: 0.8rem;
  }

  .tagline h2 {
    font-size: 0.7rem;
  }

  .tagline h3 {
    font-size: 0.6rem;
  }

  .tagline p {
    font-size: 0.4rem;
  }
}

@media (min-width: 374px) and (max-width: 470px) {
  .carousel-item {
    padding-bottom:40%; /* Taller on very small screens for better content visibility */
  }
  .tagline h1 {
    font-size:0.6rem;
  }

  .tagline h2 {
    font-size: 0.5rem;
  }

  .tagline h3 {
    font-size: 0.4rem;
  }

  .tagline p {
    font-size: 0.2rem;
  }
}


/* Very small devices (under 375px) */
@media (max-width: 374px) {
  .content-wrapper {
    flex-wrap: nowrap;
  }

  .tagline h1 {
    font-size:0.6rem;
  }

  .tagline h2 {
    font-size: 0.5rem;
  }

  .tagline h3 {
    font-size: 0.4rem;
  }

  .tagline p {
    font-size: 0.2rem;
  }
  .carousel-item {
    padding-bottom: 45%; /* Taller on very small screens for better content visibility */
  }
}

/* Adjust carousel indicators for mobile and tablet */
@media (max-width: 767px) {
  .carousel-indicators {
    margin-bottom: 0.25rem;
  }
  
  .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
  }
}

/* Improve navigation controls visibility */
.carousel-control-prev, .carousel-control-next {
  width: 10%;
  opacity: 0.7;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
}

/* Make carousel indicators more visible */
.carousel-indicators button {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.carousel-indicators button.active {
  background-color: white;
}

/* end of Carousel */


/*Responsive Navbar*/
@media (max-width: 1200px) {
  .navbar-nav {
    font-size: 12px; /* Reduce font size */
  }

  .navbar-nav .nav-item {
    padding: 5px 5px; /* Adjust spacing */
  }

  .navbar-nav .nav-link {
    display: flex;
    align-items: center; /* Align icons and text */
  }

  .navbar-nav .nav-link i {
    font-size: 16px; /* Adjust icon size */
    margin-right: 5px; /* Space between icon and text */
  }
}

/*End Navbar*/

    /* Fix for iOS Safari overflow issues */
    html, body {
        width: 100%;
      
    }



    .library-logo {
      width: 200px;
      height: 100px;
      object-fit: contain;
  }
  
  .logo-container {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      flex-wrap: nowrap;
  }
  
  @media (max-width: 769px) {
      .library-logo {
          width: 100px;
          height: 50px;
      }
  }
  







/* Navbar */

.facebookiconA {
    color: white; /* Set the desired color */
    text-decoration: none;
}
.navbar {
    background-color: #0e4c00; /* navbar background color */
    border-bottom: 3px solid gold; /* Adds the gold line in the bottom of navbar */
}

 /* Change background of navbar items on hover */
 .nav-link {
    color: white !important;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.3) !important; /* Background color change */
    border-radius: 5px;
}

@media (min-width: 992px) { 
    .navbar-nav .nav-item:hover .dropdown-menu {
        display: block;
    }
}

.navbar-toggler-icon {
    filter: invert(2); /* Makes the icon white */
}

/* Custom dark dropdown */
.dropdown-menu {
    background-color: #222 !important; /* Dark background */
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: white !important; /* White text */
}

.dropdown-item:hover {
    background-color: #444 !important; /* Darker hover effect */
}

/* Footer */

/* .footer {
    background: url("public/img/lib.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
} */

/* Dark Overlay (Only Affects Background) */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark overlay */
    z-index: 1; /* Keep it below the text */
}

/* Ensure the content is ABOVE the overlay */
.footerContent {
    flex: 1;
    padding: 20px;
    text-align: left;
    position: relative;
    z-index: 2; /* Moves the content above the overlay */
}

/* Bea Links */
.link-btn {
    display: inline-block;
    text-align: center;
    padding: 2px;
    background-color: #FFFFFF;
    border: 2px solid green;
    border-radius: 5px;
    text-decoration: none;
    color: green;
    font-weight: bold;
}

/* Resize the image */
.link-btn img {
    width: 250px;  /* Adjust width */
    height: 80px;  /* Maintain aspect ratio */
}


/* Divider */
.h-divider {
    margin: auto;
    margin-top: 10px;
    width: 25%;
    position: relative;
  }

  .h-divider .shadow {
    overflow: hidden;
    height: 5px;
  }
  
  .h-divider .shadow:after {
    content: '';
    display: block;
    margin: -25px auto 0;
    width: 100%;
    height: 25px;
    border-radius: 125px/12px;
    box-shadow: 0 0 8px #0e4c00;
  }

    
    /* #sectionCarousel .carousel-inner img {
        width: 100%;
        height: 350px; 
        object-fit: cover; 
        border-radius: 8px;
    } */

    /* rules and regulatory */

    .content {
        display: block;
        margin-top: 10px;
    }

    .section-header {
        font-weight: bold;
        cursor: pointer;
        display: flex;
      
    }
    

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

   /* booking */
   .progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ccc; /* Gray for inactive */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  .progress-step.active .step-number {
    background-color: #007bff; /* Blue for active */
  }
  
  .step-title {
    font-size: 14px;
    margin-top: 5px;
    color: #ccc; /* Gray for inactive */
  }
  
  .progress-step.active .step-title {
    color: #007bff; /* Blue for active */
    font-weight: bold;
  }
  
  .progress-line {
    flex-grow: 1;
    height: 2px;
    background-color: #ccc; /* Gray for inactive */
    margin: 0 10px;
  }
  
  .progress-step.active + .progress-line {
    background-color: #007bff; /* Blue for active */
  }

  .content {
    display: none; /* Hide all content by default */
  }
  
  .content.active {
    display: block; /* Show only the active content */
  }

  .navigation {
    text-align: right;
    margin-top: 20px;
  }
  
  #nextBtn {
    padding: 10px 20px;
    background-color: #3E7B27;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
  }

    
  #backBtn {
    padding: 10px 20px;
    background-color: #9da0a0;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
  }

  .submitBTN {
    padding: 10px 20px;
    background-color: #3E7B27;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
  }

  /* calendar */
#calendar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Ensure the calendar days are in a grid format */
.fc-daygrid-day-frame {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Date at the top */
    align-items: center; /* Center events */
    height: 100%;
    padding: 5px;
}

/* Center the date of the month */
.fc-daygrid-day-number {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* Set day cell height */
.fc-daygrid-day {
    height: 20px;
    border: 1px solid #ddd;
    position: relative;
}

/* Event box - 70% width of the cell */
.event-box {
    background-color: #bbddbc;
    color: white;
    border-radius: 8px;
    padding: 8px;
    font-size: 0.9em;
    text-align: center;
    width: 70%;
    word-wrap: break-word;
    margin-top: auto; /* Push events below the date */
    margin-bottom: 1px;
}

/* Highlight today's date */
.fc-day-today {
    background-color: rgb(164, 205, 155) !important;
}


/* switch */
.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: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }




.links img {
    max-width: 100%; /* Ensures images do not overflow */
    height: auto; /* Maintains aspect ratio */
    width: 100%; /* Default size for small screens */
}

/* Adjust image size when screen width is between 768px and 992px */
@media (min-width: 768px) and (max-width: 1200px) {
  .links img {
      width: 100%; /* Adjust image size relative to the card width */
  }

  .readbutton a{
   font-size: 10px;
  }

  .news h5{
    font-size: 15px;
  }

  .news p{
    font-size: 12px;
  }

  /*header 2*/

  .header2{
    gap: 50%;
  }

  .header2 h6{
    font-size: 10px;
  }
  .header2 p{
    font-size: 9px;
  }

/* Smaller icon container */
.small-icon-container {
  width: 40px;  /* Adjust size */
  height: 40px;
  border-width: 2px !important; /* Ensure consistent border */
  border-radius: 50%; /* Ensures a perfect circle */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0; /* Prevents shrinking */
}

/* Adjust icon size */
.small-icon-container i::before {
  font-size: 12px;  /* Reduce icon size */
}
}



#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e4c00; /* Light shade of green */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gif-container {
  margin-bottom: 15px;
}

.loading-text {
  color: rgb(255, 255, 255);
  font-weight: bold;
  letter-spacing: 2px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.card-box-content {
   
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card-box-content:hover {
    background-color: #f8f9fa; /* Light gray background */
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}


/* header 2 */

@media (max-width: 991px) {
  .display-block-header {
    display: none;
  }
}