/* CorbSafari - Ultra-Modern Futuristic Safari Experience */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* Original Safari Color Palette */
    --primary-green: #59A52C;
    --primary-blue: #137DC5;
    --mixed-color: #3F9178;
    --accent-orange: #F59E0B;
    --accent-pink: #EC4899;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--mixed-color), var(--primary-green));
    --gradient-secondary: linear-gradient(45deg, var(--primary-green), var(--mixed-color), var(--primary-blue));
    --gradient-tertiary: linear-gradient(90deg, rgba(89, 165, 44, 0.2), rgba(63, 145, 120, 0.2), rgba(19, 125, 197, 0.2));
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-dark: linear-gradient(135deg, #2c5530 0%, #1e3a21 50%, #0f1a10 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --glass-blur: blur(16px);
    
    /* Dark Theme */
    --dark-bg: #0F172A;
    --dark-surface: #1E293B;
    --dark-elevated: #334155;
    --dark-text: #F8FAFC;
    --dark-text-secondary: #CBD5E1;
    
    /* Light Theme */
    --light-bg: #FFFFFF;
    --light-surface: #F8FAFC;
    --light-elevated: #F1F5F9;
    --light-text: #0F172A;
    --light-text-secondary: #64748B;
    
    /* Semantic Colors */
    --success: var(--primary-green);
    --warning: #F59E0B;
    --error: #EF4444;
    --info: var(--primary-blue);
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(89, 165, 44, 0.3);
    --shadow-neon: 0 0 30px rgba(63, 145, 120, 0.4);
    
    /* Animation */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Global container for consistent widths */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Global Responsive Media Rules */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Responsive font sizing */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

/* Text Selection Styling */
::selection {
    background: var(--primary-green) !important;
    color: white !important;
}

::-moz-selection {
    background: var(--primary-green) !important;
    color: white !important;
}

/* Specific selection overrides for common elements */
h1::selection, h2::selection, h3::selection, h4::selection, h5::selection, h6::selection,
p::selection, span::selection, div::selection, a::selection, li::selection,
.card::selection, .btn::selection, .nav-link::selection {
    background: var(--primary-green) !important;
    color: white !important;
}

/* Firefox specific */
h1::-moz-selection, h2::-moz-selection, h3::-moz-selection, h4::-moz-selection, h5::-moz-selection, h6::-moz-selection,
p::-moz-selection, span::-moz-selection, div::-moz-selection, a::-moz-selection, li::-moz-selection,
.card::-moz-selection, .btn::-moz-selection, .nav-link::-moz-selection {
    background: var(--primary-green) !important;
    color: white !important;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--light-text);
    background: 
        linear-gradient(135deg, rgba(89, 165, 44, 0.1), rgba(19, 125, 197, 0.1)),
        radial-gradient(circle at 20% 80%, rgba(63, 145, 120, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(89, 165, 44, 0.15) 0%, transparent 50%),
        var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(89, 165, 44, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(19, 125, 197, 0.08) 0%, transparent 60%);
    backdrop-filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   NEW MOBILE-FIRST HEADER STYLES
   ============================================ */

/* Base Header (Mobile-First) */
.site-header {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 10px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0; /* keep tight */
}

.logo img {
    height: 56px !important;
    max-height: 56px !important;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
    will-change: transform;
}

/* Hover pop effect */
.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hamburger: visible on mobile by default */
.hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--light-text);
    width: 44px; /* per spec */
    height: 44px; /* per spec */
    padding: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
    position: relative;
    z-index: 1003;
}

.hamburger:focus {
    outline: 3px solid rgba(89, 165, 44, 0.3);
    outline-offset: 2px;
}

.hamburger:active {
    transform: scale(0.95);
}

/* Visual hamburger lines */
.hamburger-box {
    display: inline-block;
    width: 22px; /* per spec */
    height: 18px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    display: block;
    background: #0b2b24; /* per spec */
    height: 2px; /* per spec */
    border-radius: 2px; /* per spec */
    position: absolute;
    left: 0;
    right: 0;
    content: "";
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: "";
    top: -7px;
}

.hamburger-inner::after {
    content: "";
    top: 7px;
}

