/* Reset some default styles */
body,
html {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* header */
/* Header style */
.navbar-brand img {
    height: 100px;
}

.nav-link {
    font: var(--body-text);
    color: #1D4358;
}

.nav-link.active,
.nav-link:hover {
    color: #F59856 !important;
}

/* Profile Icon */
.profile-icon img {
    width: 30px;
    height: 30px;
}

/* header */

/* Section 1 */
#home-hero {
    background-image: url('../images/banner-image/home-hero-banner.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    background-color: hsl(0deg 0% 0% / 50%);
    background-blend-mode: overlay;
}


/* Section 2 */

#filter-box-section .filter-box {
    background: #dedede33;
    box-shadow: 0 5px 20px #1d43584d;
    border-radius: 20px;
    padding: 47px;
    margin: -60px 0px 40px;
    max-width: 1195px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(30px);
    border: 1px solid #ffffff4d;
}

#filter-box-section .filter-box-items {
    gap: 10px;
}

#filter-box-section .filter-item {
    border-bottom: 1px solid var(--accent-color);
    padding: 10px 15px;
    min-width: 150px;
    width: 250px !important;
}

#filter-box-section .filter-item label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

#filter-box-section .select2 {
    padding: 0px !important;
}

#filter-box-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0px !important;
    font: var(--placeholder-text) !important;
}

#filter-box-section .select2-container--default .select2-selection--single {
    border-radius: 10px !important;
    border: 0px !important;
}

#filter-box-section .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

#filter-box-section .select2-selection__rendered {
    line-height: 22px !important;
    font-weight: 500;
}

#filter-box-section .select2-container .select2-selection--single {
    height: 20px !important;
}

#filter-box-section .or-divider {
    height: 40px;
    width: 40px;
    font: var(--font600-text-16);
    right: -25px;
    top: 10px;
}

/* Section 3 */
#join-shared-safari img.card-img-top {
    aspect-ratio: 2/1;
    object-fit: cover;
    object-position: center;
}

.join-safari-card-box .card h4 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.join-safari-card-box .card-title,
.join-safari-card-box .card-body-inner {
    border-color: var(--card-lines-divider) !important;
}

.highlights-list div {
    width: 140px;
}

.count-days {
    background: var(--primary-color);
    border-radius: 6px;
}

.count-days span {
    font: var(--placeholder-text);
    line-height: 28px !important;
}

.join-safari-card-box .card .card-body-inner {
    padding: 14px;
}

.cityplace-text {
    font: var(--medium-14-text);
    color: var(--primary-color-muted);
}

.card-list-text img {
    width: 22px;
    height: 22px;
}

.card-list-text p {
    font: var(--medium-14-text);
    color: var(--text-dark);
}

.knowfor-list h6 {
    font: var(--medium-14-text);
    color: var(--muted-color);
}

.knowfor-list .card-list-text img {
    height: 14px;
    width: 14px;
}

.starting-price p {
    font: var(--font600-text-16);
    color: var(--text-dark);
}

.starting-price span {
    font: var(--font400-text-16);
    color: var(--text-dark);

}

.price-container a {
    font: var(--font600-text-16);
}

.join-safari-card-box:hover .card-body {
    box-shadow: 0px 2px 8px 0 var(--hover-card);
    transition: 0.3s ease;
}

/* Section 4 */
#top-safari-park-owl .owl-item p {
    font: var(--body-text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#top-safari-park-owl .owl-item img {
    aspect-ratio: 1/1;
    width: 300px;
    height: 300px;
    box-shadow: 0 4px 4px 0 hsl(0deg 0% 0% / 25%);
}

#top-safari-park-owl .owl-slide {
    width: 340px;
}

#top-safari-park-owl .owl-slide h3 {
    color: var(--accent-color);
}

/* Section 5 */
.why-choose-text p {
    font: var(--body-text);
    color: var(--text-dark);
}

.why-choose-text p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.why-choose-text span {
    font: var(--placeholder-text);
}

.key-highlight {
    background: var(--grey-bg-muted);
}

.key-highlight img {
    height: 60px;
}

.animal-image-container .small-img {
    right: 0px;
    bottom: 0px;
    border-top: 7px solid white;
    border-left: 7px solid white;
    width: 160px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: left;
}

.image-line {
    height: 10px;
    width: 170px;
    background: var(--accent-color);
    bottom: 160px;
    left: 0px;
}

/* section 6 */
.text-content-deal p {
    font: var(--body-text) !important;
}

#dealsdiscount .owl-carousel .item {
    padding: 0px;
}

#dealsdiscount .card-image {
    object-fit: cover;
    aspect-ratio: 1.5/1;
}

#dealsdiscount .price-discount {
    background: var(--primary-color);
    padding: 5px 20px;
    font: var(--link-text);
    color: #fff;
    border-radius: 6px;
    text-align: center;
    position: absolute;
    top: -40px;
    right: 10px;
}

