/* Custom CSS for Fresh Mood Treks Website */

/* Universal CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0; /* Remove default body margin to avoid top gap under fixed navbar */
    padding: 0;
    height: 100%; /* allow flex-based sticky footer */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0; /* Remove default body margin to avoid top gap under fixed navbar */
    min-height: 100vh; /* full viewport height */
    display: flex; /* enable sticky footer layout */
    flex-direction: column;
}

/* Ensure the main content grows to push footer to the bottom on short pages */
main { flex: 1 0 auto; }

/* Footer should stick to bottom when content is short */
footer.footer { margin-top: auto; }

/* Hero Section Styles */
.hero-section {
    margin-top: 0 !important; /* Ensure hero starts directly under the fixed navbar */
    padding-top: 0 !important;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* ensure slide itself centers children */
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: absolute; /* fill the slide area */
    z-index: 2;
    text-align: center;
    top: 0;   /* override default caption offsets */
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;               /* center caption perfectly */
    align-items: center;
    justify-content: center;
}

/* Ensure carousel controls are above overlay and clickable */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

.wildlife-slide {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%232d5a27"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Wildlife Safari Image</text></svg>');
}

.beaches-slide {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23087f8c"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Beach Paradise Image</text></svg>');
}

.culture-slide {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%238b4513"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Cultural Experience Image</text></svg>');
}

/* Additional Hero Slide Styles */
.adventure-slide {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%231e40af"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Adventure Experience Image</text></svg>');
}

.luxury-slide {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23dc3545"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Luxury Experience Image</text></svg>');
}

.family-slide {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%2320c997"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Family Experience Image</text></svg>');
}

.photography-slide {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%236f42c1"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Photography Experience Image</text></svg>');
}

.custom-slide {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%236c757d"/><text x="600" y="300" text-anchor="middle" fill="white" font-size="48">Custom Experience Image</text></svg>');
}

/* Hero Carousel Stability */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: background-image 0.3s ease-in-out;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
    z-index: 2;
}

.carousel-item:not(.active) {
    z-index: 1;
}

/* Prevent layout shifts when images load */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Destination Hero Styles */
.destination-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%232d5a27"/><text x="600" y="200" text-anchor="middle" fill="white" font-size="36">Destination Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