/* Hamburger animation when active */
/* Support .is-open in addition to aria-expanded */
.hamburger.is-open .hamburger-inner,
.hamburger[aria-expanded="true"] .hamburger-inner { transform: rotate(45deg); }
.hamburger.is-open .hamburger-inner::before,
.hamburger[aria-expanded="true"] .hamburger-inner::before { transform: rotate(90deg) translateX(0); top: 0; opacity: 1; }
.hamburger.is-open .hamburger-inner::after,
.hamburger[aria-expanded="true"] .hamburger-inner::after { top: 0; transform: rotate(90deg); opacity: 1; }

/* Keep X above menu */
.hamburger.is-open { position: relative; z-index: 11002; }

/* --- Centered Mobile Dropdown (spec) --- */
/* Container sits below header, centered; hidden by default */
.mobile-menu {
  position: fixed;
  top: 72px; /* below header */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 380px;
  max-height: 70vh;
  z-index: 11000;
  display: none; /* toggled via JS */
  padding: 0;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(6,30,24,0.28);
  overflow: hidden;
}

.mobile-menu .mobile-menu-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #39b54a 0%, #2aa7f6 100%);
  color: #053227;
  overflow-y: auto; /* internal scroll if needed */
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
}

.mobile-nav-list a {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border-radius: 8px;
  font-weight: 600;
  color: #042b22;
  text-decoration: none;
  background: rgba(255,255,255,0.18);
  transition: background .18s ease, transform .12s ease, box-shadow .12s ease;
  will-change: transform, box-shadow;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus,
.mobile-nav-list a:active {
  background: rgba(255,255,255,0.28);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(6,30,24,0.18);
}

/* Open state */
.mobile-menu.open { display: block; }

/* Scroll lock already in place */
body.menu-open { overflow: hidden; }

/* Limit to small viewports so desktop unaffected */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* Nav: hidden by default on mobile (dropdown toggled via JS) */
.main-nav {
    display: none;
}

.main-nav.open {
    display: block;
    position: absolute;
    top: 64px;
    right: 12px;
    left: 12px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    padding: 8px;
    z-index: 999;
    border: 1px solid var(--glass-border);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    display: block;
    padding: 12px 16px;
    color: var(--light-text);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-weight: 500;
}

.nav-list a:hover {
    background: rgba(89, 165, 44, 0.1);
}

.nav-list a:active {
    background: rgba(89, 165, 44, 0.2);
}

/* Auth buttons: hidden on mobile */
.auth-buttons {
    display: none;
}

/* Mobile-only items: visible on mobile */
.mobile-only {
    display: block;
}

/* Desktop: show nav and auth buttons, hide hamburger */
@media (min-width: 769px) {
    .header-inner {
        padding: 10px 18px;
    }

    .logo-img {
        height: 72px !important;
    }

    /* Ensure the descendant selector doesn't cap the logo height on desktop */
    .logo img {
        height: 72px !important;
        max-height: 72px !important;
    }

    .hamburger {
        display: none;
    }

    .main-nav {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        border: none;
    }

    .nav-list {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .nav-list a {
        padding: 10px 20px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 50px;
        font-size: 0.95rem;
    }

    .nav-list a:hover {
        background: rgba(89, 165, 44, 0.1);
        border-color: rgba(89, 165, 44, 0.3);
        transform: translateY(-2px);
    }

    .auth-buttons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .welcome-text {
        font-weight: 500;
        color: var(--light-text);
        margin-right: 8px;
    }

    /* Hide mobile-only items on desktop */
    .mobile-only {
        display: none;
    }
}

/* ============================================
   END NEW MOBILE-FIRST HEADER STYLES
   ============================================ */

/* Header Styles - Ultra Modern */
.header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--light-text);
    padding: 1.5rem 0;
    min-height: 80px;
    box-shadow: var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(1rem, 3vw, 2rem);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    gap: 0.8rem;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
    padding: 0.5rem;
}

/* Navbar Logo Styles */
.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
    height: auto;
    padding: 0.5rem;
}

