/*
Theme Name: Everest Helicopter Tours
Theme URI: https://www.everesthelicopters.com/
Author: Rajan Neupane
Description: Premium, SEO-focused WordPress theme for helicopter tours in Nepal.
Version: 1.0.0
Text Domain: everest-helicopter
*/

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #190063;
    --primary-light: #25008F;
    --secondary-color: #f4b20c;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f4f7fc;
    --bg-white: #ffffff;
    --primary-gradient: linear-gradient(135deg, #190063 0%, #25008F 100%);
    --gold-gradient: linear-gradient(135deg, #f4b20c 0%, #ffd04b 100%);
    
    /* Elite Layered Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(25, 0, 99, 0.05);
    --shadow-premium: 
        0 20px 40px rgba(25, 0, 99, 0.08),
        0 5px 15px rgba(25, 0, 99, 0.03);
    --shadow-deep:
        0 40px 100px rgba(25, 0, 99, 0.1),
        0 10px 20px rgba(25, 0, 99, 0.05);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.8; /* Golden-Ratio Line Height */
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

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

.top-bar .whatsapp-link i {
    color: #25D366;
}

.top-social {
    display: flex;
    gap: 15px;
}

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

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.logo-area img,
.custom-logo {
    max-height: 60px !important;
    width: auto !important;
    transition: transform 0.3s ease;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

/* Hero */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.8rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(244, 178, 12, 0.3);
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(244, 178, 12, 0.5);
}

.pulse-button {
    animation: luxury-pulse 2.5s infinite;
}

@keyframes luxury-pulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 178, 12, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(244, 178, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 178, 12, 0); }
}

.tour-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.03);
}

.tour-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(25, 0, 99, 0.12);
}

.tour-image img {
    transition: transform 0.8s ease;
}

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

/* Tour Cards & Grid */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 30px 0;
}

.tour-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(25, 0, 99, 0.12);
}

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

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

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

.tour-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(244, 178, 12, 0.3);
    z-index: 10;
}

.tour-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-content h3 {
    margin: 0 0 15px;
    font-size: 1.4rem;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.tour-content h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

.tour-content h3 a:hover {
    color: var(--secondary-color);
}

.tour-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.tour-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.tour-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-price span {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.6;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
}

.cta-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.02);
}

/* Navigation & Mega Menu */
.main-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1.05rem;
    padding: 10px 0;
    display: block;
}

.main-menu a:hover {
    color: var(--secondary-color);
}

/* Dropdown */
.main-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: var(--shadow-premium);
    padding: 15px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
}

.main-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu ul li a {
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.main-menu ul li a:hover {
    background: #f8f9fa;
    color: var(--secondary-color);
}

/* Mega Menu Implementation */
.mega-menu {
    position: static !important;
}

.mega-menu > ul {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%) translateY(20px) !important;
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
}

.mega-menu:hover > ul {
    transform: translateX(-50%) translateY(0) !important;
}

.logo span {
    color: var(--secondary-color);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 0, 99, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-box {
    width: 90%;
    max-width: 800px;
    position: relative;
}

.search-box input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--secondary-color);
    padding: 20px 0;
    font-size: 2.5rem;
    color: white;
    font-family: var(--font-heading);
    outline: none;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 2rem;
    cursor: pointer;
}

