:root {
            --primary: #029527;
            --secondary: #F39C12;
            --accent: #27AE60;
            --light: #F8F9FA;
            --dark: #2C3E50;
        }
        
        body {
            font-family: "Red Hat Text","Raleway", sans-serif;
            color: #333;
            padding-top: 80px;
        }
        
        h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
            font-family: 'Raleway', sans-serif;
        }
        p{
            /* font-size: 1.1rem; */
            /* line-height: 1.8; */
        }
        
        .bg-primary {
            background-color: var(--primary) !important;
        }
        
        .bg-secondary {
            background-color: var(--secondary) !important;
        }
        
        .bg-accent {
            background-color: var(--accent) !important;
        }
        
        .text-primary {
            color: var(--primary) !important;
        }
        
        .text-secondary {
            color: var(--secondary) !important;
        }
        
        .text-accent {
            color: var(--accent) !important;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: var(--secondary);
            border-color: var(--secondary);
        }
        
        .btn-outline-light:hover {
            background-color: var(--secondary);
            border-color: var(--secondary);
            color: white;
        }

        .btn-outline-primary {
            color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--secondary);
            border-color: var(--secondary);
            color: white;
        }
        .card-footer .btn-link.text-primary {
    transition: color 0.3s ease;
}

.card-footer .btn-link.text-primary:hover {
    color: var(--secondary) !important;
}
        .navbar {
            padding: 15px 0;
            transition: all 0.3s ease;
        }
        
        .navbar-brand img {
            height: 50px;
        }
        
        .navbar-nav .nav-link {
            color: var(--dark);
            font-weight: 500;
            margin: 0 10px;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--primary);
        }

        
.navbar-toggler {
    position: relative;
    border: none;
    padding: 0;
    width: 50px;
    height: 50px;
}

.navbar-toggler-icon, .close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.close-icon {
    font-size: 1.2rem;
}


        
        
        .hero {
            position: relative;
            height: 80vh;
            display: flex;
            align-items: center;
            color: white;
            text-align: left;
            overflow: hidden;
        }
        

        .hero::before, 
        .hero::after {
            content: "";
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-size: cover;
            background-position: center;
            z-index: -1;
            animation: fade 12s infinite;
            transition: opacity 1s ease-in-out;
        }

        .hero h1,
.hero p {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.25); /* adjust opacity */
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2; /* keeps text above overlay */
}





        /* .hero::before {
            background-image: url('http://127.0.0.1:8000/media/destinations/waldemar-brandt-zQsCISvBY2E-unsplash.jpg');
            animation-delay: 0s;
        }
        .hero::after {
            background-image: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
            animation-delay: 6s; 
        }

        @keyframes fade {
            0%, 45% { opacity: 1; }
            50%, 95% { opacity: 0; }
            100% { opacity: 1; }
        } */
        
        .plan {
            background: url('https://images.unsplash.com/photo-1551085254-e96b210db58a?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center center / cover no-repeat fixed;
            min-height: 50vh; /* full screen height */
            position: relative;
            padding: 0 15px;
        }
        
        .section-title {
            position: relative;
            font-weight: 700;
            font-size: 1.5 rem;

        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: var(--secondary);
            margin-top: 15px;
        }

#about, 
#safaris, 
#destinations, 
#testimonials, 
#contact {
  scroll-margin-top: 90px;
}
.hero2 {
    display: flex;
    align-items: center;
    text-align: start;
    color: white;
    background: url('https://images.unsplash.com/photo-1547471080-7cc2caa01a7e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    height: 30vh; /* default height */
    min-height: 20vh; /* ensures small height but allows expansion if text is long */
    padding: 2rem 1rem; /* space inside */
    display: flex;
    align-items: center;
}
.hero2 h1 {
    white-space: normal;   /* allow wrapping */
    word-break: break-word; /* break long words if needed */
}

/* Small screens */
@media (max-width: 768px) {
    .hero2 {
        height: 20vh; /* reduced height */
    }

    .hero2 h1 {
        font-size: 1.5rem; /* reduce heading size */
        line-height: 1.2; /* adjust line height */
        font-size: 1.2rem; /* reduce font size */
    }
}


.custom-accordion {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: white;
}

.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}

