/********** Template CSS **********/
:root {
    --primary: #2d3566; 
    --secondary: #2d3566;
    --light: #F2F2F2;
    --dark: #111111;
    --clear: #1111117c;
}

body {
  overflow-x: hidden;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 120;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-brand.logo-image img {
    width: 7.5rem;
    height: 4.0rem;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Add styles for small screens */
@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
        position: relative;
        top: 100%;
        left: 0;
        z-index: 1000;
        width: 100%; /* Set dropdown menu to full width */
        
        border-radius: 0; /* Remove border radius */
        
        transition: all 0.3s ease; /* Add smooth transition on hover */
        color: #000000; /* Set font color to black */
    }

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }
}

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }




/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .25);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 100%;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}



.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/Content/h4.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/2.webp) center center no-repeat;
    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/


.team-item .team-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  transform: scale(0);
  transition: .5s;
}

.team-item img {
    /* Set the desired width and height for the images */
    width: 100%; /* Adjust as needed */
    height: 400px; /* Adjust as needed */
    object-fit: cover; /* Maintain aspect ratio and crop if necessary */
  }
  

.team-item:hover .team-overlay {
    transform: scale(1);
    
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/7.webp) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.bottom-bar {
    background-color: #3333330d; /* Background color of the bottom bar */
    color: #ffffffc4; /* Text color */
    text-align: center; /* Center-align text */
    padding: 10px 0; /* Padding for top and bottom */
    position: fixed; /* Fixed positioning */
    width: 100%; /* Full width */
    bottom: 0; /* Stick to the bottom */
}

/* Optional: Add some styles to make it visually appealing */
.bottom-bar p {
    margin: 0;
    font-size: 18px;
}

.alert{
    width: 100%;
    background-color: rgb(142, 211, 142);
    color: #353535a2;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    display: none;
    
}


.whatsapp-float {
	position: fixed;
	width: 55px;
	height: 55px;
	bottom: 60px; /* Remove bottom positioning */
	right: 55px;
	background-color: #25d366;
	align-items: center;
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center content horizontally */
	color: #FFF;
	border-radius: 60px;
	text-align: center;
	font-size: 42px;
	
	  /* Shadow effects */
	  box-shadow: 0 2px 5px #4196a0; /* Subtle shadow */
	  transition: all 0.3s ease; /* Add smooth transition on hover */
	
	z-index: 100;
	justify-content: center; /* Add justify-content: center for horizontal centering */
	align-content: center; /* Add align-content: center for vertical centering */
  }
  
  .fa-whatsapp {
	line-height: 55px;
  }
  .whatsapp-float:hover {
	/* Optional hover effect */
	transform: translateY(-3px); /* Slight bounce on hover */
	box-shadow: 0 5px 10px #2d3566; /* Increase shadow on hover */
  }
  
  
.flashing-topbar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;  /* Full width */
    height: 50px;  /* Adjust height as needed */
    background: linear-gradient(to right, #2d3566, #4196a0);
    text-align: center;
    color: white;
    z-index: 100;  /* Ensure the bar stays on top */
    
  }
  
  .topbar-text {
    font-size: 18px;  /* Adjust font size as needed */
    line-height: 50px;  /* Match the height of the top bar */
    animation: flash 1s linear infinite;  /* Animation for flashing effect */
  }
  
  @keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }
  

  .basic-4 {
	padding-top: 4rem;
	padding-bottom: 3rem;
	background-color: #fbf9f5;
}

.basic-4 h2 {
	margin-bottom: 2.75rem;
	text-align: center;
}

.basic-4 .image-container {
	margin-bottom: 2rem;
}

.basic-4 .image-container img {
	border-radius: 0.75rem;
}

.basic-4 .video-wrapper {
	position: relative;
}