.close-search {
    position: absolute;
    top: -80px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-search:hover {
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-menu {
        display: none;
    }
    .mobile-trigger {
        display: block !important;
    }
    .header-actions {
        gap: 10px !important;
    }
    .btn-cta-small {
        display: none !important;
    }
    /* Single Tour Mobile Fix */
    .tour-content-container {
        display: flex !important;
        flex-direction: column !important;
    }
    aside {
        max-width: 100% !important;
        margin-top: 40px;
    }
    .main-content {
        padding-right: 0 !important;
    }
    .logo {
        font-size: 1.1rem !important; /* Slightly smaller for better fit */
    }
    header .container {
        padding: 0 15px !important;
    }
}

@media (max-width: 768px) {
    .tour-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Mobile Drawer Refined */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 5000;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 0;
    box-shadow: 20px 0 60px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav > ul > li {
    margin-bottom: 5px;
}

.mobile-nav li a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.mobile-nav li:last-child > a {
    border-bottom: none;
}

.mobile-nav li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Staggered entrance animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-drawer.active .mobile-nav > ul > li {
    animation: slideInRight 0.5s ease forwards;
    opacity: 0;
}

.mobile-drawer.active .mobile-nav > ul > li:nth-child(1) { animation-delay: 0.1s; }
.mobile-drawer.active .mobile-nav > ul > li:nth-child(2) { animation-delay: 0.15s; }
.mobile-drawer.active .mobile-nav > ul > li:nth-child(3) { animation-delay: 0.2s; }
.mobile-drawer.active .mobile-nav > ul > li:nth-child(4) { animation-delay: 0.25s; }
.mobile-drawer.active .mobile-nav > ul > li:nth-child(5) { animation-delay: 0.3s; }
.mobile-drawer.active .mobile-nav > ul > li:nth-child(6) { animation-delay: 0.35s; }

/* Submenu Accordion Style */
.mobile-nav .menu-item-has-children > a:after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    background: rgba(0,0,0,0.03);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-nav .menu-item-has-children.active > a:after {
    transform: rotate(180deg);
    background: var(--secondary-color);
    color: var(--primary-color);
}

.mobile-nav .sub-menu {
    display: none;
    padding-left: 20px;
    background: #fdfdfd;
    border-left: 2px solid #eee;
    margin-left: 5px;
}

.mobile-nav .sub-menu li a {
    font-size: 0.92rem;
    font-weight: 500;
    padding: 12px 0;
    color: #666;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.mobile-nav .sub-menu li:last-child a {
    border-bottom: none;
}

/* Active Menu Item Styling */
.mobile-nav li.current-menu-item > a,
.mobile-nav li.current-post-ancestor > a {
    color: var(--secondary-color) !important;
}

.mobile-nav .sub-menu li.current-menu-item > a {
    font-weight: 700;
}

/* Hide Sticky Bar when Drawer is Open to prevent overlapping */
body.drawer-active .mobile-sticky-bar {
    display: none !important;
}

/* Sidebar Styling */
.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.02);
}

.sidebar-widget .widget-title {
    font-size: 1.25rem;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    color: var(--primary-color);
}

.sidebar-search-form {
    position: relative;
}

.sidebar-search-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #f1f2f6;
    border-radius: 10px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

.sidebar-search-form input:focus {
    border-color: var(--secondary-color);
}

.sidebar-search-form button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-post-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    align-items: center;
    transition: transform 0.3s ease;
}

.sidebar-post-item:hover {
    transform: translateX(5px);
}

.sidebar-post-thumb {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-info h4 {
    margin: 0 0 5px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--primary-color);
    transition: color 0.3s;
}

.sidebar-post-item:hover h4 {
    color: var(--secondary-color);
}

.sidebar-post-info span {
    font-size: 0.8rem;
    color: #999;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    margin-bottom: 12px;
}

.sidebar-categories li a {
    text-decoration: none;
    color: #555;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 0;
}

.sidebar-categories li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.sidebar-categories li a span {
    color: #bbb;
    font-weight: 400;
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr !important;
    }
}
.single-tour-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(25,0,99,0.7), rgba(25,0,99,0.3));
    z-index: 1;
}

.tour-header-meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 18px 40px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.booking-card {
    position: sticky;
    top: 120px;
    background: white;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    z-index: 10;
}

.booking-card h3 {
    margin: 0 0 25px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b2bec3;
    pointer-events: none;
    transition: color 0.3s;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 1.5px solid #f1f2f6;
    border-radius: 15px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(244, 178, 12, 0.1);
}

.form-group input:focus + i {
    color: var(--secondary-color);
}

.itinerary-item {
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 5px;
}

