/* Aletta Travel v1 Stylesheet
   Retains brand color theme (#E8604C / #0F172A / #1E293B) and adds v1 UI/UX enhancements:
   - Floating labels (.form-floating)
   - Smooth bouncy buttons (.btn-bouncy)
   - Loading buttons (.btn-loading)
   - Dashboard field helper descriptions (.field-helper)
   - Gradient fallbacks for Hero Slides and Service Cards
   - Marketing short-code badge (.short-link-badge)
*/

:root {
    --primary: #E8604C;
    --primary-hover: #D44D3A;
    --primary-light: rgba(232, 96, 76, 0.1);
    --secondary: #1E293B;
    --dark: #0F172A;
    --light-bg: #F8FAFC;
    --border-color: #E2E8F0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-ui: 'Poppins', sans-serif;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: #FFFFFF;
    line-height: 1.6;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

.font-ui {
    font-family: var(--font-ui) !important;
}

/* Primary Color Utilities */
.bg-theme {
    background-color: var(--primary) !important;
}

.text-theme {
    color: var(--primary) !important;
}

.border-theme {
    border-color: var(--primary) !important;
}

.bg-light-bg {
    background-color: var(--light-bg);
}

/* Buttons — Surface Value Hover (No Elevation / No Shadow Jump) */
.btn {
    letter-spacing: -0.01em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-theme {
    background-color: var(--primary);
    color: #FFFFFF !important;
    border: 1px solid var(--primary);
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-theme:hover, .btn-theme:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #FFFFFF !important;
    transform: none;
    box-shadow: none !important;
}

.btn-theme:active {
    background-color: #BF3F2D;
    transform: none;
}

.btn-outline-theme {
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: transparent;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-outline-theme:hover {
    background-color: rgba(232, 96, 76, 0.1);
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: none;
    box-shadow: none !important;
}

.btn-bouncy {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

.btn-bouncy:hover,
.btn-bouncy:active {
    transform: none;
    box-shadow: none !important;
}

/* Loading Button State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.88;
}

.btn-loading .btn-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.65s linear infinite;
    margin-right: 0.5rem;
    vertical-align: -0.15em;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Floating Labels & Dashboard Helper Descriptions */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    background-color: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.22rem rgba(232, 96, 76, 0.18);
}

.form-floating > label {
    color: #64748B;
    font-weight: 500;
}

.form-floating > textarea.form-control {
    min-height: 110px;
}

.field-helper,
.dashboard-form-help {
    display: block;
    font-size: 0.79rem;
    line-height: 1.45;
    color: #64748B;
    margin-top: 0.35rem;
    padding-left: 0.25rem;
}

/* Marketing Short-Link Pill */
.short-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    color: #0F172A;
}

/* Navbar & Header Styling */
.top-bar {
    background-color: #0F172A;
    color: #94A3B8;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.top-bar a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s;
}

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

.main-navbar {
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.navbar-brand img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease, max-height 0.3s ease;
}

.main-navbar .nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155 !important;
    padding: 0.6rem 1.1rem !important;
    position: relative;
    transition: all 0.25s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary) !important;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.1rem;
    right: 1.1rem;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s ease;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

.main-navbar.navbar-scrolled {
    padding: 0;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.1);
}

.main-navbar.navbar-scrolled .navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.main-navbar.navbar-scrolled .navbar-brand img {
    height: 38px !important;
    max-height: 38px;
}

/* Hero Slideshow (Services-Only + Gradient Fallback) */
.hero-slider .carousel-item {
    height: 78vh;
    min-height: 520px;
    position: relative;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.52) 50%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* Design Principle: "Say what Aletta Travel does" BIGGER, "For whom" SMALLER */
.hero-what-we-do {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #FFFFFF !important;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    margin-bottom: 0.85rem;
}

.hero-for-whom {
    display: inline-block;
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    font-weight: 600;
    color: #FDE68A !important;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.15rem;
    backdrop-filter: blur(6px);
}

.hero-subtext {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 650px;
    margin: 0 auto 1.75rem auto;
}