.dealsdiscount-container {
    box-shadow: 4px 4px 4px 0px var(--primary-color);
    border-radius: 20px 70px 10px 20px;
    bottom: 10px;
    left: 20px;
    width: 90%;
}

.dealsdiscount-container p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dealsdiscount-container a:hover i {
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* New design css section 6 */

.sale-card {
    /* border: 1px solid #ddd; */
    border-radius: 10px;
    overflow: hidden;
    /* max-width: 300px; */
    /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.05); */
}

.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    background: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.badge-discount::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px dashed #fff;
    animation: rotateBorder 10s linear infinite;
    z-index: -1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sale-card .image-container {
    position: relative;
}

.sale-card .image-container img {
    width: 100%;
    /* height: auto; */
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.sale-card .card-body {
    padding: 15px;
}

.sale-card .card-title {
    font: var(--card-text20);
    color: var(--primary-color);
}

.sale-card .card-text {
    font: var(--placeholder-text);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sale-card .time-left {
    font: var(--small-text);
}

.sale-card .btn-get {
    font: var(--small-text);
    padding: 4px 10px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
}


/* Section 7 */

/* Align nav buttons horizontally in heading */
#guest-reviews .viewall-link .owl-nav {
    display: flex;
}

#guest-reviews .viewall-link .owl-nav button {
    background: none;
    border: none;
    padding: 0;
}

/* Optional: Add hover effect */
#guest-reviews .viewall-link .owl-nav button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

#guest-reviews .guest-review-container {
    background: var(--grey-bg-muted);
}

#guest-reviews .guest-review-container p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#guest-reviews .guest-review-container .userimg {
    height: 80px;
    width: 80px !important;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 4px 0px #00000040;
    right: 30px;
    top: -40px;
}

.guest-review-container h6 {
    font: var(--link-text);
    border-color: var(--accent-color) !important;
}

.guest-review-container p {
    font: var(--body-text);
}

.guest-star-rating img {
    width: 20px !important;
    height: 20px;
}

.guest-star-rating {
    background: var(--primary-color);
    width: 143px;
    border-radius: 0px 10px 0px 20px;
    gap: 2px;
}

/* Section 8 */
#recent-blogs p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--font400-text-16);
}

#recent-blogs .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--link-text);
}

#recent-blogs img.card-img-top {
    aspect-ratio: 16/7;
}

.recent-blogs-mobile {
    aspect-ratio: 1/1;
    height: 168px;
    object-fit: cover;
}

#recent-blogs .card:hover .card-body {
    box-shadow: 0px 2px 8px 0 var(--hover-card);
    transition: 0.3s ease;
}

/* Section 9 */
.species-big img {
    width: 100%;
    aspect-ratio: 3/4;
}

.species-medium img {
    width: 100%;
    aspect-ratio: 1/1;
}

.species-small img {
    width: 100%;
    aspect-ratio: 3/2;
}

#safari-species .species-big:hover img,
#safari-species .species-small:hover img,
#safari-species .species-medium:hover img {
    transition: transform 0.3s ease-in-out;
    transform: scale(1.05);
}

.species-big:hover,
.species-smal:hover,
.species-medium:hover {
    box-shadow: 0px 2px 10px 0px var(--hover-card);
    transition: transform 0.3s ease-in-out;
}

/* footer */
.site-footer {
    background: url('../images/footer_bg.png') no-repeat center center/cover;
    color: white;
}

.footer-logo img {
    width: 100px;
}

.footer-section h3 {
    font-family: "Spectral", serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.border-half {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #fff;
}

.footer-ul {
    list-style: none;
    padding: 0;
}

.footer-ul li a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.footer-ul li a:hover,
.footer-ul li a.active {
    color: #F59856;
}

.safarilogo {
    width: 30px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
}

/* footer */
.custom-dropdown {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: var(--placeholder-text);
    background-color: #fff;
    background-position: right 0px center;
    background-size: 40px 12px;
}

.select-filter-box p,
.clear-all-btn a {
    font: var(--font600-text-16);
}


.filter-sidebar {
    font-size: 14px;
    background-color: #f8f9fa;
    position: sticky;
    top: 10px;
    z-index: 10;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 20px;
}

.form-select {
    font: var(--placeholder-text)
}



.range-slider {
    position: relative;
    height: 35px;
}

.range-slider .slider-track {
    position: absolute;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #ddd;
    width: 100%;
    border-radius: 3px;
    z-index: 1;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: none;
    height: 35px;
    z-index: 2;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color, #052c65);
    border: none;
    -webkit-appearance: none;
}

.range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color, #052c65);
    border: none;
}


@media (max-width: 576px) {
    .custom-dropdown {
        width: 100%;
    }
}

/* Sticky sidebar for desktop */
@media (min-width: 768px) {
.filter-sidebar-wrapper {
    position: sticky;
    top: 0px;
    z-index: 10;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}

@media (max-width: 767px) {
.filter-sidebar-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    height: 100vh;
    background: #fff;
    z-index: 1055;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .filter-sidebar-wrapper.active {
    left: 0;
  }

}
/* Optional: scrollbar styling */