/**
 * About Us Page - Custom Styles
 * WordPress-ready CSS with _x namespace to prevent theme conflicts
 */

:root {
    /* Unified Color System */
    --_x-color-primary: #D97706;
    --_x-color-secondary: #F59E0B;
    --_x-color-tertiary: #FBBF24;
    --_x-color-dark: #1F2937;
    --_x-color-gray: #6B7280;
    --_x-color-light-gray: #F3F4F6;
    --_x-color-sand: #FDF8F2;
    --_x-color-white: #FFFFFF;
    --_x-color-border: #E5E7EB;

    /* Unified Shadows */
    --_x-shadow-soft: 0 2px 4px rgba(0, 0, 0, 0.1);
    --_x-shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.12);
    --_x-shadow-large: 0 8px 16px rgba(0, 0, 0, 0.15);

    /* Unified Spacing */
    --_x-spacing-xs: 0.5rem;
    --_x-spacing-sm: 1rem;
    --_x-spacing-md: 1.5rem;
    --_x-spacing-lg: 2rem;
    --_x-spacing-xl: 3rem;
    --_x-spacing-2xl: 4rem;
    --_x-spacing-3xl: 6rem;

    /* Unified Border Radius */
    --_x-radius-sm: 8px;
    --_x-radius-md: 12px;
    --_x-radius-lg: 16px;
    --_x-radius-xl: 20px;

    /* Unified Typography */
    --_x-font-size-xs: 0.75rem;
    --_x-font-size-sm: 0.875rem;
    --_x-font-size-base: 1rem;
    --_x-font-size-lg: 1.125rem;
    --_x-font-size-xl: 1.25rem;
    --_x-font-size-2xl: 1.5rem;
    --_x-font-size-3xl: 1.875rem;
    --_x-font-size-4xl: 2.25rem;
    --_x-font-size-5xl: 3rem;
}

/* Unified Base Styles */
* {
    scroll-behavior: smooth;
}

/* FORCE ABOUT US PAGE STYLES - OVERRIDE WORDPRESS THEME */
body._x-about-us-page,
body.page._x-about-us-page,
body ._x-about-us-page,
._x-about-us-page {
    font-family: 'Lato', sans-serif !important;
    background-color: var(--_x-color-sand) !important;
    color: var(--_x-color-dark) !important;
    line-height: 1.6 !important;
    overflow-x: hidden !important;
    font-size: var(--_x-font-size-base) !important;
}

/* FORCE ALL TEXT ELEMENTS TO BE VISIBLE */
body ._x-about-us-page *,
body.page ._x-about-us-page *,
._x-about-us-page * {
    color: inherit !important;
}

/* FORCE TESTIMONIAL SECTION TEXT VISIBILITY */
body ._x-about-us-page .testimonials-section *,
body.page ._x-about-us-page .testimonials-section *,
._x-about-us-page .testimonials-section * {
    color: #1F2937 !important;
}

body ._x-about-us-page .testimonials-section p,
body.page ._x-about-us-page .testimonials-section p,
._x-about-us-page .testimonials-section p {
    color: #6B7280 !important;
}

/* Unified Typography */
._x-h1, ._x-h2, ._x-h3, ._x-h4, ._x-font-display {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--_x-color-dark);
}

._x-h1 { font-size: var(--_x-font-size-5xl); }
._x-h2 { font-size: var(--_x-font-size-4xl); }
._x-h3 { font-size: var(--_x-font-size-3xl); }
._x-h4 { font-size: var(--_x-font-size-2xl); }

._x-font-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

._x-p {
    color: var(--_x-color-gray);
    line-height: 1.6;
    margin-bottom: var(--_x-spacing-md);
}

._x-text-large {
    font-size: var(--_x-font-size-lg);
}

._x-text-small {
    font-size: var(--_x-font-size-sm);
}

/* Unified Text Styles */
._x-text-gradient {
    color: var(--_x-color-primary);
}

._x-text-primary {
    color: var(--_x-color-primary);
}

._x-text-secondary {
    color: var(--_x-color-secondary);
}

._x-text-muted {
    color: var(--_x-color-gray);
}

