/**
 * main.css
 * GrabTech Safari Theme - Main Stylesheet
 * Brand Colors: MakeMyTrip Blue (#0066B3) and Orange (#FF6B00)
 * Version: 2.0 - Optimized with fixed image sizing
 */

/* ============================================
   1. CSS VARIABLES & ROOT SETTINGS
   ============================================ */

:root {
    /* Brand Colors - MakeMyTrip - Exactly as in logo */
    --brand-blue: #0066B3;      /* MakeMyTrip text color */
    --brand-orange: #FF6B00;     /* Safaris Ltd text color */
    
    /* Supporting Colors */
    --primary-green: #1a472a;
    --accent-gold: #d4a017;
    --earth-brown: #8b4513;
    --parrot-blue: #684527;
    --landrail-orange: #ff8c00;
    --light-tan: #f5e8d0;
    --dark-brown: #5d4037;
    --text-dark: #333333;
    --text-light: #666666;
    --text-gray: #666666;
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    
    /* Bootstrap Override Colors */
    --bs-primary: #613d1e;
    --bs-secondary: var(--brand-orange);
    --bs-success: var(--google-green);
    --bs-info: var(--parrot-blue);
    --bs-warning: var(--google-yellow);
    --bs-danger: var(--google-red);
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-round: 30px;
    --radius-circle: 50%;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 15px 40px rgba(0,0,0,0.15);
    --shadow-hover: 0 20px 40px rgba(0, 102, 179, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================
   2. GLOBAL STYLES & TYPOGRAPHY
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #613d1e;
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--brand-orange);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Container */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ============================================
   3. BUTTON STYLES
   ============================================ */

.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 12px 30px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius-round);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-safari {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
}

.btn-safari:hover {
    background: transparent;
    color: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.btn-safari:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn-safari:hover:after {
    left: 100%;
}

.btn-safari:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.5);
}

.btn-outline-safari {
    border: 2px solid #613d1e;
    color: #613d1e;
    background: transparent;
}

.btn-outline-safari:hover {
    background: #613d1e;
    color: white;
    border-color: #613d1e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 179, 0.3);
}

.btn-outline-safari:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 179, 0.5);
}

.btn-gradient {
    background: linear-gradient(135deg, #613d1e 0%, var(--brand-orange) 100%);
    color: white;
    border: none;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #613d1e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 179, 0.3);
    color: white;
}

.btn-parrot {
    background: var(--parrot-blue);
    color: white;
    border: none;
}

.btn-parrot:hover {
    background: #1565c0;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.btn-white {
    background: white;
    color: #613d1e;
    border-color: white;
}

.btn-white:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.125rem;
}

/* ============================================
   4. HEADER & NAVIGATION - OPTIMIZED COMPACT VERSION
   ============================================ */

/* Header Top - Slim Version */
.header-top {
    background: var(--parrot-blue) !important;
    color: #ffffff !important;
    padding: 3px 0 !important;
    font-size: 12px !important;
    min-height: 30px !important;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top a {
    color: white;
    text-decoration: none;
    margin-right: 12px;
    font-size: 12px;
    transition: color var(--transition-normal);
    display: inline-block;
}

.header-top a:hover {
    color: var(--brand-orange);
    transform: translateY(-1px);
}

.header-top i {
    margin-right: 3px;
    font-size: 10px;
}

.header-contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.header-rating-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.header-count {
    background: var(--brand-orange);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 3px;
    display: inline-block;
    font-size: 11px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.rating-stars {
    color: var(--brand-orange);
    font-size: 11px;
}

/* Main Header - Compact */
.main-header {
    background: white;
    border-bottom: 2px solid var(--brand-orange);
    box-shadow: 0 1px 5px rgba(0,102,179,0.1);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-normal);
    padding: 3px 0 !important;
}

.main-header.scrolled {
    padding: 2px 0 !important;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    border-bottom-color: #613d1e;
}

.main-header .navbar {
    padding: 0 !important;
}

/* Logo Styles - Compact */
.logo-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    position: relative;
}

.navbar-brand.logo {
    padding: 0;
    margin-right: 1.5rem;
    max-width: 320px;
    display: flex;
    align-items: center;
}

.logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #613d1e;
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0;
}

.logo-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: -3px;
    margin-bottom: 2px;
    position: relative;
    display: inline-block;
}

.logo-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 0;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

.logo-container:hover .logo-main {
    color: var(--brand-orange);
    transition: color var(--transition-normal);
}

.logo-container:hover .logo-sub {
    color: #613d1e;
    transition: color var(--transition-normal);
}

.custom-logo {
    max-height: 70px;
    width: auto;
}

.custom-logo-link img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Navigation - Compact */
.navbar-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
    }
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 5px !important;
    text-transform: uppercase;
    font-size: 13px !important;
    position: relative;
    padding: 5px 8px !important;
    display: block;
    transition: color var(--transition-normal);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #613d1e;
    transition: width var(--transition-normal);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after,
