/* ================================
   SELF-HOSTED FONTS
   ================================ */

/* Poppins - Headings */
@font-face {
    font-family: 'Poppins';
    src: url('./fonts/poppins-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/poppins-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/poppins-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Inter - Body Text */
@font-face {
    font-family: 'Inter';
    src: url('./fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/inter-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ================================
   ROOT VARIABLES & RESET
   ================================ */

/* Honeypot wrapper for spam prevention */
.honeypot-wrapper {
    position: absolute !important;
    left: -5000px !important;
    top: -5000px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Cross-device consistency improvements */
* {
    -webkit-tap-highlight-color: rgba(44, 95, 111, 0.2); /* Primary color with transparency */
    -webkit-touch-callout: none;
}

:root {
    /* PRIMARY BRAND COLORS - From Logo */
    --color-primary: #2C5F6F;        /* Dark Teal/Navy - Logo base (7.2:1 contrast) */
    --color-primary-light: #4A7C8C;  /* Medium Teal - Hover states */
    --color-primary-lighter: #7BA5B3; /* Light Teal - Subtle backgrounds */
    --color-primary-lightest: #E8F1F3; /* Very Light Teal - Section backgrounds */
    --color-primary-dark: #1F4450;   /* Darker Navy - Footer/dark sections */

    /* ACCENT COLORS - Industry Best Practice (Coral for excitement/action) */
    --color-accent: #FF8C5A;         /* Coral Orange - CTAs (3.2:1 contrast) */
    --color-accent-light: #FFB088;   /* Light Coral - Hover states */
    --color-accent-lighter: #FFF4ED; /* Very Light Coral - Backgrounds */
    --color-accent-dark: #E67545;    /* Dark Coral - Active states */

    /* NEUTRAL COLORS - Logo-Based Grays */
    --color-dark: #2C3E50;           /* Dark Blue-Gray - Primary text (12.6:1) */
    --color-gray: #5A6C7D;           /* Medium Gray - Secondary text (5.8:1) */
    --color-gray-light: #95A5A6;     /* Light Gray - Borders */
    --color-gray-lighter: #ECF0F1;   /* Very Light Gray - Backgrounds */
    --color-white: #FFFFFF;
    --color-off-white: #F8FAFB;      /* Subtle off-white */
    --color-black: #000000;

    /* FUNCTIONAL COLORS - WCAG Compliant */
    --color-success: #27AE60;        /* Green - Success (4.8:1) */
    --color-error: #E74C3C;          /* Red - Errors (4.5:1) */
    --color-warning: #F39C12;        /* Amber - Warnings (3.5:1) */
    
    /* GRADIENTS */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-hero-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--color-primary-lightest) 0%, var(--color-off-white) 100%);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing Scale */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 2rem;      /* 32px */
    --spacing-lg: 4rem;      /* 64px */
    --spacing-xl: 6rem;      /* 96px */
    
    /* Safe Area Insets for iPhone */
    --safe-area-inset-top: env(safe-area-inset-top, 0);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0);
    --navbar-height: calc(60px + (2 * var(--spacing-sm)) + var(--safe-area-inset-top)); /* Logo height + top/bottom padding */
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Responsive Breakpoints */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1199px;
    --breakpoint-desktop: 1200px;

    /* Partners Carousel - Dynamic Animation */
    --partner-logo-width: 8.75rem; /* 140px - base desktop size */
    --partner-gap: 2rem; /* Gap between logos */
    --partners-translate-distance: 0px; /* Set dynamically by JavaScript */
    --partners-count: 18; /* Set dynamically by JavaScript */
}

/* CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height, 80px) + 20px); /* Offset for fixed navbar */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll on all levels */
    max-width: 100%; /* Constrain to viewport width */
}

/* Scroll margin for section anchors - alternative to scroll-padding-top */
section[id] {
    scroll-margin-top: calc(var(--navbar-height, 80px) + 20px);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--color-white);
    min-height: 100vh;
    max-width: 100vw; /* Prevent content extending beyond viewport */
    position: relative;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading image transitions */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded,
img.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-medium);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input,
textarea,
select {
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Ensure consistent input styling across browsers */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Fix iOS input zoom */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

/* ================================
   ACCESSIBILITY
   ================================ */

/* Skip to content link - hidden until focused */
.skip-link {
    position: fixed;
    top: -100px;
    left: var(--spacing-md);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 9999;
    font-weight: 600;
    border-radius: 4px;
    transition: top 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.skip-link:focus {
    top: var(--spacing-sm);
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Visible focus indicators for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(44, 95, 111, 0.2);
}

/* Enhanced focus for navigation links */
.nav-link:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Enhanced focus for buttons */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-package:focus-visible,
.btn-submit:focus-visible,
.btn-newsletter:focus-visible,
.btn-book-now:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

/* Screen reader only text */
.sr-only,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Ensure sufficient color contrast for text */
.text-gray {
    color: #5A5A5A; /* Darker gray for better contrast (4.54:1 ratio) */
}

/* Ensure links have sufficient contrast */
a {
    color: inherit;
}

a:hover {
    color: var(--color-primary);
}

/* Ensure button text has sufficient contrast */
.btn-primary,
.btn-package,
.btn-submit,
.btn-newsletter,
.btn-book-now {
    /* White text on coral background has 4.52:1 contrast ratio */
    color: var(--color-white);
}

.btn-secondary {
    /* White text on transparent with white border */
    color: var(--color-white);
}

/* Ensure form labels have sufficient contrast */
.form-group label {
    color: var(--color-dark);
}

/* Ensure placeholder text has sufficient contrast */
input::placeholder,
textarea::placeholder {
    color: var(--color-gray); /* Medium gray for better visibility */
    opacity: 1;
}

/* Ensure error messages have sufficient contrast */
.error-message {
    color: var(--color-error);
}

/* Ensure success messages have sufficient contrast */
.form-message.success {
    background: #E8F5E9;
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.form-message.error {
    background: #FFEBEE;
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

/* ================================
   UTILITY CLASSES
   ================================ */

/* Text and link utilities */
.note-text {
    margin-top: var(--spacing-xs);
    color: var(--color-gray);
    font-size: 0.875rem; /* 14px */
}

.link-primary {
    color: var(--color-primary);
    text-decoration: underline;
}

.link-inherit {
    color: inherit;
    text-decoration: none;
}

.text-optional {
    font-size: 0.75rem; /* 12px */
    color: var(--color-gray);
}

.form-consent {
    margin-top: var(--spacing-md);
}

.consent-label {
    display: flex;
    align-items: center; /* Center align checkbox with text */
    gap: 0.625rem; /* 10px */
    cursor: pointer;
    padding: 0.375rem 0; /* Add padding for larger click area */
    min-height: 44px; /* WCAG 2.1 minimum touch target */
}

.consent-checkbox {
    margin-top: 0;
    width: 1.25rem; /* 20px - increased from 18px for better visibility */
    height: 1.25rem; /* 20px */
    cursor: pointer;
    flex-shrink: 0; /* Prevent checkbox from shrinking */
    position: relative;
    z-index: 1;
}

.consent-text {
    font-size: 0.875rem; /* 14px */
    line-height: 1.6;
    flex: 1;
}

/* Ensure links inside consent label don't block checkbox interaction */
.consent-text a {
    position: relative;
    z-index: 2;
}

/* Layout Utilities - Mobile-First Container Padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm); /* Mobile baseline: 16px */
    width: 100%; /* Ensure container stays within viewport */
    overflow-x: hidden; /* Prevent child elements from overflowing */
}

.container-fluid {
    width: 100%;
    max-width: 100%; /* Prevent overflow */
    padding: 0 var(--spacing-sm); /* Mobile baseline: 16px */
    overflow-x: hidden; /* Prevent child elements from overflowing */
}

/* Container responsive padding - Mobile-First */
@media (min-width: 30rem) { /* 480px+ - Large Mobile */
    .container,
    .container-fluid {
        padding: 0 1.5rem; /* 24px for large mobile/small tablet */
    }
}

@media (min-width: 48rem) { /* 768px+ - Tablet */
    .container,
    .container-fluid {
        padding: 0 var(--spacing-md); /* 32px for tablet and up */
    }
}

@media (min-width: 75rem) { /* 1200px+ - Desktop */
    .container,
    .container-fluid {
        padding: 0 var(--spacing-lg); /* 64px for large desktop */
    }
}

/* Spacing Utilities */
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.pt-xs { padding-top: var(--spacing-xs); }
.pt-sm { padding-top: var(--spacing-sm); }
.pt-md { padding-top: var(--spacing-md); }
.pt-lg { padding-top: var(--spacing-lg); }
.pt-xl { padding-top: var(--spacing-xl); }

.pb-xs { padding-bottom: var(--spacing-xs); }
.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-lg { padding-bottom: var(--spacing-lg); }
.pb-xl { padding-bottom: var(--spacing-xl); }

/* Typography Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-gray { color: var(--color-gray); }
.text-white { color: var(--color-white); }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-semibold { font-weight: 600; }
.font-weight-bold { font-weight: 700; }

/* Section Utilities */
.section {
    padding: var(--spacing-xl) 0;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Background Utilities */
.bg-white { background-color: var(--color-white); }
.bg-off-white { background-color: var(--color-off-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }
.bg-dark-navy { background-color: var(--color-dark-navy); }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flex Utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Grid Utilities */
.grid-2 { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: var(--spacing-md);
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: var(--spacing-md);
}

.grid-4 { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: var(--spacing-md);
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: background 300ms ease, box-shadow 300ms ease, border-bottom 300ms ease;
    padding: calc(var(--spacing-sm) + var(--safe-area-inset-top)) 0 var(--spacing-sm) 0;
}

/* Scrolled state - solid white background */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(44, 95, 111, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color 300ms ease;
}

.navbar.scrolled .logo-text {
    color: var(--color-primary);
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 300ms ease, opacity 300ms ease;
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Navbar scrolled state - slightly smaller logo */
.navbar.scrolled .logo-img {
    height: 55px;
}

/* Mobile menu logo - hidden on desktop */
.mobile-menu-logo-item {
    display: none;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem; /* WCAG 2.1 AA: 16px minimum for readability */
    letter-spacing: 0.5px;
    transition: color 350ms ease-in-out, transform 350ms ease-in-out;
    color: var(--color-white);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--color-dark);
}

.nav-link:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Active link indicator */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* Book Now CTA button */
.btn-book-now {
    background: var(--color-accent);
    color: var(--color-white) !important;
    padding: var(--spacing-xs) 1.5rem; /* Using spacing variable */
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: transform 350ms ease-in-out, box-shadow 350ms ease-in-out, background-color 350ms ease-in-out;
    font-size: 0.95rem;
}

.btn-book-now:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
    background: var(--color-accent-dark);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(44, 95, 111, 0.15); /* Subtle background for better visibility */
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px; /* Rounded corners for modern look */
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(8px); /* Better visibility on images */
    backdrop-filter: blur(8px);
    transition: background 300ms ease; /* Smooth transition */
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    transition: all 300ms ease;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Shadow for better contrast */
}

.navbar.scrolled .mobile-menu-toggle {
    background: transparent; /* Remove background when scrolled */
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--color-primary);
    box-shadow: none; /* Remove shadow when scrolled */
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 300ms ease;
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh; /* Use small viewport height for mobile browsers */
    min-height: 600px;
    background: transparent; /* Video/fallback handles background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent video overflow */
    padding-top: calc(var(--navbar-height) + var(--spacing-lg)); /* Dynamic navbar height + extra spacing */
}

/* Hero media container for video and responsive poster */
.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero responsive poster */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero video background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2; /* Above poster when playing */
    opacity: 0; /* Hidden initially until loaded */
    transition: opacity 300ms ease-in-out;
}

/* Show video when loaded and hide poster */
.hero-video.loaded {
    opacity: 1;
}

.hero-media:has(.hero-video.loaded) .hero-poster {
    opacity: 0;
}

/* Fallback for browsers without :has() support */
.hero-video.loaded ~ .hero-poster,
.hero-video.playing ~ .hero-poster {
    opacity: 0;
}

/* Fallback background for video errors and reduced motion */
.hero-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-section/hero-img1.jpg') center/cover no-repeat;
    z-index: 0;
    opacity: 0; /* Hidden by default on desktop - video shows instead */
    transition: opacity 300ms ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    margin-bottom: var(--spacing-lg);
}

/* Enhanced primary CTA prominence */
.cta-primary {
    transform: scale(1);
    transition: all var(--transition-medium);
    box-shadow: 0 6px 20px rgba(255, 140, 90, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.cta-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 140, 90, 0.6);
}

.cta-primary:hover::before {
    left: 100%;
}

/* Hero guide text */
.hero-guide {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: var(--spacing-sm) 0 0 0;
    font-weight: 300;
}

/* Trust Signals Bar */
.hero-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.trust-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.trust-testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    max-width: 240px;
    text-align: center;
}

.testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.testimonial-attribution {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.rating {
    color: #FFD700;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.trust-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    padding: var(--spacing-sm) 2.5rem; /* Using spacing variable */
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: transform 350ms ease-in-out, box-shadow 350ms ease-in-out, background-color 350ms ease-in-out;
    display: inline-block;
    border: none;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 140, 90, 0.4);
    background: var(--color-accent-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    padding: var(--spacing-sm) 2.5rem; /* Using spacing variable */
    border: 2px solid var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 350ms ease-in-out, background 350ms ease-in-out, color 350ms ease-in-out, box-shadow 350ms ease-in-out;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-white);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.625rem; /* 10px converted to rem */
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 25px;
    margin: 0 auto;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        top: 10px;
        opacity: 1;
    }
    50% {
        top: 30px;
        opacity: 0.3;
    }
}

/* ================================
   SERVICES SECTION
   ================================ */
.services {
    padding: var(--spacing-xl) 0;
    position: relative;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        url('images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Mobile optimization: Use scroll attachment for better performance on iOS/Android */
@media (max-width: 1024px) {
    .services {
        background-attachment: scroll;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg); /* 32px for better spacing on desktop */
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg) 1.875rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

/* Subtle hover effect for enhanced visual feedback (hover-capable devices only) */
@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.service-icon svg {
    width: 56px; /* Increased from 40px for better visibility */
    height: 56px;
    stroke-width: 2;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem; /* 24px converted to rem */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--color-gray);
    font-size: 1rem; /* 16px converted to rem */
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.service-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: color 350ms ease-in-out, transform 350ms ease-in-out;
}

.service-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(8px);
}

.service-guide {
    color: var(--color-gray);
    font-weight: 500;
    font-size: 0.875rem; /* 14px converted to rem */
    font-style: italic;
    display: inline-flex;
    align-items: center;
    margin-top: var(--spacing-xs);
    opacity: 0.8;
}

/* ================================
   PACKAGES SECTION
   ================================ */
.packages {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-subtle);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg); /* 32px for better spacing on desktop */
}

.package-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 350ms ease-in-out, box-shadow 350ms ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
}

/* Hover effects isolated for pointer devices only (not touch) */
@media (hover: hover) {
    .package-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
        border-color: var(--color-primary);
    }
}

.package-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

@media (hover: hover) {
    .package-card:hover .package-image img {
        transform: scale(1.1);
    }
}

/* Package video styling */
.package-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease-in, transform 400ms ease;
}

/* Show video when loaded and playing */
.package-video.playing {
    opacity: 1;
}

/* Fallback image stays behind video */
.package-fallback-image {
    position: relative;
    z-index: 0;
}

/* Zoom effect on hover applies to video too */
@media (hover: hover) {
    .package-card:hover .package-video {
        transform: scale(1.1);
    }
}

.package-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-title {
    font-family: var(--font-heading);
    font-size: 1.75rem; /* 28px converted to rem */
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.package-duration {
    font-size: 0.875rem; /* 14px converted to rem */
    color: var(--color-gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.package-description {
    font-size: 1rem; /* 16px converted to rem */
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.package-inclusions {
    font-size: 0.875rem; /* 14px converted to rem */
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    padding: 0.5rem 0;
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.package-price {
    font-family: var(--font-heading);
    font-size: 1.5rem; /* 24px converted to rem */
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.package-price span {
    font-size: 0.875rem; /* 14px converted to rem */
    font-weight: 400;
    color: var(--color-gray);
}

.btn-package {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: transform 350ms ease-in-out, box-shadow 350ms ease-in-out, background-color 350ms ease-in-out;
    box-shadow: var(--shadow-sm);
    display: block;
    width: 100%;
}

@media (hover: hover) {
    .btn-package:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: var(--shadow-md);
        background: var(--color-accent-dark);
    }
}

/* ================================
   ABOUT US SECTION
   ================================ */
.about-us {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    color: var(--color-white);
}

.about-us .section-title {
    color: var(--color-white);
}

.about-us .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.about-feature-card {
    text-align: center;
    padding: var(--spacing-md);
    transition: transform 350ms ease-in-out;
    cursor: default;
    background: rgba(255, 255, 255, 0.15);
    /* Subtle topography pattern for visual interest (SVG data URI - no external dependency) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-blend-mode: overlay;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@media (hover: hover) {
    .about-feature-card:hover {
        transform: translateY(-5px);
    }
}

.about-feature-icon {
    width: 5rem; /* 80px converted to rem */
    height: 5rem;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: transform 350ms ease-in-out, color 350ms ease-in-out;
}

.about-feature-icon svg {
    width: 5rem; /* 80px converted to rem */
    height: 5rem;
    stroke-width: 1.5;
}

.about-feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem; /* 24px converted to rem */
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.about-feature-description {
    font-size: 1rem; /* 16px converted to rem */
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.about-stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible state for animated stat counters */
.about-stat-number.stat-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-subtle);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--color-white);
    padding: 1.5rem; /* Reduced from 2rem for more compact cards */
    border: 1px solid var(--color-gray-light);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 350ms ease-in-out, box-shadow 350ms ease-in-out, border-color 350ms ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto; /* Allow cards to grow based on content */
    /* Removed min/max-height constraints to accommodate varying text lengths */
}

@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--color-primary);
    }
}

.testimonial-photo {
    margin-bottom: var(--spacing-sm);
}

.testimonial-image {
    width: 5rem; /* 80px converted to rem */
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.testimonial-rating {
    margin-bottom: var(--spacing-sm);
}

.star {
    color: var(--color-warning);
    font-size: 1.25rem; /* Already in rem */
}

.testimonial-quote {
    font-size: 0.9375rem; /* 15px converted to rem */
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    font-style: italic;
    flex: 1;
    display: flex;
    align-items: center;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1rem; /* 16px converted to rem */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    margin: 0; /* Remove default margins for flex layout */
}

.testimonial-location {
    font-size: 0.8125rem; /* 13px converted to rem */
    color: var(--color-gray);
}

/* ================================
   PARTNERS SECTION - AUTO-SCROLLING CAROUSEL
   Modern infinite scroll for partner logos (industry standard)
   ================================ */
.partners {
    padding: var(--spacing-lg) 0; /* Reduced - carousel takes less vertical space */
    background: var(--color-off-white);
    overflow: hidden; /* Hide overflow for infinite scroll */
}

/* Carousel wrapper - masks edges for fade effect */
.partners-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Fade edges for professional appearance */
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

/* Scrolling track containing all logos */
.partners-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll-partners 40s linear infinite;
    will-change: transform; /* GPU acceleration */
}