.navbar-logo-img {
    height: clamp(40px, 8vw, 60px);
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.navbar-logo a {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-logo a:hover {
    opacity: 0.8;
}

.navbar-logo-img:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(0.5rem, 2vw, 2rem);
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.75rem clamp(0.75rem, 2vw, 1.5rem);
    border-radius: 50px;
    transition: var(--transition-normal);
    position: relative;
    font-weight: 500;
    backdrop-filter: var(--glass-blur);
    white-space: nowrap;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.nav-menu a:hover::before {
    opacity: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

/* Form Input Styles */
.form-input {
    width: 100%;
    max-width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    color: var(--light-text);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(46, 125, 50, 0.3),
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.form-input:hover:not(:focus) {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 
        0 10px 36px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

select.form-input {
    cursor: pointer;
    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='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

select.form-input option {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 0.5rem;
}

/* What We Offer Section Styles */
.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.card-icon {
    transition: all 0.3s ease;
}

.offer-card:hover .card-icon {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 640px) {
    .offers-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Why Trust Us Section Styles */
.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.trust-icon {
    transition: all 0.3s ease;
}

.trust-card:hover .trust-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
    .trust-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }
    
    .trust-card {
        min-height: auto !important;
        padding: 2rem !important;
    }
}

@media (max-width: 768px) {
    .why-trust-us-section .section-header h2 {
        font-size: 2rem !important;
    }
    
    .mission-statement {
        margin-top: 2rem !important;
    }
    
    .mission-statement div {
        padding: 2rem !important;
    }
}

/* Tips for Tourists Section Styles */
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.tip-icon {
    transition: all 0.3s ease;
}

.tip-card:hover .tip-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
    .tips-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }
    
    .tips-cards-grid:nth-child(2) {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 600px !important;
    }
}

@media (max-width: 768px) {
    .tips-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }
    
    .tip-card {
        min-height: auto !important;
        padding: 2rem !important;
    }
    
    .tips-for-tourists-section .section-header h2 {
        font-size: 2rem !important;
    }
    
    .tips-message {
        margin-top: 2rem !important;
    }
    
    .tips-message div {
        padding: 2rem !important;
    }
    
    .section-header h2 {
        font-size: 2rem !important;
    }
    
    .section-header p {
        font-size: 0.8rem !important;
    }
    
    .offer-card {
        padding: 1.5rem !important;
    }
    
    .card-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
}

/* Why It Matters Section Styles */
.matters-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.matters-icon {
    transition: all 0.3s ease;
}

.matters-card:hover .matters-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
    .matters-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }
    
    .matters-cards-grid:nth-child(2) {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
    }
}

@media (max-width: 768px) {
    .matters-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }
    
    .matters-card {
        min-height: auto !important;
        padding: 2rem !important;
    }
    
    .why-it-matters-section .section-intro h2 {
        font-size: 2rem !important;
    }
    
    .why-it-matters-section .section-intro p {
        font-size: 0.8rem !important;
    }
}

/* Main Content */
main {
    flex: 1;
}

/* Container improvements */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    inset: -2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    pointer-events: none;
    z-index: -1;
}

.main-nav.open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    padding: 2rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98); /* Opaque for readability */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
    border: none;
    z-index: 9999;
}

@media (max-width: 768px) {
  .main-nav.open {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100vh;
      padding: 4.5rem 1.25rem 2rem; /* leave room for header/close */
      display: flex;
      align-items: flex-start;
      justify-content: center;
      background: rgba(255, 255, 255, 0.98); /* Opaque for readability */
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: none;
      border: none;
      z-index: 9999;
      overflow-y: auto; /* scroll menu if items overflow */
  }

  .nav-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      width: min(92vw, 500px);
      margin: 0 auto;
  }

  .nav-list a {
      padding: 14px 18px;
      background: #ffffff;
      color: #0F172A; /* readable dark text */
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
      font-size: 1rem;
      text-align: center;
  }
}

/* Lock page scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

.hero {
    text-align: center;
    padding: clamp(4rem, 15vw, 10rem) clamp(1rem, 3vw, 2rem);
    background: 
        var(--gradient-primary),
        url('https://images.unsplash.com/photo-1516426122078-c23e76319801?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-blend-mode: overlay;
    color: white;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-elevated);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(89, 165, 44, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(19, 125, 197, 0.4) 0%, transparent 60%);
    backdrop-filter: blur(2px);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    animation: heroTitle 1s ease-out;
    line-height: 1.1;
}

@keyframes heroTitle {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: heroSubtitle 1s ease-out 0.2s both;
    padding: 0 1rem;
}

@keyframes heroSubtitle {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 0.95; transform: translateY(0); }
}

/* Horizontal Scroll Container for Home Page */
.packages-scroll-container {
    position: relative;
    margin: 2rem 0;
    overflow: visible; /* allow scroll buttons to be fully visible */
}

.packages-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;           /* re-enable horizontal scroll */
    align-items: stretch;       /* uniform height in horizontal list */
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE and Edge */
}

.packages-scroll::-webkit-scrollbar {
    display: none;              /* Chrome, Safari, Opera */
}