.navbar-nav .current-menu-item .nav-link:after {
    width: 100%;
    background: var(--brand-orange);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item .nav-link {
    color: var(--brand-orange) !important;
}

/* BOOK NOW button special styling */
.navbar-nav .nav-item:last-child .nav-link {
    background: var(--brand-orange);
    color: white !important;
    padding: 5px 15px !important;
    border-radius: 20px;
    margin-left: 8px !important;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
    background: #613d1e;
    color: white !important;
}

.navbar-nav .nav-item:last-child .nav-link:after {
    display: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: var(--z-dropdown);
    display: none;
    min-width: 200px;
    padding: 5px 0 !important;
    margin: 2px 0 0 !important;
    background: white;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
}

.dropdown-menu.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 5px 15px !important;
    clear: both;
    font-weight: 400;
    color: var(--text-dark);
    text-align: inherit;
    white-space: nowrap;
    background: transparent;
    border: 0;
    transition: all var(--transition-normal);
    font-size: 13px;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.1), transparent);
    color: var(--brand-orange);
    padding-left: 20px !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background: #613d1e;
    color: white;
}

.dropdown-divider {
    height: 0;
    margin: 5px 0;
    overflow: hidden;
    border-top: 1px solid #eee;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform var(--transition-normal);
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Navbar Toggler */
.navbar-toggler {
    padding: 5px 10px;
    font-size: 1rem;
    line-height: 1;
    background: transparent;
    border: 2px solid var(--brand-orange);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FF6B00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* ============================================
   5. PAGE HEADER STYLES
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--parrot-blue)) !important;
    color: white;
    padding: 40px 0 !important; /* Reduced from default py-5 (48px) */
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 179, 0.2), rgba(255, 107, 0, 0.2));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
}

.page-header i {
    color: var(--brand-orange);
}

/* ============================================
   6. TOUR DETAILS SECTION
   ============================================ */

.tour-details {
    background: #f8f9fa;
    border-radius: var(--radius-lg);
    padding: 20px !important;
    margin-bottom: 30px;
}

.tour-details .row {
    margin: 0;
}

.tour-details .col-md-4 {
    padding: 10px;
}

.tour-details .text-center {
    background: white;
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tour-details .text-center:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tour-details i {
    font-size: 2.2rem;
    color: var(--brand-orange);
    margin-bottom: 10px;
}

.tour-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #613d1e;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-details p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* ============================================
   7. FEATURED IMAGE STYLES - FIXED FOR LARGE IMAGES
   ============================================ */

/* Featured image container */
.tour-featured-image {
    margin-bottom: 25px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    background: #f5f5f5;
    max-height: 500px; /* Limit maximum height */
}

.tour-featured-image img,
.wp-post-image,
.post-thumbnail img,
.attachment-large.size-large,
img[class*="wp-image-"] {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit maximum height */
    object-fit: cover; /* This ensures the image covers the area without distortion */
    object-position: center;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal);
}

.tour-featured-image:hover img {
    transform: scale(1.02);
}

/* For the specific structure in your template */
.col-lg-8 .mb-4 {
    margin-bottom: 25px !important;
}

.col-lg-8 .mb-4 img,
.col-lg-8 .mb-4 .img-fluid {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Responsive image sizing */
@media (max-width: 992px) {
    .tour-featured-image img,
    .wp-post-image,
    .col-lg-8 .mb-4 img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .tour-featured-image img,
    .wp-post-image,
    .col-lg-8 .mb-4 img {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .tour-featured-image img,
    .wp-post-image,
    .col-lg-8 .mb-4 img {
        max-height: 280px;
    }
}

/* ============================================
   8. TOUR DESCRIPTION
   ============================================ */

.tour-description {
    margin-top: 30px;
}

.tour-description h2,
.tour-description h3 {
    color: #613d1e;
    margin: 25px 0 15px;
}

.tour-description h2:first-child,
.tour-description h3:first-child {
    margin-top: 0;
}

.tour-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

.tour-description ul,
.tour-description ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tour-description li {
    margin-bottom: 8px;
}

/* ============================================
   9. TOUR INCLUDES & EXCLUDES
   ============================================ */

.tour-includes-excludes {
    margin: 40px 0;
}

.includes-box,
.excludes-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid #eee;
}

.includes-box:hover,
.excludes-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.includes-box {
    border-top: 4px solid #28a745;
}

.excludes-box {
    border-top: 4px solid #dc3545;
}

.includes-box h4,
.excludes-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #613d1e;
    display: flex;
    align-items: center;
}

.includes-box h4 i,
.excludes-box h4 i {
    font-size: 1.4rem;
    margin-right: 10px;
}

.includes-box ul,
.excludes-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-box li,
.excludes-box li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: flex-start;
}

.includes-box li:last-child,
.excludes-box li:last-child {
    border-bottom: none;
}

.includes-box li i,
.excludes-box li i {
    margin-right: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.includes-box li i {
    color: #28a745;
}

.excludes-box li i {
    color: #dc3545;
}

/* ============================================
   10. TOUR META & CATEGORIES
   ============================================ */

.tour-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.tour-categories h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #613d1e;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-categories .badge {
    background: var(--brand-orange);
    color: white;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.tour-categories .badge:hover {
    background: #613d1e;
    transform: translateY(-2px);
}

/* ============================================
   11. BOOKING SIDEBAR
   ============================================ */

.booking-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e0e0e0;
}

.booking-sidebar.sticky-top {
    top: 100px;
    z-index: var(--z-sticky);
}

.booking-sidebar h4 {
    color: #613d1e;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-orange);
}