.custom-accordion .accordion-button {
    background: linear-gradient(to right, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
    padding: 20px;
    border: none;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(to right, rgba(243, 156, 18, 0.15), rgba(243, 156, 18, 0.1));
    color: inherit;
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F39C12'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: scale(1.2);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F39C12'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.day-header {
    display: flex;
    align-items: center;
    width: 100%;
}

.day-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.day-number span {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.day-title {
    flex-grow: 1;
}

.day-title h4 {
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.day-title p {
    font-size: 0.9rem;
}

.day-icon {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-left: 15px;
    margin-right: 10px;
}

.accordion-body {
    padding: 20px;
    background: #fafafa;
}

.accordion-body p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.day-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.detail-item i {
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .day-header {
        flex-direction: column;
        text-align: center;
    }
    
    .day-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .day-icon {
        margin-left: 0;
        margin-top: 10px;
        margin-right: 0;
    }
    
    .day-details {
        flex-direction: column;
        gap: 10px;
    }

    
    
    .detail-item {
        justify-content: center;
    }
    
    .accordion-button {
        padding: 15px;
    }
}

.quotation-heading {
    color: var(--secondary, #F39C12) !important;
    /* font-weight: 500 !important; */
    position: relative !important;
    padding-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.quotation-icon {
    background: var(--secondary, #F39C12) !important;
    color: white !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3) !important;
    flex-shrink: 0 !important;
    font-size: 1.2rem;
}

.list-unstyled i {
    width: 20px;
    text-align: center;
}

.btn-all:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white !important;
}

.safari-packages-container {
    overflow-x: hidden;
    padding: 10px 0;
    position: relative;
}

.safari-packages-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.safari-packages-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.safari-package-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.package-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.package-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.package-title-overlay h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.package-details {
    padding: 15px;
}

.package-details .list-unstyled {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

#suggestions {
  width: 100%;              /* match input width */
  max-height: 200px;        /* limit height */
  overflow-y: auto;         /* scroll if too long */
  z-index: 1050;            /* keep on top */
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc !important; /* or your custom color */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.carousel-btn-left {
    left: -20px;
}

.carousel-btn-right {
    right: -20px;
}

@media (max-width: 768px) {
    .safari-package-card {
        flex: 0 0 280px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn-left {
        left: -15px;
    }
    
    .carousel-btn-right {
        right: -15px;
    }
    
    .package-title-overlay h5 {
        font-size: 1.1rem;
    }
}

        .testimonial-card {
            background: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin: 15px;
            /* height: 100%; */
        }
        
        .testimonial-img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
        }

        /* Make accordion arrows white */
        .accordion-button::after {
            filter: brightness(0) invert(1); /* turn arrow white */
        }

        /* Optional: keep background green when expanded */
        .accordion-button:not(.collapsed) {
            background-color: var(--accent);
            color: #fff;
            box-shadow: none;
        }
        
        .latest-articles .article-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 12px;
            overflow: hidden;
        }

        .latest-articles .article-card:hover {
            /* transform: translateY(-5px); */
            box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        }

        .latest-articles .card-img-top {
            height: 100px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .latest-articles .article-card:hover .card-img-top {
            transform: scale(1.05);
        }

        .latest-articles .article-badge {
            font-size: 0.8rem;
            font-weight: 600;
        }

        .latest-articles .btn-link {
            transition: all 0.3s ease;
        }

        .latest-articles .btn-link:hover {
            color: var(--primary) !important;
            letter-spacing: 0.5px;
        }

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: #666;
}

.hero2 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}
        
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        footer h5 {
            color: var(--secondary);
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        footer a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        footer a:hover {
            color: var(--secondary);
        }
        
        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            text-align: center;
            line-height: 40px;
            border-radius: 50%;
            margin-right: 10px;
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            background: var(--secondary);
            color: var(--dark);
        }
        
        /* Custom styles for the Why Choose section */
        .why-choose-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            background-color: var(--dark);
        }
        
        .why-choose-icon i {
            font-size: 2rem;
            color: var(--secondary);
        }
        
        .why-choose-title {
            color: var(--secondary);
        }
        /* Back to Top Button */
#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: none;
  z-index: 99;
  border: none;
  background-color: var(--primary);
  color: var(--secondary);
  transition: all 0.3s ease;
}

#backToTopBtn:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

        /* Responsive section spacing */
.section-spacing {
    padding: 3rem 0;
}

.reduce-mobile {
    padding: 1.5rem 0 !important;
}

.compact-mobile {
    margin-top: -1rem;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 2rem 0;
    }
    
    .reduce-mobile {
        padding: 1.5rem 0 !important;
    }
    
    /* Reduce hero height on mobile */
    .hero {
        height: 70vh !important;
        min-height: 70vh !important;
    }
    
    /* Reduce heading sizes on mobile */
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-spacing {
        padding: 1.5rem 0;
    }
    
    .reduce-mobile {
        padding: 1rem 0 !important;
    }
    
    .hero {
        height: 60vh !important;
        min-height: 60vh !important;
    }
    
    .display-3 {
        font-size: 2rem;
    }
}


.blog-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.stat-item {
    text-align: center;
}

.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.article-badge .badge {
    font-size: 0.7rem;
    padding: 0.4em 0.8em;
}

.empty-state {
    padding: 3rem 1rem;
}


@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
        text-align: center;
    }
    .hero-stats {
        text-align: center;
    }
    
    .hero-icon {
        font-size: 4rem;
        margin-top: 2rem;
    }
    .blog-hero {
        padding: 3rem 0 !important;
    }
    
    .blog-hero h1.display-4 {
        font-size: 2rem;
        text-align: center;
    }
    
    .blog-hero .lead {
        font-size: 1rem;
        text-align: center;
    }
}