.packages-scroll .package-card {
    min-width: min(320px, 85vw);
    max-width: 380px;
    flex-shrink: 0;
}

/* Scroll Navigation Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 85, 48, 0.9);
    color: white;
    border: none;
    min-width: 44px;
    min-height: 44px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-elevated);
}

.scroll-btn:hover {
    background: rgba(44, 85, 48, 1);
    transform: translateY(-50%) scale(1.1);
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.scroll-btn:disabled:hover {
    transform: translateY(-50%) scale(1);
}

/* Safari Package Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    align-items: stretch; /* ensure equal height cards */
    width: 100%;
}

.package-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    display: flex;             /* uniform height structure */
    flex-direction: column;    /* stack image + content */
    min-height: 520px;         /* baseline height across cards */
    height: auto;
}

.package-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-secondary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.package-card:hover {
    transform: translateY(-12px) rotateX(2deg) scale(1.02);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(89, 165, 44, 0.3);
}

.package-card:hover::before {
    opacity: 1;
}

.package-image {
    width: 100%;
    height: 200px;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.package-content {
    padding: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex: 1;                   /* fill remaining space under image */
    overflow: hidden;          /* prevent inner overflow */
}

.package-title {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* keep titles tidy */
    line-clamp: 2;
    overflow: hidden;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    line-height: 1.3;
    min-height: calc(1.3em * 2); /* reserve height for 2 lines */
}

.package-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* prevent height growth with longer text */
    line-clamp: 3;
    overflow: hidden;
    flex-grow: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
    min-height: calc(1.6em * 3); /* reserve height for 3 lines */
}

.package-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.25rem; /* stabilize details row height */
    margin-bottom: 1rem;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: #888;
}

.package-price {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    min-height: 2.2rem; /* keep price row consistent */
}

.package-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto; /* push actions to bottom for equal heights */
    padding-top: 1rem;
}

/* Ultra-Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    min-height: 44px;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    background: var(--gradient-secondary);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--light-text);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.btn-secondary:hover {
    background: var(--gradient-tertiary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
    background: rgba(89, 165, 44, 0.05);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 4px 15px rgba(89, 165, 44, 0.3);
    background: rgba(89, 165, 44, 0.1);
}

.btn-outline:hover::before {
    opacity: 1;
}

/* --- Auth Buttons Consistency (Header) --- */
.auth-buttons .btn {
    padding: 0.85rem 1.4rem;
    border-radius: 14px;
    white-space: nowrap;
    min-height: 44px;
}

/* Make Sign Up (btn-primary) match Login (btn-outline) style in header */
.auth-buttons .btn-primary {
    background: rgba(89, 165, 44, 0.05);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: var(--shadow-md);
}

.auth-buttons .btn-primary:hover {
    color: #fff;
    background: var(--primary-green);
    box-shadow: var(--shadow-lg), 0 4px 15px rgba(89, 165, 44, 0.3);
    transform: translateY(-2px);
}

/* Ultra-Modern Forms */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.9rem;
    letter-spacing: 0.025em;
}

/* Password Input with Eye Icon */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--light-text-secondary);
    transition: var(--transition-fast);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
}