/* Service Cards — Border Only, Surface Hover (No Shadow / No Elevation Jump) */
.service-card-v1 {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-v1:hover {
    transform: none;
    box-shadow: none !important;
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.service-card-media {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.service-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-v1:hover .service-card-media img {
    transform: scale(1.06);
}

.service-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.service-audience-pill {
    position: relative;
    z-index: 2;
    font-size: 0.76rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(232, 96, 76, 0.92);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}

/* Page Header Banner */
.page-header-banner {
    position: relative;
    background-color: #0B1120 !important;
    background-size: cover;
    background-position: center;
    color: #FFFFFF !important;
    padding: 4.5rem 0;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}

.page-header-banner .container {
    position: relative;
    z-index: 2;
}

.page-header-banner h1,
.page-header-banner h2,
.page-header-banner h3,
.page-header-banner p,
.page-header-banner span {
    color: #FFFFFF !important;
}

.card-hover {
    border: 1px solid #E2E8F0 !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.card-hover:hover {
    transform: none;
    box-shadow: none !important;
    background-color: #F8FAFC !important;
    border-color: #CBD5E1 !important;
}

/* Structured Metadata Chips (High-density scannable parameters) */
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 2px 7px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #475569;
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
}

.meta-chip i {
    font-size: 10.5px;
}

/* Ergonomic Search Density Bar with Keyboard Focus State */
.search-density-bar {
    border: 1px solid #E2E8F0 !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-density-bar:focus-within {
    border-color: #E8604C !important;
    box-shadow: 0 0 0 3px rgba(232, 96, 76, 0.12) !important;
}

/* Accessible & Predictable Focus Ring for Interactive Elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #E8604C !important;
    outline-offset: 2px !important;
}

/* Footer Styling */
footer {
    background-color: #0F172A;
    color: #94A3B8;
}

footer h5 {
    color: #FFFFFF !important;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary);
}

footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

footer a:hover {
    color: #FFFFFF !important;
    padding-left: 4px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Dashboard Sidebar & Modern Cards */
.admin-sidebar {
    background-color: #0F172A !important;
    color: #94A3B8;
    min-height: 100vh;
    border-right: 1px solid #1E293B;
}

.admin-sidebar .brand-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #1E293B;
    background-color: #0B1120;
}

.admin-sidebar .sidebar-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748B;
    padding: 1.2rem 1.5rem 0.4rem 1.5rem;
}

.admin-sidebar .nav-link {
    color: #94A3B8 !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.admin-sidebar .nav-link i {
    width: 22px;
    font-size: 1rem;
    color: #64748B;
    transition: color 0.2s ease;
}

.admin-sidebar .nav-link:hover {
    color: #F8FAFC !important;
    background-color: rgba(255, 255, 255, 0.04);
}

.admin-sidebar .nav-link:hover i {
    color: var(--primary);
}

.admin-sidebar .nav-link.active {
    color: #FFFFFF !important;
    background: linear-gradient(90deg, rgba(232, 96, 76, 0.15) 0%, rgba(232, 96, 76, 0) 100%);
    border-left-color: var(--primary);
    font-weight: 600;
}

.admin-sidebar .nav-link.active i {
    color: var(--primary);
}

.dash-card-v1,
.dashboard-stat-card,
.dashboard-shell .card {
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    background-color: #FFFFFF;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dash-card-v1:hover,
.dashboard-stat-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: #CBD5E1 !important;
}

.stat-icon-wrapper {
    display: none !important;
}

/* Professional UI Designer Spec:
   - 13px text, letter-spacing pulled in 1% (-0.01em)
   - 32px list rows, 14 rows per list view, uniform row height
   - No shadows, borders only; hover changes surface value not elevation
   - Lists use 1 accent color (--primary) and neutral grey for everything else
   - Every action displays its keyboard shortcut (<kbd class="kbd-hint">)
   - Overview cards: no icons, uniform card & badge size, same weight hierarchy (1 big primary metric + 1 small secondary metric)
*/
.dashboard-shell {
    font-size: 13px;
    letter-spacing: -0.01em;
    color: #334155;
}

.dashboard-shell h2,
.dashboard-shell h3 {
    font-size: 1.15rem;
    letter-spacing: -0.015em;
}

.dashboard-shell p,
.dashboard-shell .small,
.dashboard-shell label,
.dashboard-shell input,
.dashboard-shell select {
    font-size: 13px;
    letter-spacing: -0.01em;
}

/* Overview Stat Cards: Same Size, Same Weight (600), 1 Big Metric + 1 Small Metric, No Icons */
.dash-stat-card {
    padding: 0.875rem 1rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 124px;
    background-color: #FFFFFF;
}

.dash-stat-card:hover {
    background-color: #F8FAFC !important;
}

.dash-stat-card.is-primary-metric {
    border-color: rgba(232, 96, 76, 0.45) !important;
}

.dash-stat-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #64748B;
}

