/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* Refined Premium Palette (HSL for better control) */
    --primary-h: 217;
    --primary-s: 87%;
    --primary-l: 30%;
    --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 45%);
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 20%);
    
    --accent-h: 42;
    --accent-s: 55%;
    --accent-l: 55%;
    --accent-color: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
    --accent-light: hsl(var(--accent-h), var(--accent-s), 70%);
    --accent-dark: hsl(var(--accent-h), var(--accent-s), 40%);

    --secondary-color: #5b8db8;
    --bg-light: #fafbfd;
    --bg-soft: #f4f7fa;
    --bg-silk: #edf1f7;
    --card-bg: #ffffff;
    --text-dark: #1a2f4a;
    --text-main: #2d3e56;
    --text-muted: #6b7c94;
    --text-white: #ffffff;
    
    --font-main: 'Kanit', sans-serif;
    --font-heading: 'Kanit', sans-serif;

    /* Transitions & Animations */
    --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Premium Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 61, 143, 0.05);
    --shadow-md: 0 8px 24px rgba(10, 61, 143, 0.08);
    --shadow-lg: 0 16px 48px rgba(10, 61, 143, 0.12);
    --shadow-xl: 0 32px 80px rgba(10, 61, 143, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(10, 61, 143, 0.1);

    --radius-xl: 40px;
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(16px);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    letter-spacing: 0.015em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Fail-safe: show body even if JS fails */
@media screen {
    .no-js body, body:not(.page-loaded) {
        /* We use animation to show it after a delay as a fallback */
        animation: fadeInFallback 1.5s ease forwards;
        animation-delay: 2s;
    }
}

@keyframes fadeInFallback {
    to { opacity: 1; }
}

body.page-loaded {
    opacity: 1;
}

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    line-height: 1.25; /* Improved readability */
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em; /* Slightly more relaxed for Thai font */
}

h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 6vw, 1.75rem); }

/* Blue Headings for Light Backgrounds */
h1:not(.white-text), h2:not(.white-text), h3:not(.white-text), .section-title:not(.white-text) {
    color: var(--primary-color);
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

/* Exceptions for Headers on Dark Backgrounds or Specific Sections */
/* Hero premium styling */
.hero-premium {
    position: relative;
    overflow: hidden;
}

.hero-premium .hero-tagline {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-premium .hero-tagline::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-light);
    border-radius: 2px;
}

.hero-premium .hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    line-height: 1.8;
}

.hero-premium .btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-premium h1 {
    font-size: clamp(2.4rem, 8.5vw, 4rem) !important;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 10px 40px rgba(0,0,0,0.5); 
    letter-spacing: -0.02em;
}

.hero-premium h1 span[data-i18n="hero.title.2"] {
    background: linear-gradient(135deg, var(--accent-light), #fff) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(201, 162, 78, 0.4));
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.white-text,
.hero h1, .hero h2, .hero h3,
.page-header h1, .page-header h2, .page-header h3,
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4,
.license-section h1, .license-section h2, .license-section h3,
.contact-cta-section h1, .contact-cta-section h2, .contact-cta-section h3,
footer h1, footer h2, footer h3, footer h4 {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: #ffffff !important;
}

.section-title::after {
    display: none;
}

.glass-morphism {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
}

/* Float Animation for Hero Elements */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

.animate-float-delayed {
    animation: float 5s ease-in-out infinite 1s;
}

.ambient-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.15;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.b-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light), transparent);
    top: -20%;
    left: -20%;
}

.b-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-light), transparent);
    bottom: -10%;
    right: -10%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-light), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.white-border {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
}

.white-border:hover {
    background: rgba(255, 255, 255, 0.1);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px; /* Increased side padding for modern feel */
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 340px) {
    .container {
        padding: 0 15px;
    }
}

.section-padding {
    padding: 80px 0; /* Reduced from 120px for better density */
    background: var(--bg-soft);
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 6px 20px rgba(10, 61, 143, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10, 61, 143, 0.35);
    filter: brightness(1.08);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 61, 143, 0.3);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 50px;
}

.tourm-footer {
    padding-top: 18px;
    border-top: 1px solid rgba(10, 61, 143, 0.06);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: 0.6s ease;
    z-index: -1;
}

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

.btn-outline {
    border: 1.5px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    box-shadow: 0 2px 8px rgba(201, 162, 78, 0.08);
}

.btn-outline:hover {
    background: linear-gradient(145deg, var(--accent-light) 0%, var(--accent-color) 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(201, 162, 78, 0.25);
}

/* White Text Overrides */
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4, .dark-section p, .dark-section span,
.license-section h1, .license-section h2, .license-section h3, .license-section p,
.contact-cta-section h1, .contact-cta-section h2, .contact-cta-section h3, .contact-cta-section p, .contact-cta-section span,
footer h1, footer h2, footer h3, footer h4, footer p, footer span {
    color: var(--text-white) !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-white) !important;
}
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.4s ease;
}

header.scrolled .header-content {
    padding: 12px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-family: 'Kanit', sans-serif;
}