/* Unified Button System */
._x-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--_x-spacing-sm) var(--_x-spacing-lg);
    border-radius: var(--_x-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: var(--_x-font-size-base);
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

._x-btn-primary {
    background-color: var(--_x-color-primary);
    color: var(--_x-color-white);
    box-shadow: var(--_x-shadow-soft);
}

._x-btn-primary:hover {
    background-color: #B45309;
    transform: translateY(-1px);
    box-shadow: var(--_x-shadow-medium);
    color: var(--_x-color-white);
}

/* Enhanced CTA Button Styling for About Us Page */
._x-about-us-page ._x-btn-secondary,
._x-btn-secondary {
    border: 3px solid white !important;
    color: #D97706 !important;
    background: white !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 1.25rem 3rem !important;
    border-radius: 12px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(0) !important;
    min-width: 280px !important;
}

._x-about-us-page ._x-btn-secondary:hover,
._x-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25) !important;
}

/* Add shine effect to CTA button */
._x-about-us-page ._x-btn-secondary::before,
._x-btn-secondary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

._x-about-us-page ._x-btn-secondary:hover::before,
._x-btn-secondary:hover::before {
    left: 100% !important;
}

/* Focus states for accessibility */
._x-about-us-page ._x-btn-secondary:focus,
._x-btn-secondary:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5) !important;
    outline-offset: 2px !important;
}

._x-btn-large {
    padding: 1.5rem 3.5rem !important;
    font-size: 20px !important;
    min-width: 280px !important;
    margin-top: 1rem !important;
}

/* Unified Section Styles */
._x-section {
    padding: var(--_x-spacing-3xl) 0;
}

._x-section-header {
    text-align: center;
    margin-bottom: var(--_x-spacing-2xl);
}

._x-section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--_x-color-primary);
    font-size: var(--_x-font-size-sm);
    margin-bottom: var(--_x-spacing-sm);
    display: block;
}

._x-section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--_x-font-size-4xl);
    color: var(--_x-color-dark);
    margin-bottom: var(--_x-spacing-md);
    line-height: 1.2;
}

._x-section-description {
    font-size: var(--_x-font-size-lg);
    color: var(--_x-color-gray);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Unified Card System */
._x-card {
    background: var(--_x-color-white);
    border-radius: var(--_x-radius-md);
    box-shadow: var(--_x-shadow-soft);
    border: 1px solid var(--_x-color-border);
    transition: all 0.3s ease;
    overflow: hidden;
}

._x-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--_x-shadow-medium);
}

._x-card-padding {
    padding: var(--_x-spacing-lg);
}

._x-card-padding-large {
    padding: var(--_x-spacing-xl);
}

/* Clean Statistics Section - Single Background Color */
._x-about-us-page section[class*="statistics"],
._x-about-us-page .statistics-section,
section[class*="statistics"] {
    background: #D97706 !important;
    background-image: none !important;
    background-attachment: initial !important;
}

/* Remove any background patterns or gradients */
._x-about-us-page section[class*="statistics"] *,
._x-about-us-page .statistics-section *,
section[class*="statistics"] * {
    background-image: none !important;
}

/* Clean Statistics Items */
._x-stat-item {
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

._x-stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 768px) {
    ._x-stat-item {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
}

/* Simplified Pattern Background */
._x-pattern-bg {
    background-color: var(--_x-color-light-gray);
}

/* Enhanced Vehicle showcase styling */
._x-vehicle-main-image {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    box-shadow: var(--_x-shadow-medium);
}

._x-vehicle-thumbnail {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

._x-vehicle-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(217, 119, 6, 0.8), rgba(245, 158, 11, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

._x-vehicle-thumbnail:hover::before {
    opacity: 1;
}

._x-vehicle-thumbnail._x-active {
    border-color: var(--_x-color-primary);
    transform: scale(1.05);
    box-shadow: var(--_x-shadow-medium);
}

._x-vehicle-thumbnail:hover {
    transform: scale(1.08);
    border-color: var(--_x-color-secondary);
    box-shadow: var(--_x-shadow-large);
}

/* Simplified Play button styling */
._x-play-button-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 20px auto;
}

._x-play-button {
    width: 60px;
    height: 60px;
    background-color: var(--_x-color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--_x-shadow-soft);
    position: relative;
    z-index: 2;
}

._x-play-button:hover {
    transform: scale(1.05);
    box-shadow: var(--_x-shadow-medium);
}

._x-play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
}

._x-play-button-wave {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--_x-color-primary);
    border-radius: 50%;
    opacity: 0.7;
    animation: _x-wave 2s ease-out infinite;
}