/* Pre-footer Blog Section */
.footer-blog-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

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

.section-title-small h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title-small p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.footer-blog-card {
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #f5f5f5;
}

.footer-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.footer-blog-thumb {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.footer-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-blog-info h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--primary-color);
    transition: color 0.3s;
}

.footer-blog-card:hover .footer-blog-info h4 {
    color: var(--secondary-color);
}

.footer-blog-card.dark-mode {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

.footer-blog-card.dark-mode:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--secondary-color);
}

.mobile-nav .sub-menu {
    display: none;
    padding-left: 20px;
    border-left: 2px solid var(--secondary-color);
    margin: 5px 0 15px 5px;
}

.mobile-nav .sub-menu li a {
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    opacity: 0.8;
}

.drawer-footer {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.drawer-contact {
    margin-bottom: 25px;
}

.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.drawer-contact-item i {
    color: var(--secondary-color);
    width: 20px;
}

.drawer-cta {
    display: block;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(25, 0, 99, 0.15);
}

/* Menu Refinement */
.main-menu a:after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
    margin-top: 2px;
}

.main-menu a:hover:after {
    width: 100%;
}

/* Inline Recommended Trips Shortcode */
.inline-recommended-trips {
    background: #f8faff;
    border: 1.5px solid #e1e8f5;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
}

.inline-trips-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-trips-title i {
    color: var(--secondary-color);
}

.inline-trips-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 20px;
}

.inline-trip-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.inline-trip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.inline-trip-thumb {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.inline-trip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inline-trip-info h5 {
    margin: 0 0 5px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.inline-trip-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.inline-trips-footer {
    margin-top: 25px;
    text-align: center;
    border-top: 1px solid #e1e8f5;
    padding-top: 15px;
}

.inline-trips-footer a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.inline-trips-footer a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .inline-trips-grid {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
    }
}

/* Elite Polish: Intersection Observer Revealers */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Refined Section Headers */
section h2 {
    font-size: 2.8rem;
    margin-bottom: 3.5rem !important;
    position: relative;
    display: inline-block;
    width: 100%;
    color: var(--primary-color);
}

section h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 10px;
}

/* Flight Route Card Interactions */
.flight-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1.0) !important;
}

.flight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--secondary-color) !important;
}

.flight-card:hover i {
    opacity: 1 !important;
    transform: translateX(5px);
    color: var(--secondary-color);
}

.flight-card i {
    transition: all 0.3s ease;
}

/* Itinerary Vertical Timeline */
.itinerary-item {
    position: relative;
    padding-bottom: 40px;
}

.itinerary-dot {
    position: absolute;
    left: -41px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(244, 178, 12, 0.3);
}

}

/* Deep Reset for Icon Lists - Removing persistent dots */
ul.highlights-list, 
ul.highlights-list li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.highlights-list li {
    display: block !important; /* Forces removal of list markers across all browsers */
    position: relative;
    padding-left: 35px !important;
    margin-bottom: 18px !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

.highlights-list li:before {
    content: "\f0eb"; /* Lightbulb Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* High-Conversion WhatsApp Pulse */
.whatsapp-pulse {
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Back to Top Indicator */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-deep);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* Final Responsive Grid Stabilization */
@media (max-width: 991px) {
    .tour-content-container {
        grid-template-columns: 1fr !important;
    }
    
    .departure-filters {
        flex-direction: column;
    }
    
    #safety .div-grid,
    #cost .div-grid {
        grid-template-columns: 1fr !important;
    }
    
    #safety > div:last-child {
        grid-template-columns: 1fr !important;
    }
}

.highlights-list li:hover:before {
    transform: scale(1.2) rotate(10deg);
}

/* Cost Breakdown Icons */
.cost-include-list li:before {
    content: "\f058"; /* Check Circle */
    color: #2ecc71 !important;
}

.cost-exclude-list li:before {
    content: "\f057"; /* Times Circle */
    color: #e74c3c !important;
}