.price-summary {
    background: linear-gradient(135deg, #613d1e, var(--brand-orange));
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
    color: white;
    text-align: center;
}

.price-summary .small {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-summary .display-6 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 5px 0;
}

/* Booking Form */
.booking-form {
    margin-top: 20px;
}

.booking-form .form-label {
    font-weight: 600;
    color: #613d1e;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.booking-form .form-control,
.booking-form .form-select {
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
    outline: none;
}

.booking-form textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.booking-form .btn-safari {
    padding: 12px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Quick Info */
.quick-info {
    margin-top: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--brand-orange);
}

.quick-info .d-flex {
    margin-bottom: 10px;
}

.quick-info .d-flex:last-child {
    margin-bottom: 0;
}

.quick-info i {
    color: var(--brand-orange);
    font-size: 1.1rem;
    width: 25px;
}

.quick-info span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ============================================
   12. HERO SECTION - COMPLETELY CLEAN IMAGE
   ============================================ */

.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: remove for better performance */
    color: white;
    padding: 160px 0 100px;
    position: relative;
}

/* Remove all overlays */
.hero-section:before,
.hero-section:after {
    display: none;
}

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

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Keep text shadow for readability */
    line-height: 1.2;
    color: white;
}

.hero-highlight {
    color: var(--brand-orange);
    position: relative;
    display: inline-block;
}

.hero-highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 0, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Better text shadow for readability */
}

/* Search Box - Clean style without gradient */
.search-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    border: none; /* Remove border if you want cleaner look */
}

/* Alternative with border */
.search-box.with-border {
    border: 3px solid var(--brand-orange);
}

.search-box h4 {
    color: #613d1e;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.search-box .form-control,
.search-box .form-select {
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 12px 15px;
    transition: all var(--transition-normal);
    height: auto;
    width: 100%;
    font-size: 1rem;
    background-color: white;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
    outline: none;
}
/* ============================================
   13. STATISTICS COUNTER
   ============================================ */

.stats-section {
    background: #613d1e !important;
    color: white;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   14. SECTION TITLES
   ============================================ */

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    color: #613d1e;
    font-size: 2.8rem;
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 0;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #613d1e, var(--brand-orange));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
}

/* ============================================
   15. TOUR CARDS
   ============================================ */

.tour-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    margin-bottom: 30px;
    height: 100%;
    background: white;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.tour-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #613d1e, var(--brand-orange));
    z-index: 2;
}

.tour-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.tour-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.tour-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-popular {
    background: var(--brand-orange);
    color: white;
}

.badge-new {
    background: #613d1e;
    color: white;
}

.badge-luxury {
    background: var(--accent-gold);
    color: white;
}

.tour-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    color: #613d1e;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--brand-orange);
    z-index: 3;
}

.tour-content {
    padding: 25px;
}

.tour-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #613d1e;
}

.tour-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.tour-title a:hover {
    color: var(--brand-orange);
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-meta i {
    color: var(--brand-orange);
}

.tour-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* ============================================
   16. FEATURES SECTION
   ============================================ */

.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.features-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #613d1e, var(--brand-orange), #613d1e);
}

.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-orange);
}

.feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #613d1e, var(--brand-orange));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-box:hover:before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-tan) 0%, #fff8e1 100%);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all var(--transition-normal);
    border: 2px solid var(--brand-orange);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #613d1e 0%, var(--brand-orange) 100%);
}

.feature-icon i {
    font-size: 32px;
    color: var(--brand-orange);
    transition: all var(--transition-normal);
}

.feature-box:hover .feature-icon i {
    color: white;
}

.feature-box h4 {
    color: #613d1e;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   17. GOOGLE REVIEWS
   ============================================ */

.google-reviews {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.google-reviews:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--google-blue), var(--google-red), var(--google-yellow), var(--google-green));
}

.google-review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    height: 100%;
    border-left: 5px solid #613d1e;
    position: relative;
    transition: transform var(--transition-normal);
}

.google-review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.google-logo {
    color: var(--google-blue);
    font-size: 24px;
    margin-right: 10px;
}

.review-rating {
    color: var(--brand-orange);
    font-size: 18px;
}

.review-rating i {
    margin-right: 2px;
}

.review-date {
    color: var(--text-light);
    font-size: 14px;
    margin-left: auto;
}

.review-author {
    display: flex;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid var(--brand-orange);
}

/* ============================================
   18. DESTINATIONS
   ============================================ */

.destinations-section {
    padding: 100px 0;
    background: white;
}

.destination-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    height: 350px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 102, 179, 0.9));
    color: white;
    padding: 25px;
    transform: translateY(0);
    transition: transform var(--transition-normal);
}

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

.destination-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 3;
}

.destination-overlay h4 {
    color: white;
    margin-bottom: 10px;
}

.destination-overlay p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.destination-overlay small {
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}

.destination-overlay i {
    color: var(--brand-orange);
}

/* ============================================
   19. SAFARI TYPES
   ============================================ */

.safari-types {
    background: linear-gradient(135deg, #613d1e 0%, #0d4026 100%);
    padding: 80px 0;
    color: white;
    position: relative;
}

.safari-types:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.safari-types .section-title h2 {
    color: white;
}

.safari-types .section-title h2:after {
    background: linear-gradient(90deg, white, var(--brand-orange));
}

.safari-types .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.type-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.2);
}