/* Ensure hero content is properly positioned below navbar */
.destination-hero .hero-content {
    padding-top: 76px; /* Add padding to hero content instead of hero section */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Destination hero image wrapper to support dynamic background */
.destination-hero .hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.destination-hero .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.destination-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Additional hero section fixes */
.hero-section .carousel {
    margin-top: 0;
    padding-top: 0;
}

.hero-section .carousel-item {
    margin-top: 0;
    padding-top: 0;
}

/* Additional fixes for navbar alignment */
.navbar.fixed-top {
    z-index: 1030;
}

/* Form styling for read-only fields */
.form-control[readonly] {
    background-color: #f8f9fa !important;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

.form-control[readonly]:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

/* Ensure no gaps between navbar and hero */
.destination-hero {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

/* Article Hero Styles */
.article-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 350"><rect width="1200" height="350" fill="%231e40af"/><text x="600" y="175" text-anchor="middle" fill="white" font-size="32">Travel Guide Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.article-hero .hero-content {
    padding-top: 76px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Experience Hero Styles */
.experience-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><rect width="1200" height="500" fill="%238b4513"/><text x="600" y="250" text-anchor="middle" fill="white" font-size="24">Experience Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

/* Reviews Section */
.reviews-section .review-card {
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}
.reviews-section .review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.reviews-section .review-logo svg { display: block; }
.reviews-section .rating { font-size: 0.95rem; }
.reviews-section .cta { transition: color 0.2s ease; }
.reviews-section a:hover .cta { color: #0a58ca; }

/* Payment Hero Styles - extends destination-hero with payment-specific styling */
.payment-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%231e40af"/><text x="600" y="200" text-anchor="middle" fill="white" font-size="36">Payment Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.payment-hero .hero-content {
    padding-top: 76px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.experience-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.experience-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.experience-hero .breadcrumb-item a:hover {
    color: #F7941D;
}

.experience-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.experience-hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.experience-hero .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Override for experience hero buttons - no rounding */
.experience-hero .hero-buttons .btn {
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* Sustainability Hero Styles */
.sustainability-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><rect width="1200" height="500" fill="%232d5a27"/><text x="600" y="250" text-anchor="middle" fill="white" font-size="24">Sustainability Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.sustainability-hero .hero-content {
    padding-top: 76px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.sustainability-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.sustainability-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.sustainability-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sustainability-hero .breadcrumb-item a:hover {
    color: #F7941D;
}

.sustainability-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.sustainability-hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.sustainability-hero .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Hero Content Styling for All Hero Sections */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.hero-content .breadcrumb {
    background: transparent;
    margin-bottom: 2rem;
}

.hero-content .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.hero-content .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

.hero-content .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 140px;
}

/* Article Content Styles */
.article-content {
    background-color: #ffffff;
}

.main-content h2 {
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-content h3 {
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.main-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.article-intro .lead {
    font-size: 1.25rem;
    color: #718096;
    font-weight: 400;
}

.image-placeholder {
    border: 2px dashed #e2e8f0;
    background-color: #f7fafc;
}

.article-footer {
    border-top-color: #e2e8f0;
}

.social-share .btn {
    font-size: 0.875rem;
}

/* Sidebar Styles */
.sidebar .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar .card-header {
    border-bottom: none;
    font-weight: 600;
}

.tip-item {
    display: flex;
    align-items: flex-start;
}

.tip-item i {
    margin-top: 0.125rem;
}

/* About Page Styles */
.about-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 450"><rect width="1200" height="450" fill="%238b4513"/><text x="600" y="225" text-anchor="middle" fill="white" font-size="36">About Us Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.about-hero .hero-content {
    padding-top: 76px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Sustainability Page Styles (mirror About hero) */
.sustainability-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
}

.sustainability-hero .hero-content {
    padding-top: 76px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Company Narrative Styles */
.company-narrative {
    background-color: #ffffff;
}

.narrative-content h2 {
    color: #2d3748;
    font-weight: 700;
}

.narrative-content .lead {
    color: #718096;
    font-size: 1.25rem;
}

.narrative-image .image-placeholder {
    height: 300px;
    border: 2px dashed #e2e8f0;
}

/* Mission & Values Styles */
.value-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.value-icon {
    color: #F7941D;
}

/* Team Member Styles */
.team-member {
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    border: 3px solid #e2e8f0;
}

.team-member h5 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #718096;
}

/* Why Choose Us Styles */
.why-choose-us {
    background: linear-gradient(135deg, #F7941D 0%, #DC8721 100%);
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: #1a202c;
}

/* CTA Section Styles */
.cta-section {
    background-color: #f7fafc;
}

/* Light variant to match provided template snippet exactly */
.cta-section--light {
    background: #f7fafc !important;
    color: inherit !important;
}

.cta-section--light h3 {
    color: inherit !important;
}

.cta-section--light .btn-outline-warning {
    border-color: #F7941D !important;
    color: #F7941D !important;
    background: transparent !important;
}

.cta-section--light .btn-outline-warning:hover {
    background: #F7941D !important;
    color: #000 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .experience-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .sustainability-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .photo-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Blog Page Styles */
.blog-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%23028a0f"/><text x="600" y="200" text-anchor="middle" fill="white" font-size="36">Blog Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.blog-hero .hero-content {
    padding-top: 76px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Blog hero image container (mirror About/Sustainability) */
.blog-hero .hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.blog-hero .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.blog-hero .hero-content { /* ensure over image overlay */
    position: relative;
    z-index: 2;
}

/* Experience Template Styles */
.experience-content {
    margin-top: 2rem;
}

.experience-content h2 {
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.experience-content h3 {
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.experience-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.experience-content ul {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.experience-content li {
    margin-bottom: 0.5rem;
}

/* Timeline Styles */
.timeline-item {
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #F7941D; /* match frontend template bullet */
    display: inline-block;
}

/* Utility class to match template */
.bg-brown {
    background-color: #F7941D !important;
}

/* Highlight Cards */
.highlight-card {
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
}

/* Sustainability Template Styles */
.sustainability-content {
    background-color: #ffffff;
    margin-top: 2rem;
}

.sustainability-content .main-content h2 {
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sustainability-content .main-content h3 {
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.sustainability-content .main-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.sustainability-content .main-content ul {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.sustainability-content .main-content li {
    margin-bottom: 0.5rem;
}

/* Blockquote Styling */
.blockquote {
    border-left: 4px solid #F7941D;
    background-color: #f8f9fa;
}

.blockquote-footer {
    color: #6c757d;
    font-style: italic;
}

/* Featured Post Styles */
.featured-image-placeholder {
    height: 300px;
    border: 2px dashed #e2e8f0;
}

/* Blog Card Styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}

.image-placeholder {
    height: 200px;
    border: 2px dashed #e2e8f0;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .featured-image-placeholder {
        height: 200px;
    }
}

/* Navbar refinements: extra space between last nav item and inquire button */
.btn-inquire {
    margin-left: 0.5rem;
}

@media (min-width: 992px) {
    .btn-inquire {
        margin-left: 1rem; /* extra space on larger screens */
    }
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Package Image Placeholders */
.package-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.safari-img {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="400" height="200" fill="%232d5a27"/><text x="200" y="100" text-anchor="middle" fill="white" font-size="24">Safari Image</text></svg>');
}

.kilimanjaro-img {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="400" height="200" fill="%236b7280"/><text x="200" y="100" text-anchor="middle" fill="white" font-size="24">Kilimanjaro Image</text></svg>');
}

.zanzibar-img {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="400" height="200" fill="%23087f8c"/><text x="200" y="100" text-anchor="middle" font-size="24">Zanzibar Image</text></svg>');
}

/* Highlight Cards */
.highlight-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.highlight-icon {
    color: #F7941D;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.gallery-placeholder {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wildlife-gallery {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 250"><rect width="400" height="250" fill="%232d5a27"/><text x="200" y="125" text-anchor="middle" fill="white" font-size="20">Wildlife Gallery</text></svg>');
}

.landscape-gallery {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 250"><rect width="400" height="250" fill="%23087f8c"/><text x="200" y="125" text-anchor="middle" fill="white" font-size="20">Landscape Gallery</text></svg>');
}

.culture-gallery {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 250"><rect width="400" height="250" fill="%238b4513"/><text x="200" y="125" text-anchor="middle" fill="white" font-size="20">Culture Gallery</text></svg>');
}

.adventure-gallery {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 250"><rect width="400" height="250" fill="%23dc2626"/><text x="200" y="125" text-anchor="middle" fill="white" font-size="20">Adventure Gallery</text></svg>');
}

.sunset-gallery {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 250"><rect width="400" height="250" fill="%23f59e0b"/><text x="200" y="125" text-anchor="middle" fill="white" font-size="20">Sunset Gallery</text></svg>');
}

.people-gallery {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 250"><rect width="400" height="250" fill="%236b7280"/><text x="200" y="125" text-anchor="middle" fill="white" font-size="20">People Gallery</text></svg>');
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Map Placeholder */
.map-placeholder {
    padding: 40px 20px;
}

.map-container {
    min-height: 300px;
}

/* Testimonial Styles */
.testimonial-avatar {
    color: #6c757d;
}

/* Social Links */
.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Custom Button Styles */
.btn-warning {
    background-color: #F7941D;
    border-color: #F7941D;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #C86E0F;
    border-color: #B9640A;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.3);
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Tour Card Image Consistency */
.packages-section .card-img-top {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* Maintains aspect ratio while filling the container */
    object-position: center; /* Centers the image content */
}

/* Ensure tour cards have consistent dimensions */
.packages-section .card {
    height: 100%; /* Make all cards same height */
    border: none; /* Remove default border */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Subtle shadow */
}

.packages-section .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.packages-section .card-footer {
    margin-top: auto; /* Push footer to bottom */
    padding: 1rem 1.5rem 1.5rem;
    background: transparent;
    border: none;
}

/* Tour card text consistency */
.packages-section .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.packages-section .card-text {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Tour card list items styling */
.packages-section .card ul {
    margin-bottom: 1rem;
}

.packages-section .card li {
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.packages-section .card li i {
    width: 20px; /* Consistent icon width */
    margin-right: 0.5rem;
}

/* Consistent tour card styling across all tour templates */
.tours-section .card-img-top,
.search-results .card-img-top,
.tour-card .card-img-top {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* Maintains aspect ratio while filling the container */
    object-position: center; /* Centers the image content */
}

/* Ensure all tour cards have consistent dimensions */
.tours-section .card,
.search-results .card,
.tour-card .card {
    height: 100%; /* Make all cards same height */
    border: none; /* Remove default border */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Subtle shadow */
}

.tours-section .card-body,
.search-results .card-body,
.tour-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.tours-section .card-footer,
.search-results .card-footer,
.tour-card .card-footer {
    margin-top: auto; /* Push footer to bottom */
    padding: 1rem 1.5rem 1.5rem;
    background: transparent;
    border: none;
}

/* Responsive tour card adjustments */
@media (max-width: 768px) {
    .packages-section .card-img-top,
    .tours-section .card-img-top,
    .search-results .card-img-top,
    .tour-card .card-img-top {
        height: 200px; /* Slightly smaller height on tablets */
    }
    
    .packages-section .card-body,
    .tours-section .card-body,
    .search-results .card-body,
    .tour-card .card-body {
        padding: 1rem;
    }
    
    .packages-section .card-footer,
    .tours-section .card-footer,
    .search-results .card-footer,
    .tour-card .card-footer {
        padding: 0.75rem 1rem 1rem;
    }
}

@media (max-width: 576px) {
    .packages-section .card-img-top,
    .tours-section .card-img-top,
    .search-results .card-img-top,
    .tour-card .card-img-top {
        height: 180px; /* Even smaller height on mobile */
    }
    
    .packages-section .card-body,
    .tours-section .card-body,
    .search-results .card-body,
    .tour-card .card-body {
        padding: 0.75rem;
    }
    
    .packages-section .card-footer,
    .tours-section .card-footer,
    .search-results .card-footer,
    .tour-card .card-footer {
        padding: 0.5rem 0.75rem 0.75rem;
    }
}

/* About page hero image styling */
.about-hero .hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.about-hero .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Sustainability page hero image styling (mirror About hero) */
.sustainability-hero .hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.sustainability-hero .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.sustainability-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Activity Icons */
.activity-icon {
    color: #6c757d;
}

/* Itinerary Styles */
.accordion-button:not(.collapsed) {
    background-color: #e7f3ff;
    color: #0c63e4;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.itinerary-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}

.itinerary-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Accommodation Icons */
.accommodation-icon {
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .destination-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 60vh;
        min-height: 400px;
    }
    
    .destination-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #F7941D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C86E0F;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(247, 148, 29, 0.25);
    border-color: #F7941D;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} 

/* Footer Styles */
.footer {
    background-color: #212529 !important;
}

.footer h5,
.footer h6 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer p,
.footer li,
.footer a {
    color: #f8f9fa !important;
}

.footer a:hover {
    color: #F7941D !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-links a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #F7941D !important;
}

.footer hr {
    border-color: #6c757d;
}

.footer .text-light {
    color: #f8f9fa !important;
}

/* Nested Dropdown Styles */
.dropdown-item-container {
    position: relative;
}

.dropdown-item-container:hover .nested-dropdown {
    display: block;
}

.nested-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    min-width: 220px;
    background: white;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
}

.nested-dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    list-style: none;
}

.nested-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #16181b;
}

/* Remove bullets from all dropdown menus */
.dropdown-menu {
    position: relative;
    list-style: none;
}

.dropdown-menu li {
    list-style: none;
}

/* Add visual indicator for sub-menu items */
.submenu-indicator::after {
    content: "›";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1;
}

/* Ensure proper positioning for the arrow */
.submenu-indicator {
    position: relative;
    padding-right: 2.5rem;
}

.footer ul {
    margin-top: 0.5rem;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer .social-links {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #f8f9fa;
}

.contact-item i {
    color: #ffffff;
    margin-right: 0.75rem;
    font-size: 1rem;
    min-width: 16px;
    text-align: center;
}

.contact-item span {
    color: #f8f9fa;
    line-height: 1.4;
}

.footer-heading {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #F7941D;
    padding-bottom: 0.5rem;
    display: inline-block;
} 

/* Experience Content Styles - align to frontend template */
.experience-content h2 {
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.experience-content h3 {
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.experience-content .lead {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Highlight Cards */
.highlight-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #F7941D;
}

.highlight-card i {
    font-size: 1.2rem;
}

.highlight-card strong {
    color: #2d5a27;
}

/* Destination Cards */
.destination-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #F7941D;
}

/* Sidebar Styles */
.sidebar .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sidebar .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Override Bootstrap warning color globally */
.bg-warning {
    background-color: #F7941D !important;
}

.text-warning {
    color: #F7941D !important;
}

.border-warning {
    border-color: #F7941D !important;
}

.btn-outline-warning {
    border-color: #F7941D !important;
    color: #F7941D !important;
}

.btn-outline-warning:hover {
    background-color: #F7941D !important;
    border-color: #F7941D !important;
    color: #000 !important;
}

.sidebar .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: #333 !important;
}

.sidebar .card-header.bg-primary {
    background: #0d6efd !important;
    color: #fff !important;
}

.sidebar .card-header.bg-warning {
    background: #F7941D !important;
    color: #000 !important;
}

/* CTA Section */
.cta-section {
    background-color: #f7fafc;
}

.cta-section h3 {
    color: #2d5a27;
    font-weight: 700;
}

.cta-section .btn {
    border-radius: 0.375rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
} 

/* Sustainability Hero Styles */
.sustainability-hero {
    margin-top: 0;
    padding-top: 0;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><rect width="1200" height="500" fill="%232d5a27"/><text x="600" y="250" text-anchor="middle" fill="white" font-size="24">Sustainability Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}



/* Sustainability Content Styles */
.sustainability-content .main-content h2 {
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sustainability-content .main-content h3 {
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.sustainability-content .article-intro .lead {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sustainability-content .article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.sustainability-content .article-body p {
    margin-bottom: 1.5rem;
}

.sustainability-content .article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.sustainability-content .article-body li {
    margin-bottom: 0.5rem;
}

/* Tip Items */
.tip-item {
    display: flex;
    align-items: center;
    padding: 0.25rem 0; /* tighter spacing like template */
}

.tip-item i {
    font-size: 1rem; /* smaller icon to match template */
    margin-right: 0.5rem;
}

/* Social Share Buttons */
.social-share .btn {
    border-radius: 0.375rem; /* match Bootstrap default / template */
    padding: 0.25rem 0.5rem; /* match btn-sm */
    font-size: 0.875rem; /* keep template size */
}

.social-share .btn:hover {
    transform: none;
    box-shadow: none;
} 

/* Map Styles */
#destinationsMap {
    min-height: 480px;
    position: relative;
    z-index: 1;
}

#destinationsMap .leaflet-container {
    height: 100% !important;
    width: 100% !important;
}

/* Ensure map tiles are visible */
.leaflet-tile {
    opacity: 1 !important;
}

/* Map loading state */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
} 

/* Destinations Page Styles */
.filter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.filter-section .btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

.filter-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.filter-section .btn-warning {
    background: linear-gradient(135deg, #F7941D 0%, #DC8721 100%);
    border: none;
    color: #000;
}

.filter-section .btn-outline-warning {
    border: 2px solid #F7941D;
    color: #F7941D;
    background: transparent;
}

.filter-section .btn-outline-warning:hover {
    background: #F7941D;
    color: #000;
    border-color: #F7941D;
}

.destination-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.destination-card .card-img-top {
    transition: transform 0.4s ease;
    border-radius: 15px 15px 0 0;
}

.destination-card:hover .card-img-top {
    transform: scale(1.08);
}

.destination-card .card-body {
    padding: 1.5rem;
}

.destination-card .card-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.destination-card .badge {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.destination-card .list-unstyled li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.destination-card .card-footer {
    padding: 1rem 1.5rem 1.5rem;
}

.destination-card .btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.destination-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.3);
}

#load-more-btn {
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 1rem 2.5rem;
    font-weight: 500;
    border-width: 2px;
}

#load-more-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 148, 29, 0.3);
}

#load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading .spinner-border {
    width: 1.2rem;
    height: 1.2rem;
}

.cta-section {
    background-color: #f7fafc;
}

.cta-section h3 {
    color: inherit;
}

.cta-section .btn-outline-warning {
    border-color: #F7941D;
    color: #F7941D;
}

.cta-section .btn-outline-warning:hover {
    background: #F7941D;
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-section .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .destination-card {
        margin-bottom: 1.5rem;
    }
    
    .destination-card .card-body {
        padding: 1.25rem;
    }
    
    .destination-card .card-footer {
        padding: 0.75rem 1.25rem 1.25rem;
    }
    
    #load-more-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
} 

/* ---- CTA Light Enforcement (placed at end to win cascade) ---- */
section.cta-section.cta-section--light {
    background: #f7fafc !important;
    background-image: none !important;
    color: inherit !important;
}

section.cta-section.cta-section--light h3 { color: inherit !important; }

section.cta-section.cta-section--light .btn-outline-warning {
    border-color: #F7941D !important;
    color: #F7941D !important;
    background: transparent !important;
}

section.cta-section.cta-section--light .btn-outline-warning:hover {
    background: #F7941D !important;
    color: #000 !important;
}

/* Force experience hero buttons to have no border radius */
section.experience-hero .hero-buttons .btn,
.experience-hero .hero-buttons .btn,
section.experience-hero .hero-buttons a.btn,
.experience-hero .hero-buttons a.btn {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

/* Partners Section Styles */
.partners-section {
    /* Match testimonials section styling exactly */
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0; /* Add padding to match testimonials section height */
    mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
    transition: transform 0.5s ease-in-out;
}

.partners-track:hover {
    /* Pause handled by JavaScript */
}

.partner-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    min-width: 280px;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.partner-item:hover::before {
    left: 100%;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-logo {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: brightness(1.1) saturate(1.1);
    transform: scale(1.05);
}

/* Partner logo fallback styles */
.partner-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partner-name-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    line-height: 1.2;
    padding: 0.25rem;
    word-break: break-word;
    max-width: 100%;
}

.partner-item:hover .partner-logo-fallback {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #adb5bd;
    transform: scale(1.02);
}

.partner-item:hover .partner-name-text {
    color: #495057;
}

/* Animation now handled by JavaScript for discrete steps */

/* Responsive Design */
@media (max-width: 768px) {
    .partners-track {
        gap: 1rem;
    }
    
    .partner-item {
        min-width: 220px;
        height: 140px;
        padding: 1.5rem;
    }
    
    .partner-logo {
        max-height: 120px;
    }
    
    .partner-name-text {
        font-size: 0.65rem;
    }
    
    .partners-section h2 {
        font-size: 2rem !important;
    }
    
    .partners-section .lead {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .partners-track {
        gap: 0.75rem;
    }
    
    .partner-item {
        min-width: 200px;
        height: 120px;
        padding: 1.25rem;
    }
    
    .partner-logo {
        max-height: 100px;
    }
    
    .partner-name-text {
        font-size: 0.55rem;
    }
}

/* Duplicate logos for seamless infinite scroll */
.partners-track::after {
    content: '';
    display: none;
}

/* Cache bust:  5 Septemba 2025 10:47:18 asubuhi EAT */

/* ===== FLOATING CHATBOT STYLES ===== */

#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Chat Toggle Button */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F7941D, #DC8721);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(247, 148, 29, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(247, 148, 29, 0.6);
}

.chatbot-toggle i {
    font-size: 24px;
    color: white;
}

.chatbot-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Chat Window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

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

/* Chat Header */
.chatbot-header {
    background: linear-gradient(135deg, #343a40, #495057);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    font-size: 20px;
}

.chatbot-header-text h6 {
    font-weight: 600;
    margin: 0;
}

.chatbot-header-text small {
    color: rgba(255, 255, 255, 0.8);
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.chatbot-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Chat Messages */
.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chatbot-message {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.chatbot-message-bot {
    justify-content: flex-start;
}

.chatbot-message-user {
    justify-content: flex-end;
}

.chatbot-message-avatar {
    width: 32px;
    height: 32px;
    background: #F7941D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-message-avatar i {
    font-size: 16px;
    color: white;
}

.chatbot-message-user .chatbot-message-avatar {
    background: #007bff;
}

.chatbot-message-content {
    max-width: 80%;
    background: white;
    padding: 12px 15px;
    border-radius: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chatbot-message-user .chatbot-message-content {
    background: #007bff;
    color: white;
}

.chatbot-message-content p {
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.chatbot-message-content p:last-child {
    margin-bottom: 0;
}

.chatbot-message-content small {
    font-size: 11px;
    opacity: 0.7;
}

/* Button Choices Container */
.chatbot-choices-container {
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
    max-height: 200px;
    overflow-y: auto;
}

/* Chatbot Instruction */
.chatbot-instruction {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: 1px solid #bbdefb;
    border-radius: 15px;
    padding: 12px 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1976d2;
    font-weight: 500;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}

.chatbot-instruction i {
    font-size: 16px;
    color: #F7941D;
    animation: bounce 2s infinite;
}

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

.choice-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 500;
}

.choice-btn:hover {
    background: #F7941D;
    border-color: #F7941D;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.3);
}

.choice-btn:last-child {
    margin-bottom: 0;
}

.choice-btn i {
    font-size: 16px;
    flex-shrink: 0;
}

.choice-btn.back-btn {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    font-size: 13px;
    padding: 10px 16px;
}

.choice-btn.back-btn:hover {
    background: #5a6268;
    border-color: #5a6268;
    transform: translateX(-5px);
}

.choice-btn.contact-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
    color: white;
    font-weight: 600;
}

.choice-btn.contact-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
    transform: scale(1.02);
}

/* Choice Button Groups */
.choice-group {
    margin-bottom: 15px;
}

.choice-group-title {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 0 4px;
}

/* Special styling for different button types */
.choice-btn.tour-btn { border-left: 4px solid #F7941D; }
.choice-btn.destination-btn { border-left: 4px solid #17a2b8; }
.choice-btn.booking-btn { border-left: 4px solid #28a745; }
.choice-btn.price-btn { border-left: 4px solid #fd7e14; }
.choice-btn.contact-btn { border-left: 4px solid #dc3545; }

/* Responsive Design */
@media (max-width: 768px) {
    #chatbot-container {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-toggle i {
        font-size: 22px;
    }
    
    .chatbot-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 100px);
        bottom: 80px;
        right: 0;
        left: 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .chatbot-choices-container {
        padding: 15px;
        max-height: 250px;
    }
    
    .choice-btn {
        padding: 14px 16px;
        font-size: 15px;
    }
}

/* Animation for typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 15px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #6c757d;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