/* Pause on hover for better UX */
.partners-carousel-track:hover {
    animation-play-state: paused;
}

/* Individual partner logo card */
.partner-logo {
    flex-shrink: 0; /* Prevent shrinking */
    width: 8.75rem; /* 140px converted to rem */
    height: 5rem; /* 80px converted to rem */
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.75rem;
    border-radius: 0.5rem; /* 8px converted to rem */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain aspect ratio while filling space */
    filter: grayscale(0%);
    opacity: 0.95; /* Slightly increased opacity for better visibility */
    transition: opacity 0.3s ease;
}

/* Custom styles for specific partner logos (CSP compliant) */
.partner-logo-inverted img {
    filter: brightness(0);
}

/* Hover effects isolated for pointer devices only (not touch) */
@media (hover: hover) {
    .partner-logo:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .partner-logo:hover img {
        opacity: 1; /* Full opacity on hover */
    }
}

/* Infinite scroll animation */
@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move by dynamically calculated distance (set by JavaScript) */
        transform: translateX(var(--partners-translate-distance));
    }
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    color: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: var(--spacing-xl); /* Was 60px - using spacing variable for consistency */
    align-items: start;
}

/* Contact Information Column */
.contact-info {
    color: var(--color-white);
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.25rem; /* 36px converted to rem */
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-icon {
    width: 3.125rem; /* 50px converted to rem */
    height: 3.125rem; /* 50px converted to rem */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem; /* 24px converted to rem */
    height: 1.5rem; /* 24px converted to rem */
    color: var(--color-white);
    stroke-width: 2;
}

.contact-detail-content h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem; /* 18px converted to rem */
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.contact-detail-content p {
    font-size: 1rem; /* 16px converted to rem */
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

/* Lead Capture Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--spacing-lg); /* Using spacing variable (was 40px) */
    border-radius: 1.25rem; /* 20px converted to rem */
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2); /* 10px 30px converted to rem */
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.75rem; /* 28px converted to rem */
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Required field legend */
.required-legend {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin: 0 0 var(--spacing-md) 0;
    text-align: center;
}

/* Error summary for form-wide errors */
.error-summary {
    background: #FEF2F2;
    border: 2px solid var(--color-error);
    border-radius: 0.5rem;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.error-summary h4 {
    color: var(--color-error);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.error-summary ul {
    margin: 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.error-summary li {
    color: var(--color-error);
    margin-bottom: 0.25rem;
}

.error-summary a {
    color: var(--color-error);
    text-decoration: underline;
}

.error-summary a:hover {
    color: #991B1B;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--color-white);
    color: var(--color-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 95, 111, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--color-error);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.btn-submit {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 1.1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 350ms ease-in-out, box-shadow 350ms ease-in-out, background-color 350ms ease-in-out;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: var(--spacing-sm);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.form-message {
    padding: var(--spacing-sm);
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
    margin-top: var(--spacing-sm);
}

.form-message.success {
    display: block;
    background: #E8F5E9;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #FFEBEE;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Privacy notice styling */
.privacy-notice {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for footer */
    border-radius: 4px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9); /* High contrast white text for dark footer */
    font-size: 0.85rem;
    line-height: 1.4;
    display: block; /* Ensure proper display */
}

.privacy-notice a {
    color: var(--color-accent-light);
    text-decoration: underline;
}

.privacy-notice a:hover {
    color: var(--color-accent);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 3.75rem 0; /* 60px converted to rem */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem; /* 40px converted to rem */
    margin-bottom: 3.75rem; /* 60px converted to rem */
}

/* Column 1: Branding */
.footer-branding {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrapper {
    margin-bottom: var(--spacing-sm);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo-img {
    height: 4.375rem; /* 70px converted to rem */
    width: auto;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
    transition: opacity 300ms ease;
}

@media (hover: hover) {
    .footer-logo-img:hover {
        opacity: 0.8;
    }
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social ul {
    display: flex;
    gap: var(--spacing-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-icon {
    width: 3rem; /* 48px converted to rem */
    height: 3rem; /* 48px converted to rem */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 350ms ease-in-out, transform 350ms ease-in-out, box-shadow 350ms ease-in-out;
}

.social-icon svg {
    width: 1.25rem; /* 20px converted to rem */
    height: 1.25rem; /* 20px converted to rem */
    fill: var(--color-white);
    transition: fill 350ms ease-in-out;
}

@media (hover: hover) {
    .social-icon:hover {
        background: var(--color-primary-light);
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 5px 15px rgba(44, 95, 111, 0.4);
    }
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.95); /* Increased from 0.8 for better visibility */
    transition: color 350ms ease-in-out, padding-left 350ms ease-in-out;
    font-size: 0.95rem;
}

@media (hover: hover) {
    .footer-links a:hover {
        color: var(--color-white);
        padding-left: var(--spacing-xs); /* 8px using spacing variable */
    }
}

/* Newsletter Section */
.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.625rem; /* 10px converted to rem */
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.15);
}

.btn-newsletter {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 0.625rem; /* 10px converted to rem */
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 350ms ease-in-out, transform 350ms ease-in-out, box-shadow 350ms ease-in-out;
    box-shadow: var(--shadow-sm);
}

@media (hover: hover) {
    .btn-newsletter:hover:not(:disabled) {
        background: var(--color-accent-dark);
        transform: translateY(-2px) scale(1.02);
        box-shadow: var(--shadow-md);
    }
}

/* Newsletter button loading state */
.btn-newsletter.loading {
    opacity: 0.8;
    cursor: not-allowed;
    position: relative;
}

.btn-newsletter:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading spinner */
.btn-loading-spinner {
    display: inline-block;
    width: 0.875rem; /* 14px converted to rem */
    height: 0.875rem; /* 14px converted to rem */
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spinner 0.6s linear infinite;
    margin-right: 0.5rem; /* 8px converted to rem */
    vertical-align: middle;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Enhanced focus indicators for footer interactive elements */
.social-icon:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 0.25rem; /* 4px converted to rem */
    border-radius: 50%;
}

.footer-links a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 0.25rem; /* 4px converted to rem */
    border-radius: 0.25rem; /* 4px converted to rem */
}

.newsletter-form input:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.btn-newsletter:focus-visible {
    outline: 3px solid var(--color-white);
    outline-offset: 0.25rem; /* 4px converted to rem */
}

/* Footer Bottom Bar */
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 2px solid rgba(255, 255, 255, 0.15); /* Enhanced from 1px to 2px with higher opacity */
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05); /* Subtle top shadow for depth */
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Tablet: 768px - 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    /* Container adjustments for tablet */
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Navigation spacing for tablet */
    .nav-menu {
        gap: var(--spacing-sm);
    }

    .nav-link {
        font-size: 1rem; /* WCAG 2.1 AA: Maintain 16px minimum on tablet */
    }
    
    .btn-book-now {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
    
    /* Hero adjustments */
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    }
    
    /* Section spacing */
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }
    
    .section-subtitle {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
    
    /* Grid layouts - 2 columns for most sections */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md); /* 24px for tablet */
    }

    .service-card {
        padding: 2.1875rem 1.5625rem;
    }

    .service-icon {
        width: 75px;
        height: 75px;
    }

    .service-icon svg {
        width: 52px; /* Proportional to desktop 56px */
        height: 52px;
    }

    .service-title {
        font-size: 1.375rem; /* 22px converted to rem */
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .package-title {
        font-size: 26px;
    }
    
    .about-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .about-feature-icon {
        width: 75px;
        height: 75px;
    }
    
    .about-feature-icon svg {
        width: 75px;
        height: 75px;
    }
    
    .about-feature-title {
        font-size: 22px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .about-stat-number {
        font-size: 2.75rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .testimonial-quote {
        font-size: 17px;
    }
    
    /* Partners carousel - tablet adjustments */
    .partner-logo {
        width: 7.5rem; /* 120px converted to rem */
        height: 4.0625rem; /* 65px converted to rem */
    }

    .partners-carousel-track {
        animation-duration: 35s; /* Slightly faster on smaller screens */
    }
}

@media (max-width: 1024px) {
    /* Contact section stacks on tablet */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-detail-item {
        justify-content: flex-start;
    }
    
    .contact-title {
        font-size: 2rem; /* 32px converted to rem */
    }

    .form-title {
        font-size: 1.625rem; /* 26px converted to rem */
    }
    
    /* Footer - 2 columns on tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .footer-branding,
    .footer-section {
        text-align: left;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-links {
        align-items: flex-start;
    }
}

/* Tablet landscape optimizations */
@media (min-width: 900px) and (max-width: 1199px) {
    /* Optimize 3-column layouts for larger tablets */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Partners carousel - no grid adjustments needed */
}

/* Desktop: >= 1024px (Tablet Landscape / Desktop) */
@media (min-width: 1024px) {
    /* Hero Section - Desktop Enhancement */
    .hero {
        min-height: 700px; /* Larger minimum height for desktops */
    }

    .hero-title {
        font-size: 3.5rem; /* Larger title on desktop */
    }

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

    .hero-trust-bar {
        flex-direction: row; /* Horizontal layout on desktop */
        padding: var(--spacing-md) var(--spacing-lg);
        max-width: 900px;
    }

    /* Trust bar items */
    .trust-item,
    .trust-testimonial,
    .trust-badges {
        border-top: none; /* Remove mobile borders */
        padding: 0 var(--spacing-md);
    }

    .trust-item {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .trust-testimonial {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
    /* Mobile-specific optimizations - container padding now set as mobile-first baseline */

    /* ================================
       ACCESSIBILITY - MOBILE
       ================================ */

    /* Skip-link - hide on mobile to avoid navbar overlap (navbar always visible on mobile) */
    .skip-link {
        display: none;
    }

    /* Mobile performance optimizations */
    body {
        -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    
    /* Optimize touch interactions */
    button, a, input, select, textarea {
        -webkit-tap-highlight-color: rgba(44, 95, 111, 0.2); /* Brand color tap highlight */
        touch-action: manipulation; /* Disable double-tap zoom */
    }
    
    /* Navigation - Mobile Menu */
    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-lg) var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
        align-items: flex-start;
        gap: var(--spacing-sm);
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Mobile menu links styling */
    .nav-link {
        color: var(--color-dark) !important;
        font-size: 1.1rem;
        width: 100%;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-gray-light);
        position: relative;
        transition: background 200ms ease, padding-left 200ms ease;
    }

    /* Active link indicator for mobile menu */
    .nav-link.active {
        background: rgba(44, 95, 111, 0.08);
        border-left: 4px solid var(--color-primary);
        padding-left: calc(var(--spacing-sm) - 4px); /* Compensate for border */
        font-weight: 600;
        color: var(--color-primary) !important;
    }

    /* Remove the ::after indicator on mobile since we have background highlight */
    .nav-link.active::after {
        display: none;
    }

    .nav-link:last-of-type {
        border-bottom: none;
    }
    
    .btn-book-now {
        width: 100%;
        text-align: center;
        margin-top: var(--spacing-sm);
        padding: 1rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1003;
    }

    /* Mobile menu logo - HIDDEN to avoid duplication with navbar logo */
    .mobile-menu-logo-item {
        display: none; /* Removed duplicate logo per client request */
    }

    .mobile-menu-logo {
        display: none; /* Removed duplicate logo per client request */
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--color-primary);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
        background: var(--color-primary);
    }
    
    /* Mobile menu overlay handled by JavaScript backdrop */
    
    /* Hero Section - Mobile optimized */
    .hero {
        height: 100vh;
        height: 100svh; /* Use small viewport height for consistent mobile display */
        min-height: 450px; /* Optimized for ultra-small devices (iPhone SE: 568px) */
        /* Add mobile video optimizations */
        transform: translateZ(0); /* Force hardware acceleration */
        padding-top: calc(var(--navbar-height) + var(--spacing-md)); /* Reduced spacing for mobile */
    }
    
    .hero-content {
        padding: var(--spacing-sm);
        /* Better text rendering on mobile */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Mobile Trust Bar Optimization */
    .hero-trust-bar {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
        margin: var(--spacing-md) var(--spacing-sm) var(--spacing-md);
        background: rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        text-align: center;
    }
    
    .trust-item {
        order: 1; /* Booking counter first */
        padding: var(--spacing-xs) 0;
    }
    
    .trust-number {
        font-size: 2rem;
        font-weight: 800;
        color: #ffffff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .trust-label {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.95);
        font-weight: 500;
    }
    
    .trust-testimonial {
        order: 2;
        max-width: 100%;
        padding: var(--spacing-xs) 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.95);
        font-style: italic;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .testimonial-attribution {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
    }
    
    .rating {
        margin-left: 0.5rem;
        color: #ffd700;
        font-size: 0.9rem;
    }
    
    .trust-badges {
        order: 3;
        justify-content: center;
        gap: var(--spacing-xs);
    }
    
    .trust-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Mobile CTA Enhancement */
    .cta-primary {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        /* Ensure thumb-friendly sizing */
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* REMOVED: Mobile sticky CTA (disabled per client request) */

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    /* Mobile video enabled with fade transition support */
    .hero-video {
        opacity: 0;
        transition: opacity 300ms ease-in-out;
    }

    /* Show static fallback image on mobile instead of video */
    .hero-fallback-bg {
        display: block;
        opacity: 1;
        z-index: 2;
        transition: opacity 300ms ease-in-out;
    }

    /* Video loaded - fade in video, fade out fallback */
    .hero-video.loaded {
        opacity: 1;
    }

    .hero-fallback-bg.hide-fallback {
        opacity: 0;
        pointer-events: none;
    }

    /* Hide poster image on mobile since we show fallback-bg */
    .hero-poster {
        opacity: 0;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Section spacing adjustments */
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .section-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    /* Services Section - Mobile */
    .services {
        padding: var(--spacing-lg) 0;
        /* background-attachment: scroll handled by earlier media query */
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm); /* 16px for better mobile space utilization */
    }

    .service-card {
        padding: var(--spacing-md);
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: var(--spacing-sm);
    }

    .service-icon svg {
        width: 48px; /* Meets 24x24 accessibility minimum */
        height: 48px;
    }

    .service-title {
        font-size: 1.25rem; /* 20px converted to rem */
    }
    
    .service-description {
        font-size: 0.9375rem; /* 15px converted to rem */
    }
    
    /* Packages Section - Mobile */
    .packages {
        padding: var(--spacing-lg) 0;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm); /* 16px for compact mobile layout */
    }
    
    .package-content {
        padding: var(--spacing-sm);
    }
    
    .package-title {
        font-size: 1.5rem; /* 24px converted to rem */
    }

    .package-description {
        font-size: 0.9375rem; /* 15px converted to rem */
    }

    .package-price {
        font-size: 1.375rem; /* 22px converted to rem */
    }

    /* Enable package videos on mobile with optimizations */
    .package-video {
        display: block;
        /* Mobile video optimizations */
        will-change: auto; /* Reduce GPU usage when not playing */
    }

    .package-fallback-image {
        display: none; /* Hide fallback when video is enabled */
    }
    
    /* About Us Section - Mobile */
    .about-us {
        padding: var(--spacing-lg) 0;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm); /* 16px for compact mobile layout */
    }

    .about-feature-card {
        padding: var(--spacing-sm);
    }
    
    .about-feature-icon {
        width: 4.375rem; /* 70px converted to rem */
        height: 4.375rem;
        margin-bottom: var(--spacing-sm);
    }

    .about-feature-icon svg {
        width: 4.375rem; /* 70px converted to rem */
        height: 4.375rem;
    }

    .about-feature-title {
        font-size: 1.25rem; /* 20px converted to rem */
    }

    .about-feature-description {
        font-size: 0.9375rem; /* 15px converted to rem */
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm); /* 16px for compact mobile layout */
        margin-top: var(--spacing-lg);
    }
    
    .about-stat-item {
        padding: var(--spacing-md);
    }
    
    .about-stat-number {
        font-size: 2.5rem;
    }
    
    /* Testimonials Section - Mobile */
    .testimonials {
        padding: var(--spacing-lg) 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .testimonial-quote {
        font-size: 16px;
    }
    
    /* Partners Section - Mobile */
    .partners {
        padding: var(--spacing-lg) 0;
    }
    
    /* Partners carousel - mobile optimized */
    .partner-logo {
        width: 7.5rem; /* 120px converted to rem */
        height: 4.375rem; /* 70px converted to rem */
    }

    .partners-carousel-track {
        gap: 1.5rem; /* Tighter spacing on mobile */
        animation-duration: 30s; /* Faster scroll on mobile */
    }
    
    /* Contact Section - Mobile */
    .contact {
        padding: var(--spacing-lg) 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Enhanced mobile form experience */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 52px; /* Increased from 44px for better touch target */
        padding: 1rem; /* 16px all around for better touch target */
        border-radius: 8px; /* Slightly rounded corners for modern look */
        width: 100%; /* Ensure full width on mobile */
    }
    
    /* Better mobile form layout spacing */
    .form-step {
        padding: 0 var(--spacing-xs); /* Add horizontal padding */
    }
    
    /* Mobile-specific form progress indicator */
    .form-progress {
        margin-bottom: var(--spacing-lg);
        padding: 0 var(--spacing-xs);
    }
    
    .progress-step {
        padding: var(--spacing-xs);
    }
    
    .step-number {
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 14px;
    }
    
    .btn-submit {
        min-height: 56px; /* Increased from 50px for better touch target */
        font-size: 1.1rem; /* Easier to read on mobile */
        width: 100%; /* Full width on mobile */
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-title {
        font-size: 1.75rem; /* 28px converted to rem */
        margin-bottom: var(--spacing-md);
    }

    .contact-details {
        gap: var(--spacing-md);
    }

    .contact-detail-item {
        justify-content: flex-start;
    }

    .contact-icon {
        width: 2.8125rem; /* 45px converted to rem */
        height: 2.8125rem; /* 45px converted to rem */
    }

    .contact-icon svg {
        width: 1.375rem; /* 22px converted to rem */
        height: 1.375rem; /* 22px converted to rem */
    }

    .contact-detail-content h4 {
        font-size: 1rem; /* 16px converted to rem */
    }

    .contact-detail-content p {
        font-size: 0.9375rem; /* 15px converted to rem */
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    .form-title {
        font-size: 1.5rem; /* 24px converted to rem */
        margin-bottom: var(--spacing-md);
    }
    
    .form-group {
        gap: var(--spacing-sm);
    }
    
    .form-group label {
        font-size: 0.9rem;
    }

    /* Fix select dropdown overflow on mobile */
    select {
        max-width: 100%;
        width: 100%;
        font-size: 14px; /* Slightly smaller font for better mobile UX */
    }

    select option {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Enhanced consent checkbox styling for mobile */
    .consent-checkbox {
        min-width: 24px; /* Increased from 20px for better touch target (WCAG 2.1 compliant) */
        min-height: 24px;
        width: 24px;
        height: 24px;
        margin-top: 0;
        margin-right: 0;
        cursor: pointer;
        flex-shrink: 0; /* Prevent checkbox from shrinking */
        -webkit-tap-highlight-color: rgba(255, 107, 107, 0.3); /* Visual feedback on tap */
        touch-action: manipulation; /* Optimize touch responsiveness */
        position: relative;
        z-index: 1; /* Ensure checkbox is above other elements */
    }

    .consent-label {
        display: flex;
        align-items: flex-start;
        gap: 0.625rem; /* Reduced gap for better alignment */
        cursor: pointer;
        padding: var(--spacing-xs);
        line-height: 1.5;
        width: 100%; /* Ensure full width usage */
        max-width: 100%; /* Prevent overflow */
        -webkit-tap-highlight-color: transparent; /* Remove default tap highlight */
        touch-action: manipulation; /* Improve responsiveness */
        min-height: 44px; /* WCAG 2.1 minimum touch target */
        align-items: center; /* Center align for better visual balance */
    }

    .consent-text {
        font-size: 0.875rem; /* Increased from 0.85rem for better readability */
        line-height: 1.6;
        flex: 1;
        word-wrap: break-word; /* Prevent text overflow */
        overflow-wrap: break-word; /* Better word breaking */
        margin-top: 0; /* Remove top margin for proper alignment */
    }

    /* Ensure links inside consent text don't interfere with checkbox clicks */
    .consent-text a {
        position: relative;
        z-index: 2; /* Links should be clickable but not block checkbox */
        pointer-events: auto;
    }

    /* Ensure consent group doesn't overflow on small screens */
    .form-consent {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    
    /* ============================================
       MOBILE FORM OPTIMIZATION - CONSOLIDATED
       ============================================ */

    /* Reduce form spacing on mobile */
    .contact-form {
        gap: var(--spacing-sm) !important; /* 16px - reduced from 24px (33% reduction) */
        padding: var(--spacing-md) !important;
    }

    .form-group {
        margin-bottom: 0 !important; /* Remove extra margin between groups */
    }

    .form-group label {
        margin-bottom: 0.4rem !important; /* Reduced from 0.5rem (20% reduction) */
        font-size: 0.9rem !important;
    }

    /* Force column layout for ALL form navigation on mobile */
    .form-navigation,
    .form-step[data-step="1"] .form-navigation,
    .form-step[data-step="2"] .form-navigation {
        display: flex !important;
        flex-direction: column !important; /* Force vertical stacking */
        gap: var(--spacing-sm) !important; /* 16px between buttons */
        margin-top: var(--spacing-sm) !important; /* Reduced from 32px to 16px */
        padding: 0 !important; /* Remove extra padding */
    }

    /* All form buttons - full width with maximum specificity */
    .btn-submit,
    .btn-next,
    .btn-back,
    .form-step[data-step="1"] .btn-submit,
    .form-step[data-step="1"] .btn-next,
    .form-step[data-step="1"] .btn-back,
    .form-step[data-step="2"] .btn-submit,
    .form-step[data-step="2"] .btn-back {
        display: block !important; /* Ensure block-level element */
        width: 100% !important; /* Force full width */
        flex: none !important; /* Override flex: 1 from desktop */
        margin-left: 0 !important; /* Remove side-by-side margin */
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        min-height: 56px !important; /* Optimal touch target height */
        border-radius: 8px;
    }

    /* Submit/Next button - primary action on top */
    .btn-submit,
    .btn-next,
    .form-step[data-step="1"] .btn-next,
    .form-step[data-step="2"] .btn-submit {
        order: 1 !important; /* Always first */
    }

    /* Back button - secondary action below */
    .btn-back,
    .form-step[data-step="1"] .btn-back,
    .form-step[data-step="2"] .btn-back {
        order: 2 !important; /* Always second */
        background: transparent !important;
        color: var(--color-primary) !important;
        border: 2px solid var(--color-primary) !important;
    }
    
    /* Footer - Mobile */
    .footer {
        padding: var(--spacing-md) 0; /* Reduced from 4rem to 2rem */
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-sm); /* Further reduced to 1rem for compact layout */
        margin-bottom: var(--spacing-sm); /* Reduced to 1rem */
    }

    .footer-branding {
        align-items: center;
    }

    .footer-logo-text {
        font-size: 1.3rem; /* Slightly smaller */
    }

    .footer-tagline {
        font-size: 0.85rem; /* Smaller text */
        margin-bottom: var(--spacing-sm); /* Reduced spacing */
    }

    .footer-social {
        justify-content: center;
        margin-bottom: var(--spacing-xs); /* Add small bottom margin */
    }

    .footer-heading {
        font-size: 1rem; /* Smaller heading */
        margin-bottom: var(--spacing-xs); /* Reduced from 1rem to 0.5rem */
    }

    .footer-links {
        align-items: center;
        gap: 0.4rem; /* Tighter link spacing */
    }

    .footer-links a,
    .footer-links li {
        font-size: 0.85rem; /* Smaller links */
        padding: 0.25rem 0; /* Reduced padding */
    }
    
    .newsletter-description {
        font-size: 0.9rem;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-form input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-newsletter {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: var(--spacing-sm);
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    /* Grid utilities responsive */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Touch-friendly adjustments */
    a, button, .nav-link, .service-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-link {
        justify-content: flex-start;
    }
    
    /* Improve tap targets */
    .btn-primary,
    .btn-secondary,
    .btn-package,
    .btn-submit,
    .btn-newsletter,
    .btn-book-now {
        min-height: 48px;
        touch-action: manipulation;
    }
}

/* Very Small Mobile: 320px to 479px - Mobile-First Approach */
@media (min-width: 20rem) and (max-width: 29.9375rem) { /* 320px to 479px */
    :root {
        --spacing-lg: 2.5rem; /* Reduced from 4rem for very small screens */
        --spacing-xl: 3rem;   /* Reduced from 6rem for very small screens */
    }

    .container,
    .container-fluid {
        padding: 0 0.75rem; /* 12px for very small mobile */
    }

    .logo-img {
        height: 45px; /* Smaller on very small mobile */
    }
}

/* Small Mobile: 480px+ */  
@media (min-width: 30rem) { /* 480px+ */
    .logo-img {
        height: 50px; /* Slightly smaller on mobile for better header proportion */
    }
    
    /* Ensure mobile logo alignment in navbar */
    .navbar .logo {
        margin-left: 0; /* Reset any margin for clean mobile alignment */
    }

    .footer-logo-img {
        height: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ================================
   CROSS-BROWSER COMPATIBILITY
   ================================ */

/* Ensure consistent box-sizing across all browsers */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Fix for Safari flexbox issues */
.flex-center,
.flex-between,
.flex-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}

/* Smooth scrolling fallback for older browsers */
@supports not (scroll-behavior: smooth) {
    html {
        scroll-behavior: auto;
    }
}

/* Grid fallback for older browsers */
@supports not (display: grid) {
    .services-grid,
    .packages-grid,
    .about-features-grid,
    .testimonials-grid,
    .footer-content {
        display: flex;
        flex-wrap: wrap;
    }

    /* Partners carousel prints as-is (animated carousel) */
    
    .service-card,
    .package-card,
    .about-feature-card,
    .testimonial-card,
    .partner-logo,
    .footer-section {
        flex: 1 1 calc(33.333% - 2rem);
        margin: 1rem;
    }
}

/* Ensure images don't overflow on any device */
img {
    max-width: 100%;
    height: auto;
    display: block;
    -ms-interpolation-mode: bicubic;
}

/* Fix for IE11 flexbox issues */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .nav-menu,
    .hero-cta,
    .services-grid,
    .packages-grid {
        display: -ms-flexbox;
    }
}

/* Prevent text selection on interactive elements */
.btn-primary,
.btn-secondary,
.btn-package,
.btn-submit,
.btn-newsletter,
.btn-book-now,
.mobile-menu-toggle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Ensure consistent focus styles across browsers */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users, keep for keyboard users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure consistent button styling across browsers */
button,
input[type="submit"],
input[type="button"] {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Fix for Safari date input */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Ensure consistent select styling with custom arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23343A40' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* ================================
   DEVICE ORIENTATION HANDLING
   ================================ */

/* Landscape orientation optimizations for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    /* Reduce hero height in landscape */
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 2vw, 1.15rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-cta {
        gap: var(--spacing-sm);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Adjust section padding in landscape */
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-sm);
    }
    
    /* Navbar adjustments */
    .navbar {
        padding: 0.5rem 0;
    }
    
    /* Mobile menu in landscape */
    .nav-menu {
        padding: var(--spacing-md) var(--spacing-sm);
        overflow-y: auto;
    }
    
    .nav-link {
        padding: 0.5rem 0;
    }
}

/* Portrait orientation optimizations */
@media (orientation: portrait) {
    /* Ensure proper spacing in portrait */
    .hero {
        min-height: 600px;
    }
    
    /* Stack elements vertically in portrait */
    .hero-cta {
        flex-direction: column;
    }
}

/* Tablet landscape specific adjustments */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {
    /* Optimize grid layouts for tablet landscape */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Partners carousel - no grid adjustments needed */
}

/* Handle orientation change transitions smoothly */
body.orientation-changing * {
    transition-property: none !important;
    transition-duration: 0s !important;
}

/* Re-enable transitions after orientation change */
body.orientation-changed * {
    transition: all 0.3s ease !important;
}

/* ================================
   REDUCED MOTION SUPPORT
   ================================ */

/* Respect user's reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable scroll animations */
    .scroll-arrow {
        animation: none !important;
    }
    
    /* Disable fade-in animations */
    .fade-in,
    .animate-on-scroll {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Hide hero video for users who prefer reduced motion */
    .hero-video {
        display: none !important;
    }

    .hero-fallback-bg {
        display: block !important;
    }

    /* Package videos don't autoplay when reduced motion is enabled */
    /* Fallback images will show instead */
    .package-video {
        display: none !important;
    }

    .package-fallback-image {
        display: block !important;
    }

    /* Disable partners carousel animation */
    .partners-carousel-track {
        animation: none !important;
    }

    .partner-logo {
        transition: none !important;
    }

    .partner-logo:hover {
        transform: none !important;
    }

    /* Disable parallax effect for reduced motion */
    .services {
        background-attachment: scroll !important;
    }

    /* Disable hover transforms */
    .service-card:hover,
    .package-card:hover,
    .testimonial-card:hover,
    .about-feature-card:hover,
    .about-stat-item:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-package:hover,
    .btn-submit:hover,
    .btn-newsletter:hover,
    .btn-book-now:hover {
        transform: none !important;
    }

    /* Disable about section animations */
    .about-feature-card,
    .about-feature-icon,
    .about-stat-item {
        transition: none !important;
        animation: none !important;
    }

    .about-feature-card:hover .about-feature-icon,
    .about-stat-item:hover .about-stat-number {
        transform: none !important;
        color: inherit !important;
    }

    /* Disable stat counter animations */
    .about-stat-number {
        animation: none !important;
        transition: none !important;
    }

    /* Disable testimonials carousel animations */
    .testimonials-track {
        transition: none !important;
    }

    .testimonial-card,
    .carousel-btn,
    .pagination-dot {
        transition: none !important;
        animation: none !important;
    }

    .testimonial-card:hover,
    .carousel-btn:hover,
    .pagination-dot:hover {
        transform: none !important;
    }

    /* Navigation-specific reduced motion */
    .navbar {
        transition: none !important;
    }

    .nav-menu {
        transition: none !important;
    }

    .mobile-menu-toggle span {
        transition: none !important;
    }

    .mobile-menu-backdrop {
        transition: none !important;
    }

    .nav-link {
        transition: none !important;
    }

    .skip-link {
        transition: none !important;
    }

    /* Keep focus indicators visible */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 3px solid var(--color-primary) !important;
        outline-offset: 2px !important;
    }
}

/* ================================
   ANIMATIONS
   ================================ */

/* Performance optimization: Use will-change for animated elements */
.service-card,
.package-card,
.testimonial-card,
.about-feature-card,
.btn-primary,
.btn-secondary,
.btn-package,
.btn-submit {
    will-change: transform;
}

/* Remove will-change after animation completes to free resources */
.fade-in {
    will-change: auto;
}

/* Fade-in animation for scroll-based reveals */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-in-out forwards;
}

/* Stagger animation delays for grid items */
.service-card.fade-in {
    animation-duration: 0.35s;
}

.package-card.fade-in {
    animation-duration: 0.35s;
}

.testimonial-card.fade-in {
    animation-duration: 0.35s;
}

.about-feature-card.fade-in {
    animation-duration: 0.35s;
}

/* Initial state for animated elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation for form submit */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -0.625rem; /* -10px converted to rem */
    margin-top: -0.625rem; /* -10px converted to rem */
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ================================
   HOVER EFFECTS ENHANCEMENTS
   ================================ */

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 350ms ease-in-out;
}

/* GPU acceleration for better performance on transforms */
.service-card,
.package-card,
.testimonial-card,
.about-feature-card,
.partner-logo,
.btn-primary,
.btn-secondary,
.btn-package,
.btn-submit,
.btn-newsletter,
.btn-book-now {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Package image zoom effect on card hover */
.package-card:hover .package-image img {
    transform: scale(1.08);
}

/* Testimonial image subtle scale on card hover */
.testimonial-card:hover .testimonial-image {
    transform: scale(1.05);
    border-color: var(--color-primary-dark);
}

.testimonial-image {
    transition: transform 350ms ease-in-out, border-color 350ms ease-in-out;
}

/* About stats hover effect */
.about-stat-item {
    transition: transform 350ms ease-in-out;
    cursor: default;
}

.about-stat-number {
    transition: color 350ms ease-in-out;
}

/* Hover effects isolated for pointer devices only */
@media (hover: hover) {
    .about-stat-item:hover {
        transform: translateY(-5px);
    }

    .about-stat-item:hover .about-stat-number {
        color: var(--color-accent-light);
    }

    .about-feature-card:hover .about-feature-icon {
        transform: scale(1.1) rotate(5deg);
        color: var(--color-accent-light);
    }
}

/* Form input focus effects */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: scale(1.01);
}

/* Newsletter input focus effect */
.newsletter-form input:focus {
    transform: scale(1.02);
}


/* ============================================
   TESTIMONIAL CAROUSEL STYLES
   ============================================ */

/* Carousel Container */
.testimonial-carousel-container {
    position: relative;
    padding: 0 3.75rem; /* 60px converted to rem */
    margin-bottom: var(--spacing-md);
}

.testimonials-carousel {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease-in-out;
    align-items: stretch; /* Equal height cards */
    min-height: 380px; /* Consistent minimum height for all cards */
}

.testimonial-card {
    flex: 0 0 calc((100% - (2 * var(--spacing-md))) / 3);
    min-width: 0;
    height: 100%; /* Fill parent height for equal heights */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space content evenly */
    align-items: stretch; /* Stretch children to full width */
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    width: 3.125rem; /* 50px converted to rem */
    height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn svg {
    width: 1.5rem; /* 24px converted to rem */
    height: 1.5rem;
}

.carousel-prev {
    left: -8px; /* Add space from carousel edge */
}

.carousel-next {
    right: -8px; /* Add space from carousel edge */
}

/* Pagination Dots */
.carousel-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.pagination-dot {
    width: 0.625rem; /* 10px converted to rem */
    height: 0.625rem;
    border-radius: 50%;
    background: var(--color-gray-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem; /* 8px converted to rem */
    margin: 0 0.125rem; /* 2px converted to rem */
    display: inline-block;
}

/* Active dot - elongated pill shape */
.pagination-dot.active {
    background: var(--color-primary);
    width: 1.5rem; /* 24px converted to rem */
    border-radius: 0.75rem; /* 12px converted to rem */
}

/* Hover state */
.pagination-dot:hover {
    background: var(--color-primary);
    opacity: 0.7;
    transform: scale(1.2);
}

/* Testimonial Icon (Initials) */
.testimonial-icon {
    margin-bottom: var(--spacing-sm);
}

.testimonial-initials {
    width: 5rem; /* 80px converted to rem */
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem; /* 28px converted to rem */
    font-weight: 700;
    margin: 0 auto;
    border: 3px solid var(--color-primary);
}

.testimonial-avatar {
    width: 5rem; /* 80px converted to rem */
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 3px solid var(--color-primary);
    display: block;
}

/* Verification Badge - Social Media Style */
.testimonial-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem; /* 6px - tight spacing like social media */
}

.testimonial-verification {
    width: 1rem; /* 16px - small like social media */
    height: 1rem;
    color: #1da1f2; /* Twitter blue for recognition */
    flex-shrink: 0;
}

/* Review Date - Subtle and minimal */
.testimonial-date {
    color: var(--color-gray);
    font-size: 0.6875rem; /* 11px - smaller and subtle */
    margin-top: 0.125rem; /* Tighter spacing */
    font-style: italic;
}

/* Destination Display */
.testimonial-destination {
    color: var(--color-primary);
    font-size: 0.8125rem; /* 13px */
    font-weight: 500;
    margin-top: 0.25rem;
    font-style: normal;
}

/* Testimonial Author Container */
.testimonial-author {
    text-align: center;
    margin-top: auto; /* Push to bottom in flex layout */
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc((100% - var(--spacing-md)) / 2);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonial-carousel-container {
        padding: 0 3rem; /* Increased from 2.5rem for better arrow spacing */
    }

    .carousel-btn {
        width: 2.5rem; /* 40px converted to rem */
        height: 2.5rem;
    }

    /* More space from edges on mobile */
    .carousel-prev {
        left: 0; /* Align to container edge (not negative) */
    }

    .carousel-next {
        right: 0; /* Align to container edge (not negative) */
    }

    .carousel-btn svg {
        width: 1.25rem; /* 20px converted to rem */
        height: 1.25rem;
    }
}


/* ============================================
   FOOTER LEGAL LINKS
   ============================================ */

.footer-legal {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .footer-legal a:hover {
        color: var(--color-primary);
        text-decoration: underline;
    }
}

.footer-legal span {
    color: var(--color-gray);
}

@media (max-width: 768px) {
    .footer-legal {
        font-size: 12px;
        gap: 8px;
    }
}


/* ============================================
   HERO HIGHLIGHT STYLE
   ============================================ */

.hero-highlight {
    display: block;
    color: var(--color-primary);
    font-size: 0.6em;
    margin-top: 0.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-highlight {
        font-size: 0.7em;
    }
}


/* ============================================
   MULTI-STEP FORM STYLES
   ============================================ */

/* Progress Indicator */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-sm);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--color-primary);
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray);
}

.progress-step.active .step-label {
    color: var(--color-dark);
}

.progress-connector {
    width: 60px;
    height: 2px;
    background: var(--color-gray-light);
    position: relative;
}

.progress-connector::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

/* Form Steps */
.multi-step-form .form-step {
    display: none;
}

.multi-step-form .form-step.active,
.multi-step-form .form-step:first-of-type {
    display: block;
}

.multi-step-form .form-step.active {
    animation: slideInForm 0.4s ease-out;
}

/* Fallback: if JavaScript doesn't load, show first step */
.multi-step-form .form-step:not(.active) ~ .form-step:first-of-type {
    display: block;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    align-items: center;
    justify-content: space-between;
}

.btn-next {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(44, 95, 111, 0.3);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--color-gray-light);
    color: var(--color-dark);
    border: none;
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Step 2 navigation layout */
.form-step[data-step="2"] .form-navigation {
    justify-content: space-between;
}

.form-step[data-step="2"] .btn-submit {
    flex: 1;
    margin-left: var(--spacing-md);
}

/* Hover effects isolated for pointer devices only (not touch) */
@media (hover: hover) {
    .btn-submit:hover:not(:disabled) {
        transform: translateY(-2px) scale(1.02);
        box-shadow: var(--shadow-lg);
        background: var(--color-accent-dark);
    }

    .btn-next:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.9375rem rgba(44, 95, 111, 0.4); /* 4px 15px converted to rem */
    }

    .btn-back:hover {
        background: var(--color-gray);
        color: white;
    }
}

/* Enhanced destination select with emojis */
.form-step select[name="destination"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    cursor: pointer;
    position: relative;
}

/* Better select dropdown positioning on mobile */
@media (max-width: 768px) {
    .form-step select[name="destination"],
    .form-step input[name="travelDate"] {
        /* Ensure dropdown appears near the field */
        position: relative;
        z-index: 10;
        transform: translateZ(0);
    }
    
    /* Fix for date picker positioning and visibility on mobile */
    .form-step input[name="travelDate"]::-webkit-calendar-picker-indicator {
        position: absolute;
        right: 12px;
        cursor: pointer;
        padding: 8px;
        opacity: 1; /* Ensure icon is visible on mobile */
        filter: brightness(0) saturate(100%) invert(27%) sepia(8%) saturate(1049%) hue-rotate(169deg) brightness(95%) contrast(92%); /* Color to match theme */
    }
}

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-message {
    display: none;
    color: #ef4444;
    font-size: 14px;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-group .error-message:not(:empty) {
    display: block;
}

/* Animation for form steps */
@keyframes slideInForm {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .form-progress {
        margin-bottom: var(--spacing-md);
        gap: var(--spacing-xs);
    }
    
    .step-label {
        display: none; /* Hide labels on mobile for cleaner look */
    }
    
    .progress-connector {
        width: 40px;
    }
    
    .step-title {
        font-size: 1.25rem;
    }

    /* Form button styles consolidated above in main mobile query (line ~3057) */
    /* Removed redundant rules to prevent cascade conflicts */
}

/* ============================================
   PACKAGE SHOW MORE FUNCTIONALITY
   ============================================ */

/* Hide packages initially */
.package-hidden {
    display: none;
}

/* Show packages when revealed */
.packages-revealed .package-hidden {
    display: block;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Show More Button Container */
.packages-show-more {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

/* Show More Button Styles */
.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 111, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-show-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(44, 95, 111, 0.4);
}

.btn-show-more:active {
    transform: translateY(0);
}

/* Button text and arrow */
.btn-text {
    transition: opacity 0.3s ease;
}

.btn-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Arrow rotation when expanded */
.btn-show-more[aria-expanded="true"] .btn-arrow {
    transform: rotate(180deg);
}

/* Hide button when packages are shown */
.packages-revealed .packages-show-more {
    display: none;
}

/* Fade-in animation for revealed packages */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .btn-show-more {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .packages-show-more {
        margin-top: var(--spacing-md);
        padding: var(--spacing-sm) 0;
    }
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    line-height: 1.8;
}

.legal-page h1 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-size: 2.5rem;
}

.legal-page h2 {
    color: var(--color-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: 1.8rem;
}

.legal-page h3 {
    color: var(--color-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.legal-page p,
.legal-page li {
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-sm);
}

.legal-page ul,
.legal-page ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.legal-page li {
    margin-bottom: var(--spacing-xs);
}

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-md) 0;
}

.legal-page th,
.legal-page td {
    padding: var(--spacing-xs); /* Using spacing variable (was 12px) */
    text-align: left;
    border: 1px solid var(--color-gray-light);
}

.legal-page th {
    background: var(--color-gray-light);
    font-weight: 600;
}

.legal-page .last-updated {
    font-style: italic;
    color: var(--color-gray);
    font-size: 14px;
    margin-bottom: var(--spacing-lg);
}

.legal-page .back-link {
    display: inline-block;
    margin-top: var(--spacing-lg);
    margin-right: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-light);
    color: var(--color-primary);
    text-decoration: none;
}

.legal-page .back-link:hover {
    text-decoration: underline;
}

/* Highlight box for important notices (used in cancellation-policy) */
.legal-page .highlight-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-page h2 {
        font-size: 1.5rem;
    }
    
    .legal-page h3 {
        font-size: 1.2rem;
    }
    
    .legal-page table {
        font-size: 14px;
    }
    
    .legal-page th,
    .legal-page td {
        padding: var(--spacing-xs); /* 8px using spacing variable */
    }
}


/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 1.25rem; /* 20px converted to rem */
    right: 1.25rem; /* 20px converted to rem */
    z-index: 1001;
    background: #25D366;
    color: white;
    width: 3.75rem; /* 60px converted to rem */
    height: 3.75rem; /* 60px converted to rem */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (hover: hover) {
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        background: #20BA5A;
    }

    .whatsapp-float:hover .whatsapp-text {
        opacity: 1;
        transform: translateX(0);
    }
}

.whatsapp-float svg {
    width: 2rem; /* 32px converted to rem */
    height: 2rem; /* 32px converted to rem */
}

.whatsapp-text {
    position: absolute;
    right: 4.375rem; /* 70px converted to rem */
    background: #25D366;
    color: white;
    padding: 0.5rem 1rem; /* 8px 16px converted to rem */
    border-radius: 1.25rem; /* 20px converted to rem */
    white-space: nowrap;
    font-size: 0.875rem; /* 14px converted to rem */
    font-weight: 500;
    opacity: 0;
    transform: translateX(0.625rem); /* 10px converted to rem */
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 3.5rem; /* 56px converted to rem */
        height: 3.5rem; /* 56px converted to rem */
        bottom: 5.625rem; /* 90px converted to rem - Above mobile sticky CTA if present */
        right: 1rem; /* 16px converted to rem */
    }

    .whatsapp-float svg {
        width: 1.75rem; /* 28px converted to rem */
        height: 1.75rem; /* 28px converted to rem */
    }

    .whatsapp-text {
        display: none; /* Hide text on mobile */
    }
}

/* Safe area insets for notched devices */
@supports (bottom: env(safe-area-inset-bottom)) {
    .whatsapp-float {
        bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.625rem)); /* 20px, 10px converted to rem */
        right: max(1.25rem, calc(env(safe-area-inset-right) + 0.625rem)); /* 20px, 10px converted to rem */
    }

    @media (max-width: 768px) {
        .whatsapp-float {
            bottom: max(5.625rem, calc(env(safe-area-inset-bottom) + 5rem)); /* 90px, 80px converted to rem */
            right: max(1rem, calc(env(safe-area-inset-right) + 0.375rem)); /* 16px, 6px converted to rem */
        }
    }
}


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 1.25rem; /* 20px converted to rem */
    left: 1.25rem; /* 20px converted to rem */
    z-index: 1001;
    background: var(--color-primary);
    color: white;
    width: 3rem; /* 48px converted to rem */
    height: 3rem; /* 48px converted to rem */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.25rem 0.75rem rgba(44, 95, 111, 0.4); /* 0 4px 12px */
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.25rem); /* 20px converted to rem */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) {
    .back-to-top:hover {
        transform: translateY(-0.25rem); /* -4px converted to rem */
        box-shadow: 0 0.375rem 1.25rem rgba(44, 95, 111, 0.6); /* 0 6px 20px */
        background: var(--color-primary-light);
    }
}

