/* Bharat Best Bookings - Modern Color Scheme Ramped from Logo (Blue #2563eb & Orange #f97316) */
:root {
    --primary: #2563eb;          /* Vibrant Logo Blue */
    --primary-dark: #1d4ed8;     /* Deep Navy Blue */
    --primary-light: #eff6ff;    /* Soft Sky Blue */
    --secondary: #f97316;        /* Vibrant Logo Orange (Flight Arc) */
    --secondary-hover: #ea580c;  /* Deep Orange */
    --secondary-light: #fff7ed;  /* Soft Orange Tint */
    --accent: #38bdf8;           /* Light Sky Blue */
    --gold: #f59e0b;
    --dark: #0f172a;             /* Slate Dark */
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 20px -5px rgba(37, 99, 235, 0.08), 0 6px 12px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 30px -10px rgba(37, 99, 235, 0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand-text {
    display: inline;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-right: 10px;
    flex-shrink: 0;
}

.brand span, .brand-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn {
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

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

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
}

.btn-booking {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: white;
}

.btn-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.4);
}

/* Hero Section Ramped */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(29, 78, 216, 0.88)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5.5rem 2rem 4.5rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    opacity: 0.92;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 0.3rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.2rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark);
    background: #fff;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   Modern Unified Rich Text Editor Component (No HTML required)
   ========================================================================== */
.rich-editor-wrapper {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-top: 0.4rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.rich-editor-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.rich-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 0.6rem 0.85rem;
    border-bottom: 1.5px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 0.45rem;
}

.editor-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #334155;
    padding: 0.42rem 0.8rem;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.editor-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.editor-btn:active {
    background: #e2e8f0;
    transform: translateY(0);
}

.editor-btn i {
    font-size: 0.88rem;
    color: #64748b;
    transition: color 0.15s ease;
}

.editor-btn:hover i {
    color: #2563eb;
}

.rich-editor-textarea {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 1rem 1.15rem;
    font-size: 0.98rem;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    line-height: 1.7;
    white-space: pre-wrap;
    resize: vertical;
    display: block;
}

.rich-editor-textarea::placeholder {
    color: #94a3b8;
}

/* Global Elegant Top Page Loading Progress Bar */
.page-loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #f97316 100%);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6), 0 0 5px rgba(249, 115, 22, 0.4);
    z-index: 9999999;
    pointer-events: none;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.page-loader-bar.loading {
    opacity: 1;
}

/* Modal Entrance & Content Loading Animation */
.modal-overlay {
    transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
}

.modal-card {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.modal-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3.5px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    border-top-color: #2563eb;
    animation: bbbSpin 0.75s linear infinite;
    margin: 1.5rem auto;
}

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

@keyframes bbbPageFadeIn {
    from { opacity: 0.88; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-main, .container {
    animation: bbbPageFadeIn 0.25s ease-out;
}

/* Fallback for legacy classes */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    padding: 0.55rem 0.75rem;
    border: 1.5px solid #cbd5e1;
    border-bottom: 1px solid #e2e8f0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.toolbar-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.15s ease;
}

.toolbar-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

.toolbar-btn-line {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.form-control-with-toolbar {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none !important;
}

/* Article Body Typography & Spacing */
.blog-article-body {
    font-size: 1.12rem;
    line-height: 1.9;
    color: #1e293b;
    margin-bottom: 2.5rem;
    word-wrap: break-word;
}

.blog-article-body p {
    margin-bottom: 1.35rem;
    line-height: 1.85;
}

.blog-article-body hr.blog-divider,
.blog-divider {
    border: none;
    border-top: 1.5px solid #cbd5e1;
    margin: 2.2rem 0;
    clear: both;
}

.content-spacer {
    display: block;
    height: 1.5rem;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* OTP Banner */
.otp-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: #1e40af;
    font-weight: 600;
}

/* Modal Overlay & Card */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.22s ease forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

.modal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
    max-height: 92vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-card {
    animation: modalCardPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #64748b;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    z-index: 50;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: rotate(90deg) scale(1.08);
}

.modal-close i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

/* Universal Single Page & Content Transition Loader */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.page-transition-pill {
    background: #ffffff;
    padding: 0.95rem 1.85rem;
    border-radius: 50px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 1px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    animation: bbbPulsePill 1.2s ease-in-out infinite;
}

@keyframes bbbPulsePill {
    0%, 100% { transform: scale(1); box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25); }
    50% { transform: scale(1.03); box-shadow: 0 30px 70px rgba(37, 99, 235, 0.32); }
}

.page-transition-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #dbeafe;
    border-radius: 50%;
    border-top-color: #2563eb;
    animation: bbbSpin 0.65s linear infinite;
    flex-shrink: 0;
}

