/*
Theme Name: Topma Tours & Safaris
Theme URI: https://topmatoursandsafaris.com
Author: Topma Tours
Author URI: https://topmatoursandsafaris.com
Description: Premium Safari Tours & Travel WordPress Theme
Version: 1.0.0
License: GPL v2 or later
Text Domain: topma-tours
Tags: safari, travel, tourism, responsive, booking
*/

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #e18829;
    --secondary-color: #F6BE00;
    --dark-color: #1a2c1e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --border-radius: 12px;
    --container-width: 1200px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #e6b400);
    color: var(--dark-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(246, 190, 0, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

section {
    padding: 100px 0;
    position: relative;
}

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

.section-title h2 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ===== HERO BUTTONS - REDUCED GAP ===== */
.hero-btns {
    display: flex;
    gap: 15px; /* Reduced from 20px to 15px */
    flex-wrap: wrap;
    align-items: center;
}

/* Adjust package footer when pricing is removed */
.package-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.package-buttons {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.package-buttons .btn {
    flex: 1;
    padding: 14px 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
}

.package-buttons .btn-outline {
    background: transparent;
    border: 2px solid #c19a6b;
    color: #c19a6b;
}

.package-buttons .btn-outline:hover {
    background: #c19a6b;
    color: white;
    transform: translateY(-2px);
}

.package-buttons .btn-primary {
    background: linear-gradient(135deg, #c19a6b, #b8860b);
    border: none;
    color: white;
}

.package-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #b8860b, #a67c00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.3);
}

/* Make package images clickable */
.package-image {
    position: relative;
    overflow: hidden;
}

.package-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.package-image-link img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.package-image-link:hover img {
    transform: scale(1.05);
}

/* Make package title clickable */
.package-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.package-title a:hover {
    color: var(--primary-color);
}

/* Style for two buttons */
.package-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.package-buttons .btn {
    flex: 1;
    min-width: 120px;
}

.package-buttons .btn-outline {
    border-color: #ddd;
}

.package-buttons .btn-outline:hover {
    border-color: var(--primary-color);
}

/* Adjust footer layout */
.package-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .package-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .package-pricing {
        margin-bottom: 0;
    }
}

/* Give more space to excerpt and features since pricing is removed */
.package-excerpt {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    font-size: 15px;
    flex-grow: 1;
}

.package-features {
    margin-bottom: 25px;
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
    .package-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .package-buttons .btn {
        width: 100%;
    }
}

.hero-btns .btn {
    padding: 15px 30px; /* Reduced horizontal padding */
    font-size: 15px;
    gap: 8px; /* Reduced icon gap */
    min-width: 160px; /* Ensure buttons have minimum width */
}

/* ===== RESPONSIVE HERO BUTTONS ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.8rem;
    }
    
    .hero-btns {
        gap: 12px; /* Further reduced on larger screens */
    }
    
    .hero-btns .btn {
        padding: 14px 28px;
        font-size: 14px;
        min-width: 150px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        gap: 10px;
    }
    
    .hero-btns .btn {
        padding: 13px 25px;
        font-size: 14px;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* MOBILE BUTTONS - REDUCED GAP */
    .hero-btns {
        gap: 8px; /* Minimal gap on mobile */
        justify-content: flex-start; /* Align left on mobile */
        flex-wrap: nowrap; /* Keep buttons in one row */
    }
    
    .hero-btns .btn {
        flex: 1; /* Make buttons equal width */
        min-width: 120px;
        max-width: 180px;
        padding: 12px 20px;
        font-size: 14px;
        gap: 6px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* SMALL MOBILE BUTTONS */
    .hero-btns {
        gap: 6px;
    }
    
    .hero-btns .btn {
        min-width: 110px;
        max-width: 160px;
        padding: 10px 15px;
        font-size: 13px;
        gap: 5px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    /* EXTRA SMALL MOBILE BUTTONS */
    .hero-btns {
        gap: 5px;
    }
    
    .hero-btns .btn {
        min-width: 100px;
        max-width: 140px;
        padding: 9px 12px;
        font-size: 12px;
        gap: 4px;
    }
    
    .hero-btns .btn i {
        font-size: 11px;
    }
}

/* ===== BUTTON HOVER EFFECTS ===== */
.hero-btns .btn:hover {
    transform: translateY(-3px); /* Slightly reduced hover lift */
}

/* ===== ENSURE BUTTONS STAY TOGETHER ===== */
@media (max-width: 768px) {
    .hero-btns {
        flex-direction: row !important; /* Force horizontal layout */
    }
}

/* For very narrow screens where buttons might wrap */
@media (max-width: 350px) {
    .hero-btns {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-btns .btn {
        min-width: 45%;
        max-width: 45%;
        margin-bottom: 5px;
    }
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #d97a1f);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(225, 136, 41, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97a1f, var(--primary-color));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 136, 41, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #e6b400);
    color: var(--dark-color);
    box-shadow: 0 5px 20px rgba(246, 190, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e6b400, var(--secondary-color));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(246, 190, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===== ENHANCED TOP BAR STYLES ===== */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===== CONTACT INFO GRID ===== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1rem;
    color: var(--white);
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details h3 {
    display: none;
}

.contact-link, .contact-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.3;
    word-break: break-word;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-availability {
    display: none;
}

.phone-link {
    font-weight: 600;
    font-size: 0.9rem;
}

.email-link {
    font-size: 0.8rem;
}

/* ===== SOCIAL MEDIA LINKS ===== */
.top-bar-social {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.top-bar-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE TOP BAR DESIGN ===== */
@media (max-width: 1200px) {
    .top-bar {
        font-size: 0.85rem;
        padding: 8px 0;
    }
    
    .contact-info-grid {
        gap: 12px;
    }
    
    .contact-info-item {
        gap: 6px;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
    
    .contact-link, .contact-text {
        font-size: 0.8rem;
    }
    
    .phone-link {
        font-size: 0.85rem;
    }
    
    .email-link {
        font-size: 0.75rem;
    }
    
    .top-bar-social {
        gap: 10px;
    }
    
    .top-bar-social a {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .top-bar {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .top-bar .container {
        flex-direction: row;
        gap: 10px;
    }
    
    .contact-info-grid {
        width: auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .contact-info-item {
        justify-content: flex-start;
        text-align: left;
    }
    
    .contact-details {
        text-align: left;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
    }
    
    .contact-icon i {
        font-size: 0.85rem;
    }
    
    .contact-link, .contact-text {
        font-size: 0.75rem;
    }
    
    .phone-link {
        font-size: 0.8rem;
    }
    
    .email-link {
        font-size: 0.7rem;
    }
    
    .top-bar-social {
        gap: 8px;
    }
    
    .top-bar-social a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
    }
    
    .contact-info-item {
        justify-content: flex-start;
        text-align: left;
        gap: 8px;
        background: rgba(255, 255, 255, 0.1);
        padding: 6px 10px;
        border-radius: 6px;
        margin-bottom: 4px;
    }
    
    .contact-icon {
        width: 28px;
        height: 28px;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .contact-icon i {
        font-size: 0.8rem;
    }
    
    .contact-link, .contact-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .phone-link {
        font-size: 0.78rem;
        font-weight: 600;
    }
    
    .email-link {
        font-size: 0.7rem;
    }
    
    .top-bar-social {
        margin-top: 8px;
        gap: 15px;
        justify-content: center;
        width: 100%;
        order: 3;
    }
    
    .top-bar-social a {
        font-size: 1rem;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 0.7rem;
        padding: 5px 0;
    }
    
    .contact-info-item {
        padding: 5px 8px;
        gap: 6px;
    }
    
    .contact-icon {
        width: 25px;
        height: 25px;
    }
    
    .contact-icon i {
        font-size: 0.75rem;
    }
    
    .contact-link, .contact-text {
        font-size: 0.7rem;
    }
    
    .phone-link {
        font-size: 0.72rem;
    }
    
    .email-link {
        font-size: 0.65rem;
    }
    
    .top-bar-social {
        gap: 12px;
        margin-top: 6px;
    }
    
    .top-bar-social a {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .top-bar {
        font-size: 0.65rem;
        padding: 4px 0;
    }
    
    .contact-info-item {
        padding: 4px 6px;
        gap: 5px;
    }
    
    .contact-icon {
        width: 22px;
        height: 22px;
    }
    
    .contact-icon i {
        font-size: 0.7rem;
    }
    
    .contact-link, .contact-text {
        font-size: 0.65rem;
    }
    
    .phone-link {
        font-size: 0.68rem;
    }
    
    .email-link {
        font-size: 0.6rem;
    }
    
    .top-bar-social {
        gap: 10px;
        margin-top: 5px;
    }
    
    .top-bar-social a {
        font-size: 0.85rem;
    }
}

/* ===== ANIMATIONS FOR TOP BAR ===== */
.contact-info-item {
    transition: all 0.2s ease;
}

@media (min-width: 769px) {
    .contact-info-item:hover {
        transform: translateY(-1px);
    }
    
    .contact-info-item:hover .contact-icon {
        background: rgba(255, 255, 255, 0.25);
        transform: rotate(3deg);
    }
}

/* ===== ACCESSIBILITY ===== */
.contact-link:focus,
.top-bar-social a:focus {
    outline: 1px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Main Header */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    top: 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* ===== FIXED LOGO STYLES ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1002;
}

/* Custom logo image - FIXED SIZE */
.custom-logo {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    object-fit: contain;
    transition: var(--transition);
}

.custom-logo-link:hover .custom-logo {
    transform: scale(1.05);
}

/* Text-based logo (fallback) - FIXED SIZE */
.logo-text {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, 
        rgba(225, 136, 41, 0.05) 0%, 
        rgba(246, 190, 0, 0.05) 100%);
    border-left: 3px solid var(--primary-color);
}

.logo-text:hover {
    background: linear-gradient(135deg, 
        rgba(225, 136, 41, 0.1) 0%, 
        rgba(246, 190, 0, 0.1) 100%);
    transform: translateY(-2px);
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px !important;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-sub {
    font-size: 10px !important;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Sticky header adjustments */
header.scrolled .custom-logo {
    height: 50px !important;
    max-height: 50px !important;
}

header.scrolled .logo-main {
    font-size: 20px !important;
}

header.scrolled .logo-sub {
    font-size: 9px !important;
    letter-spacing: 1.5px;
}

header.scrolled .logo-text {
    padding: 6px 10px;
}

/* ===== ENHANCED NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(225, 136, 41, 0.1);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(225, 136, 41, 0.1);
}

/* ===== FIXED MULTI-LEVEL DROPDOWN MENUS ===== */
.dropdown {
    position: relative;
}

/* Enhanced dropdown arrow styling */
.dropdown > .nav-link {
    position: relative;
    padding-right: 45px !important;
}

.dropdown > .nav-link i.fa-chevron-down {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 136, 41, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.dropdown:hover > .nav-link i.fa-chevron-down {
    transform: translateY(-50%) rotate(180deg);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 3px rgba(225, 136, 41, 0.2);
}

/* Level 1 Dropdown Content */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    padding: 15px 0;
    border-top: 4px solid var(--primary-color);
    overflow: visible !important;
}

.dropdown-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(225, 136, 41, 0.05), rgba(246, 190, 0, 0.05));
    z-index: -1;
}

/* Level 2 Dropdown (Nested) */
.dropdown-content .dropdown-content {
    position: absolute;
    top: -15px;
    left: 100%;
    margin-left: 5px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
    z-index: 1001;
}

/* Level 3 Dropdown (Deep Nested) */
.dropdown-content .dropdown-content .dropdown-content {
    top: 0;
    left: 100%;
    margin-left: 5px;
    border-top: 4px solid var(--primary-color);
}

/* Show dropdowns on hover */
.dropdown:hover > .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content .dropdown:hover > .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Enhanced dropdown items */
.dropdown-content a {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0 10px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.dropdown-content a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 136, 41, 0.1), transparent);
    transition: 0.5s;
    z-index: -1;
}

.dropdown-content a:hover {
    background: rgba(225, 136, 41, 0.08);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 30px;
    transform: translateX(5px);
}

.dropdown-content a:hover:before {
    left: 100%;
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.dropdown-content a:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* Arrow indicators for nested dropdown items */
.dropdown-content .dropdown > a {
    position: relative;
    padding-right: 40px !important;
}

.dropdown-content .dropdown > a:after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    font-size: 12px;
    color: rgba(0,0,0,0.3);
    transition: var(--transition);
}

.dropdown-content .dropdown > a:hover:after {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Book Now Button */
.book-now-btn {
    margin-left: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
    overflow: hidden;
}

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

.mobile-menu-btn:hover {
    background: var(--dark-color);
    transform: rotate(90deg);
}

.mobile-menu-btn:hover:before {
    left: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(26, 44, 30, 0.8), rgba(26, 44, 30, 0.9)), 
                url('https://images.unsplash.com/photo-1516426122078-c23e76319801?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--secondary-color);
    position: relative;
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: var(--light-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(225, 136, 41, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #d97a1f);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===== PACKAGES SECTION ===== */
.packages {
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.packages:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(225, 136, 41, 0.03), transparent);
    pointer-events: none;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(225, 136, 41, 0.15);
}

.package-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #e6b400);
    color: var(--dark-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(246, 190, 0, 0.3);
}

.package-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

.package-card:hover .package-img img {
    transform: scale(1.15);
}

.package-content {
    padding: 35px;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(225, 136, 41, 0.1);
}

.package-title h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.package-duration {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 136, 41, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-flex;
}

.package-price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.package-price span {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.package-features ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(225, 136, 41, 0.05);
    border-radius: 8px;
}

.package-features i {
    color: var(--secondary-color);
}

/* ===== DESTINATIONS ===== */
.destinations {
    background: var(--light-color);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.destination-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 400px;
    transition: var(--transition);
}

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

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

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 44, 30, 0.9), transparent);
    padding: 40px 30px 30px;
    color: var(--white);
}

.destination-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--white);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(225, 136, 41, 0.1);
}

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

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--secondary-color);
}

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

.testimonial-stars {
    color: var(--secondary-color);
    margin: 10px 0;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    padding-left: 30px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
}

/* ===== STATS ===== */
.stats {
    background: linear-gradient(rgba(26, 44, 30, 0.9), rgba(26, 44, 30, 0.95)), 
                url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    padding: 40px 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), #d97a1f);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.newsletter h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 30px auto 0;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 20px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 100px 0 30px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* ===== RESPONSIVE DESIGN WITH ENHANCED MOBILE DROPDOWNS ===== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--white);
        padding: 100px 30px 30px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-radius: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-content {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        margin: 10px 0 10px 30px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border-top: none;
        border-left: 3px solid var(--primary-color);
        border-radius: 0 8px 8px 0;
        padding: 10px 0;
        width: calc(100% - 20px);
    }
    
    .dropdown-content .dropdown-content {
        margin: 10px 0 10px 30px;
        border-left-color: var(--secondary-color);
    }
    
    .dropdown.active > .dropdown-content {
        display: block;
        animation: slideDown 0.4s ease forwards;
    }
    
    .dropdown-content .dropdown.active > .dropdown-content {
        display: block;
    }
    
    .dropdown.active > .nav-link {
        background: rgba(225, 136, 41, 0.1);
        color: var(--primary-color);
    }
    
    .dropdown.active > .nav-link i.fa-chevron-down {
        transform: translateY(-50%) rotate(180deg);
        background: var(--primary-color);
        color: white;
    }
    
    /* Mobile arrow indicators */
    .dropdown-content .dropdown > a:after {
        content: '\f078';
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }
    
    .dropdown-content .dropdown.active > a:after {
        transform: rotate(180deg);
    }
    
    /* Mobile dropdown items */
    .dropdown-content a {
        margin: 5px 15px;
        padding: 12px 20px;
        border-radius: 6px;
    }
    
    .dropdown-content a:hover {
        padding-left: 25px;
        transform: translateX(0);
    }
    
    .book-now-btn {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    /* Mobile logo optimizations */
    .custom-logo {
        height: 50px !important;
        max-height: 50px !important;
    }
    
    .logo-main {
        font-size: 22px !important;
    }
    
    .logo-sub {
        font-size: 9px !important;
        letter-spacing: 1.5px;
    }
    
    .logo-text {
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    /* Mobile logo optimizations */
    .custom-logo {
        height: 45px !important;
        max-height: 45px !important;
    }
    
    .logo-main {
        font-size: 20px !important;
    }
    
    .logo-sub {
        font-size: 8px !important;
        letter-spacing: 1.2px;
        margin-top: 2px;
    }
    
    .logo-text {
        padding: 5px 8px;
        border-left: 2px solid var(--primary-color);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .package-features ul {
        grid-template-columns: 1fr;
    }
    
    /* Mobile logo optimizations */
    .custom-logo {
        height: 40px !important;
        max-height: 40px !important;
    }
    
    .logo-main {
        font-size: 18px !important;
    }
    
    .logo-sub {
        font-size: 7px !important;
        letter-spacing: 1px;
    }
    
    .logo-text {
        padding: 4px 6px;
    }
}

/* ===== DROPDOWN ANIMATIONS ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

/* Ensure desktop dropdowns work properly */
@media (min-width: 993px) {
    .dropdown-content {
        display: block !important;
    }
}

/* The rest of your CSS remains the same... */
/* ===== DYNAMIC FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
    background: var(--light-color);
}

/* Grid Layouts */
.features-grid {
    display: grid;
    gap: 30px;
}

.features-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.features-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.features-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Feature Card */
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(225, 136, 41, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.feature-card-link:hover {
    color: inherit;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Feature Icon */
.feature-icon-container {
    margin-bottom: 25px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #d97a1f);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
}

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

/* Feature Content */
.feature-content h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Carousel Layout */
.features-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px;
    margin: 0 -20px;
}

.features-carousel .feature-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    min-width: 0;
}

.features-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.features-carousel-prev,
.features-carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.features-carousel-prev:hover,
.features-carousel-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* ===== SAFARI PACKAGES SECTION ===== */
.packages-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.packages-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(225, 136, 41, 0.03), transparent);
    pointer-events: none;
}

/* ===== DESTINATIONS SECTION ===== */
.destinations {
    background: var(--light-color);
    padding: 100px 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.destination-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 400px;
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.destination-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 44, 30, 0.9), transparent);
    padding: 40px 30px 30px;
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

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

.destination-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1rem;
}

.destination-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--white);
}

.destination-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.destination-location i {
    color: var(--secondary-color);
}

.destination-overlay p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.destination-season {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.destination-season i {
    color: var(--secondary-color);
}

.destinations-view-all {
    margin-top: 60px;
    text-align: center;
}

.destinations-view-all .text-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.destinations-view-all .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    transition: var(--transition);
}

/* Package Card */
.package-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(225, 136, 41, 0.15);
    position: relative;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(225, 136, 41, 0.3);
}

