/********** Template CSS **********/
:root {
    --primary: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** 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-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}


.navbar .navbar-nav .nav-link.active::after {
    background-color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.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);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    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;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}



/* Add this to your CSS file or style tag */
.owl-carousel .owl-carousel-item {
    position: relative;
    overflow: hidden;
}

/* Desktop - Fixed Height */
@media (min-width: 992px) {
    .owl-carousel .owl-carousel-item img {
        width: 100%;
        height: 90vh; /* Adjust this value as needed */
        object-fit: cover;
        object-position: center;
    }
    
    .owl-carousel-inner {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
    }
}



/* Optional: Adjust content positioning */
.owl-carousel-inner .container {
    width: 100%;
}

/* Ensure text remains readable */
.display-1 {
    font-size: calc(1.5rem + 3vw);
    line-height: 1.2;
}




/* Footer Partners Image Sizing */
.footer-partners img {
    height: 25px !important; /* Reduced from 30px */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Adjust the text size to match */
.footer-partners .text-light {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .footer-partners {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
    
    .footer-partners .text-light {
        margin-right: 0;
        margin-bottom: 8px;
        width: 100%;
    }
    
    .footer-partners img {
        height: 22px !important; /* Slightly smaller on mobile */
        margin: 0 4px !important;
    }
}

/* Hover effects (optional) */
.footer-partners img:hover {
    transform: scale(1.05);
    opacity: 1;
}






  /* Safari Experiences Section - Scoped Styles */
.safari-experiences-section .section-title {
    color: #e67e22;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
    display: block;
}

.safari-experiences-section .display-5 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

/* Card Styling - Scoped to section */
.safari-experiences-section .position-relative {
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.safari-experiences-section .position-relative:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.safari-experiences-section .rounded-top {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}

.safari-experiences-section .rounded-bottom {
    border-bottom-left-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

.safari-experiences-section .bg-white {
    background-color: #fff !important;
}

/* Icon Styling - Scoped */
.safari-experiences-section .bg-light {
    background-color: #f8f9fa !important;
}

.safari-experiences-section .rounded-circle {
    border-radius: 50% !important;
}

.safari-experiences-section .text-primary {
    color: #e67e22 !important;
}

.safari-experiences-section .fa-lg {
    font-size: 1.33em;
    line-height: 0.75em;
    vertical-align: -15%;
}

/* Text Styling - Scoped */
.safari-experiences-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.safari-experiences-section p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments - Scoped */
@media (max-width: 992px) {
    .safari-experiences-section .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .safari-experiences-section .display-5 {
        font-size: 1.8rem;
    }
    
    .safari-experiences-section h3 {
        font-size: 1.3rem;
    }
}

/* Testimonial Section - Scoped */
.testimonial-section .testimonial-content p {
    color: white !important;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-section .testimonial-content span {
    color: white !important;
    font-style: italic;
}

.testimonial-section .testimonial-content h4 {
    color: white !important;
    font-weight: 600;
}

.testimonial-section .fa-quote-left {
    color: white !important;
    opacity: 0.7 !important;
}

/* Signature Safari Packages - Scoped */
.signature-safaris-section .position-relative {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.signature-safaris-section .position-relative:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.signature-safaris-section .package-img {
    height: 220px;
    overflow: hidden;
}

.signature-safaris-section .package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.signature-safaris-section .position-relative:hover .package-img img {
    transform: scale(1.05);
}

.signature-safaris-section .package-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.signature-safaris-section .package-overlay small {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.signature-safaris-section .bg-primary { background-color: #e67e22 !important; }
.signature-safaris-section .bg-success { background-color: #28a745 !important; }
.signature-safaris-section .bg-warning { background-color: #ffc107 !important; }
.signature-safaris-section .bg-info { background-color: #17a2b8 !important; }
.signature-safaris-section .bg-danger { background-color: #dc3545 !important; }
.signature-safaris-section .bg-dark { background-color: #343a40 !important; }

.signature-safaris-section .text-primary { color: #e67e22 !important; }

.signature-safaris-section .p-4 {
    padding: 1.5rem !important;
}

.signature-safaris-section .package-highlights p {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.signature-safaris-section .fa-check-circle {
    color: #e67e22;
}

.signature-safaris-section .btn-primary {
    background-color: #e67e22;
    border-color: #e67e22;
}

.signature-safaris-section .btn-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
}

@media (max-width: 768px) {
    .signature-safaris-section .package-img {
        height: 180px;
    }
    
    .signature-safaris-section .p-4 {
        padding: 1rem !important;
    }
}

.review-link {
    text-decoration: none;
    color: inherit;
}

#reviewBadge {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}

#reviewBadge:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 5px rgba(161, 119, 41, 0.1);
}

#stars {
    color: #f5d444; /* Gold/yellow color for stars */
    letter-spacing: 1px;
}

#ratingValue {
    font-weight: bold;
    margin-left: 2px;
}

#reviewCount {
    font-weight: 600;
    margin-left: 2px;
}





/* Safari Inquiry Section Styles */
.section-title {
    color: #d8c37c;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: #d8c37c;
    bottom: -5px;
    left: 25%;
}

.display-5 {
    color: #333;
    font-weight: 700;
    line-height: 1.3;
}

/* Contact Info Box Styles */
.bg-light {
    background-color: #f9f9f9 !important;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.bg-light:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Form Styles */
.form-floating > label {
    color: #777;
    padding: 0.5rem 0.75rem;
}

.form-control, .form-select {
    border: 1px solid #ddd;
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #d8c37c;
    box-shadow: 0 0 0 0.25rem rgba(216, 195, 124, 0.25);
}

textarea.form-control {
    height: auto !important;
    min-height: 120px;
}

/* Checkbox Styles */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.2em;
}

.form-check-input:checked {
    background-color: #d8c37c;
    border-color: #d8c37c;
}

.form-check-label {
    margin-left: 0.5em;
    color: #555;
}

/* Button Styles */
.btn-primary {
    background-color: #d8c37c;
    border-color: #d8c37c;
    color: #333;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #c5b269;
    border-color: #c5b269;
    transform: translateY(-2px);
}

/* Contact Icons */
.flex-shrink-0 {
    transition: all 0.3s;
}

.flex-shrink-0:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .col-lg-4, .col-lg-8 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .form-check {
        margin-bottom: 0.5rem;
    }
    
    .col-md-4, .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Animation for Form Elements */
.wow.fadeInUp {
    animation-duration: 0.8s;
}

/* List Items in Why Book With Us */
.list-unstyled li {
    padding: 0.3rem 0;
    position: relative;
}

.list-unstyled li i {
    color: #d8c37c;
    font-size: 1.1rem;
}

/* Quick Contact Links */
.text-dark {
    transition: color 0.3s;
}

.text-dark:hover {
    color: #d8c37c !important;
    text-decoration: none;
}

/* Form Group Labels */
.form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
    display: block;
}




    /* Scoped Safari Collection Styles - Modern Redesign */
    .safari-collection {
        max-width: 1200px;
        margin: 0 auto;
        padding: 5rem 2rem;
        font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        color: #2d3436;
        background: linear-gradient(to bottom, #f9f9f9 0%, #ffffff 100px);
    }
    
    /* All selectors now prefixed with .safari-collection */
    .safari-collection .collection-header {
        text-align: center;
        margin-bottom: 4rem;
        position: relative;
    }
    
    .safari-collection .collection-header::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: #e17055;
        margin: 1.5rem auto 0;
        border-radius: 2px;
    }
    
    .safari-collection .collection-subtitle {
        font-size: 1rem;
        color: #e17055;
        text-transform: uppercase;
        letter-spacing: 3px;
        margin-bottom: 1rem;
        font-weight: 600;
    }
    
    .safari-collection .collection-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: #2d3436;
        line-height: 1.2;
    }
    
    .safari-collection .collection-description {
        font-size: 1.15rem;
        line-height: 1.7;
        max-width: 800px;
        margin: 0 auto 2rem;
        color: #636e72;
    }
    
    /* Safari Cards */
    .safari-collection .safari-packages {
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
    
    .safari-collection .safari-card {
        display: flex;
        background: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
        border: 1px solid #f0f0f0;
    }
    
    .safari-collection .safari-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-color: #ffece6;
    }
    
    .safari-collection .safari-image {
        flex: 1;
        min-height: 380px;
        position: relative;
        overflow: hidden;
    }
    
    .safari-collection .safari-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.3) 100%);
        z-index: 1;
    }
    
    .safari-collection .safari-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }
    
    .safari-collection .safari-card:hover .safari-image img {
        transform: scale(1.05);
    }
    
    .safari-collection .safari-content {
        flex: 1;
        padding: 2.5rem;
        display: flex;
        flex-direction: column;
        background: #fff;
    }
    
    .safari-collection .safari-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
        color: #2d3436;
        font-weight: 700;
        position: relative;
    }
    
    .safari-collection .safari-card h3::after {
        content: '';
        display: block;
        width: 50px;
        height: 3px;
        background: #e17055;
        margin-top: 1rem;
        border-radius: 3px;
    }
    
    .safari-collection .safari-overview {
        line-height: 1.7;
        margin-bottom: 1.75rem;
        color: #636e72;
        font-size: 1.05rem;
    }
    
    .safari-collection .safari-details {
        display: flex;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .safari-collection .detail-group {
        flex: 1;
    }
    
    .safari-collection .safari-details p {
        margin-bottom: 1rem;
        display: flex;
        align-items: flex-start;
        color: #636e72;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .safari-collection .icon {
        display: inline-block;
        width: 22px;
        height: 22px;
        margin-right: 12px;
        background-size: contain;
        background-repeat: no-repeat;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .safari-collection .calendar { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e17055"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10z"/></svg>'); }
    .safari-collection .location { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e17055"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>'); }
    .safari-collection .lodge { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e17055"><path d="M17 15h2v2h-2zm0-4h2v2h-2zm0-4h2v2h-2zm-3.26 0l1.26.84V7z"/><path d="M10 3v1.51l2 1.33V5h9v14h-4v2h6V3z"/><path d="M8.5 11.5L10 10.28V13H3V8h2v2.5l1.5-1 3 3zm-1.23 1.61L10 14.97V21h2v-3h3v-4h3V7h-9v6.11zM5 16h2v2H5z"/></svg>'); }
    .safari-collection .vehicle { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e17055"><path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.85 7h10.29l1.08 3.11H5.77L6.85 7zM19 17H5v-5h14v5z"/><circle cx="7.5" cy="14.5" r="1.5"/><circle cx="16.5" cy="14.5" r="1.5"/></svg>'); }
    .safari-collection .guide { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e17055"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>'); }
    .safari-collection .camera { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e17055"><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"/><path d="M12 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>'); }
    .safari-collection .binoculars { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e17055"><path d="M11 6h2v7h-2z"/><path d="M20 4.5C20 3.12 18.88 2 17.5 2S15 3.12 15 4.5c0 .46.12.89.33 1.25l-2.09 2.09C12.52 7.6 12 8.22 12 8.95v.05c0 1.12.88 2 2 2 .73 0 1.35-.52 1.51-1.24l2.09-2.09c.36.21.79.33 1.25.33 1.38 0 2.5-1.12 2.5-2.5zm-5.5 0c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5zM6.5 22C5.12 22 4 20.88 4 19.5S5.12 17 6.5 17s2.5 1.12 2.5 2.5S7.88 22 6.5 22zm0-3c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm5.5-4v-2h-1v2H9v2h3v5h2v-5h3v-2h-5z"/></svg>'); }
    
    .safari-collection .detail-label {
        font-weight: 600;
        color: #2d3436;
        margin-right: 6px;
    }
    
    .safari-collection .safari-footer {
        margin-top: auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
    
    .safari-collection .price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #e17055;
    }
    
    .safari-collection .price::before {
        content: 'From ';
        font-size: 0.9rem;
        font-weight: 500;
        color: #636e72;
    }
    
    .safari-collection .action-buttons {
        display: flex;
        gap: 1rem;
    }
    
    /* Scoped button classes to only affect buttons within safari-collection */
    .safari-collection .btn {
        padding: 0.9rem 1.75rem;
        border-radius: 6px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .safari-collection .btn.primary {
        background-color: #e17055;
        color: white;
        border: 2px solid #e17055;
    }
    
    .safari-collection .btn.primary:hover {
        background-color: #d35400;
        border-color: #d35400;
        transform: translateY(-2px);
    }
    
    .safari-collection .btn.secondary {
        background-color: transparent;
        color: #e17055;
        border: 2px solid #e17055;
    }
    
    .safari-collection .btn.secondary:hover {
        background-color: rgba(225, 112, 85, 0.08);
        transform: translateY(-2px);
    }
    
    /* Scoped text links */
    .safari-collection .text-link {
        color: #e17055;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
        position: relative;
    }
    
    .safari-collection .text-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: #e17055;
        transition: width 0.3s ease;
    }
    
    .safari-collection .text-link:hover {
        color: #d35400;
    }
    
    .safari-collection .text-link:hover::after {
        width: 100%;
    }
    
    /* Alternate Layout */
    .safari-collection .alt-layout {
        flex-direction: row-reverse;
    }
    
    /* Responsive */
    @media (max-width: 900px) {
        .safari-collection {
            padding: 3rem 1.5rem;
        }
        
        .safari-collection .collection-title {
            font-size: 2rem;
        }
        
        .safari-collection .collection-description {
            font-size: 1.05rem;
        }
        
        .safari-collection .safari-card,
        .safari-collection .alt-layout {
            flex-direction: column;
        }
        
        .safari-collection .safari-image {
            min-height: 280px;
        }
        
        .safari-collection .safari-content {
            padding: 2rem;
        }
        
        .safari-collection .safari-card h3 {
            font-size: 1.6rem;
        }
        
        .safari-collection .safari-details {
            flex-direction: column;
            gap: 1rem;
        }
        
        .safari-collection .safari-footer {
            flex-direction: column;
            gap: 1.5rem;
            align-items: flex-start;
        }
        
        .safari-collection .action-buttons {
            width: 100%;
        }
        
        .safari-collection .btn {
            width: 100%;
            text-align: center;
        }
    }




    /* Safari Content Styles - Scoped to Only Affect These Sections */
/* Font imports - already in your head section */
/* Font Awesome icons - already in your head section */

/* Safari Content Container Styles */
.safari-content-container .bg-white,
.safari-content-container .bg-light {
    font-family: 'Montserrat', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.safari-content-container h3.text-center {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.safari-content-container .font_14.text-center {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styles */
.safari-content-container .card {
    transition: all 0.3s ease;
    border-radius: 8px !important;
}

.safari-content-container .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.safari-content-container .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.safari-content-container .card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.safari-content-container .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.safari-content-container .card-title a:hover {
    color: #e67e22;
}

.safari-content-container .card-text {
    color: #555;
    margin-bottom: 1rem;
}

.safari-content-container .text-success {
    color: #b3974b !important;
    font-weight: 600;
}

/* Icon Styles */
.safari-content-container h5 .fa {
    color: #b3974b;
    width: 24px;
    text-align: center;
}

/* Image Styles */
.safari-content-container .img-fluid.rounded.shadow {
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Form Styles */
.safari-content-container .sticky-sidebar {
    position: sticky;
    top: 20px;
    border-radius: 8px !important;
}

.safari-content-container .form-control,
.safari-content-container .form-select {
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 6px !important;
}

.safari-content-container .btn-success {
    background-color: #b3974b;
    border: none;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.safari-content-container .btn-success:hover {
    background-color: #b3974b;
    transform: translateY(-2px);
}

/* Text Link Styles */
.safari-content-container .text-link {
    color: #e67e22;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.safari-content-container .text-link:hover {
    color: #d35400;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .safari-content-container h3.text-center {
        font-size: 1.75rem;
    }
    
    .safari-content-container .font_14.text-center {
        font-size: 1rem;
    }
    
    .safari-content-container .card-img-top {
        height: 180px;
    }
}

/* Safari Popup Styles */
#classic-safari-popup {
    font-family: 'Montserrat', sans-serif;
}

#classic-safari-popup .safari-popup {
    max-width: 90%;
    width: 500px;
}

#classic-safari-popup .popup-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

#classic-safari-popup h3 {
    font-family: 'Playfair Display', serif;
}

#classic-safari-popup button {
    transition: all 0.3s;
}

#classic-safari-popup button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}


/* Preloader overlay */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff url('https://i.gifer.com/ZZ5H.gif') no-repeat center center;
  background-size: 80px 80px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

/* Hide after fade */
#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}





/* ===== Safari Packages With Tabs - Self Contained Styles ===== */
.safari-packages-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.safari-packages-section .section-header {
    margin-bottom: 60px;
}

.safari-packages-section .section-subtitle {
    color: #e67e22;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInDown 0.8s ease-out;
}

.safari-packages-section .section-title {
    color: #2c3e50;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.safari-packages-section .header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.safari-packages-section .header-divider .divider-line {
    width: 60px;
    height: 2px;
    background: #e67e22;
    display: inline-block;
}

.safari-packages-section .header-divider i {
    color: #e67e22;
    margin: 0 15px;
    font-size: 18px;
}

.safari-card .price-note {
    color: #7f8c8d;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 15px;
    display: block;
}

/* Safari Tabs Styles */
.safari-tabs {
    margin: 40px auto 30px;
    max-width: 800px;
}

.safari-tabs .nav-tabs {
    border: none;
    justify-content: center;
}

.safari-tabs .nav-link {
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.safari-tabs .nav-link:hover {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
}

.safari-tabs .nav-link.active {
    color: #fff;
    background: #e67e22;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.safari-tabs .nav-link.active:hover {
    color: #fff;
}

.safari-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.safari-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.safari-card.featured {
    box-shadow: 0 5px 25px rgba(230, 126, 34, 0.2);
}

.safari-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.safari-card .card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.safari-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.safari-card:hover .card-image img {
    transform: scale(1.1);
}

.safari-card .card-badge {
    position: absolute;
    top: 20px;
    right: -5px;
    background: #e67e22;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.safari-card .card-content {
    padding: 25px;
    position: relative;
}

.safari-card .rating {
    color: #f39c12;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.safari-card .rating i {
    margin-right: 5px;
}

.safari-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.safari-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    background-image: linear-gradient(to right, currentColor 0%, currentColor 100%);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 95%;
    transition: all 0.3s ease;
}

.safari-card h3 a:hover {
    color: #e67e22;
    background-size: 100% 2px;
}

.safari-card .price {
    color: #e67e22;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.safari-card .price span {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 400;
}

.safari-card .card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.safari-card .meta-item {
    display: flex;
    align-items: center;
    color: #7f8c8d;
    font-size: 14px;
}

.safari-card .meta-item i {
    margin-right: 8px;
    color: #e67e22;
}

.safari-card .card-hover-content {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    transition: all 0.4s ease;
    opacity: 0;
}

.safari-card:hover .card-hover-content {
    bottom: 0;
    opacity: 1;
}

.safari-card .explore-btn {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.safari-card .explore-btn:hover {
    background: #d35400;
    transform: translateX(5px);
}

.safari-card .explore-btn i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.safari-card .explore-btn:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .safari-packages-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 991px) {
    .safari-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .safari-packages-section {
        padding: 60px 0;
    }
    
    .safari-packages-section .section-title {
        font-size: 36px;
    }
    
    .safari-card h3 {
        font-size: 20px;
    }
    
    .safari-tabs .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .safari-tabs .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 575px) {
    .safari-packages-section .section-title {
        font-size: 30px;
    }
    
    .safari-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .safari-card .card-image {
        height: 200px;
    }
    
    .safari-tabs .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
}






/* === Safari Collection: Scoped Styles === */
.safari-collection {
  padding: 80px 0;
  background-color: #fefefe;
}

.safari-collection .collection-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.safari-collection .collection-subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #e67e22;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.safari-collection .collection-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
  margin-bottom: 20px;
}

.safari-collection .collection-description {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.6;
}

.safari-collection .collection-description .text-link {
  color: #e67e22;
  text-decoration: none;
  font-weight: 600;
}

.safari-collection .collection-description .text-link:hover {
  text-decoration: underline;
}

.safari-collection .safari-packages {
  display: grid;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.safari-collection .safari-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.safari-collection .safari-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.safari-collection .safari-card.alt-layout {
  direction: rtl;
}

.safari-collection .safari-card.alt-layout .safari-content {
  direction: ltr;
}

.safari-collection .safari-image {
  position: relative;
  height: 100%;
  min-height: 300px;
}

.safari-collection .safari-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.safari-collection .safari-card:hover .safari-image img {
  transform: scale(1.05);
}

.safari-collection .card-badge {
  position: absolute;
  top: 20px;
  right: 0;
  background: #e67e22;
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.safari-collection .safari-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.safari-collection .safari-content h3 {
  font-size: 24px;
  color: #34495e;
  margin-bottom: 10px;
}

.safari-collection .rating {
  font-size: 14px;
  font-weight: 600;
  color: #f39c12;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.safari-collection .rating i {
  margin-right: 5px;
}

.safari-collection .safari-overview {
  font-size: 15px;
  line-height: 1.6;
  color: #7f8c8d;
  margin-bottom: 25px;
  flex-grow: 1;
}

.safari-collection .safari-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.safari-collection .detail-group p {
  font-size: 14px;
  color: #7f8c8d;
  display: flex;
  align-items: center;
  gap: 6px;
}

.safari-collection .detail-group .detail-label {
  font-weight: 600;
  color: #2c3e50;
}

.safari-collection .safari-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: auto;
}

.safari-collection .price {
  font-size: 20px;
  font-weight: 700;
  color: #e67e22;
}

.safari-collection .price span {
  font-size: 13px;
  color: #7f8c8d;
  font-weight: 400;
}

.safari-collection .action-buttons {
  display: flex;
  gap: 10px;
}

.safari-collection .btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.safari-collection .btn.primary {
  background-color: #e67e22;
  color: #fff;
}

.safari-collection .btn.primary:hover {
  background-color: #d35400;
  transform: translateY(-2px);
}

.safari-collection .btn.secondary {
  background: transparent;
  color: #e67e22;
  border: 1px solid #e67e22;
}

.safari-collection .btn.secondary:hover {
  background-color: #fff4e6;
}

/* === Responsive === */
@media (max-width: 991px) {
  .safari-collection .safari-card,
  .safari-collection .safari-card.alt-layout {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .safari-collection .safari-image {
    min-height: 250px;
  }
}

@media (max-width: 767px) {
  .safari-collection {
    padding: 60px 0;
  }

  .safari-collection .collection-title {
    font-size: 28px;
  }

  .safari-collection .safari-details {
    grid-template-columns: 1fr;
  }

  .safari-collection .safari-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .safari-collection .btn {
    width: 100%;
    text-align: center;
  }
}


.card-img-top {
  width: 100%;
  height: 250px; /* or auto-adjustable via media query */
  object-fit: cover;
}
@media (max-width: 576px) {
  .card-img-top {
    height: 180px;
  }
}


/* Add this to your existing CSS */
.calendar-container {
  overflow: hidden;
  width: 100%;
}

.calendar-month {
  width: 100%;
  float: left;
  transition: transform 0.3s ease;
}

.calendar-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 15px 0;
}

/* Hide all months except the first one initially */
.calendar-month:not(:first-child) {
  display: none;
}

/* Alternative solution if you prefer sliding animation */
/*
.calendar-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 200px; // Adjust based on your calendar height
}

.calendar-month {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.calendar-month:nth-child(2) {
  transform: translateX(100%);
}
*/


/* Prevent horizontal scroll globally */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}


/* Hide common preloaders */
#preloader,
.preloader,
.loading,
.loader,
#loader,
.page-loader {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
/* Hide preloaders instantly */
#preloader,
.preloader,
.loading,
.loader,
#loader,
.page-loader {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}



/* Safari Hero Section - Scoped CSS */
.tour-hero {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.image-slideshow {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(2px);
}

.slide-prev, 
.slide-next {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.slide-indicator {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
}

.tour-description {
    flex: 1;
    min-width: 0;
    padding: 0 0.5rem;
}

.tour-description h1 {
    color: #e67e22;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.tour-highlights {
    color: #555;
    font-size: clamp(0.875rem, 1.25vw, 1rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.tour-summary p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 0.875rem;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.fact-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.fact-icon {
    font-size: 1rem;
    background: rgba(230, 126, 34, 0.1);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e67e22;
    flex-shrink: 0;
}

.fact-item h4 {
    margin: 0;
    color: #333;
    font-size: 0.875rem;
    font-weight: 600;
}

.fact-item p {
    margin: 0.25rem 0 0;
    color: #666;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
    }
    
    .image-slideshow {
        width: 100%;
        max-width: 100%;
    }
    
    .tour-description {
        width: 100%;
        padding: 0;
    }
    
    .quick-facts {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .quick-facts {
        grid-template-columns: 1fr;
    }
    
    .slide-nav {
        padding: 0.5rem;
        gap: 0.5rem;
    }
}

/* Font Import - Add this at the top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');




/* Fallback featured image for meta tags */
meta[property="og:image"]:not([content]),
meta[property="og:image"][content=""],
meta[property="og:image"][content*="undefined"],
meta[property="og:image"][content*="null"] {
  content: url('img/zuhuratours.webp') !important;
}

/* Fallback for Twitter card image */
meta[property="twitter:image"]:not([content]),
meta[property="twitter:image"][content=""],
meta[property="twitter:image"][content*="undefined"],
meta[property="twitter:image"][content*="null"] {
  content: url('img/zuhuratours.webp') !important;
}

/* JavaScript fallback for broken images - this will need to be added to your HTML */
.fallback-featured-image {
  position: relative;
}
.fallback-featured-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/zuhuratours.webp') center/cover no-repeat;
  display: none;
}
.fallback-featured-image img.error + ::after {
  display: block;
}





/* Calendar Card Styles */
.availability-calendar {
    margin: 15px 0;
    font-size: 0.85rem;
    max-width: 100%;
}

/* Calendar header (month/year) */
.availability-calendar .calendar-header {
    font-size: 0.9em;
    padding: 5px 0;
    margin-bottom: 5px;
}

/* Calendar grid */
.availability-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

/* Calendar day cells */
.availability-calendar .calendar-day {
    padding: 5px;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}

/* Available dates */
.availability-calendar .available {
    background-color: #e8f5e9;
    border-radius: 3px;
}

/* Fully booked dates */
.availability-calendar .booked {
    background-color: #ffebee;
    border-radius: 3px;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Day names (Mon, Tue, etc) */
.availability-calendar .day-name {
    font-size: 0.7em;
    text-align: center;
    padding: 3px 0;
    font-weight: bold;
}

/* Navigation arrows */
.availability-calendar .calendar-nav {
    font-size: 0.8em;
    padding: 3px 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .availability-calendar {
        margin: 10px 0;
    }
    
    .availability-calendar .calendar-day {
        padding: 3px;
        min-height: 20px;
        font-size: 0.7em;
    }
    
    .availability-calendar .day-name {
        font-size: 0.6em;
    }
}

@media (min-width: 769px) {
    .availability-calendar {
        max-width: 300px;
    }
}