.back-to-top svg {
    width: 1.5rem; /* 24px converted to rem */
    height: 1.5rem; /* 24px converted to rem */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        width: 2.75rem; /* 44px converted to rem */
        height: 2.75rem; /* 44px converted to rem */
        bottom: 5.625rem; /* 90px converted to rem - Above WhatsApp button */
        left: 1rem; /* 16px converted to rem */
    }

    .back-to-top svg {
        width: 1.25rem; /* 20px converted to rem */
        height: 1.25rem; /* 20px converted to rem */
    }
}

/* Safe area insets for notched devices */
@supports (bottom: env(safe-area-inset-bottom)) {
    .back-to-top {
        bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.625rem)); /* 20px, 10px converted to rem */
        left: max(1.25rem, calc(env(safe-area-inset-left) + 0.625rem)); /* 20px, 10px converted to rem */
    }

    @media (max-width: 768px) {
        .back-to-top {
            bottom: max(5.625rem, calc(env(safe-area-inset-bottom) + 5rem)); /* 90px, 80px converted to rem */
            left: max(1rem, calc(env(safe-area-inset-left) + 0.375rem)); /* 16px, 6px converted to rem */
        }
    }
}


/* ============================================
   GLOBAL ERROR NOTIFICATION
   ============================================ */

.global-error-notification {
    position: fixed;
    top: 1.25rem; /* 20px converted to rem */
    right: 1.25rem; /* 20px converted to rem */
    max-width: 25rem; /* 400px converted to rem */
    background: #FFF3CD;
    border: 2px solid #FFC107;
    border-radius: 0.5rem; /* 8px converted to rem */
    padding: 1rem; /* 16px converted to rem */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15); /* 0 4px 12px */
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