/* Video Play Button */
.basic-4 .video-play-button {
	position: absolute;
	z-index: 10;
	top: 50%;
	left: 50%;
	display: block;
	box-sizing: content-box;
	width: 2rem;
	height: 2.75rem;
	padding: 1.125rem 1.25rem 1.125rem 1.75rem;
	border-radius: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
  
.basic-4 .video-play-button:before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 50%;
	left: 50%;
	display: block;
	width: 4.75rem;
	height: 4.75rem;
	border-radius: 50%;
	background: #b53744d9;
	animation: pulse-border 1500ms ease-out infinite;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
  
.basic-4 .video-play-button:after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	display: block;
	width: 4.375rem;
	height: 4.375rem;
	border-radius: 50%;
	background: #b53743;
	transition: all 200ms;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.image-container {
    /* Set desired height for the container */
    height: 85vh; /* Adjust as needed */
    overflow: hidden; /* Hide overflowing content */
    position: relative; /* Ensure proper positioning of image */
}

.image-container img {
    /* Maintain image aspect ratio */
    object-fit: cover;
    width: 100%; /* Ensure image fills entire container */
    height: 100%; /* Ensure image fills entire container */
    position: absolute; /* Position image relative to its container */
    top: 0; /* Align image to top of container */
    left: 0; /* Align image to left of container */
}

  
.basic-4 .video-play-button span {
	position: relative;
	display: block;
	z-index: 3;
	top: 0.375rem;
	left: 0.25rem;
	width: 0;
	height: 0;
	border-left: 1.625rem solid #fff;
	border-top: 1rem solid transparent;
	border-bottom: 1rem solid transparent;
}
  
@keyframes pulse-border {
	0% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
		opacity: 0;
	}
}

/* Date Section */
.basic-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #f8f9fa;
    text-align: center;
}

.basic-5 h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #343a40;
}

.basic-5 p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #6c757d;
    padding: 1.25rem 2.5rem;
    font-family: "Lato", sans-serif; /* Example font for body text */
}

.basic-5 .btn-solid-lg {
    display: inline-block;
    font-size: 1.2rem;
    padding: 1.25rem 2.5rem;
    border-radius: 3rem;
    text-transform: uppercase;
    background-color: #2d3566;
    color: #fff;
    border: 2px solid #2d3566;
    transition: all 0.3s ease-in-out;
}

.basic-5 .btn-solid-lg:hover {
    background-color: #394473;
    border-color: #394473;
}

/* Calendar Container */
.calendar-container {
    text-align: center;
    padding: 3rem 0;
}

.calendar-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #343a40;
}

.calendar-container iframe {
    width: 100%;
    max-width: 900px;
    height: 800px;
    border: none;
}
.container-tiles {
    background-color: #ffffdd00;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px auto;
    width: 85%; /* Adjust width as needed */
}