@media (max-width: 768px) {
    .logo a {
        font-size: 1.1rem;
        gap: 8px;
    }
    .logo img {
        height: 45px !important;
    }
    .header-content {
        padding: 12px 0;
    }
}

header.scrolled .logo a {
    color: var(--text-dark);
}

.logo img {
    height: 60px;
    border-radius: 50%;
    transition: height 0.4s ease;
}

header.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-dark);
    transition: color 0.4s ease;
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--accent-color) !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.4s ease;
}

header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Light Text Override for Dark Backgrounds */
header.header-light-text:not(.scrolled) .logo a,
header.header-light-text:not(.scrolled) .nav-links a,
header.header-light-text:not(.scrolled) .mobile-menu-btn {
    color: var(--text-white) !important;
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: var(--primary-color);
    z-index: 1002;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    line-height: 1;
}

.mobile-nav a {
    display: block;
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.mobile-nav a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-white);
}

.hero h1, .hero p {
    color: var(--text-white);
}

.hero h1 {
    text-shadow: 2px 2px 15px rgba(0,0,0,0.4);
}

/* Page Header & Premium Hero */
.page-header, .contact-page-header, .hero-premium {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white) !important;
    text-align: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 100px 0 60px !important;
        flex-direction: column !important;
        justify-content: center !important;
        height: auto !important;
        min-height: 100vh !important;
    }
    .hero-premium .container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100% !important;
    }
    .hero-premium .hero-content-left div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .hero-premium .btn {
        width: 100%;
    }
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, 
                rgba(6, 20, 50, 0.82) 0%, 
                rgba(10, 61, 143, 0.45) 40%, 
                rgba(6, 20, 50, 0.78) 100%);
    z-index: 1;
}

.hero-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-soft) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

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

.hero-premium h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Kanit', sans-serif;
    color: #fff !important;
}

.hero-premium p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    color: #fff !important;
}

/* Page Specific Hero Backgrounds */
.hero-packages { background-image: url('../../image/5.jpg'); }
.hero-reviews { background-image: url('../../image/7.jpg'); }
.hero-contact { background-image: url('../../image/4.jpg'); }

.hero-premium h1, .hero-premium p {
    color: var(--text-white) !important;
}

/* New Tourm Components */
.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 140px;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .hero-split { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding-top: 120px; 
        padding-bottom: 80px; 
        gap: 50px;
    }
}

.hero-content-left {
    text-align: left;
}

@media (max-width: 992px) {
    .hero-content-left { text-align: center; }
}

.hero-gallery-cluster {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-main {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4 / 5.5;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: var(--shadow-glossy);
}

.gallery-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

.c-1 { 
    top: -5%; 
    left: -5%; 
}
.c-2 { 
    bottom: 5%; 
    right: -5%; 
    border-radius: 30px; 
    width: 140px; 
    height: 170px; 
}

@media (max-width: 768px) {
    .gallery-main {
        width: 100%;
        max-width: 300px;
        height: 380px;
    }
    .gallery-circle {
        width: 100px;
        height: 100px;
    }
    .c-2 {
        width: 110px;
        height: 130px;
    }
    .floating-stat-badge {
        display: none;
    }
}
.category-item {
    text-align: center;
    transition: var(--transition-smooth);
}

.category-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: var(--shadow-md);
    border: 1.5px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    font-size: 1.8rem;
    color: var(--primary-color);
    overflow: hidden; /* Ensure images don't spill */
}

.category-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* mix-blend-mode: multiply; /* Optional: ensures white matches if needed */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-item:hover .category-icon-circle {
    border-color: var(--accent-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-glossy);
    color: var(--accent-color);
}

.category-item:hover .category-icon-img {
    transform: scale(1.1);
}

/* Feature Checklist */
.checklist-grid {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist-item i {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

/* Floating Badges */
.floating-stat-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    padding: 24px 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-stat-badge .stat-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.floating-stat-badge .stat-txt {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.6;
}

/* Category Header */
.category-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.category-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
}

.category-header p {
    font-size: 1rem;
    opacity: 0.6;
    max-width: 600px;
    margin: 0 auto;
}

.category-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 10px;
}

/* Enhanced Tour Card */
.tour-card-tourm {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(10, 61, 143, 0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(10, 61, 143, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
}

.tour-card-tourm:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 25px 50px rgba(10, 61, 143, 0.12), 0 10px 20px rgba(0,0,0,0.06);
    border-color: rgba(10, 61, 143, 0.1);
}

.tourm-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tourm-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 61, 143, 0.4));
    opacity: 0;
    transition: var(--transition-smooth);
}

.tour-card-tourm:hover .tourm-img-wrapper::after {
    opacity: 1;
}

.tourm-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-card-tourm:hover .tourm-img-wrapper img {
    transform: scale(1.15) rotate(1deg);
}

.tourm-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #e6c44d);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    z-index: 2;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35); }
    50% { box-shadow: 0 4px 25px rgba(212, 175, 55, 0.55); }
}