.password-toggle-btn:hover {
    color: var(--primary-green);
    background: rgba(89, 165, 44, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.password-toggle-btn:focus {
    outline: none;
    color: var(--primary-green);
    background: rgba(89, 165, 44, 0.15);
}

.password-toggle-btn svg {
    width: 1.2rem;
    height: 1.2rem;
    transition: var(--transition-fast);
}

.password-input-container .form-control {
    padding-right: 3.5rem;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: clamp(0.85rem, 2vw, 1rem) clamp(1rem, 2vw, 1.25rem);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition-normal);
    color: var(--light-text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(89, 165, 44, 0.1), var(--shadow-glow);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--light-text-secondary);
    opacity: 0.7;
}

/* Auth Forms */
.auth-container {
    max-width: 900px;
    width: 100%;
    margin: 2rem auto;
    background: white;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Two Column Form Layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Single column for specific elements */
.form-full-width {
    grid-column: 1 / -1;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c5530;
}

/* Ultra-Modern Profile Sections */
.profile-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 3rem;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.profile-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: var(--gradient-primary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.3;
}

.profile-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
}

.bookings-table th,
.bookings-table td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.bookings-table th {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    font-weight: 600;
    color: black;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-shadow: none;
    opacity: 1;
    backdrop-filter: none;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-pending { 
    background: linear-gradient(135deg, var(--warning), #FCD34D);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.status-confirmed { 
    background: linear-gradient(135deg, var(--success), #34D399);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.status-in_progress { 
    background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
    color: white;
    box-shadow: 0 2px 8px rgba(19, 125, 197, 0.3);
}
.status-cancelled { 
    background: linear-gradient(135deg, var(--error), #F87171);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.status-completed { 
    background: linear-gradient(135deg, var(--info), #38BDF8);
    color: white;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

/* Ultra-Modern Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    backdrop-filter: var(--glass-blur);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(89, 165, 44, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(19, 125, 197, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Button Specific Styles */
.hero-btn {
    padding: 0.75rem 2rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    letter-spacing: 0.025em !important;
    min-height: auto !important;
    width: auto !important;
    display: inline-flex !important;
}

/* Header Button Specific Styles - Revert to Original */
.header-btn {
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    min-height: auto !important;
    width: auto !important;
    display: inline-flex !important;
}

/* Package Button Specific Styles */
.package-actions .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
}

.package-actions .btn-outline {
    background: rgba(89, 165, 44, 0.08);
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    font-weight: 600;
}

.package-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--mixed-color) 50%, var(--primary-blue) 100%);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(89, 165, 44, 0.25);
}

.package-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--mixed-color) 50%, var(--primary-green) 100%);
    box-shadow: 0 6px 20px rgba(89, 165, 44, 0.35);
    transform: translateY(-2px);
}

.package-actions .btn-outline:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(89, 165, 44, 0.25);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1005;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--light-text);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Ultra-Responsive Design */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem 0;
        min-height: 60px;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .navbar-logo-img {
        height: 40px !important;
        max-width: 120px;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .user-info .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        min-height: 36px;
    }
    
    .hero {
        padding: 3rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0.75rem;
    }
    
    .package-card {
        min-width: 260px;
    }
    
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
        min-height: 44px;
    }
}

/* Mobile Devices (481px - 768px) */
@media (max-width: 768px) {
    /* Header and Navigation */
    .header {
        padding: 1rem 0;
        min-height: 70px;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
    }
    
    .navbar-logo {
        position: static !important;
        padding: 0.5rem !important;
        order: 1;
        flex: 0 0 auto;
    }
    
    .navbar-logo-img {
        height: 45px !important;
        max-width: 150px;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        order: 3;
    }
    
    .nav-menu-container {
        position: fixed;
        top: 70px;
        right: -100%;
        width: min(280px, 80vw);
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(89, 165, 44, 0.98), rgba(19, 125, 197, 0.98));
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1004;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu-container.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        margin: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 0;
        border: none;
        background: transparent;
        min-height: 50px;
        text-align: left;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        padding-left: 2rem;
        transform: none;
        box-shadow: none;
    }
    
    .user-info {
        position: static !important;
        padding: 0 !important;
        order: 2;
        margin-right: 0.5rem;
        gap: 0.25rem;
    }
    
    .user-info .btn {
        margin: 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-height: 40px;
        width: auto;
    }
    
    .user-info span {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 4rem 1rem;
        border-radius: 0 0 1.5rem 1.5rem;
        margin-bottom: 2rem;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Grid Layouts */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Horizontal scroll packages on mobile */
    .packages-scroll-container {
        margin: 1rem -1rem;
        padding: 0 1rem;
    }
    
    .packages-scroll .package-card {
        min-width: 280px;
        max-width: 320px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .scroll-left {
        left: 5px;
    }
    
    .scroll-right {
        right: 5px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
    }
    
    .trust-cards-grid,
    .tips-cards-grid,
    .matters-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
    }
    
    /* Cards */
    .offer-card,
    .trust-card,
    .tip-card,
    .matters-card {
        padding: 1.5rem !important;
        min-height: auto !important;
    }
    
    .package-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    /* General Layout */
    .container {
        padding: 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .container::before {
        inset: -1rem;
    }
    
    .profile-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Auth Forms - Full Width on Mobile */
    .auth-container {
        max-width: 100% !important;
        margin: 1rem !important;
        padding: 1.5rem !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* Single column on mobile */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Tables */
    .bookings-table {
        font-size: 0.8rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .bookings-table th,
    .bookings-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .btn-group .btn {
        width: auto;
        margin: 0 0.25rem 0.5rem 0;
    }
    
    /* Typography */
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
        line-height: 1.4;
    }
    
    p {
        font-size: clamp(0.9rem, 2vw, 1rem);
        line-height: 1.6;
    }
    
    /* Contact Button */
    .contact-us-btn {
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
        margin: 1rem auto !important;
        display: block !important;
        text-align: center;
        max-width: 200px;
    }
}

/* Tablet Responsive (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .header {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .offers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
    
    .trust-cards-grid,
    .tips-cards-grid,
    .matters-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .navbar-logo-img {
        height: 55px !important;
    }
    
    .hero {
        padding: 6rem 2rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .package-card {
        min-width: auto;
    }
}

/* Ultra-Wide Screen Optimizations */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
}

/* Ultra-Modern Alert Messages */
.alert {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 0 2px 2px 0;
}

.alert-success {
    color: var(--success);
    background: linear-gradient(135deg, rgba(89, 165, 44, 0.1), rgba(89, 165, 44, 0.05));
    border-color: rgba(89, 165, 44, 0.2);
}

.alert-success::before {
    background: var(--success);
}

.alert-error {
    color: var(--error);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.05));
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-error::before {
    background: var(--error);
}

