/* Destination Slider Styles Extracted from Theme */

.destination-item4 {
    position: relative;
    z-index: 2;
}

.destination-item4.style2 .destination-item4_img {
    border-radius: 24px;
    overflow: hidden;
}

.destination-item4.style2 .destination-item4_img img {
    border-radius: 24px;
    transition: transform 0.6s ease;
}

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

.destination-item4 .destination-content {
    display: none;
    /* Hide old structure */
}

/* Premium Content Overlay */
.dest-premium-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(13, 59, 70, 0.95) 0%, rgba(13, 59, 70, 0.45) 65%, transparent 100%);
    z-index: 5;
    text-align: left;
    transition: all 0.4s ease;
}

.destination-item4:hover .dest-premium-content {
    padding-bottom: 40px;
}

.dest-rank {
    display: block;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Manrope', sans-serif;
    opacity: 0.95;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.4);
}

/* Colored Numbers like the Timeline Image */
.swiper-slide:nth-child(5n+1) .dest-rank {
    color: #F8BC22;
}

.swiper-slide:nth-child(5n+2) .dest-rank {
    color: #FF4D97;
}

.swiper-slide:nth-child(5n+3) .dest-rank {
    color: #1CA8CB;
}

.swiper-slide:nth-child(5n+4) .dest-rank {
    color: #A461D8;
}

.swiper-slide:nth-child(5n+5) .dest-rank {
    color: #FF8A00;
}

.dest-name {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 5px 0;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.dest-tag {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Specific offsets for the cascading effect in the slider */
.destinationSlider10 .swiper-slide:nth-child(even) .destination-item4 {
    margin-top: 60px;
}

/* Animations and Shadows */
.has-shadow {
    padding-bottom: 50px;
}

.th-ani {
    transition: all 500ms ease;
}

.th-ani:hover {
    transform: translateY(-5px);
}

/* Slider Arrows */
.slider-arrow.style6 {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border: 1px solid #E1E4E5;
    background: #ffffff;
    border-radius: 50%;
    color: #1CA8CB;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.slider-arrow.style6:hover {
    background: #1CA8CB;
    border-color: #1CA8CB;
}

.slider-arrow.style6:hover img {
    filter: brightness(0) invert(1);
}

/* Shape Mockups */
.shape-mockup {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 1300px) {
    .shape-mockup {
        display: none !important;
    }
}

.movingX {
    animation: movingX 8s linear infinite;
}

@keyframes movingX {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(0);
    }
}

.jump {
    animation: jumpAni 7s linear infinite;
}

@keyframes jumpAni {
    0% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

.spin {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Section Spacing Reductions for PC View */
.spacer-y,
.space,
.space-extra,
.space-extra2 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.space-top {
    padding-top: 80px !important;
}

.space-bottom {
    padding-bottom: 80px !important;
}

.title-area {
    margin-bottom: 40px !important;
}

/* Specific adjustment for slider area top margin */
.slider-area {
    margin-top: 20px !important;
}

/* Mobile Spacing Optimizations (Global Overrides for About Page) */
@media (max-width: 768px) {

    .spacer-y,
    .space,
    .space-extra,
    .space-extra2 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .space-top {
        padding-top: 40px !important;
    }

    .space-bottom {
        padding-bottom: 40px !important;
    }

    /* Target theme containers without breaking layout */
    .th-container,
    .container.th-container {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .page-hero {
        height: 45vh !important;
        min-height: 300px !important;
    }

    .sec-title {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }

    .top-title {
        margin-bottom: 5px !important;
    }

    .heading-divider {
        margin-top: 15px !important;
    }
}