.tile {
    background-color: #ffffffee;
    border: 2px solid #9a7377d9;
    padding: 2%;
    margin: 10px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    background-size: cover; /* Adjust background size as needed */
    transition: background-color 0.3s ease-in-out; /* Add transition for hover effect */
    width: calc(33.33% - 70px); /* Adjust width for gutters */
}


  
  /* Styles for small screens */
  @media only screen and (max-width: 768px) {
    .tile h2 {
      font-size: 4vw; /* Increase font size for small screens */
    }
  }
  
  
  .tile:hover {
    background-color: #ffffff; /* Change background color on hover */
    border: 3px solid #2d3566;
    cursor: pointer; /* Optional: Change cursor to pointer on hover */
    transform: translateY(-10px) scale(1.03); /* Corrected syntax */
  }
  
  
  @media (max-width: 768px) {
    .container {
      flex-direction: row; /* Keep tiles in a row on small screens */
    }
    .tile {
      width: calc(50% - 20px); /* Adjust width for 2 columns */
    }
  }
  .container-tiles .tile a {
    padding-top: 100px; /* Adjust padding as needed */
  }
  

  .scrolling-background {
    background-image: url(../img/2.webp); /* Replace with your image path */
    background-attachment: fixed; /* Keep background fixed during scrolling */
    background-size: cover; /* Adjust background size as needed */
    height: 500px; /* Set a height for the section */
    position: relative; /* Enable positioning for content (optional) */
  }
  
  .lightbox {
    display: none;
    position: fixed; /* Ensures lightbox stays on top of content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Adjust opacity for desired transparency */
    z-index: 150;
    
    /* Backdrop blur for modern browsers */
    backdrop-filter: blur(3px); /* Adjust blur amount as needed */
  }
  
  
  
  .lightbox ul{
    color: #c9c9c9;
  }
  .lightbox-image {
    display: block;
    margin: auto; /* Automatically centers the image horizontally */
    max-width: 90%; /* Adjust as needed for wider image support */
    max-height: 90%; /* Adjust as needed for taller images */
    position: absolute;
    
    left: 50%;
    transform: translate(-50%, -50%); /* Centered by default */
    box-shadow: 0 2px 5px #ffffff; /* Subtle shadow */
    border-radius: 20px;
  }
  
  /* Adjustments for small screens (phones - up to 768px) */
  @media only screen and (max-width: 768px) {
    .lightbox-image {
      max-height: 80%; /* Adjust for potential cropping on smaller screens */
      top: 30%;
    }
  }
  
  /* Adjustments for medium/large screens (tablets and computers) */
  @media only screen and (min-width: 768px) {
    .lightbox-image {
        top: 50%;
      /* Remove unnecessary margin-top and transform for default centering */
    }
  }
  
  .lightbox-box {
    display: block;
    position: fixed; /* Ensures box stays fixed on scroll */
    
    border-radius: 20px;
    background-color: rgba(17, 17, 17, 0.8); /* Semi-transparent black background */
    padding: 25px; /* Add padding for content within the box */
    max-width: 90%; /* Adjust as needed for wider content on larger screens */
    max-height: 80%; /* Adjust as needed for taller content on larger screens */
  }
  
  /* Adjustments for small screens (phones - up to 768px) (optional) */
  @media only screen and (max-width: 767px) {
    .lightbox-box {
      /* Minor adjustments for potential layout changes on small screens */
      max-height: 90%; /* Adjust as needed */
      background-color: rgba(17, 17, 17, 0); /* Semi-transparent black background */
      top: 50%;
      margin: 0 auto; /* Centers horizontally without affecting vertical placement */
    }
  }

  @media only screen and (min-width: 767px) {
    .lightbox-box {
      /* Minor adjustments for potential layout changes on small screens */
      top: 60%;
      right: 50%;
      transform: translate(50%, 0);
      max-height: 90%; /* Adjust as needed */
      background-color: rgba(17, 17, 17, 0.8); /* Semi-transparent black background */
      display: flex; /* Enable flexbox for the element */
      justify-content: center; /* Center horizontally */
      align-items: center; /* Center vertically */
    }
  }
  
  
  /* No separate media queries for medium/large screens */
  
  
  

  @media only screen and (max-width: 768px) {
    .lightbox-box h3{
      text-align: center;
    }
  }
  .lightbox-button {
    position: absolute;
    color: #fff; /* White color for better contrast */
    font-size: 1rem; /* Base font size */
    border: none; /* Remove default button border */
    border-radius: 5px; /* Add rounded corners */
    cursor: pointer;
    z-index: 150;
    text-decoration: none; /* Remove underline if applicable */
    left: 25%;
    
  }
  
  /* Responsive positioning */
  @media only screen and (max-width: 768px) {
    .lightbox-button {
      bottom: 15%; /* Position from bottom 1/3rd on small screens */
      margin-top: 0; /* Reset margin-top */
      left: 30%;
    }
  }
  
  /* Responsive positioning */
  @media only screen and (min-width: 769px) {
    .lightbox-button {
      bottom: 15%; /* Position from bottom 1/3rd on large screens */
      left: 50%;
      margin-top: 0; /* Reset margin-top */
      transform: translate(50%, 0);
    }
  }
  
  

  .lightbox-close:hover {
    opacity: 0.7;
    z-index: 150;
  }
  .collage {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center; /* Vertically center content */
  }
  .collage-item {
    position: relative;
    flex: 0 0 calc(20% - 10px); /* Adjust based on desired number of images per row */
    margin: 5px; /* Adjust margin as needed */
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center content */
    
  }
  
  .collage-item img {
    max-width: 100%;
    max-height: auto;
    width: 100%; /* Adjust as needed */
    height: 400px; /* Adjust as needed */
    object-fit: cover; /* Maintain aspect ratio and crop if necessary */
  
    
    transition: transform 0.5s ease-in-out;
    justify-content: center;
    align-items: center; /* Vertically center content */
 
}

  
  .collage-item:hover img {
    transform: scale(1.05); /* Adjust scale factor for hover effect */
  }
  
  .collage-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 16px; /* Adjust font size as needed */
  }
  
  .collage-item:hover::after {
    opacity: 1;
  }
  
  .offer_section {
    padding: 50px 0; /* Padding for top and bottom */
}

.offer_section .row > div {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.offer_section .box {
    position: relative;
    overflow: hidden;
    margin: 10px;
    height: 100%;
    min-height: 175px;
}

.offer_section .box img {
    width: 100%;
    min-height: 100%;
    display: block;
}

/* Styles for small screens */
@media (max-width: 767px) {
  .offer_section .detail-box {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.45); /* Slightly darker overlay for better visibility on small screens */
      color: #ffffff;
      padding: 15px; /* Reduced padding for small screens */
      text-align: center;
      transition: background-color 0.3s ease;
  }
}