.error-content {
    display: flex;
    align-items: start;
    gap: 0.75rem; /* 12px converted to rem */
}

.error-icon {
    font-size: 1.5rem; /* 24px converted to rem */
    flex-shrink: 0;
}

.error-text strong {
    display: block;
    color: #856404;
    margin-bottom: 0.25rem; /* 4px converted to rem */
    font-size: 0.875rem; /* 14px converted to rem */
}

.error-text p {
    color: #856404;
    margin: 0;
    font-size: 0.8125rem; /* 13px converted to rem */
    line-height: 1.4;
}

.error-close {
    background: none;
    border: none;
    font-size: 1.5rem; /* 24px converted to rem */
    color: #856404;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    line-height: 1;
}

@media (hover: hover) {
    .error-close:hover {
        color: #533f03;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .global-error-notification {
        top: 0.625rem; /* 10px converted to rem */
        right: 0.625rem; /* 10px converted to rem */
        left: 0.625rem; /* 10px converted to rem */
        max-width: none;
    }
}


/* ============================================
   TRUST BADGES SECTION - Modern Design
   ============================================ */

.trust-badges-section {
    padding: var(--spacing-md) 0;
    background: linear-gradient(180deg, rgba(44, 95, 111, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border-top: 1px solid rgba(44, 95, 111, 0.1);
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: var(--spacing-md);
    background: var(--color-white);
    border: 2px solid transparent;
    border-radius: 16px;
    min-width: 180px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trust-badge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(44, 95, 111, 0.15);
}

.trust-badge-item:hover::before {
    transform: scaleX(1);
}

.trust-badge-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(44, 95, 111, 0.1), rgba(44, 95, 111, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.trust-badge-item:hover .trust-badge-icon {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: scale(1.1) rotate(-5deg);
}

.trust-badge-icon svg {
    width: 28px;
    height: 28px;
}

.trust-badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-badge-content strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

.trust-badge-content span {
    font-size: 0.8rem;
    color: var(--color-gray);
    font-weight: 500;
}

/* Tablet */
@media (max-width: 1024px) {
    .trust-badges-grid {
        gap: var(--spacing-md);
    }
    
    .trust-badge-item {
        min-width: 160px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .trust-badges-section {
        padding: var(--spacing-sm) 0;
        margin-top: var(--spacing-md);
    }
    
    .trust-badges-grid {
        gap: var(--spacing-sm);
    }
    
    .trust-badge-item {
        min-width: 140px;
        padding: var(--spacing-sm);
        gap: 0.5rem;
    }
    
    .trust-badge-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 12px;
    }
    
    .trust-badge-icon svg {
        width: 24px;
        height: 24px;
    }
}


/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-subtle);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: 0.75rem; /* 12px converted to rem */
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    transition: color 0.3s ease, background-color 0.3s ease;
    min-height: 3.5rem; /* 56px converted to rem */
    touch-action: manipulation;
}

.faq-question:active {
    background-color: rgba(44, 95, 111, 0.05);
}

/* FAQ question heading (h3 for screen reader navigation) */
.faq-question-text {
    flex: 1;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    color: inherit;
}

.faq-question-text span {
    display: block;
}

.faq-icon {
    width: 1.5rem; /* 24px converted to rem */
    height: 1.5rem; /* 24px converted to rem */
    min-width: 1.5rem; /* 24px converted to rem */
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* FAQ answer container - uses grid for smooth auto-height animation */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s ease;
}

/* When expanded, allow content to take full height */
.faq-answer.active {
    grid-template-rows: 1fr;
}

/* Inner content wrapper required for grid animation */
.faq-answer-content {
    min-height: 0;
    padding: 0 var(--spacing-md);
    opacity: 0;
    transition: opacity 0.3s ease, padding 0.3s ease;
}

/* Show content when FAQ is active */
.faq-answer.active .faq-answer-content {
    padding: 0 var(--spacing-md) var(--spacing-md);
    opacity: 1;
}

.faq-answer p {
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--color-primary-dark);
}