@keyframes _x-wave {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Clean Testimonial Section - Redesigned */
._x-about-us-page .testimonials-section,
._x-about-us-page section[class*="testimonial"] {
    background: #FDF8F2 !important;
    position: relative !important;
    padding: 6rem 0 !important;
}

/* Clean Testimonial Slider */
._x-testimonial-slider {
    overflow: hidden !important;
    border-radius: 16px !important;
    background: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #F3F4F6 !important;
    position: relative !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

._x-testimonial-track {
    display: flex !important;
    transition: transform 0.5s ease-in-out !important;
}

._x-testimonial-slide {
    min-width: 100% !important;
    flex-shrink: 0 !important;
    padding: 4rem 3rem !important;
    position: relative !important;
    text-align: center !important;
}

/* FORCE TESTIMONIAL TEXT COLORS - OVERRIDE WORDPRESS THEME */
body ._x-about-us-page ._x-testimonial-slide p,
body.page ._x-testimonial-slide p,
body ._x-testimonial-slide p,
._x-about-us-page ._x-testimonial-slide p,
._x-testimonial-slide p,
.testimonial-quote {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    font-style: italic !important;
    color: #6B7280 !important;
    margin-bottom: 3rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    position: relative !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* FORCE AUTHOR NAME COLORS */
body ._x-about-us-page ._x-testimonial-slide h4,
body.page ._x-testimonial-slide h4,
body ._x-testimonial-slide h4,
._x-about-us-page ._x-testimonial-slide h4,
._x-testimonial-slide h4 {
    color: #1F2937 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

/* FORCE LOCATION TEXT COLORS */
body ._x-about-us-page ._x-testimonial-slide p:last-child,
body.page ._x-testimonial-slide .text-gray-600,
body ._x-testimonial-slide .text-gray-600,
._x-about-us-page ._x-testimonial-slide .text-gray-600,
._x-testimonial-slide .text-gray-600 {
    color: #9CA3AF !important;
    font-size: 0.875rem !important;
    font-family: 'Inter', sans-serif !important;
}

/* Remove quote marks for clean look */
._x-testimonial-slide p::before,
._x-testimonial-slide p::after {
    display: none !important;
}

/* NUCLEAR OPTION - FORCE ALL TESTIMONIAL TEXT TO BE VISIBLE */
html body ._x-about-us-page ._x-testimonial-slide *,
html body.page ._x-testimonial-slide *,
html body ._x-testimonial-slide *,
html ._x-testimonial-slide *,
._x-testimonial-slide * {
    opacity: 1 !important;
    visibility: visible !important;
}

html body ._x-about-us-page ._x-testimonial-slide p,
html body.page ._x-testimonial-slide p,
html body ._x-testimonial-slide p,
html ._x-testimonial-slide p,
._x-testimonial-slide p {
    color: #6B7280 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body ._x-about-us-page ._x-testimonial-slide h4,
html body.page ._x-testimonial-slide h4,
html body ._x-testimonial-slide h4,
html ._x-testimonial-slide h4,
._x-testimonial-slide h4 {
    color: #1F2937 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Override any WordPress theme color inheritance */
.testimonials-section,
.testimonials-section *,
._x-testimonial-slider,
._x-testimonial-slider *,
._x-testimonial-slide,
._x-testimonial-slide * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Modern Hero Section Styles - Premium Design */

/* Modern Button Styles */
._x-modern-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

._x-modern-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

._x-modern-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

/* Primary Button - Compact Solid Orange */
._x-btn-primary {
    background: #D97706 !important;
    color: white !important;
    box-shadow: 0 3px 10px 0 rgba(217, 119, 6, 0.25);
    min-width: 140px;
    justify-content: center;
}

._x-btn-primary:hover {
    background: #B45309 !important;
    box-shadow: 0 4px 15px 0 rgba(217, 119, 6, 0.35);
    color: white !important;
    transform: translateY(-2px);
}

._x-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px 0 rgba(217, 119, 6, 0.25);
    color: white !important;
}

._x-btn-primary:focus {
    color: white !important;
}

._x-btn-primary:visited {
    color: white !important;
}

._x-btn-primary svg {
    color: white !important;
    stroke: white !important;
}

/* Force white text for all states */
._x-btn-primary,
._x-btn-primary:hover,
._x-btn-primary:active,
._x-btn-primary:focus,
._x-btn-primary:visited {
    color: white !important;
}

/* Secondary Button - Compact Ghost Style */
._x-btn-secondary {
    background: transparent !important;
    color: #D97706 !important;
    border-color: #D97706 !important;
    min-width: 140px;
    justify-content: center;
}

._x-btn-secondary:hover {
    background: #D97706 !important;
    color: white !important;
    border-color: #D97706 !important;
    box-shadow: 0 3px 10px 0 rgba(217, 119, 6, 0.2);
    transform: translateY(-2px);
}

/* Responsive Typography */
@media (max-width: 768px) {
    ._x-modern-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate="hero-text"] > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

[data-animate="hero-text"] > *:nth-child(1) { animation-delay: 0.1s; }
[data-animate="hero-text"] > *:nth-child(2) { animation-delay: 0.2s; }
[data-animate="hero-text"] > *:nth-child(3) { animation-delay: 0.3s; }
[data-animate="hero-text"] > *:nth-child(4) { animation-delay: 0.4s; }

[data-animate="hero-images"] {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

/* Ensure proper spacing and alignment */
.container {
    max-width: 1200px;
}

/* Clean author information */
._x-testimonial-slide .flex {
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 0 !important;
}

/* Clean author name styling */
._x-testimonial-slide h4 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #1F2937 !important;
    margin: 0 0 0.25rem 0 !important;
}

/* Clean location styling */
._x-testimonial-slide .text-gray-500,
._x-testimonial-slide .text-gray-600 {
    color: #9CA3AF !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Remove avatar styling - clean design without avatars */
._x-testimonial-slide img,
._x-testimonial-slide .w-12,
._x-testimonial-slide .w-16 {
    display: none !important;
}

/* Clean rating stars */
._x-testimonial-slide .flex:first-child {
    margin-bottom: 2rem !important;
}

._x-testimonial-slide .w-5,
._x-testimonial-slide .w-6 {
    width: 1rem !important;
    height: 1rem !important;
    margin: 0 0.125rem !important;
}

._x-testimonial-slide .text-yellow-400 {
    color: #F59E0B !important;
}

/* Clean testimonial indicators */
._x-testimonial-indicator {
    width: 0.5rem !important;
    height: 0.5rem !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
    position: relative !important;
}

._x-testimonial-indicator:hover {
    transform: scale(1.2) !important;
}

._x-testimonial-indicator._x-active {
    background: #D97706 !important;
}

._x-testimonial-indicator:not(._x-active) {
    background: #D1D5DB !important;
}

/* Clean testimonial section title styling */
._x-about-us-page section[class*="testimonial"] ._x-section-subtitle,
._x-about-us-page section[class*="testimonial"] .text-center span {
    color: #D97706 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
    font-family: 'Inter', sans-serif !important;
}

._x-about-us-page section[class*="testimonial"] h2,
._x-about-us-page section[class*="testimonial"] ._x-font-display {
    color: #1F2937 !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    margin-bottom: 4rem !important;
}

/* Hover effects for testimonial slider */
._x-testimonial-slider:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2),
                0 12px 35px rgba(217, 119, 6, 0.15) !important;
}

/* Enhanced tour type badge */
._x-testimonial-slide .bg-orange-100 {
    background: linear-gradient(135deg, #D97706, #F59E0B) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.025em !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3) !important;
}

/* Enhanced date styling */
._x-testimonial-slide .text-gray-400 {
    color: var(--_x-color-gray) !important;
    font-style: normal !important;
    font-weight: 500 !important;
}

/* Add subtle animation to testimonial content */
._x-testimonial-slide {
    animation: _x-testimonial-fade-in 0.8s ease-out !important;
}

@keyframes _x-testimonial-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced testimonial CTA section */
._x-about-us-page section[class*="testimonial"] .text-center:last-child h3 {
    color: white !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

._x-about-us-page section[class*="testimonial"] .text-center:last-child p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
}

/* Testimonial CTA button styling */
._x-about-us-page section[class*="testimonial"] ._x-btn-secondary {
    background: white !important;
    color: #D97706 !important;
    border: 3px solid white !important;
    font-weight: 700 !important;
    padding: 1rem 2.5rem !important;
    font-size: 1.125rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

._x-about-us-page section[class*="testimonial"] ._x-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
}

/* Simplified card hover effects */
._x-card-hover {
    transition: all 0.3s ease;
    border-radius: 12px;
}

._x-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--_x-shadow-medium);
}

/* Simplified floating animations */
@keyframes _x-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

._x-animate-float {
    animation: _x-float 4s ease-in-out infinite;
}

/* Enhanced destination buttons */
._x-destination-btn {
    position: relative;
    overflow: hidden;
}

._x-destination-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

._x-destination-btn:hover::before {
    left: 100%;
}

/* Team member cards enhancement */
._x-team-member {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

._x-team-member:hover {
    transform: translateY(-10px);
}

._x-team-member img {
    transition: all 0.4s ease;
}

._x-team-member:hover img {
    transform: scale(1.1);
}

/* Gallery image enhancements */
._x-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

._x-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(217, 119, 6, 0.8), rgba(245, 158, 11, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

._x-gallery-item:hover::before {
    opacity: 1;
}

._x-gallery-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--_x-shadow-large);
}

/* Loading animation */
._x-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(217, 119, 6, 0.1);
    border-left: 4px solid var(--_x-color-primary);
    border-radius: 50%;
    animation: _x-spin 1s linear infinite;
}

@keyframes _x-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll indicator */
._x-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: _x-bounce 2s infinite;
}

@keyframes _x-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Loading screen */
._x-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--_x-color-sand) 0%, var(--_x-color-light-gray) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

