/* Ensure the body spans the full height of the viewport */
body {
  font-family: "Montserrat", sans-serif; /* Use Montserrat font */
  display: flex; /* Enable flexbox for layout */
  flex-direction: column; /* Stack elements vertically */
  min-height: 100vh; /* Ensure the body takes the full height of the viewport */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Main content area */
main {
  flex: 1; /* Allow the main content to grow and push the footer down */
}

.navbar-nav .nav-item.dropdown .dropdown-toggle::after {
  display: none;
}

/* Body top background color */
body::before {
  display: block;
  content: "";
  height: 100px; /* Adjust height as needed */
  background-color: #a40000; /* Set background color */
}

.back-announce:hover {
  /* background-color: rgba(223,148,23,0.5) !important;*/
  background-color: rgba(126, 21, 26, 0.5) !important;
  /*color: #7e151a !important;*/
}

.bg-announce:hover {
  background-color: #df9417 !important;
  color: #ffff;
}

.menu-hover:hover {
  background-color: #df9417 !important;
  color: #a40000 !important;
}

.dropdown-multi-level {
  position: relative;
}
.dropdown-multi-level .submenu-multi-level {
  position: absolute !important;
  left: 100%;
  top: -22px;
}

.dropdown-multi-level .dropdown-toggle {
  /* padding: 0.25rem 1.1rem !important; */
  padding-left: 1.5rem !important;
  padding: 0.5rem 1.5rem; /* Increase padding for better spacing */
  line-height: 1.5; /* Increase line height for readability */
  border-radius: 0rem; /* Slightly rounded corners */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
  margin-bottom: 0.5rem; /* Add spacing between items */
  margin-top: 0.5rem; /* Add spacing between items */
}

.dropdown-menu .submenu-left {
  right: 100%;
  left: auto;
}

@media screen and (max-width: 767px) {
  .dropdown-multi-level .submenu-multi-level {
    position: static !important;
  }
  .pad-left {
    padding-left: 30px !important;
  }
}

/* Dropdown item styling */
.dropdown-item {
  padding: 0.5rem 1.5rem; /* Increase padding for better spacing */
  line-height: 1.5; /* Increase line height for readability */
  border-radius: 0rem; /* Slightly rounded corners */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
  margin-bottom: 0.5rem; /* Add spacing between items */
  margin-top: 0.5rem; /* Add spacing between items */
}

/* Dropdown menu styling */
.dropdown-menu {
  border-top: 3px solid #f8a41a;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-item .nav-link.active {
  background-color: #a40000 !important;
  color: white !important;
}

.top-80 {
  top: 80% !important;
}

.swiper {
  width: 100%;
  height: 300px;
}

.mySwiperCards {
  width: 100%;
  height: 420px;
}

.swiper-slider {
  background-color: #ffffff; /* Optional background color */
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center; /* Horizontally center the logo */
  align-items: center; /* Vertically center the logo */
  text-align: center; /* Ensure text (if any) is centered */
}

.swiper-img {
  max-height: 250px !important;
  max-width: 100%;
  object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
  color: #a40000 !important; /* Set button color to white */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #f8a41a !important; /* Optional: Change color on hover */
}

/* Change Swiper pagination bullet color */
.swiper-pagination-bullet {
  background-color: #a40000 !important; /* Default color for bullets */
  opacity: 1; /* Ensure full visibility */
}

/* Change Swiper pagination bullet color on active state */
.swiper-pagination-bullet-active {
  background-color: #f8a41a !important; /* Active bullet color */
  transform: scale(1.2); /* Optional: Slightly enlarge the active bullet */
}

/* Change accordion button background color on hover */
.accordion-button:hover {
  background-color: #f8a41a; /* Set hover background color */
  color: #a40000; /* Set font color to #a40000 */
}

/* Change the arrow color on hover */
.accordion-button:hover::after {
  color: #a40000; /* Change arrow color to #a40000 on hover */
}

/* Default arrow color */
.accordion-button::after {
  color: #a40000; /* Set default arrow color */
}

.accordion {
  --bs-accordion-active-bg: #f8a41a;
  --bs-accordion-active-color: #a40000;
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item {
  border: 0; /* Remove borders */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow */
  margin-bottom: 1.5rem; /* Add spacing below each item (equivalent to mb-3) */
  background-color: #f8f9fa; /* Bootstrap's bg-body color */
  border-radius: 0.5rem; /* Add rounded corners */
}

/* Custom hover styles for the button */
.custom-hover {
  color: #ffffff;
  background-color: #a40000;
  transition: all 0.3s ease;
}

.custom-hover:hover {
  background-color: #f8a41a;
  color: #a40000;
}

/* Custom hover styles for the button */
.main-btn-custom-hover {
  color: #a40000;
  background-color: transparent;
  border: none;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.main-btn-custom-hover:hover {
  background-color: #f8a41a;
  color: #a40000;
}

/* Default pagination button styles */
.pagination .page-link {
  color: #a40000; /* Set text color to #a40000 */
  border: 1px solid #a40000; /* Set border color to #a40000 */
  background-color: transparent; /* Transparent background */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Active pagination button styles */
.pagination .page-item.active .page-link {
  color: #f8a41a; /* White text for active button */
  background-color: #a40000; /* Background color for active button */
  border-color: #a40000; /* Border color for active button */
}

/* Hover effect for pagination buttons */
.pagination .page-link:hover {
  color: #f8a41a; /* White text on hover */
  background-color: #a40000; /* Background color on hover */
  border-color: #a40000; /* Border color on hover */
}

/* Add this to your CSS file or inside a <style> block */
.apply-now-btn {
  color: #a40000;
  background-color: #f8a41a;

  font-weight: bold;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
  transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
}

.apply-now-btn:hover {
  background-color: #f8a41a; /* Keep the same background color */
  color: #ffff; /* Change text color on hover */
  animation: bounce 0.5s; /* Duration of the bounce animation */
}

.btn-library {
  color: #fff;
  background-color: #a40000;

  font-weight: bold;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
  transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
}

.btn-library:hover {
  background-color: #f8a41a; /* Keep the same background color */
  color: #a40000; /* Change text color on hover */
  animation: bounce 0.5s; /* Duration of the bounce animation */
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Previous button (left arrow) */
.carousel-control-prev-icon {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23a40000" viewBox="0 0 16 16"><path d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>'); /* Left arrow */
  background-size: 100%; /* Ensure proper size */
  background-repeat: no-repeat;
  background-position: center;
  width: 2rem; /* Adjust the size */
  height: 2rem;
}

/* Next button (right arrow) */
.carousel-control-next-icon {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23a40000" viewBox="0 0 16 16"><path d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>'); /* Right arrow */
  background-size: 100%; /* Ensure proper size */
  background-repeat: no-repeat;
  background-position: center;
  width: 2rem; /* Adjust the size */
  height: 2rem;
}

/* Hover effect for the icons */
.carousel-control-prev-icon:hover {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23f8a41a" viewBox="0 0 16 16"><path d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>'); /* Left arrow hover */
}

.carousel-control-next-icon:hover {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23f8a41a" viewBox="0 0 16 16"><path d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>'); /* Right arrow hover */
}

/* Change the active indicator color */
.carousel-indicators .active {
  background-color: #f8a41a !important; /* Set the active indicator color */
}

/* Optional: Change the default indicator color */
.carousel-indicators button {
  background-color: #a40000 !important; /* Default color for inactive indicators */
  opacity: 1; /* Ensure full visibility */
}

.carousel-indicators button:hover {
  background-color: #f8a41a !important; /* Change color on hover */
}

/* Default accordion arrow color (down arrow) */
.accordion-button::after {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23a40000" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>'); /* Down arrow */
  background-size: 1.5rem 1.5rem; /* Adjust the size of the arrow */
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(0deg); /* Default state (down arrow) */
  transition: transform 0.2s ease, background-image 0.2s ease; /* Smooth rotation and image change */
}

/* Change the arrow to up and set its color when expanded */
/* .accordion-button:not(.collapsed)::after {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23a40000" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 11.354a.5.5 0 0 1 .708 0L8 5.707l5.646 5.647a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1-.708 0l-6 6a.5.5 0 0 1 0 .708z"/></svg>');
  transform: rotate(0deg);
  background-size: 1.5rem 1.5rem;
} */

/* Global Footer Styles */
footer {
  font-size: 14px; /* Set a consistent font size */
  line-height: 1.5; /* Adjust line height for readability */
}

/* Footer styles */
#footer_1,
#footer_2 {
  width: 100%; /* Ensure the footer spans the full width */
}

#footer_1 {
  background: #5c5c5c; /* Dark gray background */
  padding: 100px 0; /* Add vertical spacing */
  color: #ffffff; /* White text */
}

#footer_1 a {
  color: #f8a41a; /* Highlight links with golden color */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth hover effect */
}

#footer_1 a:hover {
  color: #ffffff; /* Change link color to white on hover */
}

#footer_2 {
  background: #a40000; /* Red background */
  color: #ffffff; /* White text */
  padding: 20px 0; /* Add vertical spacing */
}