.dash-stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 0.5rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
}

.dash-stat-badge-primary {
    background-color: rgba(232, 96, 76, 0.12);
    color: var(--primary);
    border: 1px solid rgba(232, 96, 76, 0.3);
}

.dash-stat-badge-neutral {
    background-color: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
}

.dash-stat-metric-primary {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #0F172A;
}

.dash-stat-metric-secondary {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #64748B;
}

.dash-stat-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #475569;
    text-decoration: none;
    padding: 0.15rem 0.25rem;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dash-stat-action:hover {
    background-color: #F1F5F9;
    color: #0F172A;
}

/* Keyboard Shortcut Pill inside Actions */
.kbd-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    min-width: 16px;
    padding: 0 4px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    border-radius: 3px;
    background-color: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.16);
    color: inherit;
    opacity: 0.85;
}

.btn-theme .kbd-hint {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
}

/* Precision List / Table Specification:
   - 13px text, -1% letter-spacing (-0.01em)
   - 32px uniform rows
   - Surface value hover (#F1F5F9), no elevation/shadow
   - One accent color (--primary), everything else grey
*/
.dash-list-table,
.dashboard-shell .table {
    font-size: 13px !important;
    letter-spacing: -0.01em !important;
    color: #334155 !important;
    border-collapse: collapse;
    margin-bottom: 0;
}

.dash-list-table thead th,
.dashboard-shell .table thead th {
    height: 32px !important;
    max-height: 32px !important;
    padding: 0 0.75rem !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    color: #64748B !important;
    background-color: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
    vertical-align: middle !important;
    white-space: nowrap;
}

.dash-list-table tbody tr,
.dashboard-shell .table tbody tr {
    height: 32px !important;
    max-height: 32px !important;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    transition: background-color 0.12s ease;
}

.dash-list-table tbody tr:hover,
.dashboard-shell .table.table-hover > tbody > tr:hover > * {
    background-color: #F1F5F9 !important;
    --bs-table-accent-bg: #F1F5F9 !important;
    --bs-table-hover-bg: #F1F5F9 !important;
    box-shadow: none !important;
    transform: none !important;
}

.dash-list-table tbody td,
.dashboard-shell .table tbody td {
    height: 32px !important;
    max-height: 32px !important;
    padding: 0 0.75rem !important;
    font-size: 13px !important;
    letter-spacing: -0.01em !important;
    line-height: 30px !important;
    color: #475569;
    vertical-align: middle !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.dash-row-thumb {
    width: 24px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #CBD5E1;
    display: inline-block;
    vertical-align: middle;
}

/* List Badges: One Accent Color + Grey Everything Else */
.dash-badge-accent {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 0.45rem;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 4px;
    background-color: rgba(232, 96, 76, 0.12) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(232, 96, 76, 0.28);
}

.dash-badge-neutral {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 0.45rem;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 4px;
    background-color: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #E2E8F0;
}

.shortlink-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 22px;
    padding: 0 0.5rem;
    border-radius: 4px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.shortlink-pill:hover {
    background-color: #E2E8F0;
    border-color: #CBD5E1;
    color: #0F172A;
}

/* Row & Toolbar Buttons: Compact, Fit in Spaces Well, Surface Value Hover */
.dash-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    white-space: nowrap;
}

.dash-list-table tbody td .btn,
.dashboard-shell .table tbody td .btn {
    height: 22px;
    padding: 0 0.45rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    border-radius: 4px !important;
    box-shadow: none !important;
    transform: none !important;
}

.dashboard-shell .btn-outline-secondary,
.dashboard-shell .btn-light {
    background-color: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #475569 !important;
}

