.image-card { height: 500px; }
        table { width: 100%; border-collapse: collapse; }
        table, th, td { border: 1px solid black; }
        th, td { font-size: 14px; line-height: 18px; padding: 5px; color: black; text-align: center; }
        th { font-size: 14px; font-weight: 600; color: black; }
        tr:nth-child(even) { color: black; }
        tr ul { list-style: circle; }
        tr ul li { line-height: 30px; margin-left: 30px; list-style-type: disc; text-align: left; }
        .rounded-table { overflow: hidden; }
        caption { padding: 10px; }
        .modal { margin-top: -1%; }
        .btn-outline-primary { border-color: darkgoldenrod; color: darkgoldenrod; }
        .btn-outline-primary:hover { background-color: darkgoldenrod; }
        .modal-content { border-radius: 8px; }
        .modal-header { background-color: #350d05; color: white; }
        .modal-body { padding: 5px; }
        .btn-booking { margin-right: 10px; }
        @media (max-width: 768px) {
            table { margin: 0; width: 100%; border-collapse: collapse; }
            th { font-size: 12px; font-weight: 600; color: black; }
            th, td { font-size: 12px; line-height: 18px; color: black; text-align: center; }
            tr ul li { line-height: 20px; margin-left: 1px; list-style-type: disc; text-align: left; }
            .image-card { height: 230px; width: 100%; }
            .btn-booking { margin-bottom: 10px; }
        }
        .topdest { padding-top: 14px; text-align: left; font-family: sans-serif; }
        .booking-buttons {
            margin-top: 1rem;
            display: block;
            flex-direction: column;
            gap: 0.5rem;
        }
        .cta-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 1rem;
            font-size: 1rem;
            font-weight: bold;
            text-transform: uppercase;
            border-radius: 0.25rem;
            text-decoration: none;
            cursor: pointer;
        }
        .cta-btn:nth-child(1) {
            background-color: #350d05;
            color: white;
            border: 1px solid #350d05;
        }
        .cta-btn:nth-child(1):hover {
            background-color: #2a0a04;
            border-color: #2a0a04;
        }
        .cta-btn:nth-child(2) {
            background-color: transparent;
            color: #350d05;
            border: 1px solid #350d05;
        }
        .cta-btn:nth-child(2):hover {
            background-color: #350d05;
            color: #E69500;
        }
        .cta-btn:nth-child(3) {
            background-color: #FF8C00;
            color: white;
            border: 1px solid #FF8C00;
        }
        .cta-btn:nth-child(3):hover {
            background-color: #CC7000;
            border-color: #CC7000;
        }
        .cta-btn i {
            margin-right: 0.5rem;
        }
        @media (min-width: 992px) {
            .booking-buttons { display: block; }
        }
        .safari-packages .row > div {
            border-right: 3px solid #ddd;
            padding-right: 20px;
            padding-left: 20px;
        }
        .safari-packages .row > div:last-child {
            border-right: none;
        }
        .safari-packages ul li a::before {
            content: "> ";
            color: white;
            font-size: 0.7rem;
            font-weight: bold;
        }
        .safari-packages ul li {
            margin-bottom: 0.5rem;
            text-decoration: underline;
        }
        .safari-packages, .safari-packages a, .safari-packages h3, .safari-packages h2 {
            color: white;
        }
        /* New styles for the creative design */
        .why-rede-section {
            background: linear-gradient(135deg, #1a2e44 0%, #2b1e16 100%);
            padding: 80px 0;
            color: #fff;
        }
        .why-rede-section h2, .destinations-section h2, .experiences-section h2, .testimonials-section h2, .seo-section h2, .mission-section h2 {
            font-family: 'Cinzel', serif;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 40px;
            color: #FFD700;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .why-rede-section .feature-card, .destinations-section .destination-card, .experiences-section .experience-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .why-rede-section .feature-card:hover, .destinations-section .destination-card:hover, .experiences-section .experience-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        .why-rede-section .feature-icon, .destinations-section .destination-icon, .experiences-section .experience-icon {
            font-size: 2.5rem;
            color: #FFD700;
            margin-bottom: 20px;
        }
        .why-rede-section p, .destinations-section p, .experiences-section p {
            font-family: 'Lora', serif;
            font-size: 1.1rem;
            line-height: 1.8;
        }
        .destinations-section {
            background: #fffaf0;
            padding: 80px 0;
        }
        .destinations-section .destination-card {
            position: relative;
            overflow: hidden;
        }
        .destinations-section .destination-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
        }
        .experiences-section {
            background: linear-gradient(135deg, #2b1e16 0%, #1a2e44 100%);
            padding: 80px 0;
            color: #fff;
        }
        .testimonials-section {
            background: #f8f9fa;
            padding: 80px 0;
            height: 900px;
        }
        .testimonials-section .testimonial-card {
            background: #fff;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .testimonials-section .testimonial-card p {
            font-family: 'Lora', serif;
            font-style: italic;
            font-size: 1.1rem;
            color: #333;
        }
        .testimonials-section .testimonial-author {
            font-family: 'Raleway', sans-serif;
            font-weight: bold;
            color: #2b1e16;
            margin-top: 10px;
        }
        .seo-section {
            background: #fffaf0;
            padding: 80px 0;
        }
        .mission-section {
            background: linear-gradient(135deg, #1a2e44 0%, #2b1e16 100%);
            padding: 80px 0;
            color: #fff;
        }
        .cta-section {
            background: #FFD700;
            padding: 50px 0;
            text-align: center;
        }
        .cta-section .cta-btn {
            background-color: #350d05;
            color: white;
            padding: 15px 30px;
            font-size: 1.2rem;
            border-radius: 5px;
            text-transform: uppercase;
            transition: background-color 0.3s ease;
        }
        .cta-section .cta-btn:hover {
            background-color: #2a0a04;
        }
        h4{
            font-size: 14px;
            padding: 4px;
        }
        /* Styling for Recommended Luxury Safaris cards */
.new-tour-card {
    display: flex; /* Use flexbox for horizontal layout */
    flex-direction: row; /* Align image and content horizontally */
    align-items: stretch; /* Ensure items stretch to equal height */
    background: #ffffff; /* White background for cards */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden; /* Ensure rounded corners are respected */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.new-tour-card h3{
     font-size: 1.5rem;
     padding-left: 0px;
     color: darkgoldenrod;
     font-style: italic;
     text-align: left;
            padding: 4px;
}

/* Hover effect for cards */
.new-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image styling */
.new-tour-card .card-img-top {
    width: 40%; /* Image takes 40% of card width */
    object-fit: cover; /* Ensure image fits nicely */
    height: auto; /* Maintain aspect ratio */
}

/* Card body styling */
.new-tour-card .new-tour-card-body {
    width: 60%; /* Card body takes 60% of card width */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out content */
}

/* Price tag styling */
.new-tour-card .new-tour-card-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FFD700; /* Gold background for price */
    color: #2b1e16;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}
/* Styling for Book Now links */
.new-tour-card .read-more {
    display: inline-block;
    background-color: #FFD700; /* Gold background for high visibility */
    color: #2b1e16; /* Dark brown text for contrast */
    padding: 10px 20px; /* Increased padding for button-like appearance */
    border-radius: 5px; /* Rounded corners */
    font-size: 1.1rem; /* Larger text size */
    font-weight: bold; /* Bold text for emphasis */
    text-transform: uppercase; /* Uppercase for prominence */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    margin-top: 15px; /* More spacing above */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.new-tour-card .read-more:hover {
    background-color: #350d05; /* Dark brown background on hover */
    color: #FFFFFF; /* White text on hover for contrast */
    transform: translateY(-2px); /* Slight lift effect on hover */
}
/* Testimonials Section */
.testimonials-section {
    position: relative;
    background: #1a120b; /* Deep charcoal for luxury */
    padding: 80px 0;
    overflow: hidden;
    color: #f8f9fa; /* Light gray text */
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/safari/tree.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.3; /* Subtle savanna backdrop */
    transform: translateZ(0); /* Enable parallax */
    z-index: 0;
}

/* Container */
.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section h2 {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: #FFD700; /* Gold for elegance */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.testimonials-section p.text-center {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: #f8f9fa;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Testimonial Showcase */
.testimonial-showcase {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    height: 400px; /* Fixed height for smooth transitions */
}

/* Hide radio inputs */
.testimonial-showcase input[type="radio"] {
    display: none;
}

/* Testimonial Card */
.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 25 bànpx;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

/* Active card */
#slide1:checked ~ .testimonial-card[data-slide="1"],
#slide2:checked ~ .testimonial-card[data-slide="2"],
#slide3:checked ~ .testimonial-card[data-slide="3"] {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

/* Client Image */
.testimonial-image {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFD700; /* Gold border */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); /* Gold glow */
    transition: transform 0.3s ease;
}

.testimonial-image img:hover {
    transform: scale(1.1); /* Subtle zoom on hover */
}

/* Quote */
.testimonial-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #2b1e16; /* Dark brown */
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 2.5rem;
    color: #FFD700; /* Gold quote mark */
    opacity: 0.5;
}

/* Star Rating */
.testimonial-rating {
    color: #FFD700; /* Gold stars */
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-rating .fa-star {
    margin: 0 2px;
    opacity: 0;
    animation: fadeInStar 0.5s ease forwards;
}

.testimonial-rating .fa-star:nth-child(1) { animation-delay: 0.1s; }
.testimonial-rating .fa-star:nth-child(2) { animation-delay: 0.2s; }
.testimonial-rating .fa-star:nth-child(3) { animation-delay: 0.3s; }
.testimonial-rating .fa-star:nth-child(4) { animation-delay: 0.4s; }
.testimonial-rating .fa-star:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInStar {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Author */
.testimonial-author {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: #2b1e16;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Navigation Dots */
.testimonial-nav {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    background: #2b1e16; /* Dark brown */
    border: 2px solid #FFD700; /* Gold border */
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

#slide1:checked ~ .testimonial-nav label[for="slide1"],
#slide2:checked ~ .testimonial-nav label[for="slide2"],
#slide3:checked ~ .testimonial-nav label[for="slide3"] {
    background: #FFD700; /* Gold for active dot */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    .testimonial-showcase {
        max-width: 90%;
        height: 350px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-image {
        width: 80px;
        height: 80px;
    }
    .testimonial-quote {
        font-size: 1rem;
    }
    .testimonial-quote::before {
        font-size: 2rem;
        top: -10px;
    }
}

@media (max-width: 412px) {
    .testimonials-section h2 {
        font-size: 2rem;
    }
    .testimonials-section p.text-center {
        font-size: 1rem;
    }
    .testimonial-showcase {
        height: 320px;
    }
    .testimonial-card {
        max-width: 95%;
        padding: 15px;
    }
    .testimonial-image {
        width: 70px;
        height: 70px;
    }
    .testimonial-quote {
        font-size: 0.9rem;
    }
    .testimonial-quote::before {
        font-size: 1.8rem;
        top: -8px;
    }
    .testimonial-author {
        font-size: 0.9rem;
    }
    .testimonial-nav {
        bottom: -30px;
    }
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}
/* Excellence Section */
.excellence-section {
    background: #fff; /* Clean white background */
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #2b1e16; /* Dark brown text */
}

/* Subtle Safari Texture Overlay */
.excellence-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/paper-fibers.png') repeat; /* Linen-like texture */
    opacity: 0.1;
    z-index: 0;
}

/* Container */
.excellence-section .container {
    position: relative;
    z-index: 1;
}

/* Hero Image */
.excellence-hero {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    height: 700px;
}

.excellence-hero img {
    width: 100%;
    height: 700px; /* Consistent height */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.excellence-hero:hover img {
    transform: scale(1.03); /* Subtle zoom */
}

/* Section Title */
.section-title {
    text-align: left; /* Asymmetrical for uniqueness */
    margin-bottom: 30px;
}

.section-title h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: #2b1e16; /* Dark brown */
    border-left: 4px solid #FFD700; /* Gold accent */
    padding-left: 15px;
    margin-bottom: 15px;
}

.section-title p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: #2b1e16;
    max-width: 500px;
}

/* Excellence Card */
.excellence-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3); /* Subtle gold border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: cardFadeIn 0.6s ease forwards;
}

.excellence-card:nth-child(1) { animation-delay: 0.2s; }
.excellence-card:nth-child(2) { animation-delay: 0.3s; }
.excellence-card:nth-child(3) { animation-delay: 0.4s; }
.excellence-card:nth-child(4) { animation-delay: 0.5s; }

@keyframes cardFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.excellence-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Icon */
.excellence-icon {
    margin-bottom: 12px;
}

.excellence-icon i {
    color: #FFD700; /* Gold */
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.excellence-card:hover .excellence-icon i {
    transform: scale(1.1); /* Subtle icon pulse */
}

/* Card Title */
.excellence-card h4 {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: #2b1e16;
    margin-bottom: 8px;
}

/* Card Text */
.excellence-card p {
    /*font-family: 'Raleway', sans-serif;*/
    font-size: 0.9rem;
    color: #2b1e16;
    line-height: 1.5;
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .excellence-hero {
        margin-bottom: 30px;
        order: 1 !important; /* Image on top */
    }
    .section-title {
        text-align: center; /* Center for smaller screens */
    }
    .section-title h2 {
        border-left: none;
        /*border-bottom: 2px solid #FFD700;*/
        padding-bottom: 10px;
    }
    .excellence-hero img {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .excellence-section {
        padding: 50px 0;
    }
    .excellence-hero img {
        height: 250px;
    }
    .excellence-card {
        padding: 15px;
    }
    .excellence-icon i {
        font-size: 1.6rem;
    }
    .excellence-card h4 {
        font-size: 1.1rem;
    }
    .excellence-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 412px) {
    .excellence-section {
        padding: 40px 0;
    }
    .excellence-hero img {
        height: 200px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title p {
        font-size: 0.9rem;
        max-width: 90%;
    }
    .excellence-card {
        padding: 12px;
    }
    .excellence-icon i {
        font-size: 1.4rem;
    }
    .excellence-card h4 {
        font-size: 1rem;
    }
    .excellence-card p {
        font-size: 0.8rem;
    }
}
.header .nav-links {
    font-size: 0.5rem;
}


/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .new-tour-card {
        flex-direction: column; /* Stack vertically on small screens */
    }
    .new-tour-card .card-img-top {
        width: 100%; /* Image takes full width */
        height: 200px; /* Fixed height for consistency */
    }
    .new-tour-card .new-tour-card-body {
        width: 100%; /* Card body takes full width */
    }
}
 /* General container styling */
        .features-section {
            background: #f5f5f5; /* Neutral light gray background */
            padding: 60px 0;
            font-family: 'Lora', serif;
        }

        .features-section h2 {
            font-family: 'Cinzel', serif;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 40px;
            color: #2a2a2a; /* Dark gray for text */
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* Horizontal card container */
        .features-container {
            display: flex;
            flex-wrap: wrap; /* Allow wrapping for rows */
            justify-content: center; /* Center cards for balanced layout */
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Individual card styling */
        .feature-card {
            background: #ffffff; /* White background for cards */
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            flex: 1 1 30%; /* Base width for large screens */
            min-width: 250px; /* Minimum width for readability */
            max-width: 360px; /* Cap width to prevent over-stretching */
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        /* Icon styling */
        .feature-icon {
            font-size: 2.5rem;
            color: #4a4a4a; /* Muted gray for icons */
            margin-bottom: 15px;
        }

        /* Card title */
        .feature-card h3 {
            font-family: 'Raleway', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #2a2a2a; /* Dark gray for titles */
            margin-bottom: 15px;
        }

        /* Card description */
        .feature-card p {
            font-size: 1rem;
            line-height: 1.6;
            color: #333; /* Slightly lighter gray for text */
            margin: 0;
        }
        /* Accommodations Section */
.accommodations-section {
    background: #1a120b; /* Deep charcoal for luxury */
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #f8f9fa; /* Light gray text */
}

/* Leather Texture Background */
.accommodations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/leather.png') repeat; /* Leather texture */
    opacity: 0.15;
    z-index: 0;
}

/* Container */
.accommodations-section .container {
    position: relative;
    z-index: 1;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: darkgoldenrod; /* Gold */
    position: relative;
    font-weight: 600;
    display: inline-block;
    padding-bottom: 10px;
    /*text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);*/
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #FFD700; /* Gold underline */
}

.section-title p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
/*    color: #f8f9fa;*/
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Masonry Grid */
.accommodations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Accommodation Card */
.accommodation-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4); /* Subtle gold border */
    position: relative;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

.accommodation-card[data-index="1"] { animation: cardFadeIn 0.6s ease 0.2s forwards; }
.accommodation-card[data-index="2"] { animation: cardFadeIn 0.6s ease 0.3s forwards; }
.accommodation-card[data-index="3"] { animation: cardFadeIn 0.6s ease 0.4s forwards; }
.accommodation-card[data-index="4"] { animation: cardFadeIn 0.6s ease 0.5s forwards; }
    .filter-sidebar { background: #f8f9fa; padding: 20px; border-radius: 10px; height: fit-content; position: sticky; top: 100px; }
    .tour-card-horizontal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, display 0s;
}

.tour-card-horizontal.show {
  opacity: 1;
  transform: translateY(0);
}.tour-card-horizontal:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
    .tour-card-img { width: 380px; object-fit: cover; }
    .tour-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
/* PRICE BADGE – LARGE SCREENS (≥992px) – NO ROTATION, TOP-LEFT */
@media (min-width: 992px) {
  .tour-price {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FFD700;
    color: #350d05;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
    z-index: 10;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5px;
  }

  .tour-price:hover {
    background: #350d05;
    color: #FFD700;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(53, 13, 5, 0.4);
  }
}

/* SMALL SCREENS – FULL-WIDTH BANNER */
@media (max-width: 991.98px) {
  .tour-price {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 1.2rem;
    background: #FFD700;
    color: #350d05;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 0;
    font-family: 'Raleway', sans-serif;
  }
}.tour-price::before {
  content: "★";
  margin-right: 6px;
  font-size: 0.9em;
}

  .tour-card-body {
    padding-top: 12px !important; /* Prevent overlap */
  }
}
  }
    /* ——— RESPONSIVE PAGINATION ——— */
.pagination {
  flex-wrap: wrap;          /* allow buttons to wrap on tiny screens */
  gap: 0.35rem;             /* tighter gap on mobile */
  justify-content: center;
  padding: 0.5rem;
  overflow-x: hidden;       /* never horizontal scroll */
}

.pagination .btn {
  min-width: 38px;          /* keep a readable tap target */
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
}

/* Hide ellipsis (…) on very small screens */
@media (max-width: 480px) {
  .pagination .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
  .pagination > *:nth-child(2):not(.btn) { /* the first "…" */
    display: none;
  }
  .pagination > *:nth-last-child(2):not(.btn) { /* the last "…" */
    display: none;
  }
}

/* Optional: shrink the whole container a bit on tablets */
@media (max-width: 768px) {
  .pagination {
    gap: 0.25rem;
  }
}
    .page-item.active .page-link { background: #350d05; border-color: #350d05; }
    @media (max-width: 992px) {
      .tour-card-horizontal { flex-direction: column; }
      .tour-card-img { width: 100%; height: 250px; }
    }
    .form-check-input:checked { background-color: #350d05; border-color: #350d05; }

@keyframes cardFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Card Image */
.accommodation-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.accommodation-card:hover img {
    transform: scale(1.05); /* Subtle zoom */
}

/* Card Content */
.accommodation-content {
    padding: 20px;
}

.accommodation-content h4 {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #2b1e16; /* Dark brown */
    margin-bottom: 10px;
}

.accommodation-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    color: #2b1e16;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .accommodations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .accommodation-card img {
        height: 180px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .accommodations-section {
        padding: 50px 0;
    }
    .accommodation-card {
        padding: 15px;
    }
    .accommodation-card img {
        height: 160px;
    }
    .accommodation-content h4 {
        font-size: 1.2rem;
    }
    .accommodation-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 412px) {
    .accommodations-section {
        padding: 40px 0;
    }
    .accommodations-grid {
        grid-template-columns: 1fr; /* Single column for small screens */
    }
    .accommodation-card img {
        height: 140px;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .section-title p {
        font-size: 0.9rem;
        max-width: 90%;
    }
    .accommodation-content h4 {
        font-size: 1.1rem;
    }
    .accommodation-content p {
        font-size: 0.8rem;
    }
}

        /* Large screens: 3 cards in first row, 2 in second row */
        @media (min-width: 992px) {
            .features-container {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
            }
            .feature-card:nth-child(-n+3) {
                flex: 1 1 30%; /* Three cards in first row */
            }
            .feature-card:nth-child(n+4) {
                flex: 1 1 45%; /* Two cards in second row, wider to balance */
                max-width: 540px; /* Slightly wider for two-card row */
            }
            .features-container::after {
                content: '';
                flex: 1 1 30%; /* Empty space to align two cards in second row */
                max-width: 360px;
                visibility: hidden; /* Hide the placeholder */
            }
        }

        /* Medium screens: Two cards per row */
        @media (max-width: 991px) {
            .feature-card {
                flex: 1 1 45%; /* Two cards per row */
                margin-bottom: 20px;
            }
        }

        /* Small screens: One card per row */
        @media (max-width: 576px) {
            .feature-card {
                flex: 1 1 100%; /* One card per row */
                margin-bottom: 20px;
            }
        }
          .bg-content {
            position: relative;
            z-index: 2;
            padding-top: 60px; /* Reduced from 120px */
        }
     
       
    

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, rgba(10,10,25,0.3), rgba(0,0,0,0.3));
      z-index: 1;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 10px;
      background: linear-gradient(180deg, transparent, #0a0a0f);
      z-index: 2;
    }
    .hero{
        height: 700px;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      padding: 20px;
      /*padding: 0 30px;*/
      animation: fadeInUp 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero h1 {
      /*font-family: 'Cormorant Garamond', serif;*/
      font-size: 3.2rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
      letter-spacing: 2px;
      line-height: 1.1;
    
    }

    .hero p {
      font-size: 1.05rem;
      line-height: 1.5;
      margin-bottom: 2rem;
      opacity: 0.92;
      font-weight: 400;
      letter-spacing: 0.8px;
     /* max-width: 700px;*/
      color: white;
    }

    .hero .cta-button {
      display: inline-block;
      padding: 16px 42px;
      background: linear-gradient(135deg, #ffd700, #b8860b);
      color: #0a0a0f;
      font-weight: 600;
      font-size: 1.1rem;
      text-decoration: none;
      border-radius: 60px;
      letter-spacing: 1.5px;
      transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
      box-shadow: 0 8px 25px rgba(255,215,0,0.3);
      position: relative;
      overflow: hidden;
    }

    .hero .cta-button::before {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: 0.6s;
    }

    .hero .cta-button:hover::before {
      left: 100%;
    }

    .hero .cta-button:hover {
      transform: translateY(-4px);
      box-shadow: 0 15px 35px rgba(255,215,0,0.4);
      background: linear-gradient(135deg, #b8860b, #ffd700);
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(40px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ——— RESPONSIVE LUXURY ——— */
    @media (max-width: 992px) {
      .hero h1 { font-size: 2.4rem; }
      .hero p { font-size: 1.15rem; }
    }

    @media (max-width: 768px) {
      .navbar { padding: 0 30px; height: 80px; }
      .hero { padding-top: 80px; height: auto; padding-bottom: 2%; }
      .hero h1 { font-size: 2rem; }
      .navbar .nav-links { display: none; }
      .menu-toggle { display: block; color: #ffd700; font-size: 1.6rem; cursor: pointer; }

    }
        /* Remove old conflicting logo styles */
        .logo-top { display: none !important; }

        /* Responsive */
        @media (max-width: 992px) {
            .masonry-gallery { column-count: 2; }
            .bg-content { padding-top: 50px; }
        }
        #recommended-tours{
            margin-top: -8%;
        }