/* Package Badge */
.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-best {
    background: linear-gradient(135deg, var(--secondary-color), #e6b400);
    color: var(--dark-color);
}

.badge-popular {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.badge-adventure {
    background: linear-gradient(135deg, #2196F3, #0D47A1);
}

.badge-luxury {
    background: linear-gradient(135deg, #9C27B0, #6A1B9A);
}

.badge-family {
    background: linear-gradient(135deg, #FF9800, #EF6C00);
}

.badge-romantic {
    background: linear-gradient(135deg, #E91E63, #AD1457);
}

.badge-new {
    background: linear-gradient(135deg, #00BCD4, #00838F);
}

.badge-special {
    background: linear-gradient(135deg, #FF5722, #D84315);
}

/* Package Image */
.package-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.package-image:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.package-card:hover .package-image img {
    transform: scale(1.15);
}

.package-category {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(225, 136, 41, 0.9);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

/* Package Content */
.package-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 280px);
}

.package-header {
    margin-bottom: 20px;
}

.package-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.package-duration,
.package-location {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 136, 41, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
}

.package-excerpt {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Package Features */
.package-features {
    margin-bottom: 30px;
}

.package-features ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
}

.package-features li {
    display: flex;
    align-items: center;
    min-height: 50px;
    gap: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    background: rgba(225, 136, 41, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(225, 136, 41, 0.1);
    line-height: 1.3;
}

.package-features i {
    color: var(--secondary-color);
    font-size: 1rem;
    background: rgba(246, 190, 0, 0.1);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.package-features span {
    flex: 1;
    font-weight: 500;
}

/* Package Footer */
.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 25px;
    border-top: 2px solid rgba(225, 136, 41, 0.1);
}

.package-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.package-price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 3px 10px rgba(225, 136, 41, 0.2);
}

.price-label {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    margin-left: 5px;
}

.package-original-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    opacity: 0.7;
}

.package-footer .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
}

/* Grid Layouts */
.packages-grid {
    display: grid;
    gap: 30px;
}

.packages-grid.style-3 {
    grid-template-columns: repeat(3, 1fr);
}

.packages-grid.style-2 {
    grid-template-columns: repeat(2, 1fr);
}

.packages-grid.style-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* List View */
.packages-grid.style-list .package-card {
    display: flex;
    flex-direction: row;
    height: auto;
}

.packages-grid.style-list .package-image {
    width: 40%;
    height: auto;
}

.packages-grid.style-list .package-content {
    width: 60%;
    height: auto;
}

/* Slider Layout */
.packages-slider-style {
    overflow: hidden;
}

.packages-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    margin: 0 -20px;
}

.packages-slider .package-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    min-width: 0;
}

.packages-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.packages-slider-prev,
.packages-slider-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.packages-slider-prev:hover,
.packages-slider-next:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(225, 136, 41, 0.3);
    color: var(--white);
    background: var(--primary-color);
}

.packages-slider-dots {
    display: flex;
    gap: 12px;
    background: var(--white);
    padding: 0 20px;
}

.packages-slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.packages-slider-dot:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: rgba(225, 136, 41, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.packages-slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(225, 136, 41, 0.2);
}

.packages-slider-dot.active:before {
    opacity: 1;
}

/* View All Button */
.packages-view-all {
    text-align: center;
    margin-top: 50px;
}

.packages-view-all .btn {
    padding: 15px 50px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .packages-grid.style-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .packages-slider .package-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 992px) {
    .packages-grid.style-3,
    .packages-grid.style-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid.style-list .package-card {
        flex-direction: column;
    }
    
    .packages-grid.style-list .package-image,
    .packages-grid.style-list .package-content {
        width: 100%;
    }
    
    .package-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .packages-grid.style-2,
    .packages-grid.style-3,
    .packages-grid.style-4 {
        grid-template-columns: 1fr;
    }
    
    .packages-slider .package-card {
        flex: 0 0 100%;
    }
    
    .package-footer {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .package-pricing {
        justify-content: center;
    }
    
    .packages-slider-nav {
        gap: 15px;
    }
    
    .packages-slider-prev,
    .packages-slider-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .package-content {
        padding: 25px;
    }
    
    .package-price {
        font-size: 2.2rem;
    }
    
    .package-title {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid.grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid.grid-4,
    .features-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-carousel .feature-card {
        flex: 0 0 calc(50% - 15px);
    }
}

/* ===========================================
   FOOTER EMERGENCY FIX
   =========================================== */

/* Force footer visibility */
#site-footer,
.site-footer {
    background: #1a3a2f !important; /* Dark green */
    color: #ffffff !important; /* White text */
    position: relative !important;
    z-index: 100 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Footer content area */
.footer-content {
    background: #1a3a2f !important;
    color: #ffffff !important;
    padding: 60px 0 40px !important;
}

/* Footer widgets */
.footer-widget {
    color: #ffffff !important;
}

.footer-widget h3 {
    color: #ffffff !important;
    border-bottom: 2px solid #d4af37 !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

/* Footer bottom with copyright */
.footer-bottom {
    background: #153026 !important; /* Slightly darker green */
    color: #ffffff !important;
    padding: 25px 0 !important;
    text-align: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    clear: both !important;
    display: block !important;
}

.footer-bottom p {
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    opacity: 0.9 !important;
}

/* Links in footer */
.footer-links a,
.contact-text a,
.footer-widget a {
    color: #b8c6bf !important;
    text-decoration: none !important;
}

.footer-links a:hover,
.contact-text a:hover,
.footer-widget a:hover {
    color: #d4af37 !important;
}

/* Footer Styles */
.site-footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 100px 0 30px;
    position: relative;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Archive Page Styles */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-8, .col-lg-4, .col-md-12 {
    padding: 0 15px;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.widget-area .widget {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0 5px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.page-numbers.current {
    background: linear-gradient(135deg, var(--primary-color), #d97a1f);
    color: var(--white);
}

.page-numbers:hover:not(.current) {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Comments Styles */
.comments-area {
    margin-top: 60px;
}

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

.comment-body {
    padding: 30px;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.comment-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
}

.comment-metadata {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.comment-content {
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.comment-reply-link:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

/* Responsive Styles for Archive */
@media (max-width: 992px) {
    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .widget-area {
        padding-left: 0;
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px !important;
    }
    
    .page-title {
        font-size: 2.5rem !important;
    }
    
    .archive-grid {
        gap: 30px !important;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
}

.footer-logo-img img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
}

.footer-logo-img h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-newsletter h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

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

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
}

.footer-menu li a:hover {
    color: var(--secondary-color);
    transform: translateX(10px);
}

.footer-menu li a i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.contact-info {
    margin-top: 10px;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--secondary-color);
    margin-top: 5px;
    min-width: 20px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

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

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
    color: var(--white);
}

.footer-social-icons a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 15px 30px;
}

.newsletter-note {
    font-size: 0.85rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
}

.license {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-menu,
.footer-bottom-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom-menu a,
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom-menu a:hover,
.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 80px 0 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-menu,
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo-img img {
        max-width: 150px;
    }
}

/* Social icons */
.footer-social-icons a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.footer-social-icons a:hover {
    background: #d4af37 !important;
    color: #1a3a2f !important;
}

/* ===========================================
   DEBUG MODE - Make everything visible
   =========================================== */
/* Uncomment these lines if still not visible */
/*
#site-footer * {
    border: 1px solid red !important;
    background: rgba(255, 0, 0, 0.1) !important;
}
*/

@media (max-width: 768px) {
    .features-grid.grid-4,
    .features-grid.grid-3,
    .features-grid.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .features-carousel .feature-card {
        flex: 0 0 100%;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

/* Admin Styles */
#features-admin-bar {
    animation: slideInUp 0.3s ease;
}

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