.tourm-content {
    padding: 28px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tourm-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color) !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    display: block;
    line-height: 1.4;
    letter-spacing: -0.01em;
    padding-bottom: 0;
}

.tourm-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Kanit', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), #1a5fc9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tourm-price span { 
    font-size: 0.85rem; 
    opacity: 0.5; 
    font-weight: 500;
    font-family: var(--font-main);
    -webkit-text-fill-color: var(--text-muted);
}

/* Package Detail List */
.pkg-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(10, 61, 143, 0.025), rgba(212, 175, 55, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(10, 61, 143, 0.05);
    position: relative;
    overflow: hidden;
}

.pkg-detail-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    border-radius: 0 3px 3px 0;
}

.pkg-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.87rem;
    color: #4a5568;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.pkg-detail-item:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.pkg-detail-item i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 61, 143, 0.08), rgba(212, 175, 55, 0.06));
    border-radius: 10px;
    color: var(--secondary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pkg-detail-item:hover i {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: #fff;
    transform: scale(1.1);
}

/* Review Card Refined */
.review-card-modern {
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(10, 61, 143, 0.05);
    transition: var(--transition-smooth);
}

.review-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-stars { color: var(--accent-color); margin-bottom: 15px; }

/* Search Box Tourm Style */
.search-form-tourm {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px;
    border-radius: 100px;
    display: flex;
    gap: 15px;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    border: 1px solid rgba(0,0,0,0.03);
}

.search-overlap {
    margin-top: -60px;
}

@media (max-width: 768px) {
    .search-form-tourm {
        flex-direction: column;
        border-radius: 25px;
        padding: 25px;
        margin-top: 20px !important;
        width: 92%;
    }
    .search-overlap {
        margin-top: 20px;
    }
    .search-tourm-field {
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 12px 10px !important;
    }
    .search-tourm-field:last-of-type {
        border-bottom: none;
    }
}

.search-tourm-field {
    flex: 1;
    padding: 15px 25px;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.search-tourm-field:last-of-type { border-right: none; }

.search-tourm-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.search-tourm-field select, .search-tourm-field input {
    border: none;
    background: transparent;
    font-weight: 600;
    width: 100%;
    outline: none;
    font-family: inherit;
    color: var(--text-dark);
}

.btn-search-tourm {
    width: 68px;
    height: 68px;
    background: linear-gradient(145deg, var(--primary-light), var(--primary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(10, 61, 143, 0.2);
}

@media (max-width: 768px) {
    .btn-search-tourm { width: 100%; height: 50px; border-radius: 50px; }
}

.btn-search-tourm:hover { 
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    transform: scale(1.08); 
    box-shadow: 0 8px 24px rgba(10, 61, 143, 0.3);
}

/* Existing Search Box Backup Styles */
.search-box-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.search-field {
    flex: 1;
    min-width: 150px;
    text-align: left;
}

.search-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
}

/* ===== GRIDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.fleet-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.fleet-card {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glossy);
}

.fleet-card h3 {
    -webkit-text-fill-color: var(--primary-color) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    padding-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ===== PAGE HEADERS ===== */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ===== DESTINATION CARDS ===== */
.destination-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.destination-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glossy);
}

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--radius-card);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glossy);
}

/* ===== PACKAGE CARDS ===== */
.package-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    position: relative;
}

.package-card:after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--radius-card);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 2;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glossy);
}

.package-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover img {
    transform: scale(1.04);
}

.package-card-body {
    padding: 30px;
}

/* ===== REVIEW CARDS ===== */
.review-card {
    padding: 40px;
    border-radius: var(--radius-card);
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(61, 184, 174, 0.08);
    text-align: center;
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* ===== BOOKING STEPS ===== */
.step-circle {
    width: 64px;
    height: 64px;
    line-height: 60px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(61, 184, 174, 0.06);
    transition: var(--transition-smooth);
}

.steps-grid div:hover .step-circle {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(61, 184, 174, 0.3);
}

/* ===== STAT DISPLAY ===== */
.stat-flex {
    display: flex;
    gap: 40px;
}

.stat-item .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, #051424 100%);
    color: var(--text-white);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
    letter-spacing: 0.3px;
}

