/* --- 1. CSS VARIABLES & RESET --- */
:root {
    /* Refined Colors */
    --primary: #D4983D; /* Safari Gold */
    --primary-hover: #c58b2f;
    --primary-light: #f3e5d0;
    --secondary: #1B3A36; /* Deep Savannah Green */
    --secondary-dark: #132a27;
    --accent: #F4EFE9; /* Sand/Paper */
    
    /* Neutrals */
    --bg-light: #FAF9F6;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #555555;
    --text-light: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Layout */
    --topbar-height: 50px;
    --header-height: 80px;
}
/* Ensure Book button is always visible */
.btn-book-nav {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Mobile fix */
@media (max-width: 991px) {
    nav .btn-book-nav {
        display: block !important;
        margin: 15px auto;
        width: 90%;
        text-align: center;
    }
}

/* ===== MULTI-LEVEL DROPDOWN FIXES ===== */

/* Sub-submenu parent item in dropdowns */
.nav-menu .dropdown-menu .dropdown-submenu-parent {
    position: relative;
}
/* Featured Image Styles */
.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-image-gradient {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .featured-image-gradient {
        height: 250px;
    }
}
/* Third-level dropdown (sub-submenu) */
.nav-menu .dropdown-menu .dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 1px;
    min-width: 220px;
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 10px 0;
    z-index: 1002;
}

/* Show sub-submenu on hover of parent */
.nav-menu .dropdown-menu .dropdown-submenu-parent:hover > .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    top: 0;
}

/* Arrow for submenu items */
.nav-menu .dropdown-menu .has-submenu .fa-chevron-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    transition: transform 0.3s;
}
.btn-outline {
  background-color: #274440 !important;
 }
 
 .btn-outline:hover {
  background-color: #d4983d;
  color: #ffff;
  transform: translateY(-3px);
}

/* Rotate arrow when submenu is visible */
.nav-menu .dropdown-menu .dropdown-submenu-parent:hover > .has-submenu .fa-chevron-right {
    transform: translateY(-50%) rotate(90deg);
}

/* ===== MOBILE STYLES FOR NESTED MENUS - FIXED ===== */
@media (max-width: 768px) {
    /* Reset all positioning for mobile */
    .nav-menu .dropdown-menu,
    .nav-menu .dropdown-menu .dropdown-submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Hidden by default on mobile */
        background: rgba(0,0,0,0.1);
        margin-left: 15px;
        border-left: 2px solid rgba(255,255,255,0.2);
        padding: 0;
    }
    
    /* Show submenus when active */
    .nav-menu .dropdown.active > .dropdown-menu,
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .dropdown-submenu {
        display: block;
    }
    
    /* Style submenu items */
    .nav-menu .dropdown-menu li,
    .nav-menu .dropdown-menu .dropdown-submenu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu .dropdown-menu a,
    .nav-menu .dropdown-menu .dropdown-submenu a {
        color: rgba(255,255,255,0.9) !important;
        font-size: 0.95rem;
        padding: 12px 20px;
        border-bottom: none !important;
        display: block;
        width: 100%;
    }
    
    .nav-menu .dropdown-menu a:hover,
    .nav-menu .dropdown-menu .dropdown-submenu a:hover {
        color: white !important;
        background-color: rgba(255,255,255,0.1) !important;
        padding-left: 25px !important;
    }
    
    /* Arrow indicators for mobile */
    .nav-menu .dropdown > .dropdown-toggle .fa-chevron-down,
    .nav-menu .dropdown-menu .has-submenu .fa-chevron-right {
        transition: transform 0.3s ease;
        float: right;
        margin-left: 10px;
    }
    
    .nav-menu .dropdown.active > .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .has-submenu .fa-chevron-right {
        transform: rotate(90deg);
    }
    
    /* Add visual hierarchy for nested menus */
    .nav-menu .dropdown-menu .dropdown-submenu {
        background: rgba(0,0,0,0.2) !important;
        margin-left: 20px;
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu .dropdown-submenu {
        background: rgba(0,0,0,0.3) !important;
        margin-left: 25px;
    }
}