/* Hover effects isolated for pointer devices only (not touch) */
@media (hover: hover) {
    .faq-item:hover {
        box-shadow: var(--shadow-md);
    }

    .faq-question:hover {
        color: var(--color-primary);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: var(--spacing-lg) 0;
    }
    
    .faq-question {
        padding: var(--spacing-sm);
        font-size: 1rem;
        min-height: 3.25rem; /* 52px converted to rem */
    }

    .faq-icon {
        width: 1.25rem; /* 20px converted to rem */
        height: 1.25rem; /* 20px converted to rem */
        min-width: 1.25rem; /* 20px converted to rem */
    }
    
    .faq-answer.active {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
    }
}


/* ============================================
   PACKAGE BADGES (Urgency/Scarcity)
   ============================================ */

.package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: pulse 2s ease-in-out infinite;
}

.popular-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

.limited-badge {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
}

.sale-badge {
    background: linear-gradient(135deg, #FFD93D, #FFA500);
    color: #2C3E50;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .package-badge {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}


/* ============================================
   VIEWING INDICATORS
   ============================================ */

.viewing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #E74C3C;
    font-weight: 600;
    margin-bottom: 0.75rem;
    animation: fadeIn 0.5s ease;
}

.viewing-indicator svg {
    width: 16px;
    height: 16px;
    color: #E74C3C;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .viewing-indicator {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .viewing-indicator svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================================
   INTERNATIONAL TEL INPUT LIBRARY OVERRIDES
   Fixes mobile dropdown issues
   ============================================ */

/* Container */
.iti {
    width: 100%;
    display: block;
}

/* Country dropdown list - constrain height on mobile */
.iti__country-list {
    max-height: 300px !important; /* Prevent full-screen takeover */
    overflow-y: auto !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
}

/* Country list items - ensure visibility */
.iti__country {
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
}

/* Country name and dial code - ensure visibility */
.iti__country-name,
.iti__dial-code {
    color: var(--color-dark) !important;
    font-size: 0.9rem !important;
}

/* Highlighted country */
.iti__country.iti__highlight {
    background-color: var(--color-primary-lightest) !important;
}

/* Active/selected country */
.iti__country.iti__active {
    background-color: var(--color-primary-light) !important;
    color: white !important;
}

.iti__country.iti__active .iti__country-name,
.iti__country.iti__active .iti__dial-code {
    color: white !important;
}

/* Search input in dropdown */
.iti__search-input {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1px solid var(--color-gray-light) !important;
    border-radius: 4px !important;
    margin-bottom: 8px !important;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    .iti__country-list {
        max-height: 250px !important; /* Smaller on mobile */
        width: 100% !important;
    }
    
    .iti__country {
        padding: 12px 10px !important; /* Larger touch targets */
    }
    
    .iti__country-name,
    .iti__dial-code {
        font-size: 0.85rem !important;
    }
    
    /* Ensure dropdown doesn't exceed viewport */
    .iti__dropdown-content {
        max-width: calc(100vw - 40px) !important;
    }
}

/* ============================================
   GENERAL MOBILE IMPROVEMENTS
   Industry best practices and UX enhancements
   ============================================ */

/* Ensure all interactive elements have adequate touch targets */
@media (max-width: 768px) {
    button,
    a.btn,
    .btn-primary,
    .btn-secondary {
        min-height: 44px; /* Apple/Google recommended minimum */
        min-width: 44px;
    }

    /* Improve form field touch targets */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    /* Better section spacing on mobile */
    section {
        scroll-margin-top: calc(var(--navbar-height) + 1rem); /* Better scroll anchoring */
    }

    /* Prevent text from being too close to edges */
    p, li, span {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%; /* Prevent overflow */
    }
}

/* Smooth scrolling for all devices */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visibility for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Remove default focus for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   ULTRA-NARROW VIEWPORT OPTIMIZATIONS
   Prevent hero title overlapping with logo
   ============================================ */

/* Ultra-narrow devices (< 400px) - iPhone SE, small phones */
@media (max-width: 400px) {
    /* Compact navbar to save vertical space */
    .navbar {
        padding: 0.375rem 0;
    }

    .logo-img {
        height: 50px;
    }

    /* Increase hero padding to prevent overlap */
    .hero {
        height: 100dvh;
        min-height: 520px;
        padding-top: calc(var(--navbar-height) + var(--spacing-lg) + 1rem);
    }

    /* Smaller hero title for narrow viewports */
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.2;
        margin-bottom: var(--spacing-xs);
        padding: 0 var(--spacing-xs);
    }

    .hero-subtitle {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        margin-bottom: var(--spacing-sm);
    }

    /* Compact trust bar */
    .hero-trust-bar {
        margin: var(--spacing-sm) var(--spacing-xs);
        padding: var(--spacing-xs);
    }

    .trust-number {
        font-size: 1.75rem;
    }

    .trust-label,
    .testimonial-text {
        font-size: 0.8rem;
    }

    /* Smaller CTA buttons */
    .cta-primary {
        max-width: 260px;
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
}

/* Extra narrow devices (< 360px) - Very small phones */
@media (max-width: 360px) {
    /* Even more compact navbar */
    .logo-img {
        height: 45px;
    }

    /* Extra padding to ensure no overlap */
    .hero {
        padding-top: calc(var(--navbar-height) + var(--spacing-xl) + 1.5rem);
        min-height: 540px;
    }

    /* Fixed smaller title size */
    .hero-title {
        font-size: 1.5rem;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

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

    /* Even more compact trust bar */
    .trust-number {
        font-size: 1.5rem;
    }

    .trust-label {
        font-size: 0.75rem;
    }
}