.alert-info {
    color: var(--info);
    background: linear-gradient(135deg, rgba(19, 125, 197, 0.1), rgba(19, 125, 197, 0.05));
    border-color: rgba(19, 125, 197, 0.2);
}

.alert-info::before {
    background: var(--info);
}

/* Modern Scroll Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Utility Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

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

/* Modern Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--glass-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
    background-clip: padding-box;
}

/* Selection Styling */
::selection {
    background: var(--gradient-primary);
    color: white;
}

::-moz-selection {
    background: var(--gradient-primary);
    color: white;
}

/* Contact Us Button Styles */
.contact-us-btn {
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

.contact-us-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #7c8ef0 0%, #8a5cb8 100%) !important;
}

.contact-us-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

/* Footer Styles */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    touch-action: manipulation;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(89, 165, 44, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Fix text selection issues */
.contact-grid p,
.contact-grid h4,
.profile-section p,
.profile-section h4 {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

/* Footer Logo Styles */
.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-text {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo-container a {
    display: block;
    text-decoration: none;
}

.footer-logo-container a:hover .footer-logo {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
}

.footer-logo {
    transition: transform 0.2s ease, opacity 0.3s ease;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-logo {
        max-height: 60px;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-height: 600px) and (orientation: landscape) {
    .header {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .hero {
        padding: 3rem 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-menu-container {
        height: calc(100vh - 60px);
        top: 60px;
    }
    
    .container {
        padding: 1rem;
    }
    
    .profile-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Prevent horizontal scroll on all devices */
body, html {
    overflow-x: hidden;
}

/* =====================
   About Page Styles
   ===================== */
.about-hero {
  /* smoother, more vibrant gradient */
  background: radial-gradient(1200px 600px at 10% 10%, rgba(57,181,74,0.28) 0%, rgba(57,181,74,0.08) 30%, transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(42,167,246,0.28) 0%, rgba(42,167,246,0.08) 35%, transparent 65%),
              linear-gradient(135deg, #39b54a 0%, #2aa7f6 100%);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1rem;
}
.about-hero-inner h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 0.5rem; }
.about-hero-inner p { font-size: clamp(1rem, 2.2vw, 1.125rem); opacity: .95; max-width: 800px; margin: 0 auto; }

.section { padding: clamp(2.5rem, 6vw, 4rem) 1rem; }
.section .container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: clamp(1.9rem, 4.8vw, 2.6rem); margin-bottom: 2rem; color: #0b2b24; letter-spacing: -.015em; }

/* Image + Text (Story) */
.section-grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.section-image img { width: 100%; height: auto; object-fit: cover; border-radius: 12px; }
.section-text h2 { font-size: clamp(1.5rem, 3.5vw, 1.875rem); margin-bottom: .75rem; }
.richtext p { line-height: 1.7; margin: .75rem 0; }
@media (min-width: 768px) { .section-grid-2 { grid-template-columns: 1fr 1fr; } }

/* Our Story emphasis */
.story-section { padding-top: clamp(3rem, 8vw, 5rem); padding-bottom: clamp(3rem, 8vw, 5rem); }
.story-text h2 { font-size: clamp(1.8rem, 4.2vw, 2.4rem); }
.story-text .richtext p { font-size: clamp(1rem, 2.2vw, 1.125rem); }
.story-visual { display: flex; justify-content: center; align-items: center; }
.story-icon-tile { width: min(360px, 90%); height: min(360px, 90%); border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, #39b54a 0%, #2aa7f6 100%); color: #fff; box-shadow: 0 30px 80px rgba(6,30,24,.22), inset 0 1px 0 rgba(255,255,255,.6); backdrop-filter: blur(10px); }
.story-icon-tile svg { width: 46%; height: 46%; stroke-width: 2.5; }

/* Values Grid (What We Offer) */
.values-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin: 0 auto; }
.value-card { flex: 0 1 260px; }
.value-card {
  background: rgba(255,255,255,0.58);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(6,30,24,.12), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(6,30,24,0.06);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  box-sizing: border-box;
  min-height: 320px;           /* uniform baseline height across site */
}
.value-card h3 {
  margin: .5rem 0 .25rem;
  font-size: 1.05rem;
  color: #0b2b24;
  min-height: 3.2em;           /* keep headings aligned across cards */
}
.value-card p {
  color: #475569;
  line-height: 1.6;
  min-height: 4.8em;           /* keep body text blocks aligned */
}
.value-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto .85rem; font-size: 1.5rem; background: var(--gradient-primary); color: #fff; }

/* Generic icon tile for About page (SVG-based) */
.offer-img-large {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  transform: scale(1.3);
}
.icon-tile {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .85rem;
  background: linear-gradient(135deg, #39b54a 0%, #2aa7f6 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.icon-tile svg { width: 32px; height: 32px; stroke-width: 2; }

/* Floating icon animation */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
.icon-tile { animation: floatY 4s ease-in-out infinite; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Wave divider */
.wave-divider { position: relative; height: 60px; overflow: hidden; }
.wave-divider::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 60px at 50% 0%, rgba(255,255,255,0.9), rgba(255,255,255,0)); opacity: .6; }
.wave-divider svg { position: absolute; width: 100%; height: 100%; left: 0; top: 0; }

/* Parallax background layer */
.about-parallax { position: fixed; inset: -10% -10% auto -10%; height: 50vh; z-index: -1; pointer-events: none; background: radial-gradient(600px 300px at var(--px,20%) var(--py,20%), rgba(57,181,74,0.18), transparent 60%), radial-gradient(600px 300px at calc(100% - var(--px,20%)) var(--py,30%), rgba(42,167,246,0.18), transparent 60%); filter: blur(20px); }

/* Section subtle background for separation */
.section { position: relative; }
.section::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(6,30,24,0), rgba(6,30,24,0.06), rgba(6,30,24,0)); }

/* Mission & Trust */
.mission-cards { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; margin-left: auto; margin-right: auto; justify-content: center; }
.mission-cards .card { flex: 0 1 260px; }
.mission-cards .card { background: rgba(255,255,255,0.58); border-radius: 16px; padding: 1.25rem; box-shadow: 0 10px 30px rgba(6,30,24,.12), inset 0 1px 0 rgba(255,255,255,0.6); border: 1px solid rgba(6,30,24,0.06); backdrop-filter: blur(8px); text-align: center; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: .5rem; min-height: 220px; box-sizing: border-box; }
.mission-cards .card h3 { font-size: 1.05rem; color: #0b2b24; margin: 0; }
.mission-cards .card .card-icon { font-size: 1.75rem; margin: 0 auto .75rem; }
.mission-note { max-width: 900px; margin: 1.25rem auto 0; text-align: center; }
.mission-note p { background: #fff; border-radius: 12px; padding: 1.25rem 1rem; border: 1px solid #e5e7eb; box-shadow: var(--shadow-sm); color: #0b2b24; }

/* Tips */
.tips-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; margin-left: auto; margin-right: auto; justify-content: center; }
.tip-card { flex: 0 1 260px; }
.tip-card { background: rgba(255,255,255,0.58); border-radius: 16px; padding: 1.1rem; box-shadow: 0 10px 30px rgba(6,30,24,.12), inset 0 1px 0 rgba(255,255,255,0.6); border: 1px solid rgba(6,30,24,0.06); backdrop-filter: blur(8px); text-align: center; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: .5rem; min-height: 220px; box-sizing: border-box; }
.tip-card h3 { font-size: 1rem; margin: .5rem 0 0; color: #0b2b24; }
.tip-icon { font-size: 1.5rem; margin: 0 auto .5rem; }
.tips-note { max-width: 900px; margin: 1rem auto 0; text-align: center; }
.tips-note p { background: #fff; border-radius: 12px; padding: 1rem; border: 1px solid #e5e7eb; box-shadow: var(--shadow-sm); color: #0b2b24; }

/* Why It Matters */
.matters-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin-left: auto; margin-right: auto; justify-content: center; }
.matters-card { flex: 0 1 260px; }
.matters-card { background: rgba(255,255,255,0.58); border-radius: 16px; padding: 1.25rem; box-shadow: 0 10px 30px rgba(6,30,24,.12), inset 0 1px 0 rgba(255,255,255,0.6); border: 1px solid rgba(6,30,24,0.06); backdrop-filter: blur(8px); text-align: center; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: .5rem; min-height: 240px; box-sizing: border-box; }
.matters-card h3 { font-size: 1.05rem; color: #0b2b24; margin: 0 0 .35rem; }
.matters-card p { color: #475569; margin: 0; }
.matters-icon { font-size: 1.75rem; margin: 0 auto .75rem; }
.problem-note { max-width: 900px; margin: 1rem auto 0; text-align: center; }
.problem-note p { color: var(--primary-green); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cta-row { text-align: center; margin-top: 1rem; }

/* Why Choose */
.why-grid { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-left: auto; margin-right: auto; justify-content: center; }
.why-card { flex: 1 1 clamp(180px, 22vw, 240px); }
.why-card { background: rgba(255,255,255,0.58); border-radius: 16px; padding: 1.25rem; text-align: center; box-shadow: 0 10px 30px rgba(6,30,24,.12), inset 0 1px 0 rgba(255,255,255,0.6); border: 1px solid rgba(6,30,24,0.06); backdrop-filter: blur(8px); height: auto; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: .5rem; box-sizing: border-box; }
.why-card h3 { margin: .25rem 0 .25rem; color: #0b2b24; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.2; }
.why-card p { color: #475569; margin: 0; font-size: clamp(.85rem, 1vw, .95rem); line-height: 1.45; }
.why-emoji { font-size: 2rem; margin: 0 auto .5rem; }

/* Drivers section */
.drivers-section { position: relative; }
.drivers-subtitle { text-align: center; max-width: 900px; margin: -0.5rem auto 1.25rem; color: #0b2b24; opacity: .8; }
.drivers-grid { display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center; }
.driver-card { flex: 0 1 260px; background: rgba(255,255,255,0.58); border-radius: 16px; padding: 1.1rem; box-shadow: 0 10px 30px rgba(6,30,24,.12), inset 0 1px 0 rgba(255,255,255,0.6); border: 1px solid rgba(6,30,24,0.06); backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.driver-card h3 { font-size: 1.05rem; color: #0b2b24; margin: .4rem 0 .2rem; }
.driver-card p { color: #475569; line-height: 1.6; }
.driver-card { transition: all .3s ease; }
.driver-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.driver-card:hover .icon-tile { transform: scale(1.1); background: rgba(255,255,255,.15); }

/* Unified hover pop effect for About cards */
.value-card,
.mission-cards .card,
.tip-card,
.matters-card,
.why-card {
  transition: all 0.3s ease;
}
.value-card:hover,
.mission-cards .card:hover,
.tip-card:hover,
.matters-card:hover,
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Match icon hover used in Tips for Tourists */
.value-card:hover .icon-tile,
.mission-cards .card:hover .icon-tile,
.tip-card:hover .icon-tile,
.matters-card:hover .icon-tile,
.why-card:hover .icon-tile {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.15);
}

/* Gradient glow for primary button in About page */
.section .btn.btn-primary { position: relative; overflow: hidden; }
.section .btn.btn-primary::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(135deg, rgba(57,181,74,.35), rgba(42,167,246,.35)); filter: blur(10px); opacity: 0; transition: opacity .2s ease; z-index: -1; }
.section .btn.btn-primary:hover::after { opacity: 1; }

/* Ensure all containers don't exceed viewport */
* {
    max-width: 100%;
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .navbar-logo-img {
        height: 35px !important;
        max-width: 100px;
    }
    
    .user-info .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .package-card {
        min-width: 240px;
    }
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(44,85,48,0.95);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity .2s ease, transform .15s ease, background .2s ease;
  z-index: 10000;
}
.back-to-top:hover { transform: translateY(-2px); background: rgba(44,85,48,1); }
.back-to-top:active { transform: translateY(0); }
.back-to-top {
  visibility: hidden;       /* add */
  pointer-events: none;     /* add */
}