/*
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: 1.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.0') format('woff2'),
         url('./assets/fonts/BebasNeue-Regular.woff?v=1.2.0') format('woff'),
         url('./assets/fonts/BebasNeue-Regular.ttf?v=1.2.0') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Global letter-spacing */
* {
    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: var(--dark-blue, #2c3e50);
}

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

html {
    scroll-behavior: smooth;
}

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 {
    color: rgba(255, 255, 255, 0.856);
    text-decoration: none;
    font-weight: lighter;
    font-size: large;
    transition: color 0.3s ease;
    letter-spacing: 1;
}

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


.book-now-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: normal;
    transition: all 0.3s ease;
}

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

/* Shared Background Container */
.shared-background-container {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -150px;
    padding-top: 100px;
    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-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

/* Single post meta styling */
.single-meta {
    display: flex;
    gap: 1rem;
    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: 1rem;
    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 {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.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-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: 360px;
    /* left: 50%; */
    /* transform: translateX(20%); */
    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: var(--light-bg-color, #f8f9fa);
    padding: var(--section-padding, 4rem) 0;
    position: relative;
}

/* Blog section specific background */
.main-content {
    background: transparent linear-gradient(180deg, #FFFFFF 0%, #A3B8C5 15%,#A3B8C5 100%) 0% 0% no-repeat padding-box;
}

/* Blog section with background image */
.main-content[style*="background:"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.main-content[style*="background:"] .section-header {
    position: relative;
    z-index: 2;
}

.main-content[style*="background:"] .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-content[style*="background:"] .section-subtitle {
    font-family: var(--section-subtitle-font-family);
    color: #e4e4e4f8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* CTA section inside blog section */
.main-content[style*="background:"] .cta-section {
    position: relative;
    background: transparent !important;
    margin-top: 2rem;
}

/* Ensure CTA content is visible over blog background */
.main-content[style*="background:"] .cta-section .cta-container {
    position: relative;
    z-index: 2;
}

.main-content[style*="background:"] .cta-section .cta-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-content[style*="background:"] .cta-section .cta-btn {
    /* background: #FF8C00 0% 0% no-repeat padding-box;
    color: #000000; */
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(10px);
}

.main-content[style*="background:"] .cta-section .cta-btn:hover {
    transform: translateY(-2px);
}

/* Ensure blog cards are visible over background image */
.main-content[style*="background:"] .cards-container {
    position: relative;
    z-index: 2;
}

.main-content[style*="background:"] .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.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: 7.5rem;
    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-left: 50px;
}

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

.section-subtitle {
    font-family: var(--section-subtitle-font-family);
    font-size: 1.1rem;
    color: #f0f0f0;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Carousel */
.cards-container {
    position: relative;
    overflow: visible;
    margin: 2rem 0;
    padding: 20px 0;
}

.cards-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.card {
    width: 335px;
    height: 463px;
    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.3s ease;
    position: relative;
}

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

.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 {
    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: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    text-decoration: none;
}

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

/* Navigation Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot.active {
    background: #ef4444;
}

.carousel-arrow {
    background: white;
    border: 2px solid #ddd;
    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: #333;
}

.carousel-arrow:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* 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: 4rem 0;
    color: white;
    overflow: visible;
    position: relative;
    min-height: 100vh;
}

/* Tours section now inside shared background container */

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

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

/* Tours background image container for bottom half with gradient fallback */
.tour-packages::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    right: -100px;
    bottom: -100%;
    background: var(--tour-section-bg-image), linear-gradient(to bottom, #A3B8C5 0%, #7A9BB3 50%, #5A7A8A 100%);
    background-size: cover, cover;
    background-position: center top, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, scroll;
    z-index: -1;
    margin-top: 2rem;
}

.packages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.packages-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 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: 2.5rem;
    font-weight: normal;
    margin-bottom: 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: 75px;
    height: 75px;
    margin-right: -75px;
    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;
}

.magical-title-line {
    display: flex;
    align-items: center;
    position: relative;
}

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

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

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

/* 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: var(--description-font-family);
    color: var(--description-color);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.packages-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 50px 0;
    overflow: visible;
    z-index: 2;
}

.packages-wrapper {
    position: relative;
    overflow: visible;
    flex: 1;
    padding: 50px 0;
    margin-top: -50px;
    margin-bottom: -50px;
    margin-right: 220px;
}

.packages-grid {
    display: flex;
    gap: 0rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content;
}

.packages-arrow {
    background: white;
    border: 2px solid #ddd;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 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: 10;
}

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

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

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

/* Custom arrow images */
.packages-arrow .arrow-image {
    width: 24px;
    height: 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: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
    width: 422px;
    height: 529px;
    flex-shrink: 0;
    transform: scale(1);
    display: flex;
    flex-direction: column;
}

.package-card:hover:not(.selected) {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.package-card.selected {
    transform: scale(1.15) translateY(-15px);
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 3px solid #8cc63f;
    background: linear-gradient(135deg, #8bc63f15, #79b83a10);
    animation: selectedPulse 2s ease-in-out infinite;
}

@keyframes selectedPulse {
    0%, 100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(140, 198, 63, 0.7);
    }
    50% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(140, 198, 63, 0);
    }
}

.package-card.featured {
    transform: scale(1.05);
}
.package-card.featured.selected {
    transform: scale(1.15) translateY(-15px);
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 3px solid #8cc63f;
    background: linear-gradient(135deg, #8bc63f15, #79b83a10);
    animation: selectedPulse 2s ease-in-out infinite;
}

.package-image {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    flex: 1;
}

.package-card.selected .package-image {
    transform: scale(1.02);
}

.package-logo {
    display: none;
}

.package-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: none;
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.package-category {
    display: block;
    margin-bottom: 1rem;
    font-size: 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 {
    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-size: 0.9rem;
    font-weight: normal;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    opacity: 0.9;
}

.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:300px;
    height: 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;
}

.magical-container {
    max-width: 2500px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-left: 30px;
}

.magical-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

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

.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: var(--description-font-family);
    color: var(--description-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.magical-controls {
    display: flex;
    gap: 1rem;
}

.magical-arrow {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
}

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

.magical-cards-container {
    position: relative;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    height: 750px;
    padding: 30px 0;
    margin-left: 0;
    margin-right: 0;
    mask: linear-gradient(to right, transparent 0px, transparent 200px, black 200px, black 100%);
    -webkit-mask: linear-gradient(to right, transparent 0px, transparent 200px, black 200px, black 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}

.magical-cards {
    display: flex;
    gap: .5rem;
    align-items: center;
    height: 100%;
    transition: transform 0.5s ease;
    width: max-content;
    margin-left: 200px;
    padding-left: 0;
}

.magical-card {
    background: white;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
    cursor: pointer;
    width: 335.25px;
    height: 693px;
    flex-shrink: 0;
}

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

.magical-card:hover .magical-card-image {
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.54), 0 10px 10px rgba(0, 0, 0, 0.3), inset 0 3px 15px rgba(0, 0, 0, 0.15);
}

.magical-card-image {
    height: 693px;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.485), 0 5px 5px rgba(0, 0, 0, 0.2), inset 10px 20px 80px 20px  rgba(0, 0, 0, 0.5);
}

.magical-category {
    position: absolute;
    bottom: 10rem;
    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(204, 204, 204);
}

.magical-card-overlay p {
    margin-bottom: 3rem;
    line-height: 1.5;
    font-size: 1rem;
}

.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;
    width: fit-content;
}

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

/* Discover Section */
.discover-section {
    position: relative;
    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(12px);
    transform: scale(1.1);
}

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

.discover-container {
    background: #7a7a7a4d 0% 0% no-repeat padding-box;
    border-radius: 50px;
    padding-top: 1rem;
    padding-bottom: 3rem;   
    padding-left: 8rem;  
    padding-right: 8rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 1;
    overflow: hidden;
    width: 1325px; /* 1727px reduced by 25% */
    height: 700px; /* 895px reduced by 25% */
    margin: 0 auto; /* Center horizontally */
    position: relative; /* For absolute positioning of nav buttons */
}

.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.5rem;
    line-height: 1.2;
}

.discover-description {
    font-family: var(--description-font-family);
    color: var(--description-color);
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.activities-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    width: 100%;
    height: 450px; /* Fixed height for absolute positioned cards */
    margin: 0 auto;
    overflow: hidden; /* Hide cards that extend beyond bounds */
}


.carousel-nav {
    background: transparent;
    border: 3px solid white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2.5rem;
    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);
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 30;
}

.carousel-nav.left {
    left: 60px;
}

.carousel-nav.right {
    right: 60px;
}

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

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

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

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

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

.activities-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    z-index: 20;
    width: max-content;
    margin: 0 auto;
    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);
}

/* New smooth folding carousel styles */
.activities-wrapper {
    position: relative;
    height: 450px; /* Fixed height for absolute positioned cards */
    overflow: hidden;
    will-change: transform; /* Optimize for smooth animations */
}

.activity-card {
    border-radius: 25px;
    overflow: hidden;
    position: absolute; /* Absolute positioning for smooth animation */
    top: 0;
    left: 0;
    z-index: 10;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform, width, height; /* Optimize for smooth animations */
}

/* Smooth transition for repositioning */
.activity-card.repositioning {
    transition: none !important; /* Instant repositioning */
}


/* .activity-card:hover {
    transform: scale(1.02);
} */

.activity-card.main {
    width: 615px !important;
    height: 450px !important;
    background: transparent;
    border-radius: 72px;
    opacity: 1;
    box-shadow: inset 0px -103px 39px #00000080, 0px 3px 6px #00000029;
    flex: 0 0 615px !important; /* flex-grow: 0, flex-shrink: 0, flex-basis: 550px */
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.activities-wrapper.transitioning .activity-card.main {
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.activity-card.main.open-right {
    transform: translateX(0);
}

.activity-card.main.open-left {
    transform: translateX(0);
}

@keyframes slideInLeft {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(0); }
}

@keyframes slideInRight {
    0% { transform: translateX(50px); }
    100% { transform: translateX(0); }
}

/* Prevent side cards from getting animations */
.activity-card.side-left.open-right,
.activity-card.side-left.open-left,
.activity-card.side-right.open-right,
.activity-card.side-right.open-left,
.activity-card.folded.open-right,
.activity-card.folded.open-left {
    animation: none !important;
}

@keyframes expandFromLeft {
    0% {
        width: 80px;
        height: 450px;
        transform: translateX(-50px);
        opacity: 0.3;
    }
    30% {
        width: 200px;
        height: 450px;
        transform: translateX(-20px);
        opacity: 0.5;
    }
    60% {
        width: 550px;
        height: 450px;
        transform: translateX(-10px);
        opacity: 0.7;
    }
    100% {
        width: 615px;
        height: 450px;
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes expandFromRight {
    0% {
        width: 80px;
        height: 450px;
        transform: translateX(100px);
        opacity: 0.3;
    }
    30% {
        width: 200px;
        height: 450px;
        transform: translateX(40px);
        opacity: 0.5;
    }
    60% {
        width: 550px;
        height: 450px;
        transform: translateX(20px);
        opacity: 0.7;
    }
    100% {
        width: 615px;
        height: 450px;
        transform: translateX(0);
        opacity: 1;
    }
}

.activity-card.side-left,
.activity-card.side-right {
    width: 96px !important;
    height: 507.6px !important; /* 564px reduced by 10% */
    background: transparent;
    border-radius: 88px;
    opacity: 1;
    flex: 0.5;
    transform: none !important;
    animation: none !important;
}

.activity-card.folded {
    width: 80px !important;
    height: 450px !important;
    opacity: 1;
    border-radius: 50px;
    min-width: 80px !important;
    max-width: 80px !important;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

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

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

/* 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(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.activity-card.folded .activity-content p {
    opacity: 0;
    transform: translateX(20px);
    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: 47px;
    height: 47px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px 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: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    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-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(20px);
}

.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(20px);
}

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

.activity-icon.main-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px 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: 1rem;
    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: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px 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: 47px;
    height: 47px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px 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: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
}

/* Video Section */
.video-section {
    background: var(--light-blue, #87CEEB); /* Light blue background like in the image */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 L100,20 L0,20 Z" fill="white" opacity="0.1"/></svg>') repeat-x;
    background-size: 100% 50px;
    z-index: 1;
}

.video-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,0 Q25,20 50,10 T100,10 L100,0 Z" fill="white" opacity="0.1"/></svg>') repeat-x;
    background-size: 100% 50px;
    z-index: 1;
}

.video-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 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: 49px;
    font-weight: normal;
    line-height: 59px;
    letter-spacing: var(--letter-spacing, 0);
    color: #FFFFFF;
    opacity: 1;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 4;
}

.video-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: #ef4444;
    border-radius: 50%;
}

.video-description {
    font-family: var(--description-font-family);
    color: var(--description-color);
    font: normal normal 300 26px/30px var(--description-font-family);
    letter-spacing: var(--letter-spacing, 0);
    opacity: 1;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 880px;
    position: relative;
    z-index: 4;
}

.video-card {
    width: 1091px; /* 1455px reduced by 25% */
    height: 530px; /* 706px reduced by 25% */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 197px; /* 263px reduced by 25% */
    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: 4rem;
    color: white;
    margin-left: 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 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: var(--dark-gray, #525759);
    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: 90%;
        max-width: 727px;
        height: auto;
        min-height: 146px;
        padding: 1.2rem 1rem;
        border-radius: 114px;
    }
    
    .cta-title {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.7rem;
    }
    
    .cta-btn {
        width: 100%;
        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: 1rem;
}

.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);
}

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

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

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

    .card {
        min-width: 280px;
    }

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

    .packages-grid {
        grid-template-columns: 1fr;
    }

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

    .magical-cards {
        flex-direction: column;
    }

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

    .activity-card.main,
    .activity-card.side {
        flex: 1;
        height: 300px;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .card {
        min-width: 250px;
    }

    .container {
        padding: 0 1rem;
    }

    .packages-title,
    .magical-title,
    .discover-title {
        font-size: 2rem;
    }
}