/* Styles for large screens */
@media (min-width: 768px) {
  .offer_section .detail-box {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.45); /* Lighter overlay for large screens */
      color: #ffffff;
      padding: 25px; /* Standard padding for large screens */
      text-align: center;
      transition: background-color 0.3s ease;
  }
}


.offer_section .detail-box h1,
.offer_section .detail-box h2,
.offer_section .detail-box h3 {
    margin: 0;
    padding: 10px 0;
    text-transform: uppercase;
    font-weight: bold;
    color: white; /* Vibrant color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow */
}

.offer_section .detail-box h1 {
    font-size: 3rem;
}

.offer_section .detail-box h2 {
    font-size: 2rem;
}

.offer_section .detail-box h3 {
    font-size: 1.5rem;
}

.offer_section .detail-box a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background-color: #4196a0; /* Button color */
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.offer_section .detail-box a:hover {
    background-color: #2d3566; /* Button hover color */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.offer_section .box.offer-box1 {
    min-height: 225px;
}

.offer_section .box.offer-box1 .detail-box {
    justify-content: flex-start;
}

.offer_section .box.offer-box2 .detail-box,
.offer_section .box.offer-box3 .detail-box {
    align-items: flex-end;
    justify-content: flex-end;
}

.offer_section .box.offer-box2 .detail-box h2,
.offer_section .box.offer-box3 .detail-box h2 {
    font-size: 2rem;
}



@media (max-width: 767px) {
    .offer_section .detail-box {
        padding: 15px;
    }

    .offer_section .detail-box h1 {
        font-size: 2rem;
    }

    .offer_section .detail-box h2 {
        font-size: 1.5rem;
    }

    .offer_section .detail-box h3 {
        font-size: 1.2rem;
    }
}


.blog_section .heading_container {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.blog_section .heading_container h2::before {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.blog_section .box {
  margin-top: 55px;
  background-color: #f1f2f3;
}

.blog_section .box .img-box {
  position: relative;
}

.blog_section .box .img-box .blog_date {
  position: absolute;
  left: 25px;
  bottom: -15px;
  padding: 10px 15px;
  font-size: 18px;
  background-color: #160e0b;
  margin: 0;
  text-align: center;
  border: 3px solid #ffffff;
  color: #ffffff;
}

.blog_section .box .img-box img {
  width: 100%;
}

.blog_section .box .detail-box {
  margin-top: 10px;
  padding: 25px;
}

.blog_section .box .detail-box h5 {
  font-weight: bold;
}

.blog_section .box .detail-box p {
  font-size: 15px;
}

.blog_section .box .detail-box a {
  display: inline-block;
  padding: 10px 30px;
  background-color: transparent;
  color: #160e0b;
  border-radius: 0;
  border: 1px solid #160e0b;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.blog_section .box .detail-box a:hover {
  background-color: #160e0b;
  color: #ffffff;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px auto;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 200px; /* Flex-grow and flex-shrink with a base size */
  min-width: 150px;
}

.filter-bar span {
  font-weight: 600;
  color: #333;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #0056b3;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

.select-container {
  position: relative;
}

.select-container select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"%3E%3Cpath 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"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 30px;
}

header {
  width: 100%;
  padding: 10px;
  background-color: #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.filters select {
  margin: 5px;
  padding: 5px;
}

#cart-button {
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

#cart-button:hover {
  background-color: #0056b3;
}

main {
  width: 100%;
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

#products {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  width: 100%;
  max-width: 1200px;
}

.product {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  background-color: #fff;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  max-width: 100%;
  height: auto;
  flex: 0 0 100%;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.product button {
  padding: 10px;
  margin-top: 10px;
  background-color: #28a745;
  color: #fff;
  border: none;
  cursor: pointer;
}

.product button:hover {
  background-color: #218838;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  margin: auto;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
}

.cart-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item div {
  display: flex;
  align-items: center;
}

.cart-item button {
  margin: 0 5px;
  padding: 5px 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

.cart-item button:hover {
  background-color: #0056b3;
}

.cart-item .quantity {
  margin: 0 10px;
}

#cart-total {
  margin-top: 20px;
  font-weight: bold;
}

#clear-cart {
  margin-top: 10px;
  padding: 10px;
  background-color: #dc3545;
  color: #fff;
  border: none;
  cursor: pointer;
}

#clear-cart:hover {
  background-color: #c82333;
}

/* Ensure maximum of 5 items per row */
@media (min-width: 1200px) {
  #products {
      grid-template-columns: repeat(3, 1fr);
  }
}