.footer-legal {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.legal-link:hover {
    color: #FFF !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
 
/* Footer Subscribe Section */
.footer-subscribe {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subscribe-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.subscribe-form {
    margin-bottom: 10px;
}

.subscribe-input-group {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.subscribe-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.subscribe-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-input-group input:focus {
    outline: none;
    border-color: #A63F20;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(166, 63, 32, 0.2);
}

.subscribe-btn {
    padding: 12px 18px;
    background: #A63F20;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-btn:hover {
    background: #8A351B;
    transform: translateY(-1px);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 5px;
}

/* Success/Error Messages */
.subscribe-message {
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.subscribe-success {
    background: rgba(43, 90, 54, 0.3);
    color: #8BC34A;
    border: 1px solid rgba(139, 195, 74, 0.3);
}

.subscribe-error {
    background: rgba(166, 63, 32, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* TripAdvisor Widget Styles */
.tripadvisor-section {
    background: rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tripadvisor-title {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.TA_cdswritereviewlgvi {
    max-width: <?php echo esc_attr(get_theme_mod('tripadvisor_width', '100%')); ?>;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.TA_links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.TA_links li {
    margin: 0;
}

.TA_links a {
    display: inline-block;
}

.TA_links img {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.TA_links img:hover {
    opacity: 1;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.chat-toggle {
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none;
}

.chat-header {
    background: #A63F20;
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.msg {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
}

.msg.bot {
    background: #f1f1f1;
    color: #333;
    border-radius: 15px 15px 15px 5px;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    background: #A63F20;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-subscribe {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .subscribe-text {
        font-size: 14px;
    }
    
    .subscribe-input-group input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .subscribe-btn {
        padding: 10px 15px;
    }
    
    .legal-links {
        gap: 15px;
        justify-content: center;
    }
    
    .legal-link {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .legal-link i {
        font-size: 14px;
    }
    
    .tripadvisor-section {
        padding: 20px 0;
    }
    
    .tripadvisor-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .TA_links img {
        height: 35px;
    }
    
    .chat-window {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .footer-subscribe {
        text-align: center;
    }
    
    .subscribe-input-group {
        flex-direction: column;
    }
    
    .subscribe-input-group input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .subscribe-btn {
        width: 100%;
        padding: 12px;
    }
    
    .legal-links {
        gap: 10px;
        justify-content: center;
    }
    
    .legal-link {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .legal-link i {
        display: none;
    }
    
    .tripadvisor-title {
        font-size: 16px;
    }
    
    .TA_links img {
        height: 30px;
    }
    
    .TA_cdswritereviewlgvi {
        padding: 10px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

.legal-link i {
    font-size: 16px;
}

/* Mobile styles for nested menus */
@media (max-width: 768px) {
    .nav-menu .dropdown-menu .dropdown-submenu {
        position: static;
        margin: 5px 0;
        padding-left: 20px;
        box-shadow: none !important;
        background: rgba(0,0,0,0.1) !important;
        opacity: 1;
        visibility: visible;
        display: none;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .dropdown-submenu {
        display: block;
    }
    
    .nav-menu .dropdown-menu .has-submenu .fa-chevron-right {
        transition: transform 0.3s;
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .has-submenu .fa-chevron-right {
        transform: translateY(-50%) rotate(90deg);
    }
}
/* ===========================================
   FRONT PAGE STYLES
   =========================================== */

/* Hero Section */
.hero-section {
    height: 90vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-inner-title {
 margin-top: 296px !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(27, 58, 54, 0.85) 0%, rgba(27, 58, 54, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   MULTI-LEVEL DROPDOWN MENU FIX
   ============================================ */

/* Base navigation styles */
.main-navigation {
    position: relative;
    z-index: 1000;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Desktop menu (min-width: 992px) */
@media (min-width: 992px) {
    /* Level 1 - Main Menu */
    .main-navigation > ul > li {
        position: relative;
        display: inline-block;
    }
    
    .main-navigation > ul > li > a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
    }
    
    /* Level 2 - First Dropdown */
    .main-navigation > ul > li > ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 220px;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1001;
        border: 1px solid #eee;
    }
    
    .main-navigation > ul > li:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation > ul > li > ul.sub-menu > li {
        position: relative;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .main-navigation > ul > li > ul.sub-menu > li:last-child {
        border-bottom: none;
    }
    
    .main-navigation > ul > li > ul.sub-menu > li > a {
        display: block;
        padding: 12px 20px;
        color: #555;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }
    
    .main-navigation > ul > li > ul.sub-menu > li > a:hover {
        background: #f8f9fa;
        color: #000;
        padding-left: 25px;
    }
    
    /* Level 3 - Second Dropdown (Sub-submenu) */
    .main-navigation > ul > li > ul.sub-menu > li > ul.sub-menu {
        position: absolute;
        top: 0;
        left: 100%; /* This positions it to the RIGHT of parent */
        width: 220px;
        background: #fff;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        border-radius: 0 4px 4px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        z-index: 1002;
        border: 1px solid #eee;
        border-left: none;
    }
    
    .main-navigation > ul > li > ul.sub-menu > li:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    /* Fix for right-edge submenus to prevent overflow */
    .main-navigation > ul > li.menu-item-has-children.menu-right-edge > ul.sub-menu {
        left: auto;
        right: 0;
    }
    
    .main-navigation > ul > li.menu-item-has-children.menu-right-edge > ul.sub-menu > li > ul.sub-menu {
        left: auto;
        right: 100%;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        border-radius: 4px 0 0 4px;
    }
    
    /* Add arrow indicators */
    .main-navigation > ul > li.menu-item-has-children > a:after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 8px;
        font-size: 12px;
    }
    
    .main-navigation > ul > li > ul.sub-menu > li.menu-item-has-children > a:after {
        content: '\f105';
        float: right;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
    }
    
    /* ============================================
   ENHANCED PAGE TEMPLATE STYLES
   ============================================ */

/* Page Hero */
.page-hero {
    position: relative;
    padding: 120px 0;
    color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-color, #e6b325);
    color: #1b3a36;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down {
    color: #fff;
    font-size: 24px;
    display: block;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
}

.breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child):after {
    content: '/';
    margin-left: 10px;
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--primary-color, #1b3a36);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-color, #e6b325);
}

/* Main Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 40px 0;
}

@media (max-width: 991px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Main Content */
.main-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Quick Menu Widget */
.quick-menu-widget {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color, #e6b325);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color, #1b3a36);
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.quick-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-menu li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.quick-menu li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color, #e6b325);
    border-radius: 50%;
}

.quick-menu a {
    color: #555;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.quick-menu a:hover {
    color: var(--primary-color, #1b3a36);
    padding-left: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.quick-menu a.active {
    color: var(--accent-color, #e6b325);
    font-weight: 600;
}

/* Contact Info Widget */
.contact-info-widget {
    background: var(--primary-color, #1b3a36);
    color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.contact-info-widget h3 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-details i {
    color: var(--accent-color, #e6b325);
    width: 20px;
    text-align: center;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    background: var(--accent-color, #e6b325);
    color: var(--primary-color, #1b3a36);
    border: none;
}

/* CTA Widget */
.cta-widget {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
}

.cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.btn-call, .btn-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-call {
    background: #25D366;
    color: #fff;
}

.btn-email {
    background: var(--primary-color, #1b3a36);
    color: #fff;
}

.btn-call:hover, .btn-email:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Related Pages Widget */
.related-pages-widget {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #eaeaea;
}

.related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 12px;
}

.related-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.related-list a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.related-list a:hover {
    color: var(--primary-color, #1b3a36);
    padding-left: 10px;
}

.related-list i {
    color: var(--accent-color, #e6b325);
    font-size: 12px;
}

/* Social Share Widget */
.social-share-widget {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #eaeaea;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }
.share-btn.in { background: #0077b5; }
.share-btn.email { background: #ea4335; }

/* Child Pages Grid */
.child-pages-grid {
    margin: 40px 0;
}

.child-pages-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.child-page-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color, #e6b325);
    transition: all 0.3s ease;
}

.child-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.child-page-card h4 {
    margin-bottom: 10px;
}

.child-page-card h4 a {
    color: var(--primary-color, #1b3a36);
    text-decoration: none;
}

.read-more {
    color: var(--accent-color, #e6b325);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-accordion {
    margin-top: 20px;
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color, #1b3a36);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color, #e6b325);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Page CTA */
.page-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color, #1b3a36) 0%, #2a5d52 100%);
    color: #fff;
    border-radius: 8px;
    margin-top: 40px;
}

.page-cta h3 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn-primary {
    background: var(--accent-color, #e6b325);
    color: var(--primary-color, #1b3a36);
    border: none;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .content-grid {
        gap: 30px;
    }
    
    .main-content,
    .sidebar > div {
        padding: 20px;
    }
    
    .cta-actions {
        grid-template-columns: 1fr;
    }
    
    .child-pages-grid .grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
    
    /* Add a slight delay for better UX */
    .main-navigation > ul > li > ul.sub-menu,
    .main-navigation > ul > li > ul.sub-menu > li > ul.sub-menu {
        transition-delay: 0.1s;
    }
    
    .main-navigation > ul > li:hover > ul.sub-menu,
    .main-navigation > ul > li > ul.sub-menu > li:hover > ul.sub-menu {
        transition-delay: 0s;
    }
}

/* ===== MOBILE MENU FIX FOR LEVEL 3 SUBMENUS ===== */
@media (max-width: 768px) {
    /* Make sure all submenus are properly styled */
    .nav-menu .dropdown-menu .dropdown-submenu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.15) !important;
        margin-left: 20px;
        padding: 0;
        border-left: 2px solid rgba(255,255,255,0.2);
    }
    
    /* Show sub-submenu when parent is active */
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .dropdown-submenu {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    /* Arrow rotation for mobile */
    .nav-menu .dropdown-menu .has-submenu .fa-chevron-right {
        transition: transform 0.3s ease;
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .has-submenu .fa-chevron-right {
        transform: rotate(90deg);
    }
    
    /* Animation for smooth dropdown */
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            max-height: 1000px;
            transform: translateY(0);
        }
    }
}
/* ===== MOBILE MENU FIX - COMPLETE SOLUTION ===== */
@media (max-width: 768px) {
    /* Mobile menu container */
    nav.active {
        display: flex !important;
        flex-direction: column;
        padding: 80px 0 !important;
    }
    
    /* Nav menu base */
    .nav-menu {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* All menu items */
    .nav-menu > li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    /* Level 1 links */
    .nav-menu > li > a {
        color: white !important;
        font-size: 16px !important;
        padding: 15px 20px !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        text-transform: none !important;
        letter-spacing: normal !important;
        font-weight: 500 !important;
    }
    
    /* Remove desktop hover effects */
    .nav-menu > li > a::after {
        display: none !important;
    }
    
    /* Dropdown menus (Level 2 & 3) */
    .nav-menu .dropdown-menu,
    .nav-menu .dropdown-submenu {
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0,0,0,0.2) !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        display: none !important; /* Hidden by default */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease !important;
    }
    
    /* Show dropdowns when active */
    .nav-menu .dropdown.active > .dropdown-menu,
    .nav-menu .dropdown-submenu-parent.active > .dropdown-submenu {
        display: block !important;
        max-height: 1000px !important;
        animation: slideDown 0.4s ease !important;
    }
    
    /* Submenu items */
    .nav-menu .dropdown-menu > li,
    .nav-menu .dropdown-submenu > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-menu .dropdown-menu > li:last-child,
    .nav-menu .dropdown-submenu > li:last-child {
        border-bottom: none;
    }
    
    /* All dropdown links */
    .nav-menu .dropdown-menu a,
    .nav-menu .dropdown-submenu a {
        color: rgba(255,255,255,0.9) !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }
    
    /* Indentation for nested menus */
    .nav-menu .dropdown-menu a {
        padding-left: 35px !important;
    }
    
    .nav-menu .dropdown-submenu a {
        padding-left: 50px !important;
    }
    
    /* Hover effect */
    .nav-menu a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: white !important;
    }
    
    /* Arrow icons */
    .nav-menu .fa-chevron-down,
    .nav-menu .fa-chevron-right {
        font-size: 14px !important;
        transition: transform 0.3s ease !important;
        margin-left: 10px;
    }
    
    /* Rotate arrows when active */
    .nav-menu .dropdown.active > .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg) !important;
    }
    
    .nav-menu .dropdown-submenu-parent.active > .has-submenu .fa-chevron-right {
        transform: rotate(90deg) !important;
    }
    
    /* Animation */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Ensure dropdowns work on touch devices */
@media (hover: hover) and (pointer: fine) {
    .nav-menu .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Fallback for touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-menu .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
/* ============================================
   JAVASCRIPT FIXES FOR EDGE DETECTION
   ============================================ */
/* Add this script to your theme's JS file */

/* Sections */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--accent);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Safari Packages Grid */
.safari-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.safari-package-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.safari-package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.package-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.safari-package-card:hover .package-image img {
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-content {
    padding: 25px;
}

.package-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.package-content h3 a {
    color: var(--secondary);
    text-decoration: none;
}

.package-content h3 a:hover {
    color: var(--primary);
}

.package-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

.mt-50 {
    margin-top: 50px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(27, 58, 54, 0.9), rgba(27, 58, 54, 0.9)), url('https://images.unsplash.com/photo-1516426122078-c23e76319801?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.destination-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.destination-image {
    height: 200px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-content {
    padding: 25px;
}

.destination-meta {
    margin-bottom: 10px;
}

.destination-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.destination-content h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.destination-content h3 a {
    color: var(--secondary);
    text-decoration: none;
}

.destination-content h3 a:hover {
    color: var(--primary);
}

.destination-region {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Reviews Section */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.review-rating {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.review-content p {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-name {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(27, 58, 54, 0.9), rgba(27, 58, 54, 0.9)), url('https://images.unsplash.com/photo-1504173010664-32509aeebb62?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.partner-logo {
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        height: 80vh;
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .safari-packages-grid,
    .features-grid,
    .destinations-grid,
    .stats-grid,
    .reviews-slider {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
}

/* ===========================================
   SAFARI PAGE STYLES
   =========================================== */

/* Page Hero */
.page-hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    position: relative;
    padding-top: 20px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
}

.hero-meta-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background-color: var(--accent);
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb li {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb li:not(:last-child):after {
    content: "/";
    margin-left: 10px;
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--primary);
}



/* Main Content Layout */
.page-main-content {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-top: -34px;
    z-index: 10;
    padding: 60px;
    box-shadow: var(--shadow-md);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-main-content {
        padding: 30px 20px;
        margin-top: -50px;
    }
}

/* Sidebar */
.sidebar {
    background-color: var(--accent);
    padding: 40px;
    border-radius: var(--radius-md);
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* Price Box */
.price-box {
    text-align: center;
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Quick Facts */
.quick-facts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    list-style: none;
}

/* Booking Form */
.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* Itinerary */
.itinerary-list {
    margin-top: 30px;
}

.itinerary-day {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.itinerary-day:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.day-number {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 600;
    margin-right: 15px;
}

.day-title {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--secondary);
    vertical-align: middle;
}

.day-highlights {
    margin-top: 20px;
    padding-left: 55px;
}

.day-highlights ul {
    margin-top: 10px;
}

.day-highlights li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.day-highlights li i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 5px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Included/Excluded */
.inclusion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .inclusion-grid {
        grid-template-columns: 1fr;
    }
}

.inclusion-list li,
.exclusion-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    list-style: none;
}

.inclusion-list li i {
    color: #25D366;
    margin-right: 10px;
}

.exclusion-list li i {
    color: #FF4757;
    margin-right: 10px;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
    margin-top: 80px;
    border-radius: var(--radius-lg);
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Info */
.contact-info {
    margin-top: 20px;
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    margin-right: 10px;
}

/* ============================================================================
   SLIDING PROMO BANNER
   ============================================================================ */

.sliding-promo-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sliding-promo-banner.hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}

.promo-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
}

.promo-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}
.breadcrumb-nav, .breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: #D4983D;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: #ffffff;
    font-weight: 600;
}
.promo-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-text {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

.promo-text strong {
    color: #ffd700;
    font-weight: 700;
}

.promo-button {
    background: white;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.promo-button:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.promo-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 5px;
    z-index: 10;
}

.promo-close:hover {
    opacity: 1;
}

.promo-controls {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.promo-prev,
.promo-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.promo-prev:hover,
.promo-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.promo-dots {
    display: flex;
    gap: 8px;
}

.promo-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .promo-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .promo-controls,
    .promo-close {
        display: none;
    }
    
    .sliding-promo-banner {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .promo-text {
        font-size: 14px;
    }
    
    .promo-button {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* Cookie-based hide functionality */
@media (max-width: 576px) {
    .promo-content {
        flex-direction: column;
        align-items: center;
    }
    
    .promo-badge {
        margin-bottom: 5px;
    }
    
    .promo-text {
        text-align: center;
        margin-bottom: 10px;
    }
}
/* ===== DYNAMIC HERO STYLES ===== */

/* Hero Base */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: var(--topbar-height);
    padding-bottom: 80px;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

/* Background Image for Single Mode */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

/* Slider Styles */
.hero-slider,
.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slider-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slider-slide.slide-transition {
    transform: translateX(100%);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.slide-content {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.slide-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Video Styles */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    padding-bottom: 70px;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn-outline {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: var(--primary);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-desc {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* Video Fallback */
@media (max-width: 1024px) {
    .hero-video video {
        display: none;
    }
    
    .hero-video img {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* For browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(5px)) {
    .slider-prev,
    .slider-next {
        background: rgba(0,0,0,0.5);
    }
}
/* Accessibility Modes */
body.high-contrast {
    --primary: #FFFF00;
    --primary-hover: #CCCC00;
    --secondary: #000000;
    --bg-light: #000000;
    --bg-white: #000000;
    --text-dark: #FFFFFF;
    --text-gray: #FFFFFF;
    --text-light: #000000;
    --shadow-sm: none;
    --shadow-md: none;
}

body.large-text { font-size: 110%; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-gray); }

.contact-info-widget p 
{ margin-bottom: 1rem; 
  color: #ffff !important; 
}

.booking-cta p {
  margin-bottom: 20px;
  opacity: 0.9;
  color: #fff !important;
}

.contact p {
 color :#ffff !important;
}


a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* ==============================================
   LANGUAGE POPUP TRIGGER BUTTON
   ============================================== */
.lang-popup-trigger {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    line-height: 1;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    vertical-align: middle;
    margin-left: 8px;
}

.lang-popup-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-popup-trigger i {
    font-size: 10px;
    opacity: 0.8;
}

.lang-popup-trigger .current-lang {
    font-weight: 600;
    font-size: 11px;
    min-width: 20px;
}

/* ==============================================
   LANGUAGE POPUP OVERLAY
   ============================================== */
.lang-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
}

.lang-popup-overlay.active {
    display: block;
    animation: overlayFadeIn 0.3s ease;
}

/* ==============================================
   LANGUAGE POPUP MODAL
   ============================================== */
.lang-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 90%;
    max-width: 320px;
    max-height: 80vh;
    overflow: hidden;
    display: none;
    animation: popupSlideIn 0.3s ease;
}

.lang-popup.active {
    display: block;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==============================================
   POPUP HEADER
   ============================================== */
.lang-popup-header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-popup-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.lang-popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.lang-popup-close:hover {
    color: white;
}

/* ==============================================
   POPUP CONTENT
   ============================================== */
.lang-popup-content {
    padding: 20px;
    max-height: calc(80vh - 70px);
    overflow-y: auto;
}

/* Language List */
.lang-popup-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-popup-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.lang-popup-list li:last-child {
    border-bottom: none;
}

.lang-popup-list a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.lang-popup-list a:hover {
    background: #f5f5f5;
    color: #2c3e50;
}

.lang-popup-list li.active a {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
}

/* ==============================================
   SHORTCODE CONTENT IN POPUP
   ============================================== */
.lang-popup-shortcode {
    max-height: 300px;
    overflow-y: auto;
}

/* Reset plugin styles inside popup */
.lang-popup-shortcode * {
    all: unset;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

/* Style plugin links/buttons */
.lang-popup-shortcode a,
.lang-popup-shortcode button,
.lang-popup-shortcode select {
    display: block !important;
    width: 100% !important;
    padding: 12px 15px !important;
    margin-bottom: 8px !important;
    background: #f8f9fa !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    color: #333 !important;
    text-align: left !important;
    text-decoration: none !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.lang-popup-shortcode a:hover,
.lang-popup-shortcode button:hover,
.lang-popup-shortcode select:hover {
    background: #e9ecef !important;
    border-color: #ccc !important;
}

/* Hide unwanted elements */
.lang-popup-shortcode .goog-te-banner,
.lang-popup-shortcode .skiptranslate,
.lang-popup-shortcode iframe {
    display: none !important;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 480px) {
    .lang-popup {
        width: 95%;
        max-width: 280px;
    }
    
    .lang-popup-content {
        padding: 15px;
    }
    
    .lang-popup-list a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .lang-popup-trigger {
        padding: 3px 8px;
        font-size: 11px;
        margin-left: 5px;
    }
}

/* --- CONTAINER UTILITIES --- */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.container-fluid {
    width: 100%;
    padding-right: 40px; 
    padding-left: 40px;
    margin-right: auto;
    margin-left: auto;
}

/* --- UTILITIES & ANIMATIONS --- */
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* Reveal on Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 152, 61, 0.3);
    transition: var(--transition);
}
.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 152, 61, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    box-shadow: none;
}
.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.75rem;
}

/* --- VIEW DETAILS BUTTON --- */
.btn-view {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    background-color: #1B3A36; 
    color: #FFFFFF; 
    padding: 10px 24px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-view:hover {
    background-color: var(--primary); 
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header .subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

/* --- 2. HEADER & NAV --- */
.top-bar {
    background-color: var(--secondary-dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 8px 0;
    position: relative;
    z-index: 1002;
}

.top-bar-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

.top-left { display: flex; gap: 25px; }
.top-left a { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); }
.top-left a:hover { color: var(--primary); }
.top-left i { color: var(--primary); }

.top-right { display: flex; align-items: center; gap: 15px; }
.top-right a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.top-right a:hover { color: var(--text-light); transform: translateY(-2px); }

.lang-select {
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
}

header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--secondary);
    transition: var(--transition);
    padding: 12px 0;
}

header.scrolled {
    background-color: rgba(27, 58, 54, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    max-width: 100%;
}

.logo {
    height: 50px;
    width: auto;
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img { 
    height: 100%; 
    width: auto; 
    object-fit: contain; 
    display: block; 
}

nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    margin: 0 10px;
}

.nav-menu { 
    display: flex; 
    gap: 4px; 
    align-items: center;
    flex-grow: 1; 
    margin-right: 0;
}

.hero-inner-content {
  margin-top:313px !important;
}

/* ===== MENU ITEM STYLING - UNIFIED FOR WORDPRESS AND FALLBACK ===== */
.nav-menu > li {
    position: relative;
    list-style: none;
    color:#527b35 !important;
}

.nav-menu > li > a {
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    padding: 5px 8px;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > li > a.nav-link,
.nav-menu > li > a.dropdown-toggle {
    color: rgba(255,255,255,0.9) !important;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu > li:hover > a::after {
    width: 100%;
}

.nav-menu > li:hover > a {
    color: var(--text-light) !important;
}

/* Dropdown styling */
.nav-menu .dropdown { 
    position: relative; 
}

.nav-menu .dropdown-toggle .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-menu .dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

/* ===== ENHANCED & CORRECTED DROPDOWN MENUS ===== */

/* Base dropdown container */
.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--bg-white) !important;
    min-width: 220px;
    box-shadow: var(--shadow-lg) !important;
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 10px 0;
    z-index: 1001;
    text-align: left;
    white-space: normal;
    pointer-events: none;
}

.nav-menu .dropdown:hover .dropdown-menu,
.nav-menu .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Dropdown items - consistent styling */
.nav-menu .dropdown-menu li {
    display: block;
    position: relative;
}

.nav-menu .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark) !important;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-transform: capitalize;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.nav-menu .dropdown-menu a:last-child {
    border-bottom: none;
    
}

.nav-menu .dropdown-menu a:hover {
    background-color: var(--primary-light) !important;
    color: var(--secondary) !important;
    padding-left: 25px !important;
}

/* Sub-submenu parent indicator */
.nav-menu .dropdown-menu .has-submenu > a {
    padding-right: 35px;
    color: #527b35 !important;
}

.nav-menu .dropdown-menu .has-submenu .fa-chevron-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    transition: transform 0.3s;
}

/* ===== SUB-SUBMENU POSITIONING - CORRECTED ===== */
.nav-menu .dropdown-menu .dropdown-submenu {
    position: absolute;
    left: 100%;
    top: -10px;
    margin-left: 1px;
    min-width: 220px;
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 10px 0;
    z-index: 1002;
}

/* Show sub-submenu on hover */
.nav-menu .dropdown-menu .dropdown-submenu-parent:hover > .dropdown-submenu,
.nav-menu .dropdown-menu .dropdown-submenu-parent.active > .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    top: 0;
}

/* Rotate arrow when submenu is active */
.nav-menu .dropdown-menu .dropdown-submenu-parent:hover > .has-submenu .fa-chevron-right,
.nav-menu .dropdown-menu .dropdown-submenu-parent.active > .has-submenu .fa-chevron-right {
    transform: translateY(-50%) rotate(90deg);
}

/* Prevent submenu from disappearing when moving cursor to it */
.nav-menu .dropdown-menu .dropdown-submenu-parent {
    position: relative;
}

/* ===== DESKTOP HOVER ENHANCEMENTS ===== */
@media (min-width: 769px) {
    /* Smooth transition for dropdowns */
    .nav-menu .dropdown-menu {
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    /* Add subtle animation delay for better UX */
    .nav-menu .dropdown-menu .dropdown-submenu {
        transition: opacity 0.2s ease 0.1s, visibility 0.2s ease 0.1s, top 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s;
    }
    
    /* Ensure dropdowns stay visible when cursor moves between them */
    .nav-menu .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }
    
    .nav-menu .dropdown-submenu::before {
        content: '';
        position: absolute;
        top: 0;
        left: -10px;
        width: 20px;
        height: 100%;
        background: transparent;
    }
    
    /* Active state for current menu items in dropdowns */
    .nav-menu .dropdown-menu .current-menu-item > a {
        color: var(--primary) !important;
        font-weight: 600;
        background-color: var(--primary-light) !important;
    }
}

/* ===== TOUCH DEVICE SUPPORT ===== */
@media (hover: none) and (pointer: coarse) {
    .nav-menu .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        background: rgba(0,0,0,0.05) !important;
        margin: 5px 0;
        border-radius: var(--radius-sm);
        width: calc(100% - 20px);
        margin-left: 20px;
        pointer-events: auto;
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1) !important;
        margin: 5px 0;
        margin-left: 15px;
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .dropdown-submenu {
        display: block;
    }
}

/* ===== CURRENT MENU ITEM STYLING ===== */
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: var(--primary) !important;
    font-weight: 700;
}

/* ===== FIX FOR WORDPRESS MENU ITEM CLASSES ===== */
.nav-menu li.menu-item {
    position: relative;
}

.nav-menu li.menu-item a {
    text-decoration: none;
    color: #547832 !important;
}

/* ===== BOOK NOW BUTTON ===== */
.btn-book-nav {
    background-color: var(--primary);
    color: var(--text-light) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book-nav:hover {
    background-color: var(--primary-hover);
    color: var(--text-light) !important;
    transform: translateY(-2px);
}

.hamburger { 
    display: none; 
    font-size: 1.5rem; 
    color: var(--text-light); 
    cursor: pointer; 
    flex-shrink: 0; 
}

/* --- 3. HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1547970810-dc1eac37d174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: var(--topbar-height);
    padding-bottom: 80px;
    color: var(--text-light);
    text-align: center;
    position: relative;
}
.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    padding-bottom: 70px; 
}
.hero h1 { 
    margin-bottom: 20px; 
    color: var(--text-light); 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}
.hero p { 
    font-size: 1.2rem; 
    color: rgba(255,255,255,0.9); 
    margin-bottom: 40px; 
    font-weight: 300; 
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- UPDATED: SCROLL INDICATOR --- */
.scroll-indicator {
    margin-top: 40px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}


.scroll-icon {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

/* Text that appears on hover */
.scroll-info-text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

/* ===========================================
   PARTNERS SLIDER - ALL SLIDES VISIBLE FIX
   =========================================== */

/* Section Styling */
.partners-section.partners-slider {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Section Header */
.partners-section.partners-slider .section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.partners-section.partners-slider .section-subtitle {
    font-size: 1.1rem;
    color: #2c5530;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.partners-section.partners-slider .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2c5530, #3a7040);
    border-radius: 2px;
}

.partners-section.partners-slider .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c5530 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Slider Container - IMPORTANT: No overflow hidden on container */
.partners-section.partners-slider .partners-slider-container {
    position: relative;
    padding: 0 70px;
    /* REMOVE overflow: hidden from here */
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* Track - Add overflow hidden HERE instead */
.partners-section.partners-slider .partners-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 40px 0;
    /* Force ALL slides to render */
    position: relative;
    width: 200%; /* Double width for duplicates */
    min-width: 200%;
}

/* CRITICAL FIX: Make ALL slides visible and properly sized */
.partners-section.partners-slider .partner-slide {
    flex: 0 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    /* Force visibility for ALL slides */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    /* Ensure proper width */
    min-width: calc(100% / 6) !important; /* 6 slides per view */
}

/* Duplicate slides should be identical */
.partners-section.partners-slider .partner-slide.duplicate-slide {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Logo Container - CLEAR for ALL slides */
.partners-section.partners-slider .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    /* Ensure logo container is visible */
    overflow: visible !important;
}

/* LOGOS ARE CLEAR FOR ALL SLIDES */
.partners-section.partners-slider .partner-logo img {
    max-width: 160px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* CLEAR AND VIBRANT FOR ALL */
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Force rendering */
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    transform: translateZ(0);
}

/* HOVER EFFECT - Works for all slides */
.partners-section.partners-slider .partner-slide:hover .partner-logo {
    transform: translateY(-8px);
    border-color: #2c5530;
    background: #ffffff;
    box-shadow: 
        0 20px 50px rgba(44, 85, 48, 0.15),
        0 5px 0 rgba(44, 85, 48, 0.05) inset,
        0 0 0 2px rgba(44, 85, 48, 0.1);
    z-index: 100; /* Higher z-index for hover */
}

.partners-section.partners-slider .partner-slide:hover .partner-logo img {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1)) !important;
}

/* Navigation Arrows */
.partners-section.partners-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    color: #2c5530;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000; /* Above everything */
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.partners-section.partners-slider .slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: #2c5530;
    color: white;
    box-shadow: 
        0 10px 25px rgba(44, 85, 48, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.partners-section.partners-slider .prev-arrow {
    left: 15px;
}

.partners-section.partners-slider .next-arrow {
    right: 15px;
}

/* Dots Navigation */
.partners-section.partners-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.partners-section.partners-slider .slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.partners-section.partners-slider .slider-dots .dot:hover,
.partners-section.partners-slider .slider-dots .dot.active {
    background: #2c5530;
    transform: scale(1.2);
}

/* FIX for infinite loop - ensure smooth transitions */
.partners-section.partners-slider .partners-track {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ensure container clips properly on sides only */
.partners-section.partners-slider .partners-slider-container {
    overflow-x: hidden; /* Only hide horizontal overflow */
    overflow-y: visible;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 5) !important; /* 5 slides on medium */
    }
}

@media (max-width: 992px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 4) !important; /* 4 slides */
    }
}

@media (max-width: 768px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 3) !important; /* 3 slides */
    }
}

@media (max-width: 576px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 2) !important; /* 2 slides */
    }
}

@media (max-width: 400px) {
    .partners-section.partners-slider .partner-slide {
        min-width: 100% !important; /* 1 slide */
    }
}

/* Force browser to render ALL slides */
.partners-section.partners-slider * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: optimizeQuality;
}

/* Clear any hidden states */
.partners-section.partners-slider .partner-slide[style*="display: none"],
.partners-section.partners-slider .partner-slide[style*="visibility: hidden"],
.partners-section.partners-slider .partner-slide[style*="opacity: 0"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


.scroll-indicator:hover .scroll-icon {
    color: white;
    transform: translateY(2px);
}

.scroll-indicator:hover .scroll-info-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- 4. FEATURES --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary);
}
.feature-icon {
    width: 70px; height: 70px; background-color: var(--primary-light); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 25px; transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background-color: var(--primary); color: var(--text-light); transform: rotateY(360deg);
}

/* --- 5. PACKAGES --- */
.packages-section { background-color: var(--bg-light); }
.package-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.package-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img-wrap { height: 240px; overflow: hidden; position: relative; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.package-card:hover .card-img-wrap img { transform: scale(1.1); }
.card-badge {
    position: absolute; top: 20px; left: 20px; background-color: var(--primary); color: var(--text-light);
    padding: 6px 14px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-radius: 4px;
}
.card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; color: var(--secondary); }
.package-meta { display: flex; gap: 15px; margin-bottom: 20px; font-size: 0.85rem; color: var(--text-gray); }
.package-meta span i { color: var(--primary); margin-right: 5px; }
.package-features { margin-bottom: 25px; flex-grow: 1; }
.package-features li {
    margin-bottom: 10px; font-size: 0.95rem; color: var(--text-dark); display: flex; align-items: flex-start;
}
.package-features li i { color: var(--primary); margin-right: 10px; margin-top: 5px; font-size: 0.8rem; }

.card-footer {
    padding-top: 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; margin-top: auto;
}

/* --- 6. STATS --- */
.stats-section {
    background: linear-gradient(rgba(27, 58, 54, 0.9), rgba(27, 58, 54, 0.9)), url('https://images.unsplash.com/photo-1516426122078-c23e76319801?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover; background-attachment: fixed; color: var(--text-light); padding: 80px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number {
    font-family: var(--font-heading); font-size: 3.5rem; color: var(--primary); font-weight: 700;
    margin-bottom: 10px; display: block;
}
.stat-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; opacity: 0.9; }

/* --- 7. SLIDER (UPDATED: 4 CARDS PER SCROLL) --- */
.slider-section { position: relative; overflow: hidden; padding-bottom: 60px; }

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-scroller {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    grid-auto-flow: column; 
    gap: 30px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding: 20px 5px; 
    scrollbar-width: none;
    width: 100%;
}
.slider-scroller::-webkit-scrollbar { display: none; }

.slider-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    max-width: 1300px; 
    pointer-events: none; 
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.slider-btn {
    pointer-events: auto; 
    width: 50px; 
    height: 50px; 
    background: rgba(255,255,255,0.25); 
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%; 
    cursor: pointer; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    transition: var(--transition);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--bg-white); 
    font-size: 1.2rem;
    margin: 0 15px;
}

.slider-btn:hover { 
    background: var(--bg-white); 
    color: var(--primary); 
    transform: scale(1.1); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Clean Card Style */
.dest-card {
    scroll-snap-align: center; 
    position: relative; 
    border-radius: var(--radius-md); 
    overflow: hidden;
    height: 350px; 
    cursor: pointer;
    background-color: #000;
    box-shadow: var(--shadow-md);
}

.dest-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease; 
    filter: contrast(1.05) saturate(1.1); 
}
.dest-card:hover img { transform: scale(1.1); }

.dest-content {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 30px;
    background: rgba(0,0,0,0.7);
    color: white;
}

.dest-content h4 { 
    color: white; 
    font-size: 1.5rem; 
    margin-bottom: 5px; 
    font-weight: 600;
    transform: translateY(0);
    transition: var(--transition);
}

.dest-content span { 
    color: var(--primary); 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
    margin-bottom: 5px;
    display: block;
}

.dest-card:hover .dest-content h4 { transform: translateY(-3px); }

/* --- 8. REVIEWS --- */
.reviews { background-color: var(--bg-white); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card {
    background: var(--bg-white); padding: 35px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid #eee;
    height: 100%;
}
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { color: var(--secondary); margin-bottom: 5px; }
.review-header { display: flex; align-items: center; margin-bottom: 15px; }
.review-avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; margin-right: 15px; }
.google-stars { color: #FFB400; font-size: 0.9rem; }
.google-link { display: block; margin-top: 15px; color: var(--primary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; text-decoration: underline; }

/* --- 9. PARTNERS --- */
.partners { background-color: var(--bg-light); padding: 60px 0; border-top: 1px solid #eee; }
.partner-logos { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 50px; 
    flex-wrap: wrap; 
}
.partner-logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 1.3rem; 
    color: #888; 
    font-weight: 600; 
    text-transform: uppercase; 
    transition: var(--transition); 
}
.partner-logo:hover { color: var(--secondary); transform: translateY(-5px); }
.partner-logo i { margin-right: 5px; }

/* --- 10. FOOTER --- */
footer { background-color: var(--secondary-dark); color: #ccc; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { margin-top: 20px; color: rgba(255,255,255,0.7); }
.footer-col h4 { color: var(--text-light); margin-bottom: 25px; font-size: 1.2rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ccc; transition: 0.3s; font-size: 0.95rem; display: inline-block; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.contact-item { display: flex; margin-bottom: 15px; color: #ccc; align-items: flex-start; }
.contact-item i { color: var(--primary); margin-right: 15px; margin-top: 4px; }
.footer-bottom {
    background-color: rgba(0,0,0,0.2); padding: 25px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- 11. MODAL (BOOKING POPUP) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 20000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    display: flex !important;
}

.modal-content {
    background-color: var(--bg-white);
    margin: auto;
    padding: 40px;
    border: 1px solid #888;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
}

.booking-header h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 5px;
}
.booking-header p {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 152, 61, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* --- 12. WIDGETS --- */
.a11y-widget { position: fixed; bottom: 30px; left: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.a11y-panel {
    background: white; padding: 15px; border-radius: 8px; box-shadow: var(--shadow-lg); margin-bottom: 15px;
    width: 200px; display: none;
}
.a11y-panel.show { display: block; animation: fadeInUp 0.3s; }
.a11y-option { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; cursor: pointer; }
.a11y-btn {
    width: 50px; height: 50px; background: var(--secondary); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md);
    transition: var(--transition); font-size: 1.2rem;
}
.a11y-btn:hover { background: var(--primary); transform: scale(1.1); }

.chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.chat-toggle {
    width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    cursor: pointer; box-shadow: 0 10px 25px rgba(212, 152, 61, 0.5);
    position: relative; transition: var(--transition);
}
.chat-toggle:hover { transform: scale(1.05); }
.chat-badge {
    position: absolute; top: -2px; right: -2px; background: #25D366; color: white;
    width: 22px; height: 22px; border-radius: 50%; font-size: 0.7rem; border: 2px solid white;
    display: flex; align-items: center; justify-content: center; font-weight: bold;
}
.chat-window {
    position: absolute; bottom: 80px; right: 0; width: 350px; background: white;
    border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden;
    display: none; flex-direction: column; border: 1px solid #eee;
}
.chat-window.open { display: flex; animation: fadeInUp 0.3s; }
.chat-header { background: var(--secondary); color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.chat-body { padding: 15px; height: 300px; overflow-y: auto; background: #f9f9f9; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 10px 15px; border-radius: 12px; font-size: 0.9rem; line-height: 1.4; }
.msg.bot { background: white; border: 1px solid #ddd; align-self: flex-start; border-bottom-left-radius: 2px; }
.msg.user { background: #dcf8c6; align-self: flex-end; border-bottom-right-radius: 2px; }
.chat-input { padding: 10px; border-top: 1px solid #eee; display: flex; gap: 10px; }
.chat-input input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 20px; outline: none; }
.chat-input button { background: var(--primary); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }

/* ===== ACCESSIBILITY FOCUS STATES ===== */
.nav-menu a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.nav-menu .dropdown-menu a:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: -2px;
}

/* ===== FIX FOR Z-INDEX LAYERING ===== */
.nav-menu .dropdown {
    z-index: 1000;
}

.nav-menu .dropdown-menu {
    z-index: 1001;
}

.nav-menu .dropdown-submenu {
    z-index: 1002;
}

/* Ensure dropdowns appear above all other content */
header.scrolled + *,
.hero + * {
    position: relative;
    z-index: 1;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
    .nav-menu { gap: 6px; }
    .nav-menu > li > a { padding: 5px 6px; }
    .slider-controls { max-width: 95%; }
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .slider-scroller { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .container-fluid { padding: 0 20px; }
    .top-bar { display: none; }
    header { top: 0; padding: 15px 0; }
    .hamburger { display: block; }
    
    nav {
        position: fixed;
        top: 0; 
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px;
        transition: 0.3s ease;
        z-index: 1001;
        margin: 0;
    }
    nav.active { 
        left: 0; 
        box-shadow: 10px 0 20px rgba(0,0,0,0.2); 
    }
    
    .nav-menu {
        display: block; 
        width: 100%; 
        margin: 0; 
        gap: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu > li > a {
        color: white !important;
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    
    /* Mobile dropdown menu styling */
    .nav-menu .dropdown-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none !important;
        background: rgba(0,0,0,0.1) !important;
        padding-left: 20px;
        display: none;
        width: 100%;
        max-width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
        border-radius: 4px;
        border: 1px solid rgba(255,255,255,0.1);
        pointer-events: auto;
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDownMobile 0.3s ease;
    }
    
    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: translateY(-10px);
            max-height: 0;
        }
        to {
            opacity: 1;
            transform: translateY(0);
            max-height: 500px;
        }
    }
    
    .nav-menu .dropdown-menu a {
        color: rgba(255,255,255,0.9) !important;
        border-bottom-color: rgba(255,255,255,0.1);
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    
    .nav-menu .dropdown-menu a:hover {
        color: white !important;
        background-color: rgba(255,255,255,0.1) !important;
        padding-left: 25px !important;
    }
    
    /* Sub-submenu for mobile */
    .nav-menu .dropdown-menu .dropdown-submenu {
        position: static;
        margin: 5px 0;
        padding-left: 15px;
        box-shadow: none !important;
        background: rgba(0,0,0,0.15) !important;
        display: none;
        border: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .dropdown-submenu {
        display: block;
    }
    
    /* Mobile arrow indicators */
    .nav-menu .dropdown-menu .has-submenu .fa-chevron-right {
        right: 20px;
        transition: transform 0.3s;
    }
    
    .nav-menu .dropdown-menu .dropdown-submenu-parent.active > .has-submenu .fa-chevron-right {
        transform: translateY(-50%) rotate(90deg);
    }
    
    .btn-book-nav { 
        display: none; 
    } 
    
    .hero-content h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .slider-controls { display: none; } 
    .dest-card { height: 300px; }
    
    .slider-scroller {
        grid-template-columns: 1fr;
        grid-auto-columns: 85%;
    }
    
    .partner-logos { gap: 20px; }
    .partner-logo { font-size: 1rem; }
}

/* ===========================================
   HEADER FIXES
   =========================================== */

/* Logo sizing */
.logo {
    height: 50px;
    width: auto;
    display: flex;
    align-items: center;
    z-index: 1002;
}

.site-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    max-height: 50px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Header positioning fix */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #517934 !important;
    transition: var(--transition);
    padding: 0px 0;
}

#mainHeader.scrolled {
    background-color: rgba(27, 58, 54, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.amm-trigger.top-right {
  top: 20px;
  right: 20px;
  background: #d4983d !important;
}

@media (max-width: 768px) {
  .hamburger {
    display: none !important;
  }
}

/* Navigation container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    padding: 12px;
}
.btn-outline {
  background-color:#d4983d !important;
  color: #274440 !important;
}

.btn-outline:hover {
  background-color:#274440 !important;
  color:#ffff !important;
}
.destinations-section .btn-outline {
  background-color:#274440 !important;
  color:#ffff !important;
}

.destinations-section .btn-outline:hover {
  background-color:#d4983d !important;
  color: #274440 !important;
}

/* ===========================================
   HERO SECTION ALIGNMENT FIX
   =========================================== */

.hero-section {
    height: 90vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    margin-top: var(--header-height, 80px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(27, 58, 54, 0.85) 0%, rgba(27, 58, 54, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Remove problematic margins */
.hero-inner-title,
.hero-inner-content {
    margin-top: 0 !important;
}

/* For dynamic hero sections */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-height, 80px);
}

.hero .hero-content {
    padding: 20px;
    width: 100%;
}

/* For page hero sections */
.page-hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-height, 80px);
    position: relative;
}

.page-hero .hero-content {
    width: 100%;
    padding: 0 20px;
}

/* ===========================================
   SLIDER ALIGNMENT & IMAGE CLARITY FIX
   =========================================== */

.slider-section {
    position: relative;
    padding: 80px 0 60px;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .slider-wrapper {
        padding: 0 20px;
    }
}

.slider-scroller {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.slider-scroller::-webkit-scrollbar {
    display: none;
}

/* Individual card styling */
.dest-card {
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;
    width: 100%;
    cursor: pointer;
    background-color: #000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex-shrink: 0;
}

/* IMAGE CLARITY FIX */
.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    /* Enhance image quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Fix blurriness */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Sharpness and contrast */
    filter: brightness(1.05) contrast(1.1);
    will-change: transform;
}

.dest-card:hover img {
    transform: scale(1.08);
}

.dest-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.dest-card:hover .dest-content {
    transform: translateY(-5px);
}

.dest-content h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.dest-content span {
    color:

/* ===========================================
   PARTNERS SLIDER - ALL SLIDES VISIBLE FIX
   =========================================== */

/* Section Styling */
.partners-section.partners-slider {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Section Header */
.partners-section.partners-slider .section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.partners-section.partners-slider .section-subtitle {
    font-size: 1.1rem;
    color: #2c5530;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.partners-section.partners-slider .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2c5530, #3a7040);
    border-radius: 2px;
}

.partners-section.partners-slider .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c5530 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Slider Container - IMPORTANT: No overflow hidden on container */
.partners-section.partners-slider .partners-slider-container {
    position: relative;
    padding: 0 70px;
    /* REMOVE overflow: hidden from here */
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* Track - Add overflow hidden HERE instead */
.partners-section.partners-slider .partners-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 40px 0;
    /* Force ALL slides to render */
    position: relative;
    width: 200%; /* Double width for duplicates */
    min-width: 200%;
}

/* CRITICAL FIX: Make ALL slides visible and properly sized */
.partners-section.partners-slider .partner-slide {
    flex: 0 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    /* Force visibility for ALL slides */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    /* Ensure proper width */
    min-width: calc(100% / 6) !important; /* 6 slides per view */
}

/* Duplicate slides should be identical */
.partners-section.partners-slider .partner-slide.duplicate-slide {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Logo Container - CLEAR for ALL slides */
.partners-section.partners-slider .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    /* Ensure logo container is visible */
    overflow: visible !important;
}

/* LOGOS ARE CLEAR FOR ALL SLIDES */
.partners-section.partners-slider .partner-logo img {
    max-width: 160px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* CLEAR AND VIBRANT FOR ALL */
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Force rendering */
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    transform: translateZ(0);
}

/* HOVER EFFECT - Works for all slides */
.partners-section.partners-slider .partner-slide:hover .partner-logo {
    transform: translateY(-8px);
    border-color: #2c5530;
    background: #ffffff;
    box-shadow: 
        0 20px 50px rgba(44, 85, 48, 0.15),
        0 5px 0 rgba(44, 85, 48, 0.05) inset,
        0 0 0 2px rgba(44, 85, 48, 0.1);
    z-index: 100; /* Higher z-index for hover */
}

.partners-section.partners-slider .partner-slide:hover .partner-logo img {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1)) !important;
}

/* Navigation Arrows */
.partners-section.partners-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    color: #2c5530;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000; /* Above everything */
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.partners-section.partners-slider .slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: #2c5530;
    color: white;
    box-shadow: 
        0 10px 25px rgba(44, 85, 48, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.partners-section.partners-slider .prev-arrow {
    left: 15px;
}

.partners-section.partners-slider .next-arrow {
    right: 15px;
}

/* Dots Navigation */
.partners-section.partners-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.partners-section.partners-slider .slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.partners-section.partners-slider .slider-dots .dot:hover,
.partners-section.partners-slider .slider-dots .dot.active {
    background: #2c5530;
    transform: scale(1.2);
}

/* FIX for infinite loop - ensure smooth transitions */
.partners-section.partners-slider .partners-track {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ensure container clips properly on sides only */
.partners-section.partners-slider .partners-slider-container {
    overflow-x: hidden; /* Only hide horizontal overflow */
    overflow-y: visible;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 5) !important; /* 5 slides on medium */
    }
}

@media (max-width: 992px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 4) !important; /* 4 slides */
    }
}

@media (max-width: 768px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 3) !important; /* 3 slides */
    }
}

@media (max-width: 576px) {
    .partners-section.partners-slider .partner-slide {
        min-width: calc(100% / 2) !important; /* 2 slides */
    }
}

@media (max-width: 400px) {
    .partners-section.partners-slider .partner-slide {
        min-width: 100% !important; /* 1 slide */
    }
}

/* Force browser to render ALL slides */
.partners-section.partners-slider * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: optimizeQuality;
}

/* Clear any hidden states */
.partners-section.partners-slider .partner-slide[style*="display: none"],
.partners-section.partners-slider .partner-slide[style*="visibility: hidden"],
.partners-section.partners-slider .partner-slide[style*="opacity: 0"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure dropdowns work on touch devices */
@media (hover: hover) and (pointer: fine) {
    .nav-menu .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Fallback for touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-menu .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