.dashboard-shell .btn-outline-secondary:hover,
.dashboard-shell .btn-light:hover {
    background-color: #E2E8F0 !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
    box-shadow: none !important;
    transform: none !important;
}

.dash-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
}

.dash-toolbar-actions .btn,
.dashboard-shell .card-header .btn {
    height: 30px;
    padding: 0 0.65rem;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 6px !important;
}

.dash-compact-meta-list li {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    letter-spacing: -0.01em;
    color: #64748B;
    border-bottom: 1px solid #F1F5F9;
}

.dash-list-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    padding: 0 0.75rem;
    background-color: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    font-size: 12px;
    letter-spacing: -0.01em;
    color: #64748B;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1030;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: #FFFFFF !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.55);
    animation: whatsapp-ripple 2s infinite;
    z-index: -1;
    pointer-events: none;
}

body.modal-open .whatsapp-btn {
    display: none;
}

.whatsapp-btn:hover {
    background-color: #1EBE57;
    color: #FFFFFF !important;
    transform: translateY(-4px) scale(1.03);
}

.whatsapp-icon-pulse {
    font-size: 1.5rem;
    line-height: 1;
}

@keyframes whatsapp-ripple {
    0% { transform: scale(1); opacity: 0.7; }
    70%, 100% { transform: scale(1.9); opacity: 0; }
}

.detail-hero-media {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-track {
    display: inline-flex;
    animation: scroll-marquee 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Public Mobile Bottom Navigation */
.public-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.public-mobile-nav .nav-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    padding: 7px 4px 6px;
    font-size: 0.68rem;
    font-weight: 600;
}

.public-mobile-nav .nav-item-link.active {
    color: #E8604C !important;
    font-weight: 700;
}

/* Filter Pills & Sub-Nav (Dense, low-fluff, surface hover) */
.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: #FFFFFF;
    color: #475569;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    margin-right: 6px;
    margin-bottom: 6px;
}

.filter-pill:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
    color: #0F172A;
}

.filter-pill.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    font-weight: 600;
}

.sub-nav-strip {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    max-height: 48px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.main-navbar.navbar-scrolled .sub-nav-strip {
    max-height: 0;
    opacity: 0;
}

.sub-nav-link {
    display: inline-block;
    padding: 10px 20px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.sub-nav-link:hover, .sub-nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .main-navbar .offcanvas-lg,
    .main-navbar .offcanvas-lg > .offcanvas-body {
        flex-grow: 1;
    }
}

@media (max-width: 991px) {
    .table-responsive td.text-end {
        white-space: nowrap;
    }
    main .d-flex.justify-content-between {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }
    .dash-toolbar-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .dash-stat-metric-primary {
        font-size: 1.65rem;
    }
    .hero-slide-content .btn,
    .service-card-v1 .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .public-body-wrapper {
        padding-bottom: 65px !important;
    }
    input, select, textarea, .form-control, .form-select {
        font-size: 16px !important;
    }
}

/* Formatted Rich Text Content (from Dashboard Rich Text Editor) */
.rich-text-content p:last-child {
    margin-bottom: 0;
}

.rich-text-content ul,
.rich-text-content ol {
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
}

.rich-text-content li {
    margin-bottom: 0.35rem;
}

/* ==========================================================================
   DESKTOP MEGA MENUS & ACCESSIBLE FOCUS STATES (Modern Web Guidance)
   ========================================================================== */

:is(.main-navbar, .exclusive-flyer-card, .service-card-v1) :is(a, button):focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-exclusive-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    vertical-align: middle;
    margin-left: 3px;
}

.mega-section-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748B;
}

.mega-view-all-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.mega-view-all-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.mega-menu-list li:not(:last-child) {
    margin-bottom: 4px;
}

.mega-item-link,
.mega-flyer-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--dark);
    background-color: #FFFFFF;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.mega-item-link:hover,
.mega-flyer-item:hover {
    background-color: #F8FAFC;
    border-color: #E2E8F0;
    color: var(--dark);
}

.mega-item-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background-color: rgba(232, 96, 76, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 1px;
}

.mega-item-link:hover .mega-item-icon {
    background-color: var(--primary);
    color: #FFFFFF;
}