.type-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    border-color: var(--brand-orange);
}

.type-icon {
    font-size: 40px;
    color: var(--brand-orange);
    margin-bottom: 20px;
}

.type-card h4 {
    color: white;
    margin-bottom: 15px;
}

.type-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

/* ============================================
   20. CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #613d1e 0%, var(--brand-orange) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

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

.cta-section h2,
.cta-section h3 {
    color: white;
}

.cta-section .btn-outline-safari {
    border-color: white;
    color: white;
}

.cta-section .btn-outline-safari:hover {
    background: white;
    color: #613d1e;
}

/* ============================================
   21. FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #1a2526 0%, #0d1a26 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #613d1e, var(--brand-orange), #613d1e);
}

.footer-widget {
    margin-bottom: 40px;
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--brand-orange);
}

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all var(--transition-normal);
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--brand-orange);
    padding-left: 10px;
}

.footer-links p {
    color: #b0b0b0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-links i {
    color: var(--brand-orange);
    width: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-circle);
    color: white;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--brand-orange);
    transform: translateY(-3px);
    color: white;
}

/* Footer Newsletter */
.footer .input-group {
    display: flex;
    border-radius: var(--radius-round);
    overflow: hidden;
}

.footer .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 15px;
    flex: 1;
    border-right: none;
}

.footer .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.footer .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--brand-orange);
    outline: none;
}

.footer .btn-safari {
    border-radius: 0 var(--radius-round) var(--radius-round) 0 !important;
    padding: 12px 20px;
    border: none;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.payment-icon {
    width: 40px;
    height: 25px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #613d1e;
    font-size: 14px;
    font-weight: bold;
}

/* ============================================
   22. BLOG STYLES
   ============================================ */

.blog-post {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.blog-post:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.post-thumbnail {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-normal);
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.post-title a {
    color: #613d1e;
    text-decoration: none;
}

.post-title a:hover {
    color: var(--brand-orange);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    font-size: 14px;
}

.post-meta i {
    color: var(--brand-orange);
    margin-right: 5px;
}

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

.read-more {
    display: inline-block;
    color: #613d1e;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.read-more:hover {
    color: var(--brand-orange);
}

.read-more i {
    transition: transform var(--transition-normal);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ============================================
   23. SIDEBAR STYLES
   ============================================ */

.sidebar {
    padding-left: 30px;
}

@media (max-width: 991px) {
    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

.widget {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: var(--radius-lg);
    border: 1px solid #eee;
}

.widget-title {
    color: #613d1e;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #613d1e, var(--brand-orange));
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 10px;
}

.widget ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: block;
    padding: 5px 0;
}

.widget ul li a:hover {
    color: var(--brand-orange);
    padding-left: 5px;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 10px;
}

.widget_search .search-field {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 10px 15px;
}

.widget_search .search-submit {
    background: var(--brand-orange);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.widget_search .search-submit:hover {
    background: #613d1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 179, 0.3);
}

/* Tag Cloud */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tagcloud a {
    background: white;
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px !important;
    border: 1px solid #e0e0e0;
    transition: all var(--transition-normal);
}

.tagcloud a:hover {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
    transform: translateY(-2px);
}

/* ============================================
   24. COMMENTS STYLES
   ============================================ */

.comments-area {
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
}

.comment-body {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--brand-orange);
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
}

.comment-author img {
    border-radius: var(--radius-circle);
    margin-right: 15px;
    border: 3px solid var(--brand-orange);
}

.comment-metadata {
    color: var(--text-light);
    font-size: 14px;
}

.comment-metadata a {
    color: var(--text-light);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--brand-orange);
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    color: #613d1e;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-normal);
}

.comment-reply-link:hover {
    color: var(--brand-orange);
}

/* ============================================
   25. PAGINATION STYLES
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    color: var(--text-dark);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.pagination a:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
}

.pagination .current {
    background: #613d1e;
    border-color: #613d1e;
    color: white;
}

/* ============================================
   26. ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

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

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   27. UTILITY CLASSES
   ============================================ */

/* Text Colors */
.text-brand-blue { color: #613d1e; }
.text-brand-orange { color: var(--brand-orange); }
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--primary-green); }
.text-white { color: white; }
.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }

/* Background Colors */
.bg-brand-blue { background-color: #613d1e; }
.bg-brand-orange { background-color: var(--brand-orange); }
.bg-gradient-brand { background: linear-gradient(135deg, #613d1e, var(--brand-orange)); }
.bg-white { background: white; }
.bg-light { background: #f8f9fa; }

/* Border Colors */
.border-brand-blue { border-color: #613d1e; }
.border-brand-orange { border-color: var(--brand-orange); }

/* Spacing */
.m-0 { margin: 0; }
.mt-1 { margin-top: 5px; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 20px; }
.mt-5 { margin-top: 30px; }

.mb-1 { margin-bottom: 5px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 30px; }

.ml-1 { margin-left: 5px; }
.ml-2 { margin-left: 10px; }
.ml-3 { margin-left: 15px; }
.ml-4 { margin-left: 20px; }
.ml-5 { margin-left: 30px; }

.mr-1 { margin-right: 5px; }
.mr-2 { margin-right: 10px; }
.mr-3 { margin-right: 15px; }
.mr-4 { margin-right: 20px; }
.mr-5 { margin-right: 30px; }

.p-0 { padding: 0; }
.p-1 { padding: 5px; }
.p-2 { padding: 10px; }
.p-3 { padding: 15px; }
.p-4 { padding: 20px; }
.p-5 { padding: 30px; }

/* Flex Utilities */
.d-flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.align-items-center { align-items: center; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }

/* Position */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* Z-index */
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Object Fit */
.object-fit-cover { object-fit: cover; }
.object-fit-contain { object-fit: contain; }

/* Backdrop Filter */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Border Radius */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-circle { border-radius: var(--radius-circle); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-hover { box-shadow: var(--shadow-hover); }

/* ============================================
   28. RESPONSIVE DESIGN
   ============================================ */

/* Large Desktop */
@media (max-width: 1400px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.3rem; }
    .hero-title { font-size: 3.5rem; }
    .section-title h2 { font-size: 2.5rem; }
    .page-header h1 { font-size: 2.3rem; }
}

/* Desktop */
@media (max-width: 1200px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3.2rem; }
    .section-title h2 { font-size: 2.3rem; }
    .stat-number { font-size: 3rem; }
    .page-header h1 { font-size: 2.2rem; }
    
    .navbar-brand.logo {
        max-width: 300px !important;
    }
    
    .logo-main {
        font-size: 24px !important;
    }
    
    .logo-sub {
        font-size: 14px !important;
    }
    
    .logo-tagline {
        font-size: 10px !important;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .payment-methods {
        justify-content: center;
        margin-top: 20px;
    }
    
    /* Header Responsive */
    .header-top {
        padding: 3px 0 !important;
        min-height: 28px !important;
        font-size: 11px !important;
    }
    
    .header-top a {
        font-size: 11px;
        margin-right: 8px;
    }
    
    .header-contact-info,
    .header-rating-info {
        gap: 8px;
    }
    
    .navbar-brand.logo {
        max-width: 260px !important;
    }
    
    .logo-main {
        font-size: 22px !important;
    }
    
    .logo-sub {
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }
    
    .logo-tagline {
        font-size: 9px !important;
    }
    
    .custom-logo,
    .custom-logo-link img {
        max-height: 50px !important;
    }
    
    /* Navigation */
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        width: auto;
        z-index: var(--z-dropdown);
        margin-top: 5px;
    }
    
    .navbar-nav {
        padding: 0;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        margin: 0 !important;
        font-size: 13px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-nav .nav-link:after {
        display: none;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        margin-top: 5px !important;
        text-align: center;
        justify-content: center;
    }
    
    .dropdown-menu {
        background: #f8f9fa;
        padding: 5px 0 !important;
        margin: 0 !important;
        border: none;
        box-shadow: none;
        position: static !important;
        transform: none !important;
        width: 100%;
        border-left: 3px solid var(--brand-orange);
    }
    
    .dropdown-item {
        padding: 8px 20px !important;
        font-size: 12px;
        white-space: normal;
        word-break: break-word;
    }
    
    .dropdown-toggle::after {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .dropdown-toggle.show::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    /* Header Top */
    .header-top .row {
        flex-direction: column;
        text-align: center;
    }
    
    .header-top .col-md-6 {
        width: 100%;
        text-align: center !important;
        padding: 2px 0;
    }
    
    /* Page Header */
    .page-header {
        padding: 30px 0 !important;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Tour Details */
    .tour-details .col-md-4 {
        margin-bottom: 10px;
    }
    
    /* Booking Sidebar */
    .booking-sidebar {
        margin-top: 30px;
    }
    
    .booking-sidebar.sticky-top {
        position: static !important;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .hero-section {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .google-reviews {
        padding: 60px 0;
    }
    
    .destinations-section {
        padding: 60px 0;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-bottom {
        margin-top: 40px;
    }
    
    .footer-bottom .row > div {
        text-align: center !important;
    }
    
    .payment-methods {
        margin-top: 15px;
    }
    
    /* Header */
    .header-top a {
        font-size: 10px;
        margin: 0 5px !important;
    }
    
    .navbar-brand.logo {
        max-width: 220px !important;
    }
    
    .logo-main {
        font-size: 20px !important;
    }
    
    .logo-sub {
        font-size: 12px !important;
    }
    
    .logo-tagline {
        font-size: 8px !important;
    }
    
    .custom-logo,
    .custom-logo-link img {
        max-height: 40px !important;
    }
    
    /* Page Header */
    .page-header {
        padding: 25px 0 !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Tour Details */
    .tour-details {
        padding: 15px !important;
    }
    
    .tour-details .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Tour Cards */
    .tour-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .tour-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .tour-footer .btn-safari,
    .tour-footer a {
        width: 100%;
        text-align: center;
    }
    
    /* Review Cards */
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-date {
        margin-left: 0;
    }
    
    /* Destination Cards */
    .destination-card {
        height: 300px;
    }
    
    /* Includes/Excludes */
    .includes-box,
    .excludes-box {
        margin-bottom: 20px;
    }
}

/* Mobile Landscape */
@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section .btn-safari,
    .hero-section .btn-outline-safari {
        display: block;
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
    
    .btn-safari, 
    .btn-outline-safari,
    .btn-parrot,
    .btn-gradient {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    /* Header Top */
    .header-top {
        font-size: 9px !important;
        padding: 2px 0 !important;
    }
    
    .header-top a {
        font-size: 9px;
        margin: 0 3px !important;
    }
    
    .header-top i {
        font-size: 8px;
        margin-right: 2px;
    }
    
    .rating-stars {
        font-size: 9px;
    }
    
    .header-count {
        font-size: 8px;
        padding: 1px 3px;
    }
    
    .header-contact-info,
    .header-rating-info {
        gap: 5px;
    }
    
    .navbar-brand.logo {
        max-width: 180px !important;
    }
    
    .logo-main {
        font-size: 18px !important;
    }
    
    .logo-sub {
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
    }
    
    .logo-tagline {
        font-size: 7px !important;
    }
    
    .custom-logo,
    .custom-logo-link img {
        max-height: 35px !important;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
    
    .dropdown-item {
        font-size: 11px;
        padding: 6px 15px !important;
    }
    
    /* Page Header */
    .page-header {
        padding: 20px 0 !important;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    /* Search Box */
    .search-box .form-control,
    .search-box .form-select {
        font-size: 14px;
        padding: 10px;
    }
    
    /* Pagination */
    .pagination a,
    .pagination span {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Tour Details */
    .tour-details i {
        font-size: 1.8rem;
    }
    
    .tour-details h5 {
        font-size: 0.9rem;
    }
    
    .tour-details p {
        font-size: 1rem;
    }
    
    /* Includes/Excludes */
    .includes-box,
    .excludes-box {
        padding: 20px !important;
    }
    
    .includes-box h4,
    .excludes-box h4 {
        font-size: 1.2rem;
    }
    
    /* Booking Sidebar */
    .booking-sidebar {
        padding: 20px !important;
    }
    
    .booking-sidebar h4 {
        font-size: 1.2rem;
    }
    
    .price-summary .display-6 {
        font-size: 2rem;
    }
}

/* Mobile Portrait */
@media (max-width: 375px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .header-top a {
        font-size: 8px;
        margin: 0 2px !important;
    }
    
    .rating-badge {
        white-space: nowrap;
    }
    
    .navbar-brand.logo {
        max-width: 150px !important;
    }
    
    .logo-main {
        font-size: 15px !important;
    }
    
    .logo-sub {
        font-size: 9px !important;
        letter-spacing: 0.3px !important;
    }
    
    .logo-tagline {
        font-size: 6px !important;
    }
    
    .custom-logo,
    .custom-logo-link img {
        max-height: 30px !important;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .page-header h1 {
        font-size: 1.3rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .widget {
        padding: 20px;
    }
    
    /* Tour Details */
    .tour-details .text-center {
        padding: 10px;
    }
    
    .tour-details i {
        font-size: 1.5rem;
    }
    
    /* Includes/Excludes li */
    .includes-box li,
    .excludes-box li {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .header-top a {
        font-size: 7px;
        margin: 0 1px !important;
    }
    
    .navbar-brand.logo {
        max-width: 130px !important;
    }
    
    .logo-main {
        font-size: 13px !important;
    }
    
    .logo-sub {
        font-size: 8px !important;
    }
    
    .logo-tagline {
        font-size: 5px !important;
    }
    
    .btn-safari, 
    .btn-outline-safari {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .page-header h1 {
        font-size: 1.2rem;
    }
}

/* Landscape Orientation */
@media (max-width: 992px) and (orientation: landscape) {
    .navbar-collapse {
        max-height: 70vh;
    }
    
    .navbar-nav .nav-link {
        padding: 6px 12px !important;
    }
    
    .header-top {
        padding: 2px 0 !important;
    }
    
    .hero-section {
        padding: 100px 0 50px;
    }
}

/* High Resolution Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title h2 {
        font-size: 3.2rem;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
}

/* ============================================
   29. BROWSER SPECIFIC FIXES
   ============================================ */

/* Firefox */
@-moz-document url-prefix() {
    .navbar-collapse {
        scrollbar-width: thin;
        scrollbar-color: var(--brand-orange) #f1f1f1;
    }
}

/* Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-orange);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: #613d1e;
}

/* IE and Edge */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .d-flex {
        display: -ms-flexbox;
    }
    
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
    }
    
    .tour-featured-image img,
    .wp-post-image {
        width: 100%;
        height: auto;
    }
}

/* ============================================
   30. WORDPRESS CORE STYLES
   ============================================ */

/* Alignment */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

/* Captions */
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Gallery */
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-caption {
    display: block;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Tours Section Styles - Matching Your Design */

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #1e3c2c;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}
.btn-view-all {
  color: #ffff !important;
  background: #e67e22 !important;
}

.btn-view-all:hover {
  background: #674526 !important;
  color: white;
}
.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
}

/* Tour Cards */
.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Tour Image */
.tour-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

/* Badges */
.tour-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.tour-badge {
    background: #ff8c42;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-badge.popular {
    background: #ff8c42;
}

.tour-badge.luxury {
    background: #d4af37;
}
/* Mobile Responsive Fixes for Hero Section */
@media (max-width: 767px) {
    .hero-section {
        height: auto !important;
        min-height: auto;
        padding: 40px 0;
    }
    
    /* When search is disabled, reduce hero height */
    .hero-section.search-disabled {
        min-height: auto;
        padding: 30px 0;
    }
    
    /* Adjust slider height when search is disabled */
    .hero-section.search-disabled .hero-slider {
        height: 300px !important;
    }
    
    .hero-section.search-disabled .hero-slide {
        height: 300px !important;
    }
    
    /* Reduce container height when search disabled */
    .hero-section.search-disabled .container {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-section .container {
        height: auto !important;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    /* Hero title and subtitle */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Button container - 2 columns on mobile */
    .hero-section .mt-4 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 1rem !important;
        width: 100%;
    }
    
    /* Buttons side by side in 2 columns */
    .hero-section .btn-safari,
    .hero-section .btn-outline-safari {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        width: calc(50% - 5px);
        padding: 12px 10px;
        font-size: 0.9rem;
        text-align: center;
        white-space: nowrap;
        margin: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    
    /* Ensure both buttons are visible */
    .hero-section .btn-outline-safari {
        background-color: rgba(255, 255, 255, 0.2) !important; /* Semi-transparent background */
        border: 2px solid #ffffff !important;
        color: #ffffff !important;
    }
    
    /* Add hover effect */
    .hero-section .btn-outline-safari:hover {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    
    /* Remove any existing margins */
    .hero-section .btn-safari.me-3 {
        margin-right: 0 !important;
    }
    
    /* Ensure buttons don't get hidden */
    .hero-section .btn-outline-safari i,
    .hero-section .btn-safari i {
        margin-right: 5px;
    }
    
    /* Search box styling - only when enabled */
    .search-box {
        margin-top: 30px;
        padding: 1.5rem !important;
    }
    
    /* When search is hidden, remove extra spacing */
    .hero-section .search-box.d-none {
        display: none !important;
    }
    
    .search-box h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem !important;
    }
    
    /* Form inputs - 2 columns on mobile */
    .search-box .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        margin: 0;
    }
    
    /* Create 2-column grid for form fields */
    .search-box .col-md-6 {
        flex: 0 0 calc(50% - 0.375rem);
        width: calc(50% - 0.375rem);
        margin: 0;
        padding: 0;
    }
    
    /* Full width for specific fields if needed */
    .search-box .col-12 {
        flex: 0 0 100%;
        width: 100%;
    }
    
    /* Form field styling */
    .search-box .form-control,
    .search-box .form-select {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
        height: auto;
        width: 100%;
        border-radius: 6px;
    }
    
    /* Date input specific styling */
    .search-box input[type="date"] {
        min-height: 42px;
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
    }
    
    /* Placeholder text color */
    .search-box input::placeholder {
        font-size: 0.85rem;
        color: #6c757d;
    }
    
    /* Search button - full width on both rows */
    .search-box .btn-safari {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    
    /* Adjust spacing for the 2-column layout */
    .search-box .row > * {
        margin-bottom: 0;
    }
    
    /* Ensure proper alignment */
    .search-box form {
        width: 100%;
    }
}

/* Small phones (up to 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    /* Keep buttons in 2 columns even on small phones */
    .hero-section .btn-safari,
    .hero-section .btn-outline-safari {
        flex: 1 1 calc(50% - 5px);
        width: calc(50% - 5px);
        padding: 10px 5px;
        font-size: 0.85rem;
    }
    
    /* Ensure outline button is still visible */
    .hero-section .btn-outline-safari {
        background-color: rgba(255, 255, 255, 0.15) !important;
        border-width: 2px !important;
    }
    
    /* Adjust slider height when search is disabled on very small screens */
    .hero-section.search-disabled .hero-slider,
    .hero-section.search-disabled .hero-slide {
        height: 250px !important;
    }
    
    .search-box {
        padding: 1.25rem !important;
    }
    
    .search-box h4 {
        font-size: 1.1rem;
    }
    
    /* Keep 2 columns even on small phones */
    .search-box .col-md-6 {
        flex: 0 0 calc(50% - 0.375rem);
        width: calc(50% - 0.375rem);
    }
    
    /* Adjust font sizes for very small screens */
    .search-box .form-control,
    .search-box .form-select {
        font-size: 0.8rem;
        padding: 0.5rem 0.5rem;
    }
    
    .search-box input::placeholder {
        font-size: 0.8rem;
    }
    
    .search-box input[type="date"] {
        font-size: 0.8rem;
    }
}

/* Landscape orientation fix */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 30px 0;
    }
    
    /* Adjust slider height in landscape when search disabled */
    .hero-section.search-disabled .hero-slider,
    .hero-section.search-disabled .hero-slide {
        height: 200px !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1rem;
    }
    
    .search-box {
        margin-top: 20px;
        padding: 1rem !important;
    }
    
    /* Keep buttons in 2 columns in landscape */
    .hero-section .btn-safari,
    .hero-section .btn-outline-safari {
        flex: 1 1 calc(50% - 5px);
        width: calc(50% - 5px);
    }
    
    /* Keep 2 columns in landscape */
    .search-box .col-md-6 {
        flex: 0 0 calc(50% - 0.375rem);
        width: calc(50% - 0.375rem);
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
    }
    
    /* Adjust slider height on tablet when search disabled */
    .hero-section.search-disabled .hero-slider,
    .hero-section.search-disabled .hero-slide {
        height: 400px !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    /* Buttons in 2 columns on tablet too */
    .hero-section .btn-safari,
    .hero-section .btn-outline-safari {
        flex: 1 1 calc(50% - 5px);
        width: calc(50% - 5px);
    }
    
    .search-box {
        margin-top: 30px;
        padding: 1.75rem !important;
    }
    
    /* Switch to 2 columns on tablets too */
    .search-box .col-md-6 {
        flex: 0 0 50%;
        width: 50%;
    }
}

/* Fix for split layout on mobile */
@media (max-width: 991px) {
    .hero-section .row {
        flex-direction: column;
    }
    
    .hero-section .col-lg-6 {
        width: 100%;
        text-align: center;
    }
    
    .hero-section .hero-content {
        text-align: center;
    }
    
    /* Center buttons on mobile */
    .hero-section .mt-4 {
        justify-content: center;
    }
}

/* Ensure search box doesn't overflow */
.search-box {
    max-width: 100%;
    overflow: hidden;
}

.search-box .form-control,
.search-box .form-select {
    width: 100%;
    box-sizing: border-box;
}

/* Fix date input styling consistency */
input[type="date"]::-webkit-calendar-picker-indicator {
    padding: 0;
    margin: 0;
}

/* Add some visual separation between columns */
.search-box .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Ensure the 2-column layout is clean */
.search-box .col-md-6:nth-child(odd) {
    padding-right: 0.375rem;
}

.search-box .col-md-6:nth-child(even) {
    padding-left: 0.375rem;
}

/* Make the Duration field slightly smaller if needed */
.search-box input[name="duration"] {
    font-size: 0.9rem;
}

/* Fix for invisible Watch Video button */
.btn-outline-safari {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10;
}

/* Ensure the button text is visible */
.btn-outline-safari i,
.btn-outline-safari span {
    color: #ffffff !important;
}

/* Add a fallback for older browsers */
.btn-outline-safari {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

/* Make sure buttons are on top */
.hero-section .btn-safari,
.hero-section .btn-outline-safari {
    position: relative;
    z-index: 20;
}
/* Price Tag */
.tour-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: #1e3c2c;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}
/* Mobile Menu Dropdown Fixes */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        background: transparent;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0;
        float: none;
        display: none;
    }
    
    .navbar-nav .dropdown.show .dropdown-menu {
        display: block;
    }
    
    .navbar-nav .dropdown-item {
        color: #333;
        padding: 0.5rem 1rem;
        white-space: normal;
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background: rgba(255, 193, 7, 0.1);
        color: var(--accent-gold);
    }
    
    .navbar-nav .nav-link.dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    
    /* Indent submenu items */
    .navbar-nav .dropdown-menu .dropdown-menu {
        padding-left: 1rem;
    }
    
    /* Ensure proper spacing */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Active state styling */
    .navbar-nav .nav-link.active {
        color: var(--accent-gold) !important;
        background: rgba(255, 193, 7, 0.1);
    }
}

/* Tour Content */
.tour-content {
    padding: 25px;
}

.tour-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c2c;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

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

.tour-title a:hover {
    color: #d4af37;
}

/* Tour Meta - Duration, Location, Group Size */
.tour-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-meta i {
    color: #d4af37;
    font-size: 0.9rem;
}

/* Tour Excerpt */
.tour-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
}

/* Tour Footer with Buttons */
.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

/* Book Now Button */
.btn-book {
    background: #ff8c42;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #ff8c42;
}

.btn-book:hover {
    background: transparent;
    color: #ff8c42;
    transform: translateY(-2px);
}

/* View Details Link */
.view-details {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-details:hover {
    color: #ff8c42;
    gap: 12px;
}

.view-details i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-details:hover i {
    transform: translateX(5px);
}

/* View All Packages Button */
.btn-view-all {
    background: transparent;
    color: #1e3c2c;
    border: 2px solid #1e3c2c;
    padding: 12px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.btn-view-all:hover {
    background: #1e3c2c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 44, 0.2);
}

.btn-view-all i {
    font-size: 0.9rem;
}

/* Responsive Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 {
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .col-md-4 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .tour-title {
        font-size: 1.2rem;
    }
    
    .tour-meta {
        gap: 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .tour-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-book {
        width: 100%;
        text-align: center;
    }
}

/* Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Color Variables (matching your design) */
:root {
    --primary-green: #1e3c2c;
    --accent-gold: #d4af37;
    --accent-orange: #ff8c42;
    --text-dark: #333;
    --text-light: #666;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

/* Sticky Post */
.sticky {
    display: block;
}

/* By Post Author */
.bypostauthor {
    display: block;
}

/* ============================================
   31. ACCESSIBILITY
   ============================================ */

/* Focus Styles */
:focus {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #613d1e;
    color: white;
    padding: 8px;
    z-index: 9999;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.header-top a {
  color: #fff !important;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --brand-blue: #004080;
        --brand-orange: #cc5500;
    }
    
    .btn,
    .btn-safari,
    .btn-outline-safari {
        border: 2px solid currentColor;
    }
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