#footer_2 a {
  color: #f8a41a; /* Highlight links with golden color */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth hover effect */
}

#footer_2 a:hover {
  color: #ffffff; /* Change link color to white on hover */
}

/* Social Media Icons */
#footer_1 .icon-margin {
  margin: 0 10px; /* Add spacing between icons */
  transition: transform 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

#footer_1 .fa-lg:hover {
  transform: scale(1.2); /* Slightly enlarge icons on hover */
  color: #f8a41a !important; /* Change icon color on hover */
}

/* Custom border for the image (flat design) */
.border-banner {
  border-radius: 0; /* Remove rounded corners */
  box-shadow: none; /* Remove shadow */
  transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Hover effect for the image */
.border-banner:hover {
  transform: scale(1.05); /* Slightly enlarge the image on hover */
}

/* Uniform button styling with fixed height and width */
.btn-uniform {
  width: 270px; /* Set a fixed width for all buttons */
  height: 40px; /* Set a fixed height for all buttons */
  padding: 0; /* Remove extra padding */
  font-size: 16px; /* Set a consistent font size */
  text-align: center; /* Center-align the text */
  line-height: 40px; /* Vertically center the text */
  color: #ffffff; /* Default text color */
  background-color: rgba(164, 0, 0, 0.9); /* Slightly transparent background */
  border: none; /* Remove border */
  border-radius: 5px; /* Add rounded corners */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
  display: inline-block; /* Ensure proper alignment */
  overflow: hidden; /* Prevent text overflow */
  white-space: nowrap; /* Prevent text wrapping */
}

/* Hover effect */
.btn-uniform:hover {
  background-color: rgba(
    248,
    164,
    26,
    0.9
  ); /* Slightly transparent hover background */
  color: #a40000; /* Change text color on hover */
}

.zoomist-container {
  width: 100%;
  max-width: 100%;
}

/* .zoomist-image {
  width: 100%;
  aspect-ratio: 1;
} */

.zoomist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