.mega-flyer-thumb {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 8px;
    background-color: var(--dark);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mega-flyer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-item-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mega-item-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--dark);
    line-height: 1.3;
}

.mega-item-rate {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-top: 2px;
}

.mega-item-sub {
    font-size: 11.5px;
    color: #64748B;
    line-height: 1.35;
    margin-top: 2px;
}

.mega-cta-box {
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 16px;
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid #E2E8F0;
        padding-right: 1rem;
    }

    .main-navbar .navbar {
        min-height: 64px;
    }

    .main-navbar .navbar-nav {
        align-items: stretch;
    }

    .main-navbar .nav-mega-item {
        position: static;
        display: flex;
        align-items: center;
    }

    .main-navbar .nav-mega-item > .nav-link {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        display: flex;
        align-items: center;
    }

    /* Invisible hover bridge connecting trigger to panel to prevent accidental gap closes */
    .main-navbar .nav-mega-item > .mega-menu-panel::before {
        content: '';
        position: absolute;
        top: -30px;
        left: 0;
        right: 0;
        height: 30px;
        background: transparent;
        pointer-events: auto;
    }

    .main-navbar .nav-mega-item > .mega-menu-panel {
        display: block;
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        margin-top: 0;
        padding: 18px 20px;
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-top: 3px solid var(--primary);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(6px);
        z-index: 1055;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        transition-delay: 0.22s; /* Safe exit delay: keeps panel open for 220ms when mouse moves diagonally */
    }

    .main-navbar .nav-mega-item > .mega-menu-panel.mega-menu-lg {
        left: 12px;
        right: 12px;
        width: auto;
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-navbar .nav-mega-item > .mega-menu-panel.mega-menu-md {
        left: auto;
        right: 80px;
        width: 560px;
    }

    .main-navbar .nav-mega-item > .mega-menu-panel.mega-menu-sm {
        left: auto;
        right: 120px;
        width: 340px;
    }

    .main-navbar .nav-mega-item:is(:hover, :focus-within, .is-open) > .mega-menu-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s; /* Opens immediately on hover/focus */
    }

    .main-navbar .nav-mega-item:has(.mega-menu-panel:hover) > .nav-link,
    .main-navbar .nav-mega-item:is(:hover, :focus-within, .is-open) > .nav-link {
        color: var(--primary) !important;
    }

    .main-navbar .nav-mega-item:is(:hover, :focus-within, .is-open) .nav-dropdown-caret {
        transform: rotate(180deg);
    }
}

@media (max-width: 991.98px) {
    .main-navbar .mega-menu-panel {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE & TABLET DRAWER NAVIGATION ("Everything Dropped Down / Expanded")
   ========================================================================== */

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 36px;
}

.mobile-nav-group {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.mobile-nav-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background-color: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

.mobile-nav-group-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    margin: 0;
}

.mobile-nav-group-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--dark);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 1px solid #F1F5F9;
    min-height: 44px; /* Accessible 44px touch target size */
    transition: background-color 0.12s ease;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    background-color: #F8FAFC;
    color: var(--primary);
}

.mobile-nav-item-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    background-color: rgba(232, 96, 76, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.mobile-nav-item.active {
    background-color: #F8FAFC;
    color: var(--primary);
    font-weight: 600;
}

.mobile-flyer-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid #F1F5F9;
}

.mobile-flyer-row:last-child {
    border-bottom: none;
}

.mobile-flyer-thumb {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    background-color: var(--dark);
    overflow: hidden;
}

.mobile-flyer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   EXCLUSIVES FROM ALETTA TRAVEL (Designed Package Flyers)
   ========================================================================== */

.exclusives-showcase-section {
    background-color: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.exclusive-flyer-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.exclusive-flyer-card:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.exclusive-flyer-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
}

.exclusive-flyer-poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #0F172A;
}

.exclusive-validity-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(15, 23, 42, 0.88);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.exclusive-share-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0F172A;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    cursor: pointer;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.exclusive-share-pill:hover {
    background-color: #F8FAFC;
    border-color: var(--primary);
}

.exclusive-flyer-rate {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

/* Developer Attribution Badge (Softzqua Labs) */
.footer-developer-badge {
    padding: 3px 10px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-developer-badge:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #FFFFFF !important;
}

.footer-developer-badge:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}




