/* Global Styles */
:root {
    --primary-color: #f8941d;
    --dark-green: #2c4c1b;
    --light-green: #3c5a29;
    --white: #ffffff;
    --black: #000000;
    --gray: #666666;
    --z-index-dropdown: 1060; /* Higher z-index for dropdowns */
}

body {
    font-family: 'Figtree', sans-serif;
    line-height: 1.6;
    padding-top: 0; /* Remove any padding that might interfere */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header Styles */
.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    background-color: transparent;
}

.header-wrapper.sticky {
    position: fixed;
    background-color: rgba(102, 102, 102, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Scroll transformation styles for all pages */
.header-wrapper.scrolled-header {
    position: fixed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--dark-green);
}

.header-wrapper.scrolled-header .top-bar {
    height: 0;
    opacity: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
}

.header-wrapper.scrolled-header .main-navbar {
    background-color: var(--dark-green);
    padding: 10px 0;
}

.header-wrapper.scrolled-header .navbar-brand {
    transform: translateY(0);
}

.header-wrapper.scrolled-header .navbar-brand img {
    height: 45px;
}

/* Page-specific header styling reset for proper rendering */
.contact-header,
.about-header,
.blog-header,
.tour-header {
    position: absolute;
    background-color: transparent;
    background-image: none;
}

.contact-header.sticky,
.about-header.sticky,
.blog-header.sticky,
.tour-header.sticky {
    background-color: rgba(102, 102, 102, 0.95);
}

.contact-header.scrolled-header,
.about-header.scrolled-header,
.blog-header.scrolled-header,
.tour-header.scrolled-header {
    background-color: var(--dark-green);
}

.top-bar {
    background-color: transparent;
    padding: 10px 0;
    color: var(--white);
    transition: all 0.3s ease;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.social-icons a {
    margin-left: 15px;
    font-size: 18px;
}

.main-navbar {
    background-color: transparent;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.sticky .main-navbar {
    padding: 10px 0;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand img {
    height: 60px;
    transition: height 0.3s ease;
    max-width: 100%;
}

.sticky .navbar-brand img {
    height: 50px;
}

/* Fix for navbar menu items color */
.main-navbar .nav-link {
    color: var(--white) !important; /* Force white color */
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus,
.main-navbar .nav-link.active {
    color: var(--primary-color) !important; /* Force orange color on hover and active */
}

/* Force orange color for active nav items & their parents */
.navbar-nav .nav-item.active > .nav-link,
.navbar-nav .nav-item > .nav-link.active,
.navbar-nav .dropdown.active > .dropdown-toggle {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border-color: var(--white);
    z-index: 1050;
}

/* Fixed dropdown menu styles */
.navbar-collapse {
    transition: all 0.3s ease;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    background-color: rgba(44, 76, 27, 0.95);
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(248, 148, 29, 0.2);
    color: var(--primary-color);
}

/* Media Queries for responsive design */
@media (max-width: 1200px) {
    .navbar-brand img {
        height: 50px;
    }
    
    .main-navbar .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 13px;
    }
    
    .social-icons a {
        margin-left: 10px;
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Tablet-specific styles for the top bar */
    .top-bar {
        padding: 5px 0;
    }
    
    .top-bar .row {
        align-items: center;
    }
    
    .top-bar a {
        font-size: 13px;
    }
    
    .top-bar .col-md-6:first-child {
        display: flex;
        flex-wrap: wrap;
    }
    
    .top-bar .me-4 {
        margin-right: 10px !important;
    }
    
    .social-icons a {
        margin-left: 8px;
        font-size: 15px;
    }
    
    /* Improve alignment for contact info */
    .top-bar .d-flex {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    /* Scroll transformation navbar adjustment for tablet */
    .header-wrapper.scrolled-header .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 992px) {
    .overlap-images {
        margin-bottom: -50px; /* Less overlap on medium screens */
    }
    
    .about-section {
        padding-top: 100px;
    }
    
    .about-logo-container {
        margin-bottom: 30px;
    }
    
    /* Improved navbar on tablet */
    .navbar-collapse {
        background-color: rgba(44, 76, 27, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: var(--z-index-dropdown);
        padding: 1rem;
    }
    
    .navbar-nav {
        margin-left: 0 !important;
    }
    
    .dropdown-menu {
        background-color: rgba(60, 90, 41, 0.95);
        border: none;
        border-radius: 0;
        padding-left: 1rem;
    }
    
    /* Scrolled header adjustments for tablet */
    .header-wrapper.scrolled-header .navbar-collapse {
        top: 65px; /* Adjust based on your scrolled navbar height */
    }
}

@media (max-width: 768px) {
    /* More compact hero section on mobile */
    .hero-section {
        height: auto;
        min-height: 70vh;
        padding: 120px 0 50px;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-title {
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        margin-bottom: 1.25rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .overlap-images {
        margin-bottom: 0; /* No overlap on mobile */
    }
    
    .about-section {
        padding-top: 60px;
    }
    
    /* Improved mobile navigation */
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    .top-bar {
        display: none; /* Hide top bar on very small screens to save space */
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    /* Override Bootstrap's default navbar toggler */
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    /* Make dropdown items more tappable */
    .dropdown-item {
        padding: 0.75rem 1.5rem;
    }
    
    /* Center tour hero details on mobile */
    .tour-hero-details {
        flex-direction: column;
        align-items: center;
    }
    
    .tour-hero-price {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    /* Even more compact for very small screens */
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-content .col-md-8 {
        padding: 0 10px;
    }
    
    /* Ensure hamburger menu is visible */
    .navbar-toggler {
        background-color: rgba(248, 148, 29, 0.5);
    }
    
    .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em;
    }
    
    /* Scrolled header adjustments for mobile */
    .header-wrapper.scrolled-header .navbar-brand img {
        height: 35px;
    }
}

/* Contact page specific fixes */
.contact-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--z-index-dropdown);
    background-color: rgba(44, 76, 27, 0.95);
}

/* Fix for About page */
.about-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--z-index-dropdown);
    background-color: rgba(44, 76, 27, 0.95);
}

/* Fix for blog and tour pages */
.blog-header .navbar-collapse,
.tour-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--z-index-dropdown);
    background-color: rgba(44, 76, 27, 0.95);
}

/* Additional page-specific hero styles */
.contact-hero,
.about-hero,
.blog-hero,
.tour-hero {
    position: relative;
    z-index: 1;
    padding-top: 110px; /* Extra padding to accommodate header */
}

/* Correct the specific page header styling that might cause issues */
.contact-header,
.about-header,
.blog-header,
.tour-header {
    background-color: transparent !important;
    position: absolute !important;
}

.contact-header.sticky,
.about-header.sticky,
.blog-header.sticky,
.tour-header.sticky,
.contact-header.scrolled-header,
.about-header.scrolled-header,
.blog-header.scrolled-header,
.tour-header.scrolled-header {
    position: fixed !important;
}

/* Override any conflicting styles on specific pages */
.contact-header:not(.scrolled-header) .main-navbar,
.about-header:not(.scrolled-header) .main-navbar,
.blog-header:not(.scrolled-header) .main-navbar,
.tour-header:not(.scrolled-header) .main-navbar {
    background-color: transparent;
}

/* Hero Section Styles */
.hero-section {
    background-image: url('../images/home/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px; /* Adjusted to accommodate header height */
    min-height: 300px; /* Ensure minimum height */
    margin-top: 0; /* Ensure no extra margin */
    z-index: 1; /* Ensure proper stacking */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darken overlay for better text visibility */
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    width: 100%;
}

.hero-tagline {
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(1.5rem, 6vw, 3rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(0.875rem, 3vw, 1.2rem); /* Responsive font size */
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 8px 20px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    font-size: clamp(0.75rem, 2.5vw, 0.9rem); /* Responsive font size */
}

.btn-cta:hover {
    background-color: #e07e0d;
    color: var(--white);
}

/* Charming Experiences Section */
.charming-experiences-section {
    background-color: var(--white);
    padding: 80px 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-title {
    color: var(--black);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.experiences-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.btn-exp {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 10px 25px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
}

.btn-exp:hover {
    background-color: #e07e0d;
    color: var(--white);
}

.experience-images {
    padding: 0 15px;
}

.img-container {
    background-color: var(--white);
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
}

.img-main {
    height: 100%;
}

.img-side {
    height: 100%;
}

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

.overlap-images {
    margin-bottom: -100px; /* Create overlap effect */
    position: relative;
    z-index: 10;
}

/* About Us Section */
.about-section {
    background-image: url('../images/home/about-section.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    padding: 150px 0 80px; /* Extra top padding for overlap */
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.about-logo-container {
    position: relative;
    z-index: 1;
    text-align: center;
    opacity: 0.6;
    padding-top: 50px;
}

.about-logo {
    max-width: 80%;
    margin-bottom: 20px;
}

.about-slogan {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.9;
}

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

.about-content .section-subtitle {
    color: var(--primary-color);
}

.about-content .section-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-text {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.8;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
}

.read-more-link::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease;
}

.read-more-link:hover {
    color: #e07e0d;
}

.read-more-link:hover::after {
    right: -25px;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 50px 0 0;
}

.footer h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

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

.footer-social a {
    color: var(--white);
    font-size: 18px;
    margin-right: 15px;
}

.blog-post {
    margin-bottom: 20px;
}

.blog-post h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.blog-post a {
    color: var(--white);
    text-decoration: none;
}

.blog-post a:hover {
    color: var(--primary-color);
}

.blog-date {
    color: #aaa;
    font-size: 0.8rem;
}

.footer-subscribe {
    margin-bottom: 30px;
}

.footer-subscribe p {
    margin-bottom: 15px;
}

.subscribe-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 10px 15px;
    margin-bottom: 10px;
}

.subscribe-form .form-control::placeholder {
    color: #aaa;
}

.btn-subscribe {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    width: 100%;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #e07e0d;
}

.partner-logos {
    margin-top: 20px;
}

.partner-logos img {
    height: 40px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.footer-bottom {
    background-color: var(--light-green);
    padding: 15px 0;
    margin-top: 20px;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

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

@media (max-width: 992px) {
    .overlap-images {
        margin-bottom: -50px; /* Less overlap on medium screens */
    }
    
    .about-section {
        padding-top: 100px;
    }
    
    .about-logo-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .overlap-images {
        margin-bottom: 0; /* No overlap on mobile */
    }
    
    .about-section {
        padding-top: 60px;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--white);
    padding: 80px 0;
}

.why-choose-points {
    margin-top: 40px;
}

.why-point {
    display: flex;
    margin-bottom: 30px;
}

.why-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: rgba(60, 90, 41, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.why-icon i {
    font-size: 24px;
    color: var(--dark-green);
}

.why-content {
    flex: 1;
}

.why-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--black);
}

.why-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.why-choose-image {
    position: relative;
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-image img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Booking Process Section */
.booking-process-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.booking-intro {
    max-width: 700px;
    margin-bottom: 40px;
    color: #666;
}

.booking-step {
    background-color: var(--white);
    border-radius: 5px;
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(248, 148, 29, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.booking-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
}

.booking-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .why-point {
        margin-bottom: 25px;
    }
    
    .why-choose-image {
        margin-top: 40px;
    }
    
    .booking-step {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .why-icon {
        flex: 0 0 50px;
        height: 50px;
    }
    
    .why-icon i {
        font-size: 20px;
    }
    
    .booking-step {
        padding: 20px 15px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 24px;
    }
}

/* Popular Safaris Section */
.popular-safaris-section {
    background-color: #f9f9f9;
    background-image: linear-gradient(45deg, #f6f6f6 25%, transparent 25%, transparent 75%, #f6f6f6 75%, #f6f6f6), 
                      linear-gradient(45deg, #f6f6f6 25%, transparent 25%, transparent 75%, #f6f6f6 75%, #f6f6f6);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    padding: 80px 0;
}

.safari-intro {
    max-width: 800px;
    margin-bottom: 40px;
    color: #666;
}

.safari-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.safari-image {
    position: relative;
    overflow: hidden;
}

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

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

.price-tag {
    position: absolute;
    top: 15px;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    min-width: 140px;
    text-align: right;
}

.safari-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 76, 27, 0.85);
    color: var(--white);
    padding: 10px 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safari-info span {
    margin: 0 5px;
}

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

.separator {
    margin: 0 10px;
}

.safari-title {
    padding: 20px 15px;
}

.safari-title h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--black);
    line-height: 1.4;
}

.btn-safari-all {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 12px 25px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-safari-all:hover {
    background-color: #e07e0d;
    color: var(--white);
}

@media (max-width: 992px) {
    .safari-image img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .safari-image img {
        height: 200px;
    }
    
    .price-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
        min-width: 120px;
    }
    
    .safari-info {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .safari-title h4 {
        font-size: 1rem;
    }
}

/* Blog Section */
.blog-section {
    background-color: var(--white);
    padding: 80px 0;
}

.blog-intro {
    max-width: 800px;
    margin-bottom: 40px;
    color: #666;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.blog-link:hover {
    color: #e07e0d;
    text-decoration: underline;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    position: relative;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 20px 15px;
}

.blog-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
    line-height: 1.4;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more:hover {
    color: #e07e0d;
    text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
    background-color: #f9f9f9;
    padding: 80px 0 120px;
    position: relative;
    overflow: visible;
}

.reviews-intro {
    max-width: 800px;
    margin-bottom: 40px;
    color: #666;
}

.testimonial-slider {
    position: relative;
    z-index: 10;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

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

.testimonial-user {
    flex: 1;
}

.testimonial-user h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.testimonial-date {
    font-size: 0.8rem;
    color: #999;
}

.testimonial-rating {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.testimonial-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.testimonial-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.slider-dots {
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Holiday Package Offer Section */
.holiday-package-section {
    position: relative;
    background-image: url('../images/home/holidaypackage.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: -80px;
}

.holiday-package-overlay {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 60px 0;
}

.holiday-package-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.holiday-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.holiday-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.holiday-text {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-quote {
    background-color: var(--primary-color);
    color: var(--black);
    font-weight: 600;
    padding: 12px 25px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-quote:hover {
    background-color: #e07e0d;
    color: var(--black);
}

@media (max-width: 992px) {
    .blog-image img {
        height: 200px;
    }
    
    .reviews-section {
        padding-bottom: 100px;
    }
    
    .holiday-package-section {
        padding: 100px 0 60px;
    }
    
    .holiday-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .blog-image img {
        height: 180px;
    }
    
    .blog-content h4 {
        font-size: 1rem;
    }
    
    .reviews-section {
        padding-bottom: 80px;
    }
    
    .holiday-package-section {
        padding: 80px 0 50px;
        margin-top: -60px;
    }
    
    .holiday-title {
        font-size: 1.5rem;
    }
    
    .holiday-text {
        font-size: 0.9rem;
    }
}

/* About Page Styles */
.about-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    background-image: none;
}

.about-header.sticky {
    background-color: var(--gray);
}

.about-hero {
    background-image: url('../images/aboutherobg.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
}

.about-hero .hero-content {
    margin-top: 0;
}

.section-divider {
    position: relative;
    margin-bottom: 30px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.section-title {
    color: var(--black);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray);
}

.about-intro-image {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.testimonial-box {
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    color: var(--white);
}

.testimonial-box .blockquote {
    border-left: none;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
}

.feature-icon, .value-icon {
    background-color: rgba(248, 148, 29, 0.1);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.feature-icon i, .value-icon i {
    font-size: 24px;
}

.feature-content h5, .value-content h5 {
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p, .value-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.value-image, .core-values-image {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--gray);
}

.team-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.team-name {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-position {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social .social-icon {
    background-color: var(--light-green);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.team-social .social-icon:hover {
    background-color: var(--primary-color);
}

@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-intro-image, .value-image, .core-values-image {
        margin-top: 30px;
    }
    
    .feature-icon, .value-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .feature-icon i, .value-icon i {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 40vh;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .testimonial-box .blockquote {
        font-size: 1rem;
    }
    
    .team-image {
        width: 120px;
        height: 120px;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
}

/* Tour Hero Additions */
.tour-hero-details {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-flex;
    margin-top: 20px;
}

.tour-hero-price {
    display: flex;
    flex-direction: column;
    margin-right: 30px;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tour-hero-duration {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.tour-hero-duration i {
    margin-right: 8px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Travel With Us Section */
.travel-with-us-section {
    background-color: var(--white);
    padding: 80px 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.travel-images {
    padding: 0 15px;
}

.travel-feature {
    margin-bottom: 30px;
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
}

.feature-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
}

/* Questions & Answers Section */
.questions-answers-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

.questions-answers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.questions-answers-section .container {
    position: relative;
    z-index: 1;
}

.faq-intro {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.faq-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-link:hover {
    text-decoration: underline;
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f8f9fa;
}

.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f0f0;
    color: var(--primary-color);
    border-color: transparent;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

.accordion-body {
    padding: 20px;
    color: #666;
}

/* Tour Page Specific Styles */
.tour-detail-section {
    background-color: #f8f9fa;
}

.tour-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 30px;
}

.tour-tabs .nav-link {
    border: none;
    font-weight: 600;
    padding: 15px 20px;
    color: #333;
    border-radius: 0;
}

.tour-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--primary-color);
}

.tour-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 3px solid var(--primary-color);
}

.tour-tab-content {
    min-height: 400px;
}

.tour-section-content {
    padding: 20px 0;
}

.tour-section-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tour-section-content p {
    color: #666;
    margin-bottom: 20px;
}

.tour-section-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tour-section-content li {
    margin-bottom: 10px;
    color: #666;
}

.highlights-content ul {
    list-style-type: none;
    padding-left: 0;
}

.highlights-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.highlights-content li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

/* Tour Sidebar */
.tour-sidebar {
    position: sticky;
    top: 100px;
}

.safari-overview-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.overview-title {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    margin: -20px -20px 20px -20px;
    border-radius: 10px 10px 0 0;
    font-size: 1.3rem;
    text-align: center;
}

.map-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.overview-details {
    padding: 0 10px;
}

.overview-item {
    display: flex;
    margin-bottom: 20px;
}

.item-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(248, 148, 29, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.item-text h5 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #888;
}

.item-text p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
}

.related-tours-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.related-title {
    background-color: var(--dark-green);
    color: white;
    padding: 15px;
    margin: -20px -20px 20px -20px;
    border-radius: 10px 10px 0 0;
    font-size: 1.3rem;
    text-align: center;
}

.related-tour-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.related-tour-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.related-tour-item a {
    text-decoration: none;
    color: inherit;
}

.related-tour-img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
}

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

.related-tour-info h5 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.related-tour-info p {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.related-tour-item a:hover .related-tour-info h5 {
    color: var(--primary-color);
}

/* Booking Form */
.booking-form {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
}

.booking-form h3 {
    color: var(--dark-green);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.booking-form .form-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.booking-form .form-control {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.booking-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(248, 148, 29, 0.25);
}

.booking-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.booking-form .btn-exp {
    margin-top: 10px;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 30px;
}

.btn-outline-secondary {
    color: #555;
    border-color: #ddd;
}

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

.filtered-tours-section .tour-intro {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Featured Tours Section */
.featured-tours-section {
    background-color: var(--white);
    padding: 80px 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.featured-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.featured-images {
    padding: 0 15px;
}

.featured-images a.img-container {
    position: relative;
    display: block;
    text-decoration: none;
}

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

.tour-overlay h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

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

.featured-images a.img-container:hover .tour-overlay {
    background: linear-gradient(to top, rgba(248, 148, 29, 0.8) 0%, rgba(248, 148, 29, 0) 100%);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .tour-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .tour-tabs .nav-link {
        padding: 10px 15px;
        white-space: nowrap;
    }
    
    .tour-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .tour-tabs .nav-link {
        font-size: 0.85rem;
        padding: 10px 10px;
    }
    
    .tour-section-content {
        padding: 15px 0;
    }
    
    .booking-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .tour-hero-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tour-hero-price {
        margin-right: 0;
        margin-bottom: 10px;
    }
} 