/*
Theme Name: Socotra Travel
Description: A beautiful travel website theme for Socotra Island adventures. Features modern design with carousels, tour packages, and activity showcases.
Version: 2.1
Author: Mohammed Alaghbari
Text Domain: socotra-travel
*/

/* Local font declarations */
@font-face {
    font-family: 'bebas_neue';
    src: url('./assets/fonts/BebasNeue-Regular.woff2?v=1.2.1') format('woff2'),
        url('./assets/fonts/BebasNeue-Regular.woff?v=1.2.1') format('woff'),
        url('./assets/fonts/BebasNeue-Regular.ttf?v=1.2.1') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alwyn New';
    src: url('./assets/fonts/Alwyn Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alwyn New';
    src: url('./assets/fonts/Alwyn Light.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Global letter-spacing */
*:not(.magical-title):not(.magical-title *):not(.magical-desc-light):not(.magical-desc-bold):not(.magical-text):not(.magical-text *) {
    letter-spacing: var(--letter-spacing, 0);
}

/* Typography */
body {
    font-family: var(--font-family);
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font-family);
    font-display: swap;
}

/* CSS Variables */
:root {
    /* Color Variables - Separated for better control */
    --primary-color: #ef4444;
    /* Main brand color - kept for backward compatibility */
    --secondary-color: #8cc63f;
    /* Secondary brand color - kept for backward compatibility */

    /* Specific color variables for different elements */
    --logo-bg-color: #ff6b35;
    /* Logo background color */
    --accent-color: #ef4444;
    /* Accent elements like bullets, highlights */
    --footer-logo-bg-color: #ff6b35;
    /* Footer logo background color */

    --nav-hover-color: #8cc63f;
    /* Navigation hover color */
    --button-bg-color: #8cc63f;
    /* Button background color */
    --footer-heading-color: #8cc63f;
    /* Footer heading color */
    --footer-link-hover-color: #8cc63f;
    /* Footer link hover color */

    /* Layout Variables */
    --container-max-width: 1200px;
    --section-padding: 4rem;

    /* Typography Variables */
    --font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --heading-font-family: 'bebas_neue', Georgia, 'Times New Roman', serif;
    --base-font-size: 16px;
    --letter-spacing: 0px;
    --text-color: #333;
    --background-color: #ffffff;

    /* Footer Variables */
    --footer-bg-color: #2c3e50;

    /* Border Radius Variables */
    --blog-card-border-radius: 50px;
    --card-button-border-radius: 1px;
    --package-button-border-radius: 0px;

    /* Additional Color Variables */
    --button-hover-color: #ff6b35;
    /* Button hover color */
    --light-bg-color: #f8f9fa;
    /* Light background color */
    --dark-text-color: #333;
    /* Dark text color */
    --medium-text-color: #666;
    /* Medium gray text */
    --light-gray: #ddd;
    /* Light gray */
    --dark-blue: #2c3e50;
    /* Dark blue */
    --darker-blue: #34495e;
    /* Darker blue */
    --green-color: #445f2115;
    /* Green color */
    --red-color: #ef4444;
    /* Red color */
    --light-blue: #87CEEB;
    /* Light blue */
    --dark-gray: #525759;
    /* Dark gray */
    --border-gray: #e5e5e5;
    /* Border gray */
    --light-text-color: #bdc3c7;
    /* Light text color */
    --white: #ffffff;
    /* White color */
    --black: #000000;
    /* Black color */

    /* Background Image Variables */
    --tour-section-bg-image: url('assets/3.svg');
    --video-section-bg-image: url('assets/3.svg');
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--base-font-size, 16px);
    line-height: 1.6;
    color: var(--text-color, #333);
    background-color: var(--background-color, #ffffff);
    overflow-x: hidden;
    letter-spacing: var(--letter-spacing, 0);
}

/* Header Styles */
.header {
    position: relative;
    background: transparent;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container {
    margin-top: -1rem;
    background: var(#ff6b3500);
    padding: 0.5rem 1rem;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 166px;
    height: 120px;
}

.logo-icon {
    width: var(--logo-icon-width, 80px);
    height: var(--logo-icon-height, 80px);
    margin-top: var(--logo-icon-margin-top, 0px);
    margin-bottom: var(--logo-icon-margin-bottom, 0px);
    margin-left: var(--logo-icon-margin-left, 0px);
    margin-right: var(--logo-icon-margin-right, 0px);
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: normal;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    color: white;
    font-size: var(--logo-text-font-size, 1.2rem);
    font-weight: var(--logo-text-font-weight, normal);
    line-height: var(--logo-text-line-height, 1);
    font-family: var(--logo-text-font-family, inherit);
    margin-top: var(--logo-text-margin-top, 0rem);
    margin-bottom: var(--logo-text-margin-bottom, 0rem);
    margin-left: var(--logo-text-margin-left, 0rem);
    margin-right: var(--logo-text-margin-right, 1rem);
    letter-spacing: var(--letter-spacing, 0);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: flex-end;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-links a {
    font-family: 'Alwyn New';
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: lighter;
    font-size: large;
    transition: color 0.3s ease;
    letter-spacing: 1.5px;
}

.nav-links a:hover {
    color: var(--nav-hover-color, #8cc63f);
}


.book-now-btn {
    font-family: 'Alwyn New';
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.3rem 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 300;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.5rem;
}

.book-now-btn:hover {
    background: white;
    color: #333;
}

/* Shared Background Container */
.shared-background-container {
    background-attachment: fixed;
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    margin-top: -140px;
    padding-top: 0;
    position: relative;
    z-index: 1;
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        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;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    box-sizing: border-box;
    margin-top: -100px;
    padding-top: 10px;
    z-index: 1;
}

/* Page Hero Sections - Expand behind header */
.about-hero,
.activities-hero,
.blog-hero,
.contact-hero,
.gallery-hero,
.tours-hero,
.page-hero,
.single-hero,
.tours-archive-hero,
.single-tour-hero,
.search-hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: -150px;
    padding-top: 150px;
    z-index: 1;
}

/* Default background for generic hero sections */
.page-hero,
.single-hero,
.tours-archive-hero,
.single-tour-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

/* Hero content styling */
.page-hero-content,
.single-hero-content,
.tours-archive-hero-content,
.single-tour-hero-content,
.search-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-hero-content h1,
.single-hero-content h1,
.tours-archive-hero-content h1,
.single-tour-hero-content h1,
.search-hero-content h1 {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero-content p,
.single-hero-content p,
.tours-archive-hero-content p,
.single-tour-hero-content p,
.search-hero-content p {
    font-family: 'Alwyn New';
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

/* Single post meta styling */
.single-meta {
    display: flex;
    gap: 2%;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

.single-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.single-meta a {
    color: white;
    text-decoration: none;
}

.single-meta a:hover {
    text-decoration: underline;
}

/* Tour meta styling */
.tour-meta {
    display: flex;
    gap: 2%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tour-meta span {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: normal;
}

/* Search count styling */
.search-count {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0;
    margin: 0;
    pointer-events: auto;
}

.hero h1 {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 0.05rem;
    margin-bottom: 0rem;
}

.hero-subtitle {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05rem;
    margin-top: -1rem;
    opacity: 0.9;
}

.book-tour-btn {
    background: #9DC0468D 0% 0% no-repeat padding-box;
    color: white;
    border: 1px solid #FFFFFF;
    width: 180px;
    height: 35px;
    /* UI Properties */
    /* margin-bottom: -2rem; */
    margin-top: 2rem;
    margin-bottom: -4rem;
    padding-left: 1rem;
    /* font-size: 1rem; */
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;

    /* UI Properties */
    text-align: left;
    font: normal normal normal 18px/20px Alwyn New;
    letter-spacing: 0px;

    opacity: 1;
}

/* Arrow Line (PNG or fallback span) */
.book-tour-btn .arrow-line,
.book-tour-btn .arrow-tail {
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.book-tour-btn .arrow-line {
    /* Height and width will be set via inline styles from customizer */
    width: auto;
}

.book-tour-btn .arrow-line.arrow-svg {
    /* SVG specific styling for better scaling */
    object-fit: contain;
    max-width: 100%;
}

.book-tour-btn .arrow-tail {
    font-size: 2rem;
    font-weight: normal;
    /* margin-bottom: 0.5rem; */
    /* margin-right: -0.2em; */
    display: inline-block;
    transform-origin: left center;
}

/* Arrow Head (PNG or fallback span) */
.book-tour-btn .arrow-head {
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    margin-left: -2.5em;
}

.book-tour-btn .arrow-head img {
    /* Height and width will be set via inline styles from customizer */
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: -2.5em;
}

.book-tour-btn .arrow-head.arrow-svg {
    /* SVG specific styling for better scaling */
    object-fit: contain;
    max-width: 100%;
    margin-left: -2.5em;
}

.book-tour-btn .arrow-head:not(img) {
    font-size: 1.5rem;
    font-weight: normal;
    margin-left: -1.5em;
    display: inline-block;
}

.book-tour-btn:hover {
    background: var(--button-hover-color, #ff6b35);
    transform: translateY(-2px);
}

/* Arrow Line Animation */
.book-tour-btn:hover .arrow-line {
    transform: scaleX(var(--line-scale-x, 1.2)) translateX(var(--line-movement, 10px));
}

.book-tour-btn:hover .arrow-tail {
    transform: scaleX(2.5);
    transform-origin: left center;
}

/* Arrow Head Animation */
.book-tour-btn:hover .arrow-head {
    transform: translateX(var(--head-movement, 15px));
}

.book-tour-btn:hover .arrow-head:not(img) {
    transform: translateX(15px);
}

/* Hero Arrow Down */
/* Hero Map Styles */
.hero-map-container {
    position: absolute;
    bottom: 35vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    animation: fadeInMap 2s ease-in-out 0.5s forwards;
    pointer-events: none;
}

.hero-map-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    opacity: 0.8;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    pointer-events: none;
    user-select: none;
}

@keyframes fadeInMap {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-arrow-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
}

.arrow-down-svg {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.arrow-down-svg:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Main Content Section */
.main-content {
    background: transparent;
    padding: var(--section-padding, 4rem) 0;
    position: relative;
    z-index: 1;
    /* margin-top: 25px; */
}


.container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 2rem;

}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 1rem;
    margin-top: 16rem;
    margin-left: -75px;
    position: relative;
    display: inline-block;
}

/* Removed orange circle pseudo-element */

/* Blog section title specific styling */
.section-title .title-half-circle {
    width: 120px;
    height: 120px;
    margin-top: -20px;
    margin-right: -100px;
}

.section-title .blog-word {
    font-size: 1.3em;
    font-weight: normal;
    color: white;
}

.section-subtitle {
    font-family: 'Alwyn New', var(--section-subtitle-font-family);
    font-size: 1.1rem;
    color: #f5f5f5;
    max-width: 600px;
    margin: 0 auto;
    margin-top: -20px;
    font-weight: 100 !important;
}

.section-subtitle .magic-text {
    font-weight: 550 !important;
    color: #ffffff !important;
}

/* View All Button */
.view-all-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--card-button-border-radius, 1px);
    text-decoration: none;
    font-weight: normal;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    font-family: 'Alwyn New', var(--section-subtitle-font-family);
    font-size: 1rem;
}

.view-all-btn:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

/* Cards Carousel */
.cards-container {
    position: relative;
    overflow: hidden;
    margin: 2rem auto;
    padding: 20px 0;
    width: 100%;
    max-width: none;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease;
    gap: 4rem;
    margin-left: 0;
}

/* Swiper wrapper styles for blog carousel */
.cards-wrapper.swiper-wrapper {
    display: flex !important;
    gap: 0;
    /* Let Swiper control slide positioning via transforms */
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100%;
    /* Swiper handles spacing with spaceBetween */
    /* Removed margin-left to allow Swiper's transform-based centering */
    /* CRITICAL: Allow Swiper to apply transitions via inline styles */
    /* Do NOT set transition here - Swiper manages it with inline styles */
}

/* Center single card when there's only one */
.cards-wrapper:has(.card:only-child) {
    margin-left: 0;
    transform: none !important;
}

.card {
    width: 20vw;
    aspect-ratio: 0.72 / 1;
    flex-shrink: 0;
    background: white;
    border-radius: var(--blog-card-border-radius, 50px);
    overflow: hidden;
    box-shadow: inset 0px -93px 99px #000000C3, -6px 4px 6px #00000029;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Swiper will calculate card width based on slidesPerView */
/* Let Swiper control all dimensions via inline styles */
.card.swiper-slide {
    display: flex !important;
    flex-shrink: 0 !important;
    height: auto;
    /* Override base .card width and aspect-ratio to let Swiper control dimensions */
    width: auto !important;
    aspect-ratio: unset !important;
    max-width: none !important;
    /* Ensure immediate visibility */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Active card styling - make it bigger */
.card.swiper-slide.swiper-slide-active {
    transform: scale(1.15) !important;
    z-index: 10 !important;
    /* Smooth transition for scale effect - only transform, not all properties */
    transition: transform 0.3s ease !important;
}

/* Desktop: Ensure Swiper controls card widths for exactly 5 cards */
@media (min-width: 1024px) {

    /* .main-content {
        /* padding: 0 0 0 0 !important; */
    /* background-color: #2057f0; */

    /* } */

    .container {
        /* background-color: #d68f24; */
        margin: 0 auto;
        width: 100%;
        min-width: none !important;
        max-width: none !important;
        padding: 0 0;
        /* margin: 0 0; */
        /* max-width: 2800px !important; */
    }

}

.card.active {
    transform: scale(1.1);
    z-index: 10;
}

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

.card.active:hover {
    transform: scale(1.1) translateY(-10px);
}

.card-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}


.card-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 1.5rem;
    z-index: 2;
}

.card-title {
    font-size: 1.2rem;
    font-weight: normal;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 1rem;
}

.card-description {
    font-family: 'Alwyn New';
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--card-button-border-radius, 1px);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    text-decoration: none;
    min-width: 120px;
    text-align: center;
}

.card-btn:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

/* Navigation Controls */
.carousel-controls {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    min-height: 50px;
    padding-right: clamp(2rem, 5vw, 8rem);
}

.carousel-dots {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-right: 1rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ef4444;
}

.carousel-arrow {
    background: #e5e5e5;
    border: 1px solid white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #666;
    position: relative;
    z-index: 10;
}

.carousel-arrow:hover {
    background: #d5d5d5;
    border-color: white;
    color: #555;
}


/* Blog carousel arrow images */
.carousel-arrow .arrow-image {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.carousel-arrow:hover .arrow-image {
    filter: brightness(0) invert(1);
}

/* Tour Packages Section */
.tour-packages {
    padding: clamp(3rem, 6vh, 6rem) 0;
    color: white;
    overflow: visible;
    position: relative;
    min-height: 100vh;
}

/* Tours section now inside shared background container */

/* Section Divider */
.section-divider {
    width: 100%;
    height: 60px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Background: Tours mid-point to Video 40% */
.tour-packages::after {
    content: '';
    position: absolute;
    top: 45%;
    left: -100px;
    right: -100px;
    bottom: -120%;
    background: var(--tour-section-bg-image);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: -1;
}


.packages-container {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

.blog-packages-container {
    position: relative;
    margin-top: clamp(1.5rem, 3vh, 2.5rem);
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.blog-packages-carousel {
    margin-top: clamp(1rem, 2vh, 1.5rem);
}

.blog-packages-container .package-category {
    display: none !important;
}

.blog-packages-container .package-card,
.blog-packages-container .package-card.selected,
.blog-packages-container .package-card.featured,
.blog-packages-container .package-card.featured.selected {
    border: none !important;
}

/* Blog carousel arrow positioning - match packages carousel */
.blog-packages-container .packages-arrow-left {
    left: clamp(20px, 2vw, 40px);
}

.blog-packages-container .packages-arrow-right {
    right: clamp(20px, 2vw, 40px);
}

.packages-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vh, 3rem);
    padding: clamp(1.5rem, 3vh, 2rem) 0;
    position: relative;
    z-index: 1;
}

.packages-title {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: normal;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    line-height: 1.2;
}

.red-circle {
    background: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-right: 0.5rem;
}

.title-half-circle {
    width: clamp(60px, 8vw, 85px);
    height: clamp(60px, 8vw, 85px);
    margin-right: clamp(-70px, -7.5vw, -80px);
    vertical-align: middle;
    display: inline-block;
}

/* Magical section title styling */
.magical-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;

    /* font-size: 3rem; */
}

.magical-title-line {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 2rem;
    /* transform: scaleY(1.5); */

}

.magical-title .title-half-circle {
    position: absolute;
    left: -2vw;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(80px, 8vw, 160px);
    height: clamp(80px, 8vw, 160px);
    z-index: 1;
    margin: 0;
}

.magical-first-word {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2.8rem;
    font-weight: normal;
    /* margin-left: px; */
}

.magical-rest-text {
    color: white;
    font-size: 4.5rem;
    font-weight: normal;
    margin-left: 7rem;
}

/* Video section title styling */
.video-title {
    display: flex;
    align-items: center;
    position: relative;
}

.video-title .title-half-circle {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    z-index: -1;
    margin: 0;
}

/* CTA section title styling */
.cta-title {
    display: flex;
    align-items: center;
}

.packages-description {
    font-family: 'Alwyn New', var(--description-font-family);
    color: #ececec;
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    font-weight: 100;
    max-width: clamp(300px, 54vw, 650px);
    margin: 0 auto;
    margin-top: clamp(-2rem, -3vh, -30px);
    line-height: 1.2;
}

.packages-description .package-word {
    color: #ff6b35;
}

.packages-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(3vh, 5vh, 50px) 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 2;
}

.packages-wrapper {
    position: relative;
    overflow: visible;
    flex: 1;
    padding: 0;
    margin-top: clamp(-3vh, -5vh, -50px);
    margin-bottom: clamp(-3vh, -5vh, -50px);
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    /* background-color: #247dd6; */
}

.packages-wrapper.swiper {
    overflow: hidden !important;
}

.packages-grid {
    display: flex;
    gap: 0rem;
    width: 100%;

    /* background-color: #247dd6; */
}

/* Swiper compatibility for packages carousel */
/* Note: Overflow is handled by mobile-specific rules - removed conflicting general rule */

.packages-grid.swiper-wrapper {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    /* Remove gap as Swiper handles spacing with spaceBetween */
    gap: 0;
    /* CRITICAL: Set initial transition to prevent first-time snap */
    /* JavaScript will maintain/override this, but having it here ensures smooth first navigation */
    transition: transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-left: 0;
    /* Remove left margin to position cards at far left */
    padding-left: 0;
    /* Ensure wrapper can expand to show all slides */
    width: auto;
    min-width: 100%;
    /* Enable hardware acceleration for smooth transitions */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ensure all slides are visible - Swiper will handle positioning and duplicates */
.packages-wrapper.swiper .swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* Allow Swiper's duplicate slides to be visible for loop mode */
.packages-wrapper.swiper .swiper-slide-duplicate {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* Desktop: Let Swiper control slide width for 3 cards display */
@media (min-width: 768px) {

    /* Set carousel container to 70% width and center it */
    .packages-carousel {
        width: 85% !important;
        margin: 0 auto !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
        /* background-color: #333; */

        /* Ensure container is tall enough for full card height (cards have max-height: 24rem) */
        min-height: 28rem !important;
        height: 100%;
        /* Hide scrollbar while allowing content to overflow */
        scrollbar-width: none !important;
        /* Firefox */
        -ms-overflow-style: none !important;
        margin-top: -8vh !important;
        padding: 0 0;
        /* IE and Edge */
    }

    /* Hide scrollbar for webkit browsers (Chrome, Safari) */
    .packages-carousel::-webkit-scrollbar {
        display: none !important;
    }

    /* Force visibility for all packages carousel elements on desktop */
    #packagesWrapper,
    #packagesWrapper * {
        visibility: visible !important;
    }

    #packagesWrapper .package-card.swiper-slide {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Set wrapper to 70% width with overflow hidden */
    .packages-wrapper.swiper {
        display: block !important;
        visibility: visible !important;
        overflow: hidden !important;
        overflow-y: visible !important;
        width: 85% !important;
        margin: 0 auto !important;
        position: relative;
        padding-top: 6vh;
        padding-bottom: 6vh;
        /* background-color: #247dd6; */
        height: 100%;
        /* Ensure wrapper is tall enough for full card height (cards have max-height: 24rem) */
        min-height: 35rem !important;
        /* Hide scrollbar while allowing content to overflow */
        scrollbar-width: none !important;
        /* Firefox */
        -ms-overflow-style: none !important;
        /* IE and Edge */
    }

    /* Hide scrollbar for webkit browsers (Chrome, Safari) */
    .packages-wrapper.swiper::-webkit-scrollbar {
        display: none !important;
    }

    /* Match magical carousel wrapper CSS - Swiper manages transition via inline styles */
    .packages-grid.swiper-wrapper {
        display: flex !important;
        visibility: visible !important;
        margin-left: 0 !important;
        /* Ensure no left margin on desktop - left-aligned like magical carousel */
        padding-left: 0 !important;
        /* CRITICAL: Set initial transition to prevent first-time snap */
        /* JavaScript will maintain/override this, but having it here ensures smooth first navigation */
        transition: transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
        align-items: center !important;
        /* Ensure wrapper can expand to show all slides */
        width: auto;
        min-width: 100%;
        /* Enable hardware acceleration for smooth transitions */
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .packages-wrapper.swiper .swiper-slide {
        /* For slidesPerView: 3, clear any fixed width to let Swiper calculate it via inline styles
           Swiper will automatically calculate width based on slidesPerView: 3 and spaceBetween
           Don't use !important so Swiper's inline styles can override this */
        width: initial;
        /* Ensure flex-shrink is 0 so cards maintain their calculated size */
        flex-shrink: 0 !important;
        /* Ensure slide is visible */
        opacity: 1 !important;
        visibility: visible !important;
        /* CRITICAL: Swiper handles transform transitions via inline styles */
        /* Only allow opacity transitions, NOT transform */
        transition: opacity 0.6s ease !important;
        display: flex !important;
        min-width: 0;
        max-width: none;
        /* Enable hardware acceleration for smooth animations */
        will-change: transform, opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Ensure duplicate slides are visible on desktop for proper looping */
    .packages-wrapper.swiper .swiper-slide-duplicate {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        /* Duplicates use same width calculation as originals */
        width: initial;
        flex-shrink: 0 !important;
        min-width: 0;
        max-width: none;
    }

    .packages-wrapper.swiper .swiper-slide .package-card {
        /* Card should fit within Swiper-calculated slide width - override all fixed widths from media queries */
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        /* Keep aspect ratio tighter and limit max height so cards appear smaller */
        aspect-ratio: 0.65 / 1;
        height: auto !important;
        max-height: 24rem !important;
        /* Ensure card is visible */
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* Active slide scaling handled by JavaScript to combine with Swiper's translate3d */
    /* CSS transform rules removed to prevent conflicts with Swiper's inline transforms */
    .packages-wrapper.swiper .swiper-slide-active {
        z-index: 10 !important;
    }

    /* Make selected/active card slightly bigger on desktop */
    #packagesWrapper .swiper-slide-active .package-card,
    #packagesWrapper .package-card.selected {
        transform: scale(1.15) !important;
        transition: transform 0.3s ease !important;
    }
}

.packages-arrow {
    background: white;
    border: clamp(0.15rem, 0.2vw, 2px) solid #ddd;
    width: clamp(45px, 4.5vw, 60px);
    height: clamp(45px, 4.5vw, 60px);
    border-radius: 50%;
    cursor: pointer;
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.packages-arrow-left {
    left: clamp(20px, 2vw, 40px);
}

.packages-arrow-right {
    right: clamp(20px, 2vw, 40px);
}

.packages-arrow:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

/* Custom arrow images */
.packages-arrow .arrow-image {
    width: clamp(18px, 2vw, 24px);
    height: clamp(18px, 2vw, 24px);
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.packages-arrow:hover .arrow-image {
    filter: brightness(0) invert(1);
}

.package-card {
    background: white;
    border-radius: clamp(2rem, 4vw, 50px);
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
    /* Transition removed - Swiper controls all animations */
    cursor: pointer;
    position: relative;
    z-index: 1;
    /* Width removed - Swiper controls sizing on desktop via inline styles */
    aspect-ratio: 0.8 / 1;
    flex-shrink: 0;
    /* Transform removed - Swiper controls positioning */
    display: flex;
    flex-direction: column;
    border: 1px solid #ffffff;
}

/* .package-card:hover:not(.selected) {
    Transform removed - Swiper controls positioning
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
} */

.package-card.selected {
    /* Transform and animation removed - Swiper controls positioning */
    z-index: 10;
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); */
    border: 1px solid #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
}

/* @keyframes selectedPulse removed - Swiper controls all animations */

.package-card.featured {
    /* Transform removed - Swiper controls positioning */
    border: 1px solid #ffffff;
}

.package-card.featured.selected {
    /* Transform and animation removed - Swiper controls positioning */
    z-index: 10;
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); */
    border: 1px solid #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
}

.package-image {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Transition removed - Swiper controls all animations */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    flex: 1;
}

/* .package-card.selected .package-image - Transform removed - Swiper controls positioning */

.package-logo {
    display: none;
}

.package-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: none;
    padding: clamp(1.5rem, 2.5vh, 2rem) clamp(1rem, 1.5vw, 1.5rem) clamp(1.95rem, calc(1.2vh + 1.25rem), 2.45rem);
    color: white;
}

.package-category {
    display: block;
    margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: normal;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: none !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.package-category .category-icon {
    display: none;
}

.category-icon {
    font-size: 1.2rem;
}

.package-desc {
    font-family: 'Alwyn New';
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    background: none;
}

.package-includes {
    font-family: 'Alwyn New';
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    background: none;
}

.package-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding-top: .5rem;
    border-radius: var(5px);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    width: clamp(250px, 75%, 300px);
    height: clamp(35px, 4vh, 40px);
    text-decoration: none;
    text-align: center;
}

.package-btn:hover {
    background: white;
    color: #333;
}

.package-btn.green {
    background: #8bc63f7e !important;
    border-color: #8bc63f !important;
    border-radius: var(--package-button-border-radius, 0px) !important;
    opacity: 0.8 !important;
}

.package-btn.green:hover {
    background: #79b83a !important;
    opacity: 1 !important;
}

/* Dynamic styling for buttons in selected cards */
.package-card.selected .package-btn {
    background: #8bc63f7e !important;
    border-color: #8bc63f !important;
    opacity: 0.8 !important;
}

.package-card.selected .package-btn:hover {
    background: #79b83a !important;
    opacity: 1 !important;
}

/* Make non-selected card buttons transparent */
.package-card:not(.selected) .package-btn {
    background: transparent !important;
    border-color: white !important;
    color: white !important;
    opacity: 1 !important;
}

.package-card:not(.selected) .package-btn:hover {
    background: white !important;
    color: #333 !important;
    opacity: 1 !important;
}

/* Ensure package button border radius is applied from customizer */
.package-card .package-btn {
    border-radius: var(--package-button-border-radius, 0px) !important;
}

/* Magical Section */
.magical-section {
    background: var(--darker-blue, #34495e);
    padding: 6rem 0 4rem 0;
    color: white;
    height: 120vh;
    width: 100%;
}

.magical-container {
    /* max-width: 2500px; */
    margin: 0 auto;
    padding: 0 2rem;
    margin-left: 0;
    /* background-color: #73e02a; */
    height: 100%;
}

.magical-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-end;
    min-height: 100%;
    /* background-color: #d69110; */

}

.magical-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-self: flex-end;
    margin-bottom: 7vh;
    /* letter-spacing: 2px; */
}

.magical-title {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: normal;
    /* margin-bottom: 0rem; */
    margin-left: 5rem;
    line-height: 1.1;
    letter-spacing: 0.125rem;
    width: 20;
    /* word-spacing: 1px; */
}

.w-letter {
    position: relative;
    color: white;
    display: inline-block;
    margin-right: 0.2rem;
    z-index: 1;
}

.h-letter {
    position: relative;
    color: white;
    display: inline-block;
    z-index: 2;
}

.w-letter::before {
    content: '';
    position: absolute;
    top: -1.75rem;
    left: -1.0rem;
    width: 2em;
    height: 2em;
    background: #ef4444;
    border-radius: 50%;
    transform: rotate(-30deg);
    z-index: -1;
}

.magical-description {
    font-family: 'Alwyn New', var(--description-font-family);
    color: var(--description-color);
    font-size: 1.2rem;
    line-height: 1;
    margin-bottom: 2rem;
    margin-left: 6rem;
    max-width: clamp(250px, 25vw, 337px);
    word-break: break-word;
    hyphens: auto;
}

.magical-desc-light {
    color: rgba(255, 255, 255, 0.884);
    display: block;
    font-weight: 100;
    letter-spacing: 0.1em;
    margin-bottom: 0.1rem;
}

.magical-desc-bold {
    display: block;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.magical-controls {
    display: flex;
    gap: 2%;
    justify-content: flex-end;
    /* margin-margin-left: -100px; */
    margin-right: 6%;
}

.magical-arrow {
    background: transparent;
    border: 0.15em solid white;
    width: clamp(40px, 4vw, 65px);
    height: clamp(40px, 4vw, 65px);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
}

.magical-arrow:hover {
    background: white;
    color: #333;
    border-color: white;
}

/* SVG arrow styling for magical section */
.magical-arrow .nav-arrow-svg {
    width: 50%;
    height: 50%;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    display: block;
}

/* Rotate arrows for different directions */
.magical-arrow.left-arrow .nav-arrow-svg {
    transform: rotate(90deg);
    margin-right: 0.3em;
}

.magical-arrow.right-arrow .nav-arrow-svg {
    transform: rotate(-90deg);
    margin-left: 0.3em;
}

/* Hover state for SVG */
.magical-arrow:hover .nav-arrow-svg {
    filter: brightness(0) invert(0);
}

.magical-cards-container {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    width: 120%;
    height: 100%;
    padding: .5vh .5vw .5vh 0;
    margin-left: -5vw;
    /* background-color: #aca827; */
    /* margin-right: -200px; */
    /* mask: linear-gradient(to right, transparent 0px, transparent 10px, rgb(226, 2, 2) 10px, rgb(255, 22, 22) 100%);
    -webkit-mask: linear-gradient(to right, transparent 0px, transparent 0px, rgb(255, 255, 255) 10px, rgb(0, 0, 0) 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%; */
}

/* Swiper-specific styles for magical carousel */
.magical-cards-viewport.swiper {
    overflow: hidden !important;
    /* Ensure no previous cards are visible */
    width: 100%;
    height: 100%;
}

/* Force visibility for all magical carousel elements on desktop */
@media (min-width: 768px) {

    #magicalCarousel,
    #magicalCarousel * {
        visibility: visible !important;
    }


    #magicalCarousel .magical-card.swiper-slide {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Ensure image containers are visible and preserve background images */
    #magicalCarousel .magical-card.swiper-slide .magical-card-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 100% !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}

.magical-cards {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-left: 0;
    /* Remove left margin to position cards at far left */
    padding-left: 0;
    /* background-color: #ac2727; */
}

/* Exclude Swiper wrapper from base class transition rules */
.magical-cards:not(.swiper-wrapper) {
    transition: transform 0.5s ease;
}

/* Swiper wrapper styles */
.magical-cards.swiper-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    /* Remove gap as Swiper handles spacing with spaceBetween */
    gap: 0;
    /* CRITICAL: Allow Swiper to apply transitions via inline styles */
    /* Do NOT set transition here - Swiper manages it with inline styles */
    /* Inline styles have higher specificity, so Swiper can override this */
    transition: none;
    margin-left: 0;
    /* Remove left margin to position cards at far left */
    padding-left: 0;
    /* Ensure wrapper can expand to show all slides */
    width: auto;
    min-width: 100%;
    /* Enable hardware acceleration for smooth transitions */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Don't set transform here - let Swiper manage all transforms */
}

.magical-card {
    background: white;
    border-radius: 2.5vw;
    overflow: hidden;
    position: relative;
    z-index: 10;
    cursor: pointer;
    width: 30%;
    height: 90%;
    flex-shrink: 0;
    box-shadow: none !important;
}

/* Only apply transition to non-Swiper cards */
.magical-card:not(.swiper-slide) {
    transition: all 0.5s ease;
}

/* Swiper slide styles */
.magical-card.swiper-slide {
    /* Default width for mobile - will be overridden by desktop media query */
    width: 30%;
    height: 90%;
    flex-shrink: 0;
    /* CRITICAL: Swiper handles transform transitions via inline styles */
    /* Only allow opacity transitions for fade effects, NOT transform */
    transition: opacity 0.6s ease !important;
    /* Override base class transition: all - Swiper manages transform */
    /* Enable hardware acceleration for smooth animations */
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Force GPU acceleration - but don't set transform here, let Swiper manage it */
    /* transform: translateZ(0); - Removed to avoid conflicts with Swiper's transforms */
}

/* Ensure viewport div doesn't hide content */
.magical-cards-viewport {
    display: block;
    visibility: visible;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Desktop: Ensure Swiper slides are visible on desktop */
@media (min-width: 768px) {

    /* Fix selector to match actual structure: container > viewport(swiper) > wrapper > slides */
    #magicalCarousel .magical-cards.swiper-wrapper .magical-card.swiper-slide {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        /* For slidesPerView: 3, clear any fixed width to let Swiper calculate it via inline styles
           Swiper will automatically calculate width based on slidesPerView: 3 and spaceBetween
           Don't use !important so Swiper's inline styles can override this */
        width: initial;
        /* Ensure flex-shrink is 0 so cards maintain their calculated size */
        flex-shrink: 0 !important;
        height: 90% !important;
        /* CRITICAL: Ensure Swiper controls transform transitions, not CSS */
        transition: opacity 0.6s ease !important;
    }

    /* Ensure wrapper allows all slides to be visible */
    #magicalCarousel .magical-cards.swiper-wrapper {
        display: flex !important;
        visibility: visible !important;
        margin-left: 0 !important;
        /* Ensure no left margin on desktop */
        /* CRITICAL: Swiper manages transition via inline styles - don't override */
        /* Inline styles have higher specificity, so Swiper can override this */
        transition: none;
    }

    /* Ensure viewport/swiper container is visible on desktop */
    #magicalCarousel.magical-cards-viewport.swiper {
        display: block !important;
        visibility: visible !important;
        overflow: hidden !important;
    }
}

/* .magical-card:hover {
    transform: translateY(-5px);
} */

.magical-card:hover .magical-card-image {
    box-shadow: inset 0px 0px 50px 10px rgba(0, 0, 0, 0.1);
}



.magical-card-image {
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 2.5vw;
    overflow: hidden;
    box-shadow: inset 0px 0px 50px 10px rgba(0, 0, 0, 0.5);

}

.magical-category {
    position: absolute;
    bottom: 12.5rem;
    left: 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: normal;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.magical-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); */
    padding: 2rem 1.5rem 1.5rem;
    color: rgb(252, 252, 252);
}

.magical-card-overlay p {
    font-family: 'Alwyn New';
    margin-bottom: 4rem;
    line-height: 1.5;
    font-size: 1rem;
    text-align: start;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.magical-card-btn {
    background: transparent;
    border: 2px solid rgb(204, 204, 204);
    color: rgb(204, 204, 204);
    padding: 0.6rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: normal;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: block;
    margin: 0 auto;
    margin-bottom: 3vh;
    width: clamp(200px, 80%, 300px);
}

.magical-card-btn:hover {
    background: white;
    color: #333;
}

/* Discover Section */
.discover-section {
    position: relative;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.discover-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(1.1);
}

.discover-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 2500px;
    margin: 0 auto;
    /* padding: 1rem 0; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex: 1;
}

.discover-container {
    background: #ffffff00 0% 0% no-repeat padding-box;
    border-radius: 3.125rem;
    padding-top: 1.5rem;
    padding-bottom: 0rem;
    padding-left: clamp(2rem, 13vw, 13rem);
    padding-right: clamp(2rem, 13vw, 13rem);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    width: 90vw;
    max-width: 1727px;
    height: 95vh;
    min-height: 50vh;
    /* 840px increased by 10% */
    /* margin: 0 auto; */
    /* Center horizontally */
    position: relative;
    /* For absolute positioning of nav buttons */
}

.discover-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* background-color: #e629f7; */
}

.discover-header {
    text-align: center;
    margin-bottom: 1rem;
}

.discover-title {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: white;
    margin-bottom: -0.6rem;
    line-height: 1.2;
}

.discover-description {
    font-family: 'Alwyn New', var(--description-font-family);
    font-weight: 100;
    color: var(--description-color);
    font-size: 1.3rem;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.2;
    letter-spacing: 1.5px;
}

.activities-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    width: 100%;
    height: 70%;
    margin-top: .1rem;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

/* Hide mobile carousel on desktop */
@media (min-width: 768px) {
    .activities-carousel-mobile {
        display: none !important;
    }
}

.activities-wrapper {
    display: flex;
    gap: 2%;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 20;
    height: 85%;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.activities-wrapper.transitioning {
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}


.carousel-nav {
    background: transparent;
    border: clamp(0.2rem, 0.28rem, 4.5px) solid white;
    width: clamp(3.5rem, 4vw, 5.3rem);
    height: clamp(3.5rem, 4vw, 5.3rem);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.5rem;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 clamp(0.25rem, 4px, 4px) clamp(0.94rem, 15px, 15px) rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 30;
}

.carousel-nav.left {
    left: clamp(3rem, 6.6rem, 100px);
}

.carousel-nav.right {
    right: clamp(2rem, 5.6rem, 90px);
}

.carousel-nav:hover {
    background: white;
    color: #333;
    border-color: white;
}

/* SVG arrow styling */
.nav-arrow-svg {
    width: clamp(1.8rem, 2.8rem, 45px);
    height: clamp(1.8rem, 2.8rem, 45px);
    filter: brightness(0) invert(1);
    /* Make SVG white */
    transition: all 0.3s ease;
    display: block;
    /* margin: 0 auto; */
    margin-right: clamp(0.25rem, 0.31rem, 5px);
}

/* Rotate arrows for different directions */
.carousel-nav.left .nav-arrow-svg {
    transform: rotate(90deg);
    /* Point left */
    margin-right: clamp(0.25rem, 0.31rem, 5px);
}

.carousel-nav.right .nav-arrow-svg {
    transform: rotate(-90deg);
    /* Point right */
    margin-left: clamp(0.25rem, 0.31rem, 5px);
}

/* Hover state for SVG */
.carousel-nav:hover .nav-arrow-svg {
    filter: brightness(0) invert(0);
    /* Make SVG dark on hover */
}

.activity-card {
    border-radius: 30px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform, width, height;
}

.activity-card.repositioning {
    transition: none !important;
}

.activity-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.activity-content h3 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.activity-content p {
    font-family: 'Alwyn New';
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.9rem;
    height: 2.9rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 0.125rem solid #ef4444;
}

.activity-icon.main-icon {
    font-size: 2rem;
    width: 3.75rem;
    height: 3.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.125rem solid #ef4444;
    margin: 0 auto 1rem auto;
    flex-shrink: 0;
}



.activity-card.main .card-icon {
    display: none;
}

.activity-card.main .activity-icon.main-icon {
    display: flex;
}


.activity-card .activity-image,
.activity-card .activity-image.cropped-image {
    width: 100%;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: none !important;
}

.activity-card .activity-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.activity-card.adjacent-card.folded .activity-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: row;
    align-items: flex-end;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 1rem;
}

.activity-card.adjacent-card.folded .activity-content .activity-text-content {
    flex: 0 1 auto;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0.75rem;
    max-width: calc(100% - 4rem);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.activity-card.adjacent-card.folded .activity-content h3,
.activity-card.adjacent-card.folded .activity-content p {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* allow width animation while folding the old main card */
.activity-card.folded.is-folding {
    min-width: 0 !important;
    max-width: none !important;
}

.activity-card.folded .activity-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure the image fills the narrow width properly */
    background-attachment: scroll;
    overflow: hidden;
    position: relative;
}

/* Ensure cropped images display properly in folded cards */
.activity-card.folded .activity-image[style*="background-size"] {
    background-size: cover;
    background-position: center;
}

/* Cropped image styling - prevent animation override */
.activity-image.cropped-image {
    background-size: var(--crop-background-size, cover) !important;
    background-position: var(--crop-background-position, center) !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    /* transition: none !important; */
    /* Disable transitions for cropped images */
}

/* Ensure folded cards maintain crop positioning */
.activity-card.folded .activity-image.cropped-image {
    background-size: var(--crop-background-size, cover) !important;
    background-position: var(--crop-background-position, center) !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    /* transition: none !important; */
    /* Disable transitions */
}

/* Debug styling for cropped images */
.activity-card.folded .activity-image.cropped-image {
    /* border: 2px solid #ef4444 !important; */
    box-shadow: inset 10px 13px 36px #0000005C;
}

/* Prevent animation override on image transitions */
.activity-card.folded .activity-image {
    transition: none !important;
}

/* Ensure main cards can still animate but don't override cropped images */
.activity-card.main .activity-image:not(.cropped-image) {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1) !important;
}

.activity-card.folded .activity-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Initial states for folded cards - prepare for animation */
.activity-card.folded .activity-icon.main-icon {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-card.folded .activity-text-content {
    opacity: 0;
    transform: translateX(1.25rem);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-card.folded .activity-content h3 {
    opacity: 0;
    transform: translateX(1.25rem);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-card.folded .activity-content p {
    opacity: 0;
    transform: translateX(1.25rem);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-card.main .activity-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.9rem;
    height: 2.9rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 0.125rem solid #ef4444;
    opacity: 1;
    transition: all 0.3s ease;
}

.activity-card.main .card-icon {
    display: none;
}

.activity-card.main .activity-icon.main-icon {
    display: flex;
}

.activity-card.folded .card-icon {
    display: flex;
    top: auto;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
}

.activity-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    overflow: hidden;
    transform: scale(1) !important;
}

.activity-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
    text-align: center;
}

/* Horizontal layout for expanded activity cards */
.activity-card.main .activity-content {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
}

.activity-content h3 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.activity-content p {
    font-family: 'Alwyn New';
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Text content wrapper for expanded cards */
.activity-card.main .activity-content .activity-text-content {
    flex: 1;
    /* Take remaining space */
    display: flex;
    flex-direction: column;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: translateX(0);
}

/* Initial state for animation - only when content-animating class is not present */
.activity-card.main:not(.content-animating) .activity-content .activity-text-content {
    opacity: 0;
    transform: translateX(1.25rem);
}

.activity-card.main .activity-content h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    /* Remove any top margin */
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
    /* Slight delay for staggered effect */
}

.activity-card.main .activity-content p {
    margin-bottom: 1rem;
    /* Reduce bottom margin */
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.4s;
    /* Slight delay for staggered effect */
}

/* Initial state for animation - only when content-animating class is not present */
.activity-card.main:not(.content-animating) .activity-content h3 {
    opacity: 0;
    transform: translateX(1.25rem);
}

.activity-card.main:not(.content-animating) .activity-content p {
    opacity: 0;
    transform: translateX(1.25rem);
}

.activity-icon.main-icon {
    font-size: 2rem;
    width: 3.75rem;
    height: 3.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.125rem solid #ef4444;
    margin: 0 auto 1rem auto;
    flex-shrink: 0;
    /* Prevent icon from shrinking */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Icon positioning for expanded cards */
.activity-card.main .activity-icon.main-icon {
    margin: 0;
    /* Remove auto margins for flex layout */
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
    /* Slight delay for smooth entrance */
}

/* Initial state for animation - only when content-animating class is not present */
.activity-card.main:not(.content-animating) .activity-icon.main-icon {
    opacity: 0;
    transform: scale(0.8);
}

.activity-meta {
    display: flex;
    justify-content: center;
    gap: 2%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hide activity meta (hours and price) for all activity cards */
.activity-meta {
    display: none !important;
}

.activity-duration,
.activity-price {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: white;
}

.activity-price {
    background: rgba(140, 198, 63, 0.8);
    font-weight: normal;
}

.activity-icons-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.activity-icon-small {
    width: 3.125rem;
    height: 3.125rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.125rem solid #ef4444;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.activity-icon-small:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.9rem;
    height: 2.9rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 0.125rem solid #ef4444;
    opacity: 1;
    transition: all 0.3s ease;
}

.activity-card.main .card-icon {
    display: none;
}


.activity-card.folded .card-icon {
    display: flex;
    top: auto;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
}



/* Video Section */
.video-section {
    background: transparent;
    padding: 6rem 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

/* Video and Blog Background Wrapper */
.video-blog-background-wrapper {
    position: relative;
    z-index: 10;
}

/* Second background: Video 60% to Blog end */
.video-blog-background-wrapper::before {
    content: '';
    position: absolute;
    top: clamp(18%, 20vw, 25%);
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    bottom: -1%;
    background: var(--video-section-bg-image);
    background-size: 100% 125%;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* margin-bottom: 20px; */
    z-index: -1;
}


.video-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: clamp(90%, 1200px, 95%);
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
}

.video-background-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.video-background-text.left {
    left: -5rem;
}

.video-background-text.right {
    right: -5rem;
}

.video-title {
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: normal;
    line-height: clamp(2.5rem, 4vw, 3.7rem);
    letter-spacing: var(--letter-spacing, 0);
    color: #FFFFFF;
    opacity: 1;
    margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
    text-align: center;
    position: relative;
    z-index: 4;
}

.video-title::before {
    content: '';
    position: absolute;
    left: clamp(-1rem, -1.5vw, -1.25rem);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(10px, 1vw, 15px);
    height: clamp(10px, 1vw, 15px);
    background: #ef4444;
    border-radius: 50%;
}

.video-description {
    font-family: 'Alwyn New', var(--description-font-family);
    color: var(--description-color);
    font-weight: 300;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    line-height: clamp(1.2rem, 1.9vw, 1.9rem);
    letter-spacing: var(--letter-spacing, 0);
    opacity: 1;
    text-align: center;
    margin-bottom: clamp(2rem, 4vh, 3rem);
    max-width: clamp(300px, 73vw, 880px);
    position: relative;
    z-index: 4;
}

.video-card {
    width: clamp(90%, 95vw, 1455px);
    aspect-ratio: 2.06 / 1;
    background-size: cover;
    background-position: center;

    box-shadow: 0px 3px 6px #00000029;
    border-radius: clamp(2rem, 20vw, 263px);
    opacity: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    padding: 0;
}

.video-play-button:hover {
    transform: scale(1.1);
}

.play-icon {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: white;
    margin-left: clamp(3px, 0.3vw, 5px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Video Section Responsive Media Queries */
@media (min-width: 2100px) {
    .video-section {
        padding: clamp(7rem, 8vh, 8rem) 0;
        min-height: 85vh;
    }

    .video-container {
        max-width: clamp(95%, 1400px, 98%);
        padding: 0 clamp(3rem, 6vw, 10rem);
    }

    .video-title {
        font-size: clamp(3.5rem, 4.5vw, 4rem);
        line-height: clamp(4.2rem, 5.5vw, 4.8rem);
        margin-bottom: clamp(1.2rem, 2vh, 1.5rem);
    }

    .video-title::before {
        left: clamp(-1.5rem, -2vw, -1.8rem);
        width: clamp(18px, 1.5vw, 20px);
        height: clamp(18px, 1.5vw, 20px);
    }

    .video-description {
        font-size: clamp(1.8rem, 2vw, 2rem);
        line-height: clamp(2.1rem, 2.4vw, 2.4rem);
        margin-bottom: clamp(3.5rem, 5vh, 4rem);
        max-width: clamp(400px, 75vw, 1000px);
    }

    .video-card {
        width: clamp(95%, 98vw, 1600px);
        aspect-ratio: 2.06 / 1;
        border-radius: clamp(3rem, 22vw, 300px);
    }

    .play-icon {
        font-size: clamp(4.5rem, 5vw, 5rem);
        margin-left: clamp(5px, 0.4vw, 7px);
    }
}

@media (min-width: 1920px) and (max-width: 2099px) {
    .video-section {
        padding: clamp(6.5rem, 7.5vh, 7.5rem) 0;
        min-height: 82vh;
    }

    .video-container {
        max-width: clamp(93%, 1300px, 97%);
        padding: 0 clamp(2.5rem, 5vw, 8rem);
        /* background-color: #ff5757; */
    }

    .video-title {
        font-size: clamp(3.2rem, 4vw, 3.7rem);
        line-height: clamp(3.8rem, 4.8vw, 4.5rem);
        margin-bottom: clamp(1rem, 1.8vh, 1.3rem);
    }

    .video-title::before {
        left: clamp(-1.3rem, -1.8vw, -1.6rem);
        width: clamp(16px, 1.3vw, 18px);
        height: clamp(16px, 1.3vw, 18px);
    }

    .video-description {
        font-size: clamp(1.6rem, 1.8vw, 1.85rem);
        line-height: clamp(1.9rem, 2.2vw, 2.2rem);
        margin-bottom: clamp(3.2rem, 4.5vh, 3.8rem);
        max-width: clamp(380px, 74vw, 950px);
    }

    .video-card {
        width: clamp(93%, 96vw, 1520px);
        aspect-ratio: 2.06 / 1;
        border-radius: clamp(2.5rem, 21vw, 280px);
    }

    .play-icon {
        font-size: clamp(4.2rem, 4.5vw, 4.7rem);
        margin-left: clamp(4px, 0.35vw, 6px);
    }

    .video-blog-background-wrapper::before {
        top: 18%;
    }
}

@media (min-width: 1366px) and (max-width: 1919px) {
    .video-section {
        padding: clamp(6rem, 7vh, 7rem) 0;
        min-height: 80vh;
    }

    .video-container {
        max-width: clamp(90%, 1200px, 95%);
        padding: 0 clamp(1rem, 2vw, 2rem);
        /* background-color: #ff5757; */
    }

    .video-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
        line-height: clamp(2.5rem, 4vw, 3.7rem);
        margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
    }

    .video-title::before {
        left: clamp(-1rem, -1.5vw, -1.25rem);
        width: clamp(10px, 1vw, 15px);
        height: clamp(10px, 1vw, 15px);
    }

    .video-description {
        font-size: clamp(1rem, 1.6vw, 1.6rem);
        line-height: clamp(1.2rem, 1.9vw, 1.9rem);
        margin-bottom: clamp(2rem, 4vh, 3rem);
        max-width: clamp(300px, 73vw, 880px);
    }

    .video-card {
        width: clamp(85%, 90vw, 1400px);
        aspect-ratio: 2.06 / 1;
        border-radius: clamp(2rem, 20vw, 263px);

    }

    .play-icon {
        font-size: clamp(2.5rem, 4vw, 4rem);
        margin-left: clamp(3px, 0.3vw, 5px);
        color: #ffffff;
    }

    .video-blog-background-wrapper::before {
        top: clamp(-70vh, 20vh, 50vh);
    }
}

@media (min-width: 768px) and (max-width: 1365px) {
    .video-section {
        padding: clamp(4rem, 5vh, 5.5rem) 0;
        min-height: 75vh;
    }

    .video-container {
        max-width: clamp(92%, 1000px, 96%);
        padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    }

    .video-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        line-height: clamp(2.2rem, 3.5vw, 3rem);
        margin-bottom: clamp(0.6rem, 1.2vh, 0.9rem);
    }

    .video-title::before {
        left: clamp(-0.8rem, -1.2vw, -1rem);
        width: clamp(8px, 0.8vw, 12px);
        height: clamp(8px, 0.8vw, 12px);
    }

    .video-description {
        font-size: clamp(0.9rem, 1.4vw, 1.3rem);
        line-height: clamp(1.1rem, 1.7vw, 1.6rem);
        margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
        max-width: clamp(280px, 70vw, 750px);
    }

    .video-card {
        width: clamp(92%, 93vw, 1200px);
        aspect-ratio: 2.06 / 1;
        border-radius: clamp(1.5rem, 18vw, 200px);
    }

    .play-icon {
        font-size: clamp(2rem, 3.5vw, 3.2rem);
        margin-left: clamp(2px, 0.25vw, 4px);
    }

    .video-blog-background-wrapper::before {
        top: 0%;
    }
}

@media (max-width: 767px) {
    .section-divider {
        margin-top: -20vh;

    }

    .container {
        /* background-color: #d68f24; */
        margin: 0 auto;
        width: 100%;
        min-width: none !important;
        max-width: none !important;
        padding: 0 0;
        /* margin: 0 0; */
        /* max-width: 2800px !important; */
    }

    /* Removed duplicate mobile media query - main mobile rules at line 851-859 handle container styling */
    /* This duplicate was causing left shift by setting 100vw width without proper centering */
    /*
    #blogCarousel.cards-container,
    .cards-container#blogCarousel {
        position: relative;
        width: 100vw;
        max-width: 100vw;
        background-color: #d68f24;
    }
    */

    .blog-packages-carousel {
        /* margin-top: 8vh !important; */
        /* background-color: #247dd6; */
        padding-top: 7vh !important;
    }

    .video-section {
        padding: 0 0;
        min-height: 45vh;
        margin-top: 0;
        /* background-color: #ed1818; */
    }

    .video-container {
        max-width: clamp(95%, 100%, 98%);
        padding: 0 clamp(1rem, 1.5vw, 1.5rem);
    }

    .video-title {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        line-height: clamp(1.8rem, 3vw, 2.4rem);
        margin-bottom: clamp(0.5rem, 1vh, 0.8rem);
    }

    .video-title::before {
        left: clamp(-0.6rem, -1vw, -0.8rem);
        width: clamp(6px, 0.6vw, 10px);
        height: clamp(6px, 0.6vw, 10px);
    }

    .video-description {
        font-size: clamp(0.85rem, 1.2vw, 1.1rem);
        line-height: clamp(1rem, 1.5vw, 1.3rem);
        margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
        max-width: clamp(250px, 85vw, 600px);
    }

    .video-card {
        width: clamp(80%, 8vw, 85%);
        height: clamp(250px, 25vh, 290px);

        /* aspect-ratio: 2.06 / 1; */
        border-radius: clamp(1rem, 15vw, 150px);
    }

    .video-blog-background-wrapper {
        padding-top: 0;
        /* background-color: #30485f; */
    }

    .video-blog-background-wrapper::before {
        top: 10vh;
        padding-top: 0;
        background-position: center var(--video-blog-bg-position);
        /* bottom: -10vh; */
        /* background-color: rgb(11, 182, 255); */
        padding-bottom: 0;
        z-index: 0;
    }

    .play-icon {
        font-size: clamp(2.5rem, 4vw, 4.5rem);
        margin-left: clamp(2px, 0.2vw, 3px);
    }

    .section-title {
        margin-top: -5vh;
        margin-left: 0;
        margin-bottom: 0;
        font-size: 2rem;
        line-height: 2.5rem;
        letter-spacing: 0;
        text-align: center;
        position: relative;
        z-index: 4;
    }

    .section-title .title-half-circle {
        margin-top: 5vh;
        margin-right: -75px;
        width: 80px;
        height: 80px;
    }

    .main-content {
        padding-top: 0px;
        margin-top: -5vh;
        padding-bottom: 0px;
        /* background-color: #2057f0; */
        padding-top: 0;
        padding-bottom: 0;
        min-height: 50vh;
        max-height: 80vh;
        overflow: hidden;
        /* margin-bottom: 50vh; */
        /* max-height: 120vh; */
        /* Move section up */
    }

    .section-subtitle {
        margin-top: -5vh;
    }

    .view-all-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .cards-wrapper {

        margin-top: -3vh;
        /* margin-right: 10vw; */
    }

    .carousel-controls {
        margin-top: -2vh;
    }

    .card .cta-section {
        padding: .5rem .5rem;
        /* background-color: #d21818 !important; */
        min-height: 10vh !important;
        max-height: 20vh !important;
        margin-top: -5vh;

    }

    .cta-container {
        max-width: 100% !important;
        padding: 0 0 !important;

    }

    .cta-buttons {
        display: flex;
        flex-direction: row;
        padding: 0 0;
        gap: 0.2rem;
        /* background-color: #19bb4c; */
        width: 100%;
        justify-content: center;
        align-items: center;

    }

    .cta-btn {
        width: 5% !important;
        max-width: 200px;
        font-size: 0.65rem;
        background: #FF8C00 0% 0% no-repeat padding-box;
        text-align: left;
        /* padding: 0.6rem 1.2rem; */
    }

    .cta-title {
        font-size: .8rem !important;
        /* background-color: #d21818; */
    }
}

/* Call to Action Section */
.cta-section {
    background: transparent;
    padding: 4rem 0;
}

.cta-container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content {
    background: #525759 0% 0% no-repeat padding-box;
    border-radius: 114px;
    padding: 1.2rem 1.6rem;
    text-align: center;
    position: relative;
    width: 727px;
    height: 146px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-title {
    color: #FFFFFF;
    font-family: 'bebas_neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 24px;
    letter-spacing: var(--letter-spacing, 0);
    margin-bottom: 1.5rem;
    text-align: left;
}

.cta-buttons {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

}

.cta-btn {
    background: #FF8C00 0% 0% no-repeat padding-box;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    /* padding: 0.2rem 0.4rem; */
    border-radius: 55.5px;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    min-width: 105px;
    justify-content: center;
    width: 170px;
    height: 30px;
}

.cta-btn-primary {
    text-align: left;
    /* UI Properties */
    background: #FF4848 0% 0% no-repeat padding-box;
    color: #ffffff;
    border: 1px solid #FFFFFF;
    opacity: 1;
    align-items: left;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: #9DC0468D;
    color: #ffffff;
    border: 2px solid var(--border-gray, #e5e5e5);
}

.cta-btn-secondary:hover {
    transform: translateY(-2px);
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-bottom: 2px;
}

.cta-btn-primary:hover .cta-arrow {
    transform: translateX(5px);
}

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
    .cta-content {
        width: 100%;
        max-width: 900px;
        height: auto;
        min-height: 125px;
        padding: .8rem .5rem;
        border-radius: 75px;
        /* background-color: #fc2d2d; */
        margin-top: -1vh;
    }

    .cta-title {
        font-size: 10px;
        line-height: 22px;
        margin-bottom: .5rem;
        text-align: center;
    }

    .cta-buttons {
        display: flex;
        flex-direction: row;
        padding: 0 0;
        gap: 0.2rem;
        /* background-color: #19bb4c; */
        width: 100%;
        justify-content: center;
        align-items: center;

    }

    .cta-btn {
        width: 5% !important;
        max-width: 200px;
        font-size: 0.65rem;
        background: #FF8C00 0% 0% no-repeat padding-box;
        text-align: left;
        /* padding: 0.6rem 1.2rem; */
    }
}

/* Footer */
.footer {
    background: var(--footer-bg-color, #2c3e50);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 2%;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--footer-logo-bg-color, #ef4444);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: normal;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--footer-heading-color, #8cc63f);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--light-text-color, #bdc3c7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--footer-link-hover-color, #8cc63f);
}

.footer-bottom {
    border-top: 1px solid var(--darker-blue, #34495e);
    padding-top: 1rem;
    text-align: center;
    color: var(--light-text-color, #bdc3c7);
}

/* Activity Card Base Styles */
.activity-card.main {
    width: clamp(300px, 42vw, 811.8px) !important;
    height: 90% !important;
    background: transparent;
    border-radius: 4.5rem;
    opacity: 1;
    box-shadow: inset 0px clamp(-6.4rem, -103px, -103px) clamp(2.4rem, 39px, 39px) #00000080, 0px clamp(0.19rem, 3px, 3px) clamp(0.38rem, 6px, 6px) #00000029;
    flex: 0 0 clamp(300px, 42vw, 811.8px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.activity-card.folded {
    width: 8% !important;
    height: clamp(35rem, 40vh, 564.3px);
    opacity: 1;
    border-radius: 3.125rem;
    min-width: 5rem;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Activity Section Responsive Media Queries */
@media (min-width: 2100px) {
    .discover-container {
        width: clamp(90vw, 90vw, 1727px);
        /* max-width: 1727px; */
        padding-left: clamp(4rem, 8vw, 13rem);
        padding-right: clamp(4rem, 8vw, 13rem);
    }

    .activity-card.main {
        width: 60% !important;
        height: 99% !important;
        flex: 0 0 clamp(40vw, 40vw, 811.8px) !important;
    }

    .activities-carousel {
        width: 100%;
        height: 75%;
    }

    .activities-wrapper {
        height: 85%;

        /* background-color: #0e1655; */
    }

    .carousel-nav.left {
        left: clamp(3rem, 4.6rem, 90px);
        /* background-color: #23ad23; */
    }

    .carousel-nav.right {
        right: clamp(3rem, 4.6rem, 90px);
    }

    .activity-card.folded {
        width: 7% !important;
        height: 99% !important;
        flex: 0 0 50% !important;
        min-width: unset !important;
        max-width: unset !important;
    }
}

/* Large Laptops (1920px and above) */
@media (min-width: 1920px) and (max-width: 2099px) {
    .discover-container {
        width: clamp(90vw, 90vw, 1727px);
        /* max-width: 1727px; */
        /* padding-left: clamp(8rem, 8vw, 13rem);
        padding-right: clamp(8rem, 8vw, 13rem); */
    }

    .activity-card.main {
        width: 58% !important;
        height: 99% !important;
        flex: 0 0 clamp(40vw, 40vw, 811.8px) !important;
    }

    .activities-carousel {
        width: 100%;
        height: 75%;

    }

    .activities-wrapper {
        height: 85%;

        background-color: #0e1655;
    }

    .carousel-nav.left {
        left: clamp(3rem, 4.6rem, 90px);
        /* background-color: #23ad23; */
    }

    .carousel-nav.right {
        right: clamp(3rem, 4.6rem, 90px);
    }

    .activity-card.folded {
        width: 8% !important;
        height: 99% !important;
        flex: 0 0 50% !important;
        min-width: unset !important;
        max-width: unset !important;
    }
}

/* Standard Laptops (1366px - 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .discover-container {
        width: clamp(85vw, 88vw, 90vw);
        padding-left: clamp(2rem, 8vw, 10rem);
        padding-right: clamp(2rem, 8vw, 10rem);
    }

    .activity-card.main {
        width: clamp(42vw, 42vw, 811.8px) !important;
        height: 99% !important;
        flex: 0 0 clamp(40vw, 40vw, 750px) !important;
    }

    .activities-carousel {
        width: 100%;
        height: 75%;
        /* background-color: #3a94ef; */
        /* padding-left: 2vh !important;
        padding-right: 2vh !important; */
    }

    .activities-wrapper {
        height: 100%;
        width: 100%;

        /* padding-left: 0rem !important;
        padding-right: 0rem !important; */
        /* background-color: #ff0000; */
    }

    .carousel-nav {
        margin-top: 1rem;
        width: clamp(3rem, 3.5vw, 65px);
        height: clamp(3rem, 3.5vw, 65px);
        font-size: 0.5rem;
        /* border-color: #a82020; */
    }

    .nav-arrow-svg {
        width: clamp(1.2rem, 1.5rem, 30px);
        height: clamp(1.2rem, 1.5rem, 30px);
    }

    .carousel-nav.left {
        left: clamp(1rem, 4.5rem, 50px);
        /* background-color: #002aff; */
    }

    .carousel-nav.right {
        right: clamp(1rem, 4.5rem, 50px);
    }

    .activity-card.folded {
        width: 8% !important;
        height: 99% !important;
        flex: 0 0 50% !important;
        min-width: unset !important;
        max-width: unset !important;
    }
}

/* Tablets (768px - 1365px) */
@media (min-width: 768px) and (max-width: 1365px) {
    .discover-container {
        width: clamp(92vw, 95vw, 98vw);
        height: clamp(55vh, 60vh, 70vh);
        padding-left: clamp(2rem, 5vw, 6rem);
        padding-right: clamp(2rem, 5vw, 6rem);
    }

    .activity-card.main {
        width: clamp(35vw, 35vw, 811.8px) !important;
        height: 99% !important;
        border-radius: 3.5rem;
        flex: 0 0 clamp(35vw, 35vw, 811.8px) !important;
    }

    .activities-carousel {
        width: 99%;
        height: 75%;
    }

    .activities-wrapper {
        height: 85%;
        width: 100%;
        /* background-color: #04ff00; */
    }

    .activity-card.side-left,
    .activity-card.side-right {
        width: clamp(4rem, 6vw, 100px);
        height: clamp(32rem, 38vh, 500px);
        border-radius: 4.5rem;
    }

    .activity-card.folded {
        width: 6% !important;
        height: 99% !important;
        min-width: 3.5rem;
        max-width: 4.5rem;
        border-radius: 2.5rem;
    }

    .carousel-nav {
        width: clamp(3.5rem, 3.8vw, 65px);
        height: clamp(3.5rem, 3.8vw, 65px);
        border-width: clamp(0.2rem, 0.25rem, 4px);
        z-index: 100;
        /* background-color: #247dd6; */
    }

    .carousel-nav.left {
        left: clamp(1.5rem, 3rem, 50px);
    }

    .carousel-nav.right {
        right: clamp(1.5rem, 3rem, 50px);
    }

    .nav-arrow-svg {
        width: clamp(1.5rem, 2.5rem, 40px);
        height: clamp(1.5rem, 2.5rem, 40px);
    }
}

/* Mobile Devices (below 768px) */
@media (max-width: 767px) {
    .discover-section {
        overflow: visible;
        /* background-color: #deb434; */
    }

    .discover-container {
        width: 95vw;
        height: auto;
        min-height: clamp(20vh, 30vh, 40vh);
        /* max-height: clamp(80vh, 90vh, 100vh); */
        padding-left: .1rem;
        padding-right: .5rem;
        padding-top: 0rem;
        padding-bottom: 2rem;
        border-radius: 2rem;
        overflow: visible;
        /* background-color: #247dd6; */
    }

    .discover-title {
        font-size: 25px;
    }

    .discover-title .title-half-circle {
        margin-top: 3rem;
    }

    .discover-description {
        font-size: 13px;
        /* background-color: #9ed624; */
    }

    /* Mobile: Hide desktop Activity Carousel */
    .activities-carousel {
        display: none !important;
    }

    /* Mobile: Show mobile Activity Carousel */
    .activities-carousel-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100% !important;
        padding: clamp(2vh, 3.5vh, 35px) 0;
        min-height: clamp(320px, 80vw, 520px) !important;
        margin-top: -20vh;
        visibility: visible !important;
        opacity: 1 !important;
        /* background-color: #247dd6; */
    }

    .activities-carousel-mobile-inner {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
        position: relative;
        display: block !important;
        /* background-color: #9ed624; */
    }

    .activities-wrapper-mobile.swiper {
        overflow: hidden !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0;
        margin: 0;
        position: relative;
        height: auto !important;
        min-height: clamp(320px, 80vw, 520px) !important;
        max-height: none !important;
        /* Ensure Swiper can calculate widths */
        box-sizing: border-box !important;
        /* background-color: #ff0000; */
    }

    .activities-grid-mobile.swiper-wrapper {
        display: flex !important;
        align-items: center !important;
        height: auto !important;
        min-height: clamp(320px, 80vw, 520px);
        gap: 0;
        transition: transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
        margin-left: 0;
        padding-left: 0;
        width: auto !important;
        min-width: 100%;
        will-change: transform;
        backface-visibility: hidden;

        -webkit-backface-visibility: hidden;
    }

    .activities-wrapper-mobile.swiper .swiper-slide {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        /* Let Swiper control width based on slidesPerView: 1.25 */
        width: auto !important;
        flex-shrink: 0 !important;
        height: auto !important;
        /* Add min-width to help Swiper calculate - approximately 80% of viewport for 1.25 slides */
        min-width: calc((100vw - 43px) / 1.25) !important;
        max-width: none !important;
        /* Ensure slides have proper dimensions for Swiper calculation */
        box-sizing: border-box !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide-duplicate {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-shrink: 0 !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile {
        /* Fixed dimensions for mobile cards */
        width: 265px !important;
        height: 261px !important;
        aspect-ratio: 265 / 261;
        max-width: 265px !important;
        max-height: 261px !important;
        border-radius: 42px;
        overflow: hidden;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        background: transparent;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        /* Override general activity-card styles */
        z-index: auto !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile .activity-image {
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile .activity-content {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        position: absolute !important;
        bottom: 1rem !important;
        left: calc(1rem + 2.5rem + 0.75rem) !important;
        right: 1rem !important;
        background: transparent !important;
        padding: 0 !important;
        color: white !important;
        gap: 0 !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile .card-icon {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-shrink: 0 !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile .activity-text-content {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        flex: 1 !important;
        gap: 0.25rem !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile .activity-text-content h3 {
        font-size: 1.25rem !important;
        font-weight: bold !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        color: white !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    }

    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile .activity-text-content p {
        font-size: 0.8125rem !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        color: white !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    }

    /* Hide main-icon on mobile activity cards - only show card-icon */
    .activities-wrapper-mobile.swiper .swiper-slide .activity-card-mobile .activity-icon.main-icon {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Mobile navigation buttons */
    .activities-carousel-mobile .packages-arrow {
        position: absolute !important;
        bottom: 0.5rem !important;
        /* margin-top: 1rem !important; */
        top: auto !important;
        transform: none !important;
        z-index: 1000 !important;
        background: transparent;
        border: clamp(0.1rem, 0.2rem, 3.5px) solid white;
        width: clamp(3rem, 3vw, 4.5rem) !important;
        height: clamp(3rem, 3vw, 4.5rem) !important;
        border-radius: 50%;
        cursor: pointer !important;
        color: white;
        transition: all 0.3s ease;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 clamp(0.25rem, 4px, 4px) clamp(0.94rem, 15px, 15px) rgba(0, 0, 0, 0.2);
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .activities-carousel-mobile .packages-arrow-left {
        left: calc(80% - 3rem) !important;
    }

    .activities-carousel-mobile .packages-arrow-right {
        right: calc(20% - 4rem) !important;
    }

    .activities-carousel-mobile .packages-arrow:hover {
        background: white;
        color: #333;
        border-color: white;
    }

    .activities-carousel-mobile .arrow-image {
        width: clamp(1.8rem, 2.8rem, 45px);
        height: clamp(1.8rem, 2.8rem, 45px);
        filter: brightness(0) invert(1);
        transition: all 0.3s ease;
    }

    .activities-carousel-mobile .packages-arrow-left .arrow-image {
        transform: rotate(90deg);
    }

    .activities-carousel-mobile .packages-arrow-right .arrow-image {
        transform: rotate(-90deg);
    }

    .activities-carousel-mobile .packages-arrow:hover .arrow-image {
        filter: brightness(0) invert(0);
    }

    .activities-carousel .swiper-slide {
        width: 80vw;
        flex-shrink: 0;
    }

    .activities-carousel .swiper-slide .activity-card {
        width: 100%;
        height: auto;
        min-height: clamp(320px, 80vw, 520px);
    }

    /* Ensure adjacent card content displays correctly, aligned to left */
    .activity-card.adjacent-card.folded .activity-content {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-direction: row;
        align-items: flex-end;
        padding-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        justify-content: flex-start;
    }

    .activity-card.adjacent-card.folded .activity-content .activity-text-content {
        flex: 0 1 auto;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0.75rem;
        max-width: calc(100% - 4rem);
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .activity-card.adjacent-card.folded .activity-content h3,
    .activity-card.adjacent-card.folded .activity-content p {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .carousel-nav {
        visibility: hidden;
        opacity: 0;
        z-index: -100;
        pointer-events: none;
    }

    .nav-arrow-svg {
        width: clamp(1.2rem, 2rem, 35px);
        height: clamp(1.2rem, 2rem, 35px);
    }

    .activity-icon.main-icon {
        width: 3rem;
        height: 3rem;
    }

    .card-icon {
        width: 2.5rem;
        height: 2.5rem;
        /* Position at bottom-left corner on mobile */
        top: auto;
        bottom: 1rem;
        left: 1rem;
        right: auto;
        transform: none;
        /* White circular badge with red border */
        background: white;
        border: 2px solid #ef4444;
        z-index: 10;
        /* Ensure icon content is visible */
        color: #ef4444;
    }

    .activity-card.folded .card-icon {
        width: 2rem;
        height: 2rem;
        bottom: 1rem;
        left: 1rem;
        transform: none;
        /* White circular badge with red border for folded cards too */
        background: white;
        border: 2px solid #ef4444;
        z-index: 10;
        color: #ef4444;
    }

    /* Show card-icon on all cards on mobile, not just folded ones */
    .activity-card.main .card-icon {
        display: flex;

    }

    /* Hide main-icon on mobile, use card-icon instead */
    .activity-card.main .activity-icon.main-icon {
        display: none !important;
    }

    /* Ensure main-icon is hidden on all cards on mobile */
    .activity-card .activity-icon.main-icon {
        display: none !important;
    }

    /* Ensure card-icon shows on all cards (main, folded, adjacent) on mobile */
    .activity-card .card-icon {
        display: flex !important;
    }

    /* Update activity-content for mobile - remove gradient, position text overlay, align left */
    .activity-content {
        /* background: transparent !important; */
        padding: 0rem 2rem 1rem 4rem;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 0rem;
        /* background-color: #43ad45; */
    }

    /* Position text to the right of icon badge, aligned to left */
    .activity-card.main .activity-content {
        flex-direction: row;
        align-items: flex-end;
        padding-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        justify-content: flex-start;
    }

    .activity-card.main .activity-content .activity-text-content {
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0.75rem;
        margin-bottom: 2rem;
        max-width: calc(100% - 4rem);
        /* Ensure text is always visible on mobile - override content-animating rules */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Style ACTIVITIES title as bold */
    .activity-content h3 {
        font-size: 25px;
        font-weight: bold;
        margin-bottom: 0.25rem;
        /* color: rgb(209, 22, 22); */
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        /* Ensure title is always visible on mobile - override content-animating rules */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .activity-content p {
        font-size: 13px;
        margin-bottom: 0;
        color: white;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        line-height: 1.3;
        /* Ensure description is always visible on mobile - override content-animating rules */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Move navigation buttons below carousel and center them */
    .carousel-nav {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 1rem 0.5rem 0 0.5rem;
        display: inline-flex;
        z-index: 100;
        pointer-events: auto !important;
    }

    .carousel-nav.left {
        left: 14rem !important;
        bottom: 2.5rem !important;
    }

    .carousel-nav.right {
        left: 14rem !important;
        bottom: 2.5rem !important;
        /* : auto !important; */
    }

    /* Center navigation buttons - they are siblings of activities-carousel */
    .discover-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
        /* background-color: #247dd6; */
        pointer-events: none !important;
    }


    /* Group navigation buttons together and center them */
    .discover-container>.carousel-nav {
        display: inline-flex;
    }

    /* Ensure activities-carousel takes full width */
    /* .activities-carousel {
        width: 100% !important;
        height: 75%;
        background-color: #1f7318;
        overflow-y: visible;
    } */

    /* 
    .magical-text {
        background-color: #ce1313 !important;
    } */

    .activity-card.folded,
    .activity-card.folded:not(.adjacent-card),
    .activity-card.main {
        display: flex !important;
    }

}

/* Magical Section Responsive Media Queries */
@media (min-width: 2100px) {
    .magical-section {
        height: 120vh;
        padding: 7rem 0 5rem 0;
    }

    .magical-container {
        padding: 0 clamp(3rem, 6vw, 10rem);
        background-color: #00000000;
    }

    .magical-content {
        gap: 4.5rem;
        min-height: 100%;
        background-color: #00000000;
    }

    .magical-title {
        margin-left: 9%;
    }

    .magical-first-word {
        font-size: clamp(2.8rem, 3vw, 5.2rem);
        min-width: 100%;
        overflow: visible;
        white-space: nowrap;
        text-overflow: visible;
        max-width: 100%;
        min-width: 100%;
        background-color: #00000000;
    }

    .magical-rest-text {
        font-size: clamp(3.5rem, 5.5vw, 9.5rem);
        margin-left: 30%;
    }

    .magical-description {
        font-size: clamp(1.8rem, 1.35vw, 1.62rem);
        margin-left: 11%;
        max-width: clamp(380px, 32vw, 580px);
    }

    .magical-text {
        margin-bottom: 7.5vh;
    }


    .magical-controls {
        margin-right: 12%;
    }

    .magical-arrow {
        width: clamp(45px, 4.2vw, 70px);
        height: clamp(45px, 4.2vw, 70px);
    }

    .magical-cards-container {
        width: 130%;
        height: 100%;
        padding: 1vh 0.2% 1vh 0;
        /* padding-left: 10%; */
        margin-left: -9%;
        background-color: #00000000;
    }

    .magical-cards {
        /* margin-left: 2%; */
        gap: 1.5rem;
        background-color: #00000000;
        padding-left: 2.3%;
        /* height: 100%; */
    }

    .magical-card {
        width: 35%;
        height: 100%;
        border-radius: 2.5vw;
    }

    .magical-card-image {
        border-radius: 2.5vw;
        height: 100%;
        width: 100%;
    }

    .magical-card-btn {
        width: clamp(230px, 82%, 330px);
        font-size: 1.55rem;
    }
}

/* Large Laptops (1920px and above) */
@media (min-width: 1920px) and (max-width: 2099px) {
    .magical-section {
        height: 120vh;
        padding: 7rem 0 5rem 0;
    }

    .magical-container {
        padding: 0 clamp(3rem, 6vw, 10rem);
        background-color: #00000000;
    }

    .magical-content {
        gap: 4.5rem;
        min-height: 100%;
        background-color: #00000000;
    }

    .magical-title {
        margin-left: 9%;
    }

    .magical-first-word {
        font-size: clamp(2.8rem, 3vw, 5.2rem);
        min-width: 100%;
        overflow: visible;
        white-space: nowrap;
        text-overflow: visible;
        max-width: 100%;
        min-width: 100%;
        background-color: #00000000;
    }

    .magical-rest-text {
        font-size: clamp(3.5rem, 5.5vw, 9.5rem);
        margin-left: 30%;
    }

    .magical-description {
        font-size: clamp(1.1rem, 1.35vw, 1.62rem);
        margin-left: 11%;
        max-width: clamp(320px, 29vw, 480px);
    }

    .magical-text {
        margin-bottom: 7.5vh;
    }


    .magical-controls {
        margin-right: 12%;
    }

    .magical-arrow {
        width: clamp(45px, 4.2vw, 70px);
        height: clamp(45px, 4.2vw, 70px);
    }

    .magical-cards-container {
        width: 130%;
        height: 100%;
        padding: 1vh 0.2% 1vh 0;
        /* padding-left: 10%; */
        margin-left: -9%;
        background-color: #00000000;
    }

    .magical-cards {
        /* margin-left: 2%; */
        gap: 1.5rem;
        background-color: #00000000;
        padding-left: 3%;
        /* height: 100%; */
    }

    .magical-card {
        width: 35%;
        height: 100%;
        border-radius: 2.5vw;
    }

    .magical-card-image {
        border-radius: 2.5vw;
        height: 100%;
        width: 100%;
    }

    .magical-card-btn {
        width: clamp(230px, 82%, 330px);
        font-size: 1.55rem;
    }
}

/* Standard Laptops (1366px - 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .magical-section {
        height: 110vh;
        padding: 6rem 0 4rem 0;
    }

    .magical-container {
        padding: 0 5%;
    }

    .magical-content {
        gap: 4rem;
        min-height: 100%;
        /* background-color: #856fff; */
    }

    .magical-title {
        /* padding-left: 18%; */
        margin-left: clamp(1rem, 5.5vw, 6.5rem);
        width: 75%;
        max-width: 75%;
        min-width: 75%;
        /* background-color: #a4ff6f; */
    }

    .magical-first-word {
        font-size: clamp(1.5rem, 2.5vw, 6.5rem);
        min-width: 100%;
        overflow: visible;
        white-space: nowrap;
        text-overflow: visible;
        max-width: 100%;
        min-width: 100%;
        /* background-color: #88260e; */
    }

    .magical-rest-text {
        font-size: clamp(2.5rem, 4.5vw, 8.5rem);
        margin-left: 35%;
    }

    .magical-description {
        font-size: clamp(1rem, 1.2vw, 1.3rem);
        margin-left: 20%;
        max-width: 72%;
    }

    .magical-text {
        margin-bottom: 7vh;
    }

    .magical-controls {
        margin-right: 12%;
    }

    .magical-arrow {
        width: clamp(40px, 4vw, 65px);
        height: clamp(40px, 4vw, 65px);
    }

    .magical-cards-container {
        width: 130%;
        height: 100%;
        padding: 1vh 0.5% 1vh 0;
        /* padding-left: 10%; */
        margin-left: -8%;
        /* background-color: #831868; */
    }

    .magical-cards {
        /* margin-left: 2%; */
        gap: 1.5rem;
        /* background-color: #47e64f; */
        padding-left: 3%;
        /* height: 100%; */
    }

    .magical-card {
        width: 35%;
        height: 100%;
        border-radius: 2.5vw;
    }

    .magical-card-image {
        border-radius: 2.5vw;
    }

    .magical-card-btn {
        width: clamp(200px, 80%, 300px);
        font-size: 1.5rem;
    }
}

/* Tablets (768px - 1365px) */
@media (min-width: 768px) and (max-width: 1365px) {
    .magical-section {
        height: 110vh;
        min-height: 100vh;
        padding: 4rem 0 3rem 0;
    }

    .magical-container {
        padding: 0 clamp(1.5rem, 4vw, 4rem);
    }

    .magical-content {
        /* grid-template-columns: 1fr; */
        gap: 3rem;
        align-items: center;
        min-height: 100%;
        /* background-color: #309e83; */

    }

    .magical-text {

        margin-bottom: 3vh;
    }

    .magical-title {
        margin-left: clamp(0.75rem, 4.5vw, 5rem);
        width: 70%;
        max-width: 70%;
        min-width: 70%;
        text-align: left;
    }

    .magical-first-word {
        font-size: clamp(1.2rem, 2vw, 5rem);
    }

    .magical-rest-text {
        font-size: clamp(2rem, 3.5vw, 6.5rem);
        margin-left: 40%;
        /* text-align: left; */
    }

    .magical-description {
        font-size: clamp(0.8rem, 1vw, 1.1rem);
        margin-left: 15%;
        max-width: 58%;
        text-align: left;
        /* margin: 0 auto 2rem 0; */
    }

    .magical-controls {
        /* justify-content: center; */
        margin-right: 30%;
        /* margin-top: 2rem; */
    }

    .magical-arrow {
        width: clamp(32px, 3.2vw, 52px);
        height: clamp(32px, 3.2vw, 52px);
        border-width: clamp(0.2rem, 0.25rem, 4px);
    }

    .magical-cards-container {
        width: 120%;
        height: 100%;
        padding: 0.8vh 0.4% 0.8vh 0;
        margin-left: -15%;
    }

    .magical-cards {

        gap: .8rem;
        width: 100%;
        /* justify-content: center; */
        padding-left: 2.5%;
    }

    .magical-card {
        width: 35%;
        height: 100%;
        border-radius: 2vw;
    }

    .magical-card-image {
        border-radius: 2vw;
    }

    .magical-card-btn {
        width: clamp(160px, 70%, 250px);
        font-size: clamp(1.1rem, 1.2vw, 1.3rem);
        margin-bottom: 2vh;
    }
}

/* Mobile Devices (below 768px) */
@media (max-width: 767px) {
    .magical-section {
        height: 50vh;
        min-height: 1vh;
        padding: .5rem .5rem .5rem .5rem;
        /* backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px); */
    }

    .magical-container {
        /* padding: 0 1.5rem; */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 2.125rem;
        height: 80%;
    }

    .magical-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: center;
        min-height: 1vh;
        border-radius: 3.125rem;
        position: relative;
        /* background-color: #e36917; */
        height: 100%;
        padding: 0 0 0 0;
    }

    .magical-text {
        align-self: center;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
        /* aspect-ratio: 0.681 / 1; */
        /* backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px); */
        border-radius: 3.125rem;
        /* background: rgba(0, 0, 0, 0.3); */
        padding: 0 0 0 0;
        width: 100vw;
        max-width: 600px;
        height: 100%;
        /* background-color: #43ad45; */
    }

    .magical-title {
        margin-left: 0;
        text-align: center;
        line-height: 1.2;
    }

    .magical-first-word {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        word-spacing: .1rem;
    }

    .magical-rest-text {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
        margin-left: 175%;
        margin-top: -2.4rem;
        text-align: left;
    }

    .magical-description {
        font-size: clamp(0.85rem, 0.95vw, 1.05rem);
        max-width: 90%;
        text-align: center;
        margin: 1.2rem auto 0rem;
        margin-left: -2%;
    }

    .magical-text .magical-controls {
        position: absolute;
        left: clamp(-2rem, -5vw, -1rem);
        top: 60%;
        transform: translateY(-50%);
        z-index: 10;
        margin: 0;
        gap: 1.5rem;
        flex-direction: column;
    }

    .magical-controls {
        justify-content: center;
        margin-right: 0;
        margin-top: 0rem;
        gap: 1.5rem;
    }

    .magical-arrow {
        width: clamp(3rem, 8vw, 55px);
        height: clamp(3rem, 8vw, 55px);
        border-width: 0.2rem;
        font-size: 1rem;
    }

    .magical-cards-container {
        width: 100%;
        min-height: 60vh;
        overflow-x: hidden;
        /* Hide container overflow, let wrapper handle scrolling */
        overflow-y: visible;
        position: relative;
        margin-left: 8vw;
        margin-bottom: 20vh;
        margin-top: -5vh;
        /* backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px); */
        border-radius: 3.125rem;

        /* background-color: #17e340; */
        /* background: rgba(0, 0, 0, 0.3); */
        padding: 1vh 0 5vh 0;
    }

    /* Swiper-specific styles for mobile */
    .magical-cards-container.swiper {
        overflow: hidden;
    }

    .magical-cards {
        display: flex;
        flex-direction: row;
        margin-left: 0;
        gap: 1rem;
        width: auto;
        /* Changed from 100% to auto to allow content to exceed viewport */
        min-width: 100%;
        /* Ensure minimum width matches container */
        min-height: 1vh;
        align-items: center;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
        /* background-color: #e317b3; */
        padding: 0 100px 0 0;
        /* Add 100px right padding to ensure last card is fully visible when scrolling */
        height: 100%;
    }

    /* Swiper wrapper styles for mobile */
    .magical-cards.swiper-wrapper {
        display: flex;
        flex-direction: row;
        margin-left: 0;
        gap: 0;
        /* Swiper handles spacing with spaceBetween */
        width: auto;
        min-width: 100%;
        min-height: 1vh;
        align-items: center;
        justify-content: flex-start;
        overflow: visible;
        /* Swiper handles scrolling */
        padding: 0;
        /* Remove right padding to ensure cards align to left edge */
        height: 100%;
    }

    .magical-cards::-webkit-scrollbar {
        display: none;
    }

    .magical-card {
        aspect-ratio: 2 / 3;
        width: clamp(231px, 60vw, 350px);
        height: clamp(352px, 52vh, 600px);
        border-radius: 1.5rem;
        flex-shrink: 0;
    }

    /* Swiper slide styles for mobile */
    .magical-card.swiper-slide {
        aspect-ratio: 2 / 3;
        width: clamp(231px, 60vw, 350px);
        height: clamp(352px, 52vh, 600px);
        border-radius: 1.5rem;
        flex-shrink: 0;
    }

    .magical-card-image {
        border-radius: 1.5rem;
        /* CRITICAL: Ensure images are visible on mobile */
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 100% !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        position: relative !important;
    }

    /* Ensure Swiper slide images are visible on mobile */
    #magicalCarousel .magical-card.swiper-slide .magical-card-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 100% !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .magical-card-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .magical-card-overlay p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .magical-card-btn {
        width: clamp(160px, 70%, 250px);
        font-size: clamp(1rem, 1.2vw, 1.2rem);
        margin-bottom: 2vh;
        padding: 0.5rem 1.5rem;
    }

    .magical-category {
        font-size: 1.2rem;
        bottom: 10rem;
        left: 1rem;
    }
}

/* Packages Section Responsive Media Queries */
@media (min-width: 2100px) {
    .tour-packages {
        padding: clamp(5rem, 7vh, 7rem) 0;
    }

    .packages-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .packages-header {
        margin-bottom: clamp(2.5rem, 4.5vh, 3.5rem);
        padding: clamp(2rem, 3.5vh, 2.5rem) 0;
    }

    .packages-title {
        font-size: clamp(2.2rem, 2.8vw, 3rem);
        margin-bottom: clamp(1.2rem, 2.2vh, 1.8rem);
    }

    .title-half-circle {
        width: clamp(70px, 9vw, 100px);
        height: clamp(70px, 9vw, 100px);
        margin-right: clamp(-80px, -8.5vw, -95px);
    }

    .packages-description {
        font-size: clamp(1.1rem, 1.4vw, 1.5rem);
        max-width: clamp(350px, 32vw, 700px);
        margin-top: clamp(-2.5rem, -3.5vh, -35px);
    }

    .packages-carousel {
        padding: clamp(3.5vh, 5.5vh, 55px) 0;
    }

    .packages-wrapper {
        padding: 0;
        margin-top: clamp(-3.5vh, -5.5vh, -55px);
        margin-bottom: clamp(-3.5vh, -5.5vh, -55px);
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .packages-arrow {
        width: clamp(50px, 5vw, 70px);
        height: clamp(50px, 5vw, 70px);
        font-size: clamp(1.6rem, 2vw, 2rem);
        border: clamp(0.2rem, 0.25vw, 2.5px) solid #ffffff;
    }

    .packages-arrow-left {
        left: clamp(20px, 2vw, 40px);
    }

    .packages-arrow-right {
        right: clamp(20px, 2vw, 40px);
    }

    /* Blog carousel arrows - match packages carousel */
    .blog-packages-container .packages-arrow-left {
        left: clamp(20px, 2vw, 40px);
    }

    .blog-packages-container .packages-arrow-right {
        right: clamp(20px, 2vw, 40px);
    }

    .packages-arrow .arrow-image {
        width: clamp(20px, 2.2vw, 28px);
        height: clamp(20px, 2.2vw, 28px);
    }

    .package-card {
        /* Width removed - Swiper controls sizing via inline styles */
        aspect-ratio: 0.8 / 1;
        border-radius: clamp(2.5rem, 4.5vw, 55px);
    }

    /* Override fixed width for cards inside Swiper - let Swiper control width */
    .packages-wrapper.swiper .swiper-slide .package-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .package-overlay {
        padding: clamp(2rem, 3vh, 2.5rem) clamp(1.2rem, 1.8vw, 2rem) clamp(2.15rem, calc(1.4vh + 1.25rem), 2.75rem);
    }

    .package-category {
        font-size: clamp(1.3rem, 1.6vw, 1.7rem);
        margin-bottom: clamp(0.9rem, 1.6vh, 1.2rem);
    }

    .package-btn {
        width: clamp(280px, 78%, 350px);
        height: clamp(38px, 4.5vh, 45px);
    }
}

/* Large Laptops (1920px - 2099px) */
@media (min-width: 1920px) and (max-width: 2099px) {
    .tour-packages {
        padding: clamp(4.5rem, 6.5vh, 6.5rem) 0;
    }

    .packages-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .packages-header {
        margin-bottom: clamp(2.2rem, 4.2vh, 3.2rem);
        padding: clamp(1.8rem, 3.2vh, 2.2rem) 0;
    }

    .packages-title {
        font-size: clamp(2rem, 2.6vw, 2.8rem);
        margin-bottom: clamp(1.1rem, 2.1vh, 1.7rem);
    }

    .title-half-circle {
        width: clamp(65px, 8.5vw, 95px);
        height: clamp(65px, 8.5vw, 95px);
        margin-right: clamp(-75px, -8vw, -90px);
    }

    .packages-description {
        font-size: clamp(1.05rem, 1.35vw, 1.45rem);
        max-width: clamp(330px, 30vw, 680px);
        margin-top: clamp(-2.3rem, -3.3vh, -33px);
    }

    .packages-carousel {
        padding: clamp(3.2vh, 5.2vh, 52px) 0;
    }

    .packages-wrapper {
        padding: 0;
        margin-top: clamp(-3.2vh, -5.2vh, -52px);
        margin-bottom: clamp(-3.2vh, -5.2vh, -52px);
        margin-left: 0;
        /* Left-aligned like magical carousel */
        max-width: 100%;
    }

    .packages-arrow {
        width: clamp(47px, 4.7vw, 65px);
        height: clamp(47px, 4.7vw, 65px);
        font-size: clamp(1.5rem, 1.9vw, 1.9rem);
        border: clamp(0.18rem, 0.22vw, 2.2px) solid #ffffff;
    }

    .packages-arrow-left {
        left: clamp(20px, 2vw, 40px);
    }

    .packages-arrow-right {
        right: clamp(20px, 2vw, 40px);
    }

    /* Blog carousel arrows - match packages carousel */
    .blog-packages-container .packages-arrow-left {
        left: clamp(20px, 2vw, 40px);
    }

    .blog-packages-container .packages-arrow-right {
        right: clamp(20px, 2vw, 40px);
    }

    .packages-arrow .arrow-image {
        width: clamp(19px, 2.1vw, 26px);
        height: clamp(19px, 2.1vw, 26px);
    }

    .package-card {
        /* Width removed - Swiper controls sizing via inline styles */
        aspect-ratio: 0.8 / 1;
        border-radius: clamp(2.2rem, 4.2vw, 52px);
    }

    /* Override fixed width for cards inside Swiper - let Swiper control width */
    .packages-wrapper.swiper .swiper-slide .package-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .package-overlay {
        padding: clamp(1.8rem, 2.8vh, 2.3rem) clamp(1.1rem, 1.7vw, 1.8rem) clamp(2.05rem, calc(1.3vh + 1.25rem), 2.65rem);
    }

    .package-category {
        font-size: clamp(1.25rem, 1.55vw, 1.65rem);
        margin-bottom: clamp(0.85rem, 1.55vh, 1.15rem);
    }

    .package-btn {
        width: clamp(270px, 77%, 340px);
        height: clamp(36px, 4.3vh, 43px);
    }
}

/* Standard Laptops (1366px - 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .tour-packages {
        padding: clamp(3.5rem, 5.5vh, 5.5rem) 0;
    }

    .packages-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .packages-header {
        margin-bottom: clamp(2rem, 3.5vh, 3rem);
        padding: clamp(1.5rem, 2.8vh, 2rem) 0;
    }

    .packages-title {
        font-size: clamp(1.9rem, 2.4vw, 2.5rem);
        margin-bottom: clamp(1rem, 1.8vh, 1.5rem);
    }

    .title-half-circle {
        width: clamp(60px, 8vw, 85px);
        height: clamp(60px, 8vw, 85px);
        margin-right: clamp(-70px, -7.5vw, -80px);
    }

    .packages-description {
        font-size: clamp(1rem, 1.3vw, 1.3rem);
        max-width: clamp(300px, 54vw, 650px);
        margin-top: clamp(-2rem, -3vh, -30px);
    }

    .packages-carousel {
        padding: clamp(2vh, 3vh, 30px) 0;
        /* background-color: #0e1655; */
    }

    .packages-wrapper {
        padding: 0;
        margin-top: clamp(-3vh, -4.5vh, -45px);
        margin-bottom: clamp(-3vh, -4.5vh, -45px);
        /* margin-left: 0; */
        margin-left: 2.5%;
        max-width: 100%;
        /* background-color: #b35428; */
    }

    .packages-arrow {
        width: clamp(45px, 4.5vw, 60px);
        height: clamp(45px, 4.5vw, 60px);
        font-size: clamp(1.4rem, 1.8vw, 1.8rem);
        border: clamp(0.15rem, 0.2vw, 2px) solid #ffffff;
    }

    .packages-arrow-left {
        left: clamp(20px, 2vw, 40px);
    }

    .packages-arrow-right {
        right: clamp(20px, 2vw, 40px);
    }

    /* Blog carousel arrows - match packages carousel */
    .blog-packages-container .packages-arrow-left {
        left: clamp(20px, 2vw, 40px);
    }

    .blog-packages-container .packages-arrow-right {
        right: clamp(20px, 2vw, 40px);
    }

    .packages-arrow .arrow-image {
        width: clamp(18px, 2vw, 24px);
        height: clamp(18px, 2vw, 24px);
    }

    .package-card {
        /* Width removed - Swiper controls sizing via inline styles */
        aspect-ratio: 0.8 / 1;
        border-radius: clamp(2rem, 4vw, 50px);
    }

    .package-overlay {
        padding: clamp(1.5rem, 2.5vh, 2rem) clamp(1rem, 1.5vw, 1.5rem) clamp(1.95rem, calc(1.2vh + 1.25rem), 2.45rem);
    }

    .package-category {
        font-size: clamp(1.2rem, 1.5vw, 1.5rem);
        margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
    }

    .package-btn {
        width: clamp(250px, 75%, 300px);
        height: clamp(35px, 4vh, 40px);
    }
}

/* Tablets (768px - 1365px) */
@media (min-width: 768px) and (max-width: 1365px) {
    .tour-packages {
        padding: clamp(3rem, 5vh, 4.5rem) 0;

    }

    .packages-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .packages-header {
        margin-bottom: clamp(1.8rem, 3.2vh, 2.8rem);
        padding: clamp(1.3rem, 2.5vh, 1.8rem) 0;
    }

    .packages-title {
        font-size: clamp(1.7rem, 2.2vw, 2.3rem);
        margin-bottom: clamp(0.9rem, 1.6vh, 1.4rem);
    }

    .title-half-circle {
        width: clamp(55px, 7.5vw, 75px);
        height: clamp(55px, 7.5vw, 75px);
        margin-right: clamp(-65px, -7vw, -75px);
    }

    .packages-description {
        font-size: clamp(0.95rem, 1.2vw, 1.2rem);
        max-width: clamp(280px, 50vw, 600px);
        margin-top: clamp(-1.8rem, -2.8vh, -28px);
    }


    .packages-wrapper {
        padding: 0;
        margin-top: clamp(-4.5vh, -6vh, -60px);
        margin-bottom: clamp(-2.5vh, -4vh, -40px);
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        /* background-color: #b35428; */
    }

    .packages-arrow {
        width: clamp(38px, 4vw, 52px);
        height: clamp(38px, 4vw, 52px);
        font-size: clamp(1.2rem, 1.6vw, 1.6rem);
        border: clamp(0.12rem, 0.18vw, 1.8px) solid #ffffff;
        z-index: 1000;
    }

    .packages-arrow-left {
        left: clamp(15px, 1.5vw, 30px);
    }

    .packages-arrow-right {
        right: clamp(15px, 1.5vw, 30px);
    }

    /* Blog carousel arrows - match packages carousel */
    .blog-packages-container .packages-arrow-left {
        left: clamp(15px, 1.5vw, 30px);
    }

    .blog-packages-container .packages-arrow-right {
        right: clamp(15px, 1.5vw, 30px);
    }

    .packages-arrow .arrow-image {
        width: clamp(16px, 1.8vw, 22px);
        height: clamp(16px, 1.8vw, 22px);
    }

    .package-card {
        /* Width removed - Swiper controls sizing via inline styles */
        aspect-ratio: 0.8 / 1;
        border-radius: clamp(1.8rem, 3.5vw, 45px);
    }

    /* Override fixed width for cards inside Swiper - let Swiper control width */
    .packages-wrapper.swiper .swiper-slide .package-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .package-overlay {
        padding: clamp(1.3rem, 2.2vh, 1.8rem) clamp(0.9rem, 1.3vw, 1.3rem) clamp(1.85rem, calc(1.1vh + 1.25rem), 2.25rem);
    }

    .package-category {
        font-size: clamp(1.1rem, 1.4vw, 1.4rem);
        margin-bottom: clamp(0.7rem, 1.3vh, 0.9rem);
    }

    .package-btn {
        width: clamp(220px, 70%, 280px);
        height: clamp(32px, 3.8vh, 38px);
    }
}

/* Mobile Devices (below 768px) */
@media (max-width: 767px) {
    .tour-packages {
        padding: 0 0;
        padding-bottom: 10px;
        /* background-color: #259b3f; */
        min-height: 35vh;
        /* Reduced height for more compact layout */
        max-height: none;
    }

    .packages-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .packages-header {
        margin-bottom: clamp(1.5rem, 2.8vh, 2.5rem);
        padding: clamp(1rem, 2vh, 1.5rem) 0;
    }

    .packages-title {
        font-size: clamp(1.5rem, 2vw, 2rem);
        margin-bottom: clamp(0.8rem, 1.5vh, 1.2rem);
    }

    .title-half-circle {
        width: clamp(75px, 7.5vw, 85px);
        height: clamp(75px, 7.5vw, 85px);
        margin-right: clamp(-90px, -9.5vw, -100px);
        margin-bottom: clamp(50px, 5.5vh, 55px);
    }

    .packages-description {
        font-size: clamp(0.9rem, 1.1vw, 1.1rem);
        max-width: clamp(250px, 85vw, 550px);
        margin-top: clamp(-3.5rem, -4.5vh, -45px);
    }

    .packages-carousel {
        padding: clamp(2vh, 3.5vh, 35px) 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        min-height: 30vh;
        margin-top: -8vh !important;
        /* Reduced height for more compact layout */
    }

    .packages-wrapper {
        padding: 0;
        margin: 0;
        margin-top: -25vh !important;
        margin-bottom: 25vh;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        overflow-y: visible !important;
        position: relative;
        min-height: 25vh;
        max-height: 55vh;
        /* Reduced height for more compact layout */
    }

    .packages-wrapper.swiper {
        overflow: hidden !important;
        overflow-y: visible !important;
    }

    .packages-grid {
        display: flex;
        gap: 0;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        margin: 0;
        margin-left: 0;
        /* background-color: #49b328; */
    }

    .packages-grid.swiper-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
        /* Swiper handles spacing with spaceBetween */
        gap: 0;
    }

    .packages-arrow {
        width: clamp(42px, 4.5vw, 55px);
        height: clamp(42px, 4.5vw, 55px);
        font-size: clamp(1.4rem, 1.6vw, 1.6rem);
        background-color: #00000000;
        border: clamp(0.1rem, 0.15vw, 1.5px) solid #ffffff;
        color: #ffffff;
        z-index: 1000;
    }

    .packages-arrow-left {
        left: 5px;
    }

    .packages-arrow-right {
        right: 5px;
    }

    /* Blog carousel arrows - match packages carousel */
    .blog-packages-container .packages-arrow-left {
        left: 5px;
    }

    .blog-packages-container .packages-arrow-right {
        right: 5px;
    }

    .packages-arrow .arrow-image {
        width: clamp(14px, 1.6vw, 20px);
        height: clamp(14px, 1.6vw, 20px);
    }

    .package-card {
        /* Let Swiper control width and height - remove fixed dimensions */
        border-radius: clamp(1.5rem, 3vw, 40px);
        flex-shrink: 0;
        /* Swiper will set width via inline styles based on slidesPerView: 1 */
    }

    .packages-wrapper.swiper .swiper-slide {
        /* Let Swiper control width and height - remove fixed dimensions */
        display: flex !important;
        /* Swiper will calculate width based on slidesPerView: 1 and container size */
        flex-shrink: 0 !important;
    }

    .packages-wrapper.swiper .swiper-slide .package-card {
        /* Swiper controls slide dimensions - card should fit within container */
        width: 100% !important;
        height: auto !important;
        max-height: 18vh !important;
        /* Reduced height to prevent clipping */
        /* Remove aspect-ratio constraint to let Swiper control dimensions */
        aspect-ratio: unset !important;
        max-width: none !important;
        /* Ensure cards don't exceed container bounds */
        overflow: hidden;
    }

    /* Remove scaling animation from selected card on mobile */
    .package-card.selected {
        transform: none !important;
        /* Remove scale(1.15) translateY(-15px) on mobile */
        animation: none !important;
        /* Remove selectedPulse animation on mobile */
    }

    /* Remove box-shadow from package cards on mobile */
    .package-card {
        box-shadow: none !important;
    }

    .package-card.selected {
        box-shadow: none !important;
    }

    .package-card.featured.selected {
        box-shadow: none !important;
    }

    .package-card.featured.selected {
        transform: none !important;
        /* Remove scale(1.15) translateY(-15px) on mobile */
        animation: none !important;
        /* Remove selectedPulse animation on mobile */
    }

    .package-card.selected .package-image {
        transform: none !important;
        /* Remove scale(1.02) on mobile */
    }

    /* Mobile: Override overflow for proper Swiper viewport */
    .packages-wrapper.swiper {
        overflow: hidden !important;
        overflow-y: visible !important;
        width: 80% !important;
        max-width: 80% !important;
        margin: 0 auto !important;
        /* Reduced container width to make cards smaller */
        box-sizing: border-box !important;
        padding: .5rem .5rem !important;
        /* Add padding to create space around cards */
        min-height: 25vh !important;
        max-height: 50vh !important;
        /* Reduced height to match smaller cards with padding */
    }

    /* Allow Swiper to manage slide visibility - ensure duplicates are visible for looping */
    .packages-wrapper.swiper .swiper-slide-duplicate {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }

    /* Remove rule that hides non-visible slides - let Swiper control visibility completely */
    /* This rule was interfering with Swiper's slide detection for loop mode */
    /* .packages-wrapper.swiper .swiper-slide:not(.swiper-slide-visible):not(.swiper-slide-duplicate) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    } */

    .packages-wrapper.swiper .swiper-slide.swiper-slide-visible {
        opacity: 1;
        visibility: visible;
    }

    .package-overlay {
        padding: clamp(1rem, 1.8vh, 1.5rem) clamp(0.8rem, 1.2vw, 1.2rem) clamp(1.85rem, calc(1vh + 1.25rem), 2.25rem);
    }

    .package-category {
        font-size: clamp(1rem, 1.3vw, 1.3rem);
        margin-bottom: clamp(0.6rem, 1.2vh, 0.8rem);
    }

    .package-btn {
        width: clamp(200px, 65%, 260px);
        height: clamp(30px, 3.5vh, 36px);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: clamp(0.5rem, 0.8vh, 1rem);
        margin-bottom: clamp(0.5rem, 0.8vh, 1rem);
        padding: 0.5rem 1rem;
        font-size: clamp(0.9rem, 1.2vw, 1.2rem);






    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .tour-packages {
        padding: 0 0;
        padding-bottom: 10px;
        /* background-color: #cf4124; */
        max-height: 20vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-map-image {
        max-width: 600px;
    }

    .hero-content {
        max-width: 85%;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .book-tour-btn {
        width: 160px;
        height: 32px;
        font-size: 16px;
    }

    /* .video-blog-background-wrapper::before {
        top: 20%;
    } */

    /* .card {
        min-width: 280px;
    } */

    .section-title {
        font-size: 2rem;
    }

    .packages-grid {
        /* grid-template-columns: 1fr; */

        grid-template-columns: 1fr;
        gap: 0;
        /* background-color: #c83535; */
        justify-content: center;
        align-items: center;
        width: 100%;
        /* height: 100%; */
        margin-left: 170vw !important;

    }



    .magical-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        min-height: auto;
    }

    .magical-text {
        align-self: center;
        justify-content: center;
    }

    /* .activities-wrapper {
        flex-direction: column;
    } */

    .activity-card.main,
    .activity-card.side {
        flex: 1;
        height: clamp(20rem, 35vh, 300px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2%;
    }
}

@media (max-width: 480px) {
    .tour-packages {
        padding: 0 0;
        padding-bottom: 10px;
        /* background-color: #2057f0; */
        max-height: 100vh;
        min-height: 90vh;
    }

    .hero h1 {

        font-size: 2rem;
    }

    .hero-map-image {
        max-width: 500px;
    }

    .hero-content {
        max-width: 90%;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .book-tour-btn {
        width: 140px;
        height: 30px;
        font-size: 14px;
    }

    .video-section {
        padding: 0 0;
        min-height: 45vh;
        margin-top: 0;
        /* background-color: #1f7318; */
        /* background-color: #2b38b5; */
    }

    .video-blog-background-wrapper::before {
        z-index: -1;




    }

    .container {
        padding: 0 1rem;
    }

    .packages-title,

    .discover-title {
        font-size: 25px;
    }

    .discover-description {
        font-size: 13px;
    }


    /* .card {
        min-width: 220px;
    } */

    /* Activity section mobile refinements for smaller screens */
    .card-icon {
        width: 2.2rem;
        height: 2.2rem;
        bottom: 0.75rem;
        left: 0.75rem;
        font-size: 1.1rem;
    }

    .activity-content h3 {
        font-size: 25px;
    }

    .activity-content p {
        font-size: 13px;
    }

    .carousel-nav {
        width: clamp(2.5rem, 7vw, 50px);
        height: clamp(2.5rem, 7vw, 50px);
        z-index: 100;
    }
}

.activity-card .activity-image,
.activity-card .activity-image.cropped-image {
    width: 100%;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: none !important;
    transition: none !important;
}

.activity-card.main .activity-image,
.activity-card.is-next .activity-image {
    transition: none !important;
}

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

.activity-card.adjacent-card {
    flex: 0 0 45vw;
    max-width: 45vw;
    margin-left: -20vw;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.activity-card.adjacent-card.folded .activity-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: row;
    align-items: flex-end;
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 1rem;
}

.activity-card.adjacent-card.folded .activity-content .activity-text-content {
    flex: 0 1 auto;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0.75rem;
    max-width: calc(100% - 4rem);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.activity-card.adjacent-card.folded .activity-content h3,
.activity-card.adjacent-card.folded .activity-content p {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}