.skeleton-container {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 100;
    background: #fff
}

.skeleton {
    width: 100%;
    height: 20px;
    margin-bottom: 3em;
    background-color: #f0f0f0;
    border-radius: 4px
}

.hidden1 {
    display: none
}

.skeleton-container-rigid {
    max-width: 1140px;
    min-width: 80%;
    margin: auto
}

.skeleton-header-main {
    height: 40px
}

.skeleton-banner {
    height: 480px
}

.skeleton-form {
    height: 130px;
    border-radius: 20px
}

.skeleton-book {
    background: #fff0;
    height: auto
}

.skeleton-book ul {
    display: flex;
    width: 100%;
    float: left;
    justify-content: space-between
}

.skeleton-book ul li {
    list-style: none;
    height: 300px;
    background-color: #f0f0f0;
    width: 23%
}

.skeleton-discover-header {
    height: 40px
}

.skeleton-discover-lists {
    background: #fff0;
    height: auto
}

.skeleton-discover-lists ul {
    display: flex;
    justify-content: space-between
}

.skeleton-discover-lists ul li {
    width: 32%;
    height: 300px;
    background: #f0f0f0;
    list-style: none;
    border-radius: 20px
}

.skeleton-offers-header {
    height: 40px
}

.skeleton-offers-lists {
    background: #fff0;
    height: auto
}

.skeleton-offers-lists ul {
    display: flex;
    justify-content: space-between
}

.skeleton-offers-lists ul li {
    width: 24%;
    height: 300px;
    background: #f0f0f0;
    list-style: none;
    border-radius: 20px
}

.skeleton-offer-price {
    height: 300px
}

.skeleton-dreammiles {
    height: 300px;
    border-radius: 20px
}

.skeleton-destination-header {
    height: 40px
}

.skeleton-destination-segments {
    background: #fff0;
    height: auto;
    display: flex;
    justify-content: space-between
}

.skeleton-destination-segment1 {
    width: 30%;
    height: 400px;
    background: #f0f0f0
}

.skeleton-destination-segment2 {
    width: 68%;
    height: 400px
}

.skeleton-destination-segment2 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end
}

.skeleton-destination-segment2 ul li {
    width: 48%;
    height: 80px;
    background: #f0f0f0;
    margin: 10px 0;
    list-style: none;
    border-radius: 20px
}

.skeleton-plan-travel {
    height: 300px
}

.skeleton-news {
    height: 300px
}

.skeleton-trip-planning {
    height: 300px
}

.skeleton-footer {
    height: 400px
}

/* New Preloader Skeleton Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid #eee;
    height: 80px;
    box-sizing: border-box;
}

.skeleton-logo {
    width: 150px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 4px;
}

.skeleton-nav {
    display: flex;
    gap: 30px;
}

.skeleton-link {
    width: 80px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 4px;
}

.skeleton-icons {
    display: flex;
    gap: 15px;
}

.skeleton-icon {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
}

.skeleton-hero {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.skeleton-hero-box {
    width: 100%;
    height: 100%;
    max-height: 500px;
    background: #f0f0f0;
    border-radius: 8px;
}

.skeleton-shimmer {
    position: relative;
    overflow: hidden;
    background: #f6f7f8 !important;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%) !important;
    background-repeat: no-repeat;
    background-size: 800px 100%;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {
    .skeleton-header {
        padding: 15px 20px;
    }

    .skeleton-nav {
        display: none;
    }

    .skeleton-icons {
        display: none;
    }

    .skeleton-hero {
        padding: 20px;
    }
}

/* Progressive Lazy Loading Skeleton Styles */
.lazy-load-section {
    min-height: 300px;
    position: relative;
    /* Section visible immediately, but content hidden */
    opacity: 1;
}

.lazy-load-section.loaded {
    opacity: 1;
}

.lazy-load-section.loading {
    opacity: 1;
}

/* Skeleton placeholder for lazy sections */
.section-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 300px;
    background: #fff;
    z-index: 1;
    pointer-events: none;
}

.section-skeleton.hidden {
    display: none;
}

/* Generic skeleton card for lazy loaded items */
.skeleton-card {
    background: #f6f7f8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.skeleton-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    animation: shimmer-slide 1.5s infinite;
}

@keyframes shimmer-slide {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Skeleton elements for different content types */
.skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin: 10px 0;
}

.skeleton-text.title {
    height: 24px;
    width: 70%;
    margin-bottom: 15px;
}

.skeleton-text.subtitle {
    height: 18px;
    width: 50%;
}

.skeleton-text.line {
    height: 14px;
    width: 100%;
}

.skeleton-text.line-short {
    width: 80%;
}

.skeleton-image {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}

/* Lazy load content wrapper */
.lazy-content {
    opacity: 0;
    transition: opacity 0.4s ease-in;
}

.lazy-content.visible {
    opacity: 1;
}

/* Intersection observer utility classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for list items */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-item:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-item:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-item:nth-child(6) {
    transition-delay: 0.6s;
}