._x-loading-screen._x-hidden {
    opacity: 0;
    visibility: hidden;
}

._x-loading-logo {
    width: 80px;
    height: 80px;
    background: var(--_x-color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: _x-pulse-logo 2s ease-in-out infinite;
}

@keyframes _x-pulse-logo {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(217, 119, 6, 0); }
}

._x-loading-text {
    color: var(--_x-color-primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

._x-loading-subtext {
    color: var(--_x-color-dark);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Enhanced CTA Section Layout */
._x-about-us-page section:last-of-type {
    text-align: center !important;
    position: relative !important;
}

._x-about-us-page section:last-of-type .container {
    text-align: center !important;
}

._x-about-us-page section:last-of-type ._x-section-header {
    max-width: 800px !important;
    margin: 0 auto !important;
}

._x-about-us-page section:last-of-type .flex {
    justify-content: center !important;
    margin-top: 3rem !important;
}

/* Add subtle radial gradient overlay to CTA section */
._x-about-us-page section:last-of-type::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    ._x-hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }

    ._x-stat-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    ._x-team-member {
        margin-bottom: 2rem;
    }

    ._x-gallery-item {
        height: 160px;
    }

    ._x-btn-primary {
        padding: 14px 24px;
        font-size: 14px;
    }

    /* Enhanced mobile CTA button */
    ._x-about-us-page ._x-btn-secondary,
    ._x-btn-secondary {
        padding: 1rem 2.5rem !important;
        font-size: 16px !important;
        min-width: 240px !important;
    }

    ._x-destination-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    ._x-play-button-wrapper {
        width: 80px;
        height: 80px;
    }

    ._x-play-button {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    ._x-hero-title {
        font-size: 2rem !important;
    }

    ._x-section-subtitle {
        font-size: 0.75rem;
    }

    ._x-h2 {
        font-size: 2rem !important;
    }

    ._x-stat-item h3 {
        font-size: 3rem !important;
    }

    /* Enhanced mobile testimonial styling */
    ._x-testimonial-slide {
        padding: 2.5rem 1.5rem !important;
    }

    ._x-testimonial-slide p {
        font-size: 1.125rem !important;
        line-height: 1.7 !important;
        margin-bottom: 2rem !important;
    }

    ._x-testimonial-slide p::before,
    ._x-testimonial-slide p::after {
        font-size: 3rem !important;
    }

    ._x-testimonial-slide p::before {
        top: -0.5rem !important;
        left: -1rem !important;
    }

    ._x-testimonial-slide p::after {
        bottom: -1.5rem !important;
        right: -1rem !important;
    }

    ._x-testimonial-slide img,
    ._x-testimonial-slide .w-12 {
        width: 3rem !important;
        height: 3rem !important;
        margin-right: 0.75rem !important;
    }

    ._x-testimonial-slide h4 {
        font-size: 1.125rem !important;
    }

    ._x-testimonial-slide .w-5 {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }

    ._x-gallery-item {
        height: 120px;
    }
}