/* ===== CONTACT ITEMS ===== */
.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(38, 166, 154, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form-box {
    padding: 50px;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.1);
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInSoft {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInSoft 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

/* ===== CONTACT PAGE REDESIGN ===== */

/* Page Header */
.contact-page-header {
    padding: 110px 0 50px;
    text-align: center;
    background: var(--primary-color);
    color: var(--text-white);
    position: relative;
}

.contact-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
}

.contact-breadcrumb {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.contact-breadcrumb a {
    color: var(--text-white);
    opacity: 0.8;
}

.contact-breadcrumb a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.contact-page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.contact-tagline {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-section-heading {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-section-heading i {
    color: var(--accent-color);
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Info Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(11, 61, 89, 0.3);
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.contact-card-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-card-content p {
    font-size: 0.88rem;
    opacity: 0.75;
    line-height: 1.5;
}

/* Right Panel */
.contact-right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-qr-card {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-qr-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.qr-code-placeholder {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
}

.qr-code-placeholder i {
    font-size: 3.5rem;
}

.qr-code-placeholder p {
    font-size: 0.8rem;
    font-weight: 500;
}

.qr-hint {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Social Card */
.contact-social-card {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-social-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.social-icon-btn:nth-child(1) { background: #1877F2; }
.social-icon-btn:nth-child(2) { background: #06C755; }
.social-icon-btn:nth-child(3) { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon-btn:nth-child(4) { background: #010101; }
.social-icon-btn:nth-child(5) { background: #25D366; }

.social-icon-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Map Section */
.contact-map-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.contact-map-header {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 26px 32px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.map-location-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-location-info i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.map-location-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.map-location-info p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.map-buttons {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.map-embed-wrapper {
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-embed-wrapper iframe {
    display: block;
}

/* CTA Section */
.contact-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), rgba(11, 61, 89, 0.9));
    color: var(--text-white);
}

.contact-cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-cta-section p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-phone {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
}

.btn-cta-phone:hover {
    background: linear-gradient(145deg, var(--accent-light), var(--accent-color));
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(201, 162, 78, 0.3);
}

.btn-cta-line {
    background: transparent;
    border: 2px solid #06C755;
    color: #06C755;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
}

.btn-cta-line:hover {
    background: linear-gradient(145deg, #2dd36f, #06C755);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6, 199, 85, 0.3);
}

.btn-cta-whatsapp {
    background: transparent;
    border: 2px solid #25D366;
    color: #25D366;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-height: 54px;
}

.btn-cta-whatsapp:hover {
    background: linear-gradient(145deg, #2dd36f, #25D366);
    color: white !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ==============================
   RESPONSIVE BREAKPOINTS
   ============================== */

/* ===== Large tablets / small laptops ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .stats-grid {
        gap: 40px;
    }

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

    .section-padding {
        padding: 80px 0;
    }
}

/* ===== Tablets ===== */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Header - show hamburger, hide nav */
    .nav-links {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .logo a {
        font-size: 1.1rem;
    }

    .logo img {
        height: 32px;
    }

    /* Hero Premium - Override inline styles */
    .hero {
        height: auto !important;
        min-height: 100vh;
        min-height: 100svh;
        padding: 100px 0 60px !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    .hero-premium {
        padding: 100px 0 60px !important;
        min-height: auto !important;
    }

    .hero-premium h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
        line-height: 1.2 !important;
    }

    .hero-premium p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }

    /* Hero split layout stacks */
    .hero-split {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        gap: 40px !important;
    }

    .hero-content-left {
        text-align: center !important;
    }

    /* Hero buttons stack */
    .hero-content-left div[style*="display: flex"][style*="gap"] {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .hero-content-left .btn {
        width: 100% !important;
        max-width: 320px;
        justify-content: center;
    }

    .hero-content-left p[style*="max-width"] {
        max-width: 100% !important;
    }

    /* Hero gallery */
    .hero-gallery-cluster {
        display: none;
    }

    /* Search box */
    .search-box-form {
        padding: 20px;
        gap: 15px;
        flex-direction: column;
    }

    .search-field {
        min-width: 100%;
    }

    .search-box-form .btn {
        width: 100%;
        text-align: center;
    }

    /* Category grid - override inline style */
    .container[style*="grid-template-columns: repeat(auto-fit, minmax(130px"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }

    .category-icon-circle {
        width: 70px;
        height: 70px;
    }

    .category-item h4 {
        font-size: 0.85rem !important;
    }

    /* Stats Grid: stack */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    /* Stats images - full width on mobile */
    .stats-grid img[style*="width: 80%"] {
        width: 100% !important;
    }

    .stats-grid img[style*="width: 70%"] {
        width: 85% !important;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Destinations */
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .destinations-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

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

    /* Steps */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Page Headers */
    .page-header {
        padding: 90px 0 40px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    /* Section headings */
    .section-title {
        margin-bottom: 2rem;
    }

    /* Section header margin */
    div[style*="text-align: center; margin-bottom: 60px"] {
        margin-bottom: 35px !important;
    }

    /* Tour cards */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tour-card-tourm {
        border-radius: 20px;
    }

    .tourm-img-wrapper {
        height: 220px;
    }

    .tourm-content {
        padding: 24px;
    }

    .tourm-content h3 {
        font-size: 1.2rem;
    }

    /* Tour card price/button row - stack on mobile */
    .tourm-content div[style*="display: flex"][style*="justify-content: space-between"] {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }

    .tourm-content .tourm-price {
        font-size: 1.5rem;
    }

    .tourm-content .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .package-card img {
        height: 200px;
    }

    /* Category header spacing */
    .category-header[style*="margin-top: 80px"] {
        margin-top: 50px !important;
    }

    /* Fleet */
    .fleet-card {
        min-width: 100%;
        padding: 30px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-box {
        padding: 30px !important;
        border-radius: 24px !important;
    }

    .contact-form-box img[style*="width: 200px"] {
        width: 160px !important;
        height: 160px !important;
    }

    /* Contact Page Redesign */
    .contact-page-header h1 {
        font-size: 2.2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-section-heading {
        font-size: 1.5rem;
    }

    .contact-map-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-buttons {
        width: 100%;
    }

    .map-buttons .btn {
        flex: 1;
        text-align: center;
    }

    .contact-cta-section h2 {
        font-size: 1.6rem;
    }

    /* CTA section buttons */
    .dark-section div[style*="display: flex"][style*="justify-content: center"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .dark-section .btn[style*="padding: 15px 40px"] {
        width: 100% !important;
        max-width: 320px;
        padding: 14px 30px !important;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 30px;
    }

    .review-card-modern {
        padding: 28px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer {
        padding: 40px 0 15px 0;
    }

    .footer-bottom p {
        font-size: 0.78rem;
        line-height: 1.6;
    }

    /* Stat display */
    .stat-flex {
        gap: 30px;
    }

    /* Checklist grid */
    .checklist-grid {
        margin: 20px 0;
    }

    .checklist-item {
        font-size: 0.9rem;
    }

    /* Section title center */
    .section-title[style*="text-align: left"] {
        text-align: center !important;
    }

    /* Plan section text align */
    .stats-grid .reveal p[style*="letter-spacing"],
    .stats-grid .reveal p[style*="font-weight: 700"] {
        text-align: center !important;
    }
}

/* ===== Small phones (≤480px) ===== */
@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 50px !important;
    }

    .hero p {
        font-size: 0.95rem !important;
        margin-bottom: 25px !important;
    }

    .hero-premium {
        padding: 90px 0 50px !important;
    }

    .hero-premium h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
    }

    /* Category grid - 3 columns still works at 480 */
    .container[style*="grid-template-columns: repeat(auto-fit, minmax(130px"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }

    .category-icon-circle {
        width: 60px;
        height: 60px;
    }

    .category-item h4 {
        font-size: 0.78rem !important;
    }

    /* Search box */
    .search-box-form {
        padding: 18px;
        gap: 15px;
        border-radius: 16px;
    }

    .search-form-tourm {
        padding: 20px !important;
    }

    /* Stats section */
    .stats-grid p {
        font-size: 0.9rem;
    }

    .stat-flex {
        gap: 20px;
    }

    .stat-item .stat-value {
        font-size: 1.5rem;
    }

    /* Steps: 1 column */
    .steps-grid {
        grid-template-columns: 1fr;
    }

    /* Page headers */
    .page-header {
        padding: 80px 0 30px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    /* Package cards */
    .package-card-body {
        padding: 20px;
    }

    .package-card img {
        height: 180px;
    }

    /* Tourm content */
    .tourm-content {
        padding: 20px;
    }

    .tourm-content h3 {
        font-size: 1.1rem;
    }

    .tourm-price {
        font-size: 1.4rem !important;
    }

    /* Destination cards */
    .destination-card {
        height: 220px;
    }

    .destination-overlay {
        padding: 20px;
    }

    .destination-overlay h4 {
        font-size: 1.2rem;
    }

    /* Service cards */
    .service-card {
        padding: 25px;
    }

    /* Contact */
    .contact-form-box {
        padding: 24px !important;
        border-radius: 20px !important;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    /* Contact Page Redesign */
    .contact-page-header {
        padding: 90px 0 35px;
    }

    .contact-page-header h1 {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .contact-info-card {
        padding: 16px 18px;
    }

    .contact-card-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .social-icon-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .qr-code-placeholder {
        width: 130px;
        height: 130px;
    }

    .contact-map-section {
        padding: 0 0 40px;
    }

    .contact-cta-section {
        padding: 40px 0;
    }

    .contact-cta-section h2 {
        font-size: 1.4rem;
    }

    .btn-cta-phone,
    .btn-cta-line,
    .btn-cta-whatsapp {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    /* Review cards */
    .review-card {
        padding: 22px;
    }

    .review-card-modern {
        padding: 22px;
    }

    /* Logo */
    .logo a {
        font-size: 0.95rem;
    }

    .logo img {
        height: 28px;
    }

    /* Buttons - bigger tap targets */
    .btn {
        padding: 14px 28px;
        font-size: 0.92rem;
        min-height: 44px; /* touch target */
    }

    .btn-sm {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    /* Mobile nav */
    .mobile-nav {
        width: 280px;
        max-width: 85vw;
        padding: 70px 25px 25px;
    }

    .mobile-nav a {
        font-size: 1.1rem;
        padding: 14px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Fleet cards */
    .fleet-card {
        padding: 25px;
    }

    .fleet-card i[style*="font-size: 3rem"] {
        font-size: 2.2rem !important;
    }

    /* Footer bottom */
    .footer-bottom p {
        font-size: 0.72rem;
        word-break: break-word;
    }

    /* License section */
    .license-card {
        padding: 16px;
        border-radius: 16px;
    }

    .license-left {
        padding: 30px 20px;
    }

    .license-right {
        padding: 24px 20px;
    }

    .license-left h3 {
        font-size: 1.6rem;
    }

    .license-dates {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Map */
    .map-embed-wrapper iframe {
        height: 280px !important;
    }

    /* Float stat badge - hide on mobile */
    .floating-stat-badge {
        display: none;
    }
}

/* ===== Tiny phones (iPhone SE, Galaxy Fold ~360px) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-premium h1 {
        font-size: 1.5rem !important;
    }

    .hero h1 {
        font-size: 1.5rem !important;
    }

    .hero-premium p {
        font-size: 0.88rem !important;
    }

    /* Category grid - 2 columns on tiny screens */
    .container[style*="grid-template-columns: repeat(auto-fit, minmax(130px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .category-icon-circle {
        width: 55px;
        height: 55px;
    }

    .category-item h4 {
        font-size: 0.72rem !important;
    }

    .logo a {
        font-size: 0.85rem;
        gap: 6px;
    }

    .logo img {
        height: 24px;
    }

    .stat-flex {
        flex-direction: column;
        gap: 15px;
    }

    .search-box-form {
        padding: 12px;
    }

    /* Tour card */
    .tourm-content {
        padding: 18px;
    }

    .tourm-content h3 {
        font-size: 1rem;
    }

    .tourm-price {
        font-size: 1.3rem !important;
    }

    .tourm-img-wrapper {
        height: 180px;
    }

    .tour-card-tourm {
        border-radius: 16px;
    }

    /* Section heading */
    .section-title {
        font-size: 1.3rem !important;
    }

    .category-header h2 {
        font-size: 1.3rem !important;
    }

    .category-header p {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 22px;
        font-size: 0.88rem;
    }

    .btn-sm {
        padding: 10px 18px;
        font-size: 0.82rem;
    }

    /* Footer */
    footer {
        padding: 30px 0 10px 0;
    }

    .footer-grid {
        gap: 25px;
    }

    /* Contact page */
    .contact-page-header h1 {
        font-size: 1.5rem;
    }

    .contact-section-heading {
        font-size: 1.2rem;
    }

    .contact-info-card {
        padding: 14px 14px;
        gap: 12px;
    }

    .contact-card-content h4 {
        font-size: 0.85rem;
    }

    .contact-card-content p {
        font-size: 0.8rem;
    }

    /* License section */
    .license-header h2 {
        font-size: 1.3rem;
    }

    .license-seal {
        width: 65px;
        height: 65px;
    }

    .license-seal i {
        font-size: 1.8rem;
    }

    .license-left h3 {
        font-size: 1.4rem;
    }

    .license-value {
        font-size: 0.95rem;
    }

    /* Map */
    .map-embed-wrapper iframe {
        height: 220px !important;
    }

    .contact-map-header {
        padding: 18px 20px;
    }

    .map-location-info h3 {
        font-size: 0.88rem;
    }

    .map-location-info p {
        font-size: 0.78rem;
    }

    .map-buttons .btn {
        padding: 8px 14px;
        font-size: 0.78rem;
    }
}

/* ===== Ultra-tiny phones (Galaxy Fold closed ~280-320px) ===== */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero-premium h1 {
        font-size: 1.3rem !important;
    }

    .hero-premium p {
        font-size: 0.82rem !important;
    }

    /* Category grid - 2 columns */
    .container[style*="grid-template-columns: repeat(auto-fit, minmax(130px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .category-icon-circle {
        width: 48px;
        height: 48px;
    }

    h1 {
        font-size: 1.3rem !important;
    }

    h2 {
        font-size: 1.15rem !important;
    }

    h3 {
        font-size: 1rem !important;
    }

    .logo a {
        font-size: 0.75rem;
        gap: 5px;
    }

    .logo img {
        height: 22px;
    }

    .header-content {
        padding: 10px 0;
    }

    .tourm-content {
        padding: 16px;
    }

    .tourm-img-wrapper {
        height: 160px;
    }

    .review-card,
    .review-card-modern {
        padding: 18px;
    }

    .contact-form-box {
        padding: 18px !important;
        border-radius: 16px !important;
    }

    .contact-form-box img[style*="width"] {
        width: 130px !important;
        height: 130px !important;
    }

    .btn {
        padding: 11px 18px;
        font-size: 0.82rem;
    }

    .mobile-nav {
        width: 240px;
        padding: 60px 20px 20px;
    }

    .mobile-nav a {
        font-size: 1rem;
        padding: 12px 0;
    }

    footer {
        padding: 25px 0 10px 0;
    }

    .footer-bottom p {
        font-size: 0.65rem;
    }
}

/* ===== Safe Area Insets for Notched Phones ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    footer {
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }

    .mobile-nav {
        padding-bottom: calc(25px + env(safe-area-inset-bottom));
    }

    .booking-overlay {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
}

/* ===== Prevent Horizontal Overflow ===== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

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

    iframe {
        max-width: 100%;
    }
}

/* ===== Touch Improvements ===== */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover transforms on touch devices to prevent sticky states */
    .tour-card-tourm:hover {
        transform: none;
    }

    .service-card:hover,
    .package-card:hover,
    .destination-card:hover {
        transform: none;
    }

    /* Active states for touch feedback */
    .btn:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    .tour-card-tourm:active {
        transform: scale(0.99);
        transition: transform 0.15s ease;
    }
}

/* ===== Landscape phone fix ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-premium {
        min-height: auto !important;
        padding: 80px 0 40px !important;
    }

    .section-padding {
        padding: 30px 0;
    }
}

/* License Section */
.license-section {
    background: linear-gradient(135deg, #0a1f2d 0%, var(--primary-color) 60%, #0a1f2d 100%);
    padding: 80px 0;
}

.license-header {
    text-align: center;
    margin-bottom: 50px;
}

.license-header p:first-child {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 12px;
}

.license-header h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.license-header p:last-child {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.license-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 28px;
    padding: 45px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-hover);
}

.license-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.license-left {
    background: linear-gradient(160deg, var(--accent-color) 0%, #a07c2e 100%);
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.license-seal {
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.license-seal i {
    font-size: 2.5rem;
}

.license-left span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.license-left h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

.license-left .license-type {
 color: rgba(255, 255, 255, 0.75);
 font-size: 0.85rem;
 margin-top: 15px;
}

.license-right {
 background: rgba(255, 255, 255, 0.06);
 padding: 35px 40px;
}

.license-info-group {
    margin-bottom: 25px;
}

.license-info-group:last-child {
    margin-bottom: 0;
}

.license-label {
    color: var(--accent-color);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

.license-value {
 color: #fff;
 font-weight: 700;
 font-size: 1.1rem;
 margin: 0;
}

.license-subvalue {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 3px 0 0;
}

.license-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.license-dates {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px;
}

.license-badges {
 margin-top: 35px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 30px;
 flex-wrap: wrap;
}

.badge-item {
 display: flex;
 align-items: center;
 gap: 10px;
 color: rgba(255, 255, 255, 0.85);
 font-size: 0.9rem;
}

.badge-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Responsive License */
@media (max-width: 768px) {
 .license-section {
 padding: 60px 0;
 }
 
 .license-header h2 {
 font-size: 1.75rem;
 }

 .license-card {
 padding: 20px;
 border-radius: 20px;
 }

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

 .license-left {
 padding: 40px 25px;
 }

 .license-right {
 padding: 30px 25px;
 }

 .license-badges {
 gap: 15px;
 flex-direction: column;
 align-items: flex-start;
 padding-left: 10px;
 }
 
 .badge-item {
 font-size: 0.85rem;
 }
}

/* ===== ANIMATIONS & REVEALS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.92);
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Delay Utils */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }
.delay-800 { transition-delay: 800ms; }

/* Image Zoom Effect */
.package-card img, .destination-card img, .service-card img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.package-card:hover img, .destination-card:hover img, .service-card:hover img {
    transform: scale(1.08);
}

/* ===== SMOOTH SECTION TRANSITIONS ===== */
.section-padding {
    position: relative;
}

/* Section spacing */
.section-padding {
    padding: 80px 0;
}

/* Footer design */
footer {
    opacity: 1;
    transform: none;
    transition: var(--transition-smooth);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

/* ===== HERO PARALLAX SUBTLE ===== */
.hero-premium {
    will-change: background-position;
    transition: background-position 0.1s linear;
}

/* --- PREMIUM DESIGN ADDITIONS --- */

/* Image Stack Feature */
.image-stack {
    position: relative;
    width: 100%;
    height: 480px;
    margin-bottom: 30px;
}

.stack-img {
    position: absolute;
    border-radius: var(--radius-lg);
    object-fit: cover;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.stack-img.main-stack {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 2;
}

.stack-img.sub-stack {
    width: 70%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 1;
    transform: translate(15%, 15%);
}

.image-stack:hover .sub-stack {
    transform: translate(20%, 20%) rotate(3deg);
}

.image-stack:hover .main-stack {
    transform: scale(1.03) rotate(-1deg);
}

@media (max-width: 992px) {
    .image-stack {
        height: 380px;
        max-width: 500px;
        margin: 0 auto 50px;
    }
}

.text-start { text-align: left !important; }
.desc-text { margin-bottom: 30px; opacity: 0.8; line-height: 1.8; }
.hero-tagline { color: var(--accent-color); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; }

/* Refined Spacing & Transitions */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.search-wrapper {
    position: relative;
    z-index: 100;
    margin-top: -60px;
}

@media (max-width: 768px) {
    .search-wrapper {
        margin-top: 20px;
    }
}

/* Navigation Login Button */
.nav-login-btn {
    padding: 10px 24px !important;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%) !important;
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(10, 61, 143, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.nav-login-btn::before {
    content: '\f2bd';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.nav-login-btn:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(10, 61, 143, 0.35) !important;
    filter: brightness(1.2);
}

header.scrolled .nav-login-btn {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .nav-login-btn {
        padding: 8px 18px !important;
        font-size: 0.75rem !important;
        margin-left: 5px;
    }
}

.mobile-nav a[data-i18n="nav.login"] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 12px;
    padding: 15px 20px !important;
    margin-top: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav a[data-i18n="nav.login"]::before {
    content: '\f2bd';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* ===== MODERN LOGIN MODAL (Premium Style) ===== */
.login-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(5, 20, 28, 0.9) !important;
    backdrop-filter: blur(12px);
    z-index: 100000 !important;
    display: none; 
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.login-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

.login-modal {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    min-height: 550px;
}

.login-overlay.active .login-modal {
    transform: translateY(0);
}

.login-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f4f7fa;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    color: #1a2f4a;
}

.login-close-btn:hover {
    background: #ff4d4d;
    color: #fff;
    transform: rotate(90deg);
}

.login-brand-side {
    flex: 1;
    background: linear-gradient(135deg, #061432, #0a3d8f);
    padding: 50px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-brand-logo { height: 50px; margin-bottom: 25px; object-fit: contain; width: fit-content; }
.login-brand-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; color: #fff !important; line-height: 1.2; }
.login-brand-desc { opacity: 0.8; font-size: 1rem; line-height: 1.6; margin-bottom: 30px; }

.login-benefit-item { display: flex; gap: 12px; margin-bottom: 15px; align-items: center; }
.login-benefit-item i { color: #4ade80; font-size: 1.1rem; }
.login-benefit-item span { font-size: 0.9rem; opacity: 0.9; }

.login-form-side {
    flex: 1.2;
    background: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.login-tabs {
    display: flex;
    background: #f4f7fa;
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 30px;
}

.login-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #6b7c94;
    font-size: 0.9rem;
}

.login-tab.active {
    background: #fff;
    color: #0a3d8f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.social-login-header { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: #94a3b8; text-align: center; margin-bottom: 15px; font-weight: 700; }
.social-login-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 25px; }
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-social::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.5s ease;
}

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

.btn-social:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-social:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.btn-social i {
    font-size: 1.15rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

/* Google Button */
.btn-social.google {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #3c4043;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.btn-social.google:hover {
    background: linear-gradient(135deg, #ffffff 0%, #eef1f6 100%);
    border-color: #DB4437;
    box-shadow: 0 8px 25px rgba(219, 68, 55, 0.15);
}
.btn-social.google i { color: #DB4437; filter: none; }

/* LINE Button */
.btn-social.line {
    background: linear-gradient(135deg, #06C755 0%, #00b348 100%);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.25);
}
.btn-social.line:hover {
    background: linear-gradient(135deg, #0ad95e 0%, #06C755 100%);
    box-shadow: 0 8px 30px rgba(6, 199, 85, 0.35);
}
.btn-social.line i { color: #fff; filter: none; }

/* Facebook Button */
.btn-social.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #1565d8 100%);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.25);
}
.btn-social.facebook:hover {
    background: linear-gradient(135deg, #3b8df5 0%, #1877F2 100%);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.35);
}
.btn-social.facebook i { color: #fff; filter: none; }

.form-divider {
    text-align: center;
    position: relative;
    margin-bottom: 25px;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.form-divider::before, .form-divider::after {
    content: '';
    position: absolute;
    top: 50%; width: 32%; height: 1px;
    background: #e1e8f0;
}
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

.auth-form-group { margin-bottom: 18px; position: relative; text-align: left; }
.auth-form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 7px; color: #1a2f4a; }
.auth-form-group i { position: absolute; left: 16px; top: 38px; color: #94a3b8; }
.auth-form-group input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border-radius: 12px;
    border: 1.5px solid #f0f3f7;
    background: #f9fbff;
    outline: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-family: inherit;
}

.auth-form-group input:focus { border-color: #0a3d8f; background: #fff; box-shadow: 0 0 0 4px rgba(10, 61, 143, 0.05); }

.login-form-pane { display: none; }
.login-form-pane.active { display: block; animation: loginFadeIn 0.4s ease forwards; }

@keyframes loginFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.btn-text-link { background: none; border: none; color: #0a3d8f; font-size: 0.85rem; width: 100%; cursor: pointer; text-decoration: underline; margin-top: 10px; font-family: inherit; font-weight: 600; }

@media (max-width: 800px) {
    .login-modal { flex-direction: column; max-width: 450px; border-radius: 24px; min-height: auto; }
    .login-brand-side { padding: 35px; text-align: center; }
    .login-brand-logo { height: 40px; margin: 0 auto 15px; }
    .login-brand-title { font-size: 1.5rem; margin-bottom: 10px; }
    .login-brand-desc { display: none; }
    .login-benefit-item { justify-content: center; font-size: 0.85rem; margin-bottom: 10px; }
    .login-form-side { padding: 35px 25px; }
}