.page-transition-brand {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-transition-brand span {
    color: #f59e0b;
}

.page-transition-text {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 700;
    border-left: 1.5px solid #e2e8f0;
    padding-left: 0.8rem;
    margin-left: 0.25rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 99999;
}

.toast {
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideInToast 0.3s ease forwards;
    max-width: 340px;
}

@keyframes slideInToast {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

.toast-success { background: linear-gradient(135deg, #16a34a, #15803d); }
.toast-error   { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.toast-info    { background: linear-gradient(135deg, #2563eb, #1d4ed8); }

/* Booking Provider Buttons */
.provider-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.provider-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-weight: 700;
    color: var(--dark);
    background: #fff;
    transition: all 0.2s ease;
    text-decoration: none;
}

.provider-btn:hover {
    background: #f8fafc;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Premium Vertical Blog Card Component */
.card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.card-img-box {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
}

.card-img-box img, .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-box img, .card:hover .card-img {
    transform: scale(1.06);
}

.card-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background: #ffffff;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.55;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.25em;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.card-meta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Horizontal Cards Layout */
.horizontal-cards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.horizontal-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 380px 1fr;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.horizontal-card-img-box {
    position: relative;
    height: 100%;
    min-height: 280px;
}

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

.horizontal-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tag-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.card-title-lg {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.card-desc-lg {
    color: var(--gray);
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.photo-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin: 0.8rem 0;
}

.photo-thumb {
    width: 65px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.photo-thumb:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* 70/30 Two-Column Layout for Story Page */
.story-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
}

.story-main-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    min-width: 0;
}

.story-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 5rem;
}

.sidebar-widget {
    background: white;
    padding: 1.8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.sidebar-widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.6rem;
}

.suggested-card-mini {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.suggested-card-mini:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.suggested-card-mini:hover {
    transform: translateX(4px);
}

.suggested-thumb {
    width: 85px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.suggested-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

/* Clean Thumbs Up / Thumbs Down Reaction Bar (No outline boxes, no Like/Dislike text) */
.reaction-bar-sleek {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    margin: 2.5rem 0;
    border: 1px solid #e2e8f0;
}

.reaction-pills-group {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.reaction-icon-btn,
.reaction-pill-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #64748b;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.reaction-icon-btn:hover,
.reaction-pill-btn:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.reaction-icon-btn.active-like,
.reaction-pill-btn.active-like {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.12);
    font-weight: 800;
}

.reaction-icon-btn.active-dislike,
.reaction-pill-btn.active-dislike {
    color: var(--secondary);
    background: rgba(249, 115, 22, 0.12);
    font-weight: 800;
}

/* Premium Full-Width Comment Box & Clean Comment Cards */
.comments-section-redesigned {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.comment-box-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1.8rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.comment-textarea-sleek {
    width: 100%;
    padding: 1.2rem 1.4rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    resize: vertical;
    min-height: 120px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
    background: #ffffff;
}

.comment-textarea-sleek:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.comment-card-sleek {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
}

.comment-card-sleek:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.comment-reply-indent {
    margin-left: 2.5rem;
    border-left: 3px solid var(--primary);
    background: #f8fafc;
}

.comment-header-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.8rem;
}

.user-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.comment-user-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--dark);
}

.comment-time-stamp {
    font-size: 0.82rem;
    color: var(--gray);
    margin-left: auto;
}

.comment-body-text {
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.comment-actions-bar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #f1f5f9;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gray);
}

.comment-action-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    transition: all 0.2s ease;
}

.comment-action-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.comment-action-btn.active-like {
    color: var(--primary);
    font-weight: 800;
    background: rgba(37, 99, 235, 0.12);
}

.comment-action-btn.active-dislike {
    color: var(--secondary);
    font-weight: 800;
    background: rgba(249, 115, 22, 0.12);
}

/* Modals & Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active { display: flex; }

.modal-card {
    background: white;
    width: 90%;
    max-width: 460px;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-control {
    width: 100%; padding: 0.85rem 1rem;
    border: 1px solid var(--border); border-radius: 10px;
    font-size: 1rem; outline: none;
}

.otp-banner {
    background: #e0f2fe; border-left: 4px solid #0284c7;
    color: #0369a1; padding: 1rem; border-radius: 8px; font-size: 0.95rem; margin: 1rem 0;
}

.toast-container {
    position: fixed; bottom: 2rem; right: 2rem;
    z-index: 3000; display: flex; flex-direction: column; gap: 0.8rem;
}
.toast {
    background: var(--dark); color: white;
    padding: 0.9rem 1.6rem; border-radius: 12px; font-weight: 600;
}

footer {
    background: #0f172a; color: #94a3b8;
    padding: 2.5rem 2rem 1.5rem; margin-top: 4rem; font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Photo Gallery Grid - Strictly Contained Within Box */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.25rem;
    margin-top: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}

.gallery-grid img:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.story-main-content img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Community & Travel Stories Grid */
.community-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Nav Toggle Button (Hidden by default on Desktop) */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.45rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 10px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.mobile-only-auth {
    display: none;
}

/* Strict Desktop Viewport Overrides (Screens 769px and wider) */
@media (min-width: 769px) {
    .mobile-nav-toggle {
        display: none !important;
    }
    .mobile-only-auth {
        display: none !important;
    }
    .nav-actions {
        display: flex !important;
    }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* 1. Tablet & Medium Screens (max-width: 990px) */
@media (max-width: 990px) {
    .story-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .story-sidebar {
        position: static;
        top: 0;
    }
    .horizontal-card {
        grid-template-columns: 1fr;
    }
    .horizontal-card-img-box {
        height: 240px;
        min-height: 240px;
    }
    .horizontal-card-content {
        padding: 1.5rem;
    }
    .card-title-lg {
        font-size: 1.35rem;
    }
}

/* 2. Mobile Screens & Phablets (max-width: 768px) */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }

    /* Navbar Mobile Layout */
    .navbar {
        padding: 0.8rem 1.2rem;
        position: sticky;
        top: 0;
    }

    .brand {
        font-size: 1.25rem;
    }

    .brand img {
        height: 32px;
        margin-right: 6px;
    }

    .mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 1.2rem 1.5rem;
        gap: 0.6rem;
        border-bottom: 2px solid var(--border);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        z-index: 1001;
    }

    .nav-links.mobile-open {
        display: flex;
        animation: slideDownNav 0.25s ease forwards;
    }

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

    .nav-links a {
        padding: 0.75rem 0.6rem;
        border-radius: 10px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        border-bottom: 1px solid #f8fafc;
    }

    .nav-links a:hover {
        background: #f1f5f9;
        transform: none;
    }

    .mobile-only-auth {
        display: block !important;
        padding-top: 0.6rem;
        margin-top: 0.4rem;
        border-top: 1px dashed var(--border);
    }

    .nav-actions {
        display: none !important;
    }

    .community-blogs-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    /* Hero Section */
    .hero {
        padding: 3.5rem 1.2rem 2.8rem;
    }

    .hero h1 {
        font-size: 2.1rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .hero input[type="text"] {
        padding: 0.85rem 1.2rem !important;
        font-size: 0.95rem !important;
    }

    /* Container & Headings */
    .container {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Cards & Grids */
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

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

    .card-body {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.15rem;
        min-height: auto;
    }

    .card-desc {
        min-height: auto;
    }

    /* Story Details Page */
    .story-main-content {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .story-main-content article h1 {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
    }

    .story-main-content img[alt="Cover"] {
        height: 240px !important;
        margin: 1rem 0 1.5rem !important;
    }

    .reaction-bar-sleek {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1.1rem 1.2rem;
    }

    .comment-box-card {
        padding: 1.2rem;
    }

    .comment-card-sleek {
        padding: 1.1rem;
    }

    .comment-reply-indent {
        margin-left: 0.8rem;
        border-left-width: 2px;
        padding: 0.8rem;
    }

    /* Modals Responsive */
    .modal-overlay {
        padding: 0.8rem;
    }

    .modal-card {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
        max-width: 100%;
    }

    /* Prevent automatic iOS Safari zoom-in by ensuring 16px input font size */
    .form-control,
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px !important;
    }

    /* Footer Mobile */
    footer > div {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }
}

/* 3. Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.7rem 0.9rem;
    }

    .brand {
        font-size: 1.15rem;
    }

    .brand img {
        height: 28px;
    }

    .hero {
        padding: 2.8rem 1rem 2.2rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .gallery-grid img {
        height: 110px;
    }

    .btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.9rem;
    }

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

    .toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .toast {
        max-width: 100%;
    }
}
