/* Corelatin Custom Styles */

:root {
    --cc-primary: #00695c;
    --cc-primary-light: #009688;
    --cc-secondary: #ff6f00;
    --cc-bg-light: #f8f9fa;
    --cc-bg-dark: #1a1a2e;
    --cc-card-radius: 15px;
    --cc-card-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--cc-bg-light);
    min-height: 100vh;
}

/* Card Styles */
.cc-card {
    border-radius: var(--cc-card-radius) !important;
    box-shadow: var(--cc-card-shadow);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.cc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Buttons */
.cc-btn-primary {
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-primary-light)) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.cc-btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.cc-btn-secondary {
    background: var(--cc-secondary) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 12px !important;
}

/* Service Cards */
.service-card-img {
    height: 200px;
    object-fit: cover;
    border-radius: var(--cc-card-radius) var(--cc-card-radius) 0 0;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    padding: 80px 0;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
}
[data-mdb-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #0f2c2a 0%, #1a3c38 100%);
}

/* Mobile App Bar */
.app-bar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Mobile Bottom Nav */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    justify-content: space-around;
    padding: 8px 0;
}
.bottom-nav a {
    text-align: center;
    color: #666;
    font-size: 0.7rem;
    text-decoration: none;
    flex: 1;
}
.bottom-nav a i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 3px;
}
.bottom-nav a.active,
.bottom-nav a:hover {
    color: var(--cc-primary);
}

/* Desktop Grid */
@media (min-width: 992px) {
    .service-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .service-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hero-section {
        padding: 40px 16px;
        border-radius: 0 0 24px 24px;
    }
    body {
        padding-bottom: 70px;
    }
    .bottom-nav { display: flex; }
}

/* Dark Mode */
[data-mdb-theme="dark"] body {
    background-color: var(--cc-bg-dark);
    color: #e0e0e0;
}
[data-mdb-theme="dark"] .app-bar,
[data-mdb-theme="dark"] .bottom-nav,
[data-mdb-theme="dark"] .navbar {
    background: #16213e !important;
}
[data-mdb-theme="dark"] .card,
[data-mdb-theme="dark"] .cc-card {
    background-color: #16213e;
    color: #e0e0e0;
}
[data-mdb-theme="dark"] .table {
    color: #e0e0e0;
}
[data-mdb-theme="dark"] .modal-content {
    background: #16213e;
    color: #e0e0e0;
}
[data-mdb-theme="dark"] .form-control,
[data-mdb-theme="dark"] .form-select {
    background: #0f3460;
    color: #e0e0e0;
    border-color: #1a1a2e;
}
[data-mdb-theme="dark"] .form-control:focus {
    background: #0f3460;
    color: #e0e0e0;
}
[data-mdb-theme="dark"] .text-dark {
    color: #e0e0e0 !important;
}
[data-mdb-theme="dark"] .text-muted {
    color: #a0a0a0 !important;
}
[data-mdb-theme="dark"] footer {
    background: #16213e !important;
    border-color: #0f3460 !important;
}
[data-mdb-theme="dark"] .navbar-brand {
    color: #fff !important;
}
[data-mdb-theme="dark"] .app-bar .text-dark,
[data-mdb-theme="dark"] .bottom-nav a {
    color: #ccc !important;
}
[data-mdb-theme="dark"] .app-bar .text-dark:hover,
[data-mdb-theme="dark"] .bottom-nav a:hover,
[data-mdb-theme="dark"] .bottom-nav a.active {
    color: var(--cc-primary-light) !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 1050;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* UPI Payment Simulation */
.upi-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.upi-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.upi-option:hover, .upi-option.selected {
    border-color: var(--cc-primary);
    background: rgba(0,105,92,0.05);
}
.upi-option i {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}
.upi-option span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Hero Pulse Animation */
.hero-icon-pulse {
    animation: heroPulse 2.5s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}
.hero-card-float {
    animation: floatCard 3s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile Hero */
.hero-mobile {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}
[data-mdb-theme="dark"] .hero-mobile {
    background: linear-gradient(135deg, #0f2c2a 0%, #1a3c38 100%);
}

/* Stat Cards */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,105,92,0.15);
}

/* Trust Hover Cards */
.trust-hover {
    transition: all 0.3s ease;
    cursor: default;
}
.trust-hover:hover {
    border-left: 3px solid var(--cc-primary) !important;
    transform: translateY(-4px);
}
.trust-hover:hover .trust-icon i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* How It Works Steps */
.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-primary-light));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-item:hover .step-circle {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0,105,92,0.3);
}

/* Testimonial Dots */
.testimonial-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    margin: 0 3px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.testimonial-dot.active {
    background: var(--cc-primary);
    transform: scale(1.3);
}

/* CTA btn-white */
.btn-white {
    background: #fff !important;
    border: none !important;
    color: var(--cc-primary) !important;
    font-weight: 600;
    border-radius: 12px !important;
}
.btn-white:hover {
    background: #f0f0f0 !important;
}

/* Service icon zoom on hover */
.svc-icon-wrap {
    overflow: hidden;
    border-radius: var(--cc-card-radius) var(--cc-card-radius) 0 0;
    transition: background 0.3s ease;
}
.svc-card:hover .svc-icon-wrap {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb) !important;
}
.svc-card:hover .svc-icon-wrap i {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* ---- FAQ Accordion ---- */
.faq-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid rgba(0,0,0,0.07);
}
.faq-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: inherit;
    transition: background 0.2s;
}
.faq-btn:hover { background: rgba(0,105,92,0.06); }
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 18px;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.7;
}
.faq-body.open { padding-bottom: 16px; }
.faq-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--cc-primary);
}
.faq-arrow.rotated { transform: rotate(180deg); }

/* ---- Payment Gateway ---- */
.pay-tab-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--cc-primary);
    background: transparent;
    color: var(--cc-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.pay-tab-btn.active, .pay-tab-btn:hover {
    background: var(--cc-primary);
    color: #fff;
}
.netbank-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.netbank-option {
    padding: 10px 6px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.netbank-option:hover, .netbank-option.selected {
    border-color: var(--cc-primary);
    background: rgba(0,105,92,0.06);
    color: var(--cc-primary);
}

/* ---- Chatbot Widget ---- */
.chatbot-fab {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,105,92,0.4);
    z-index: 1050;
    transition: transform 0.2s, box-shadow 0.2s;
}
.chatbot-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,105,92,0.5); }

.chatbot-window {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 340px;
    max-height: 480px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    z-index: 1049;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.chatbot-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}
@media (max-width: 576px) {
    .chatbot-window { width: calc(100vw - 24px); right: 12px; bottom: 140px; }
}
.chatbot-header {
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-primary-light));
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9fa;
}
.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
}
.chat-msg.bot .chat-bubble {
    background: #fff;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.chat-msg.user .chat-bubble {
    background: var(--cc-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-time { font-size: 10px; color: #aaa; margin-top: 3px; }
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 0;
}
.chat-quick-replies button {
    border: 1px solid var(--cc-primary);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    background: #fff;
    color: var(--cc-primary);
    cursor: pointer;
    transition: all 0.2s;
}
.chat-quick-replies button:hover { background: var(--cc-primary); color: #fff; }
.chatbot-input {
    display: flex;
    border-top: 1px solid #eee;
    background: #fff;
    padding: 8px 10px;
    gap: 8px;
}
.chatbot-input input {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.88rem;
    outline: none;
}
.chatbot-input input:focus { border-color: var(--cc-primary); }
.chatbot-input button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cc-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.chatbot-input button:hover { background: var(--cc-primary-light); }
.chatbot-footer-note {
    padding: 6px 14px;
    font-size: 10px;
    color: #aaa;
    background: #fff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

/* Status Badges */
.status-pending    { background: #fff3cd; color: #856404; }
.status-assigned   { background: #cce5ff; color: #004085; }
.status-completed  { background: #d4edda; color: #155724; }
.status-cancelled  { background: #f8d7da; color: #721c24; }

/* ============================================================
   BOOKING WIZARD PROGRESS
   ============================================================ */
.wizard-progress { padding: 0 8px; }
.wizard-prog-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.wprog-step { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.wprog-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  background: #fff;
  color: #adb5bd;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
  z-index: 1;
}
.wprog-label { font-size: 11px; color: #adb5bd; font-weight: 500; white-space: nowrap; }
.wprog-step.active .wprog-circle  { border-color: var(--cc-primary); background: var(--cc-primary); color: #fff; }
.wprog-step.active .wprog-label   { color: var(--cc-primary); }
.wprog-step.completed .wprog-circle{ border-color: #28a745; background: #28a745; color: #fff; }
.wprog-step.completed .wprog-label { color: #28a745; }
.wprog-line {
  flex: 1; height: 2px; background: #dee2e6;
  margin: 0 -2px; margin-bottom: 20px; min-width: 40px; max-width: 80px;
  transition: background .25s;
}
.wprog-line.done { background: #28a745; }

/* ============================================================
   BOOKING STATUS TRACKER TIMELINE
   ============================================================ */
.booking-tracker {
  display: flex; align-items: center;
  padding: 12px 0 4px;
}
.tracker-step { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tracker-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #dee2e6;
  background: #f8f9fa;
  color: #adb5bd;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: all .25s;
}
.tracker-label { font-size: 10px; color: #adb5bd; font-weight: 500; white-space: nowrap; }
.tracker-step.active .tracker-icon  { border-color: var(--cc-primary); background: var(--cc-primary); color: #fff; box-shadow: 0 0 0 4px rgba(26,115,232,.15); }
.tracker-step.active .tracker-label { color: var(--cc-primary); font-weight: 700; }
.tracker-step.done .tracker-icon    { border-color: #28a745; background: #28a745; color: #fff; }
.tracker-step.done .tracker-label   { color: #28a745; }
.tracker-line {
  flex: 1; height: 2px; background: #dee2e6;
  margin: 0 4px; margin-bottom: 20px; min-width: 20px;
  transition: background .25s;
}
.tracker-line.done { background: #28a745; }

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.filter-chip {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid #dee2e6;
  background: #fff;
  color: #6c757d;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.filter-chip:hover   { border-color: var(--cc-primary); color: var(--cc-primary); }
.filter-chip.active  { border-color: var(--cc-primary); background: var(--cc-primary); color: #fff; }

/* ============================================================
   SKELETON LOADING PULSE
   ============================================================ */
@keyframes skeletonPulse {
  0%, 100% { opacity: .6; }
  50%       { opacity: .25; }
}
.skeleton-pulse { animation: skeletonPulse 1.6s ease-in-out infinite; }

/* ============================================================
   REVIEW STARS
   ============================================================ */
.review-star {
  font-size: 1.4rem;
  cursor: pointer;
  color: #ffc107;
  transition: transform .15s;
}
.review-star:hover { transform: scale(1.2); }

/* ============================================================
   COMPANION SELECT CARD (admin assign)
   ============================================================ */
.companion-select-card {
  transition: all .2s;
  user-select: none;
}
.companion-select-card:hover { border-color: var(--cc-primary) !important; box-shadow: 0 0 0 3px rgba(26,115,232,.1); }

/* ============================================================
   PRICE CALCULATOR WIDGET
   ============================================================ */
.price-calc-widget {
  background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
  border: 1px solid #b3d9ff;
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 24px;
}
.price-calc-widget .calc-total {
  font-size: 2rem; font-weight: 800; color: var(--cc-primary);
  transition: color .2s;
}
.price-calc-widget input[type=range] { accent-color: var(--cc-primary); }

/* ============================================================
   REVIEWS SECTION (homepage)
   ============================================================ */
.review-card {
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8eef3;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.review-stars .fa-star { color: #ffc107; font-size: 13px; }
.reviewer-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cc-primary);
  color: #fff; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   NRI SECTION
   ============================================================ */
.nri-section {
  background: linear-gradient(135deg, #0f2044 0%, #1a3a6e 60%, #0d3a5c 100%);
  border-radius: 20px;
  color: #fff;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.nri-section::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
@media (max-width: 767px) {
  .nri-section { padding: 32px 20px; }
  .wprog-label  { display: none; }
  .tracker-label{ display: none; }
}

[data-mdb-theme="dark"] .filter-chip { background: #2d2d2d; border-color: #444; color: #ccc; }
[data-mdb-theme="dark"] .filter-chip.active { background: var(--cc-primary); color: #fff; }
[data-mdb-theme="dark"] .review-card { background: #1e1e1e; border-color: #333; }
[data-mdb-theme="dark"] .price-calc-widget { background: linear-gradient(135deg,#1a2a3a,#1a3a2a); border-color: #2a4a5a; }

/* ============================================================
   SMART STICKY NAVBAR
   ============================================================ */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: transform .3s ease, box-shadow .3s ease;
}
nav.navbar.nav-hidden {
  transform: translateY(-100%);
  box-shadow: none !important;
}
/* Push body content below fixed navbar */
body { padding-top: 66px; }

/* Mobile app-bar also sticky */
.app-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: transform .3s ease;
}
.app-bar.nav-hidden { transform: translateY(-100%); }

/* ============================================================
   SMOOTH SCROLL
   ============================================================ */
html { scroll-behavior: smooth; }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 1040;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cc-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(26,115,232,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover { background: var(--cc-primary-dark, #1558c0); }

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ============================================================ */

/* 1. Body padding-top: app-bar is ~56px on mobile, not 66px */
@media (max-width: 991px) {
  body { padding-top: 60px; }
}

/* 2. Back-to-top sits above bottom-nav on mobile */
@media (max-width: 991px) {
  #backToTop { bottom: 84px; right: 12px; }
}

/* 3. Net-banking grid: 2 cols on small screens */
@media (max-width: 576px) {
  .netbank-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 4. Admin & data tables: shrink text, keep horizontal scroll */
@media (max-width: 767px) {
  .table th, .table td {
    font-size: 12px;
    padding: 6px 8px !important;
    white-space: nowrap;
  }
  .table .badge { font-size: 9px !important; }
}

/* 5. Wizard progress labels hidden on very small screens */
@media (max-width: 380px) {
  .wprog-label  { display: none; }
  .wprog-circle { width: 28px; height: 28px; font-size: 11px; }
  .wprog-line   { min-width: 16px; }
}

/* 6. ESG tab buttons: stacked on narrow screens */
@media (max-width: 520px) {
  .esg-tab-buttons          { flex-direction: column; align-items: stretch; }
  .esg-tab-btn              { flex-direction: row; min-width: 0; width: 100%;
                               padding: 12px 16px; justify-content: flex-start; gap: 14px; }
  .esg-tab-icon             { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; }
  .esg-tab-btn .esg-tag     { margin-left: auto; }
}

/* 7. Notification panel full-width on very small screens */
@media (max-width: 400px) {
  #notifPanel { width: 100vw !important; border-radius: 0 !important; right: -100vw !important; }
  #notifPanel[style*="right: 0"] { right: 0 !important; }
}

/* 8. About / Sustainability hero text on tiny screens */
@media (max-width: 360px) {
  .about-hero h1, .sus-hero h1 { font-size: 1.45rem !important; }
}

/* 9. VM cards on mobile — reduce padding */
@media (max-width: 767px) {
  .vm-card { padding: 28px 22px !important; }
}

/* 10. Serve & SDG cards stacking */
@media (max-width: 480px) {
  .serve-card { flex-direction: column; }
  .sdg-card   { padding: 16px 14px !important; }
}

/* 11. Value flip cards — touch tap to toggle on mobile */
.value-flip-card.tapped .value-flip-inner { transform: rotateY(180deg); }

/* 12. Companion contact buttons full-width on xs */
@media (max-width: 420px) {
  .comp-action-col { flex-direction: row !important; flex-wrap: wrap; }
  .comp-action-col .btn { flex: 1; min-width: 90px; }
}

/* 13. Booking cards — action row wraps cleanly */
@media (max-width: 480px) {
  .booking-card .d-flex.gap-2.flex-wrap { gap: 6px !important; }
  .booking-card .btn-sm { font-size: 11px; padding: 4px 10px; }
}

/* 14. Service horizontal scroll card min-width on mobile */
@media (max-width: 480px) {
  .service-scroll-card { min-width: 85vw !important; }
}

/* 15. Filter chips — horizontal scroll row on mobile */
@media (max-width: 576px) {
  .filter-chips-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-chips-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; }
}

/* 16. Dashboard stat cards — 2 per row on xs */
@media (max-width: 480px) {
  .stat-card-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* 17. Price calculator on mobile */
@media (max-width: 576px) {
  .price-calc-widget { padding: 16px !important; }
  .price-calc-widget .calc-total { font-size: 1.5rem; }
}

/* 18. Sustainability pledge table scrollable */
@media (max-width: 767px) {
  .sus-pledge-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* 19. About page stats grid: 2×2 on xs (Bootstrap col-6 handles this already) */

/* 20. General img overflow protection */
img { max-width: 100%; height: auto; }

.hover-shadow { transition: transform .15s ease, box-shadow .15s ease; }
.hover-shadow:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.hover-lift { transition: transform .25s ease, box-shadow .25s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }

/* 21. Card hover lift disabled on touch devices (prevents sticky hover) */
@media (hover: none) {
  .cc-card:hover          { transform: none; box-shadow: var(--cc-card-shadow); }
  .about-stat-card:hover  { transform: none; box-shadow: none; }
  .vm-card:hover          { transform: none; box-shadow: none; }
  .serve-card:hover       { border-color: #e2e8f0 !important; box-shadow: none; }
  .trust-hover:hover      { border-left: none !important; transform: none; }
  .hover-lift:hover       { transform: none; }
}

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
  /* Hide non-essential UI */
  nav, .bottom-nav, .app-bar, .whatsapp-float,
  .chatbot-fab, .chatbot-window, #toastContainer,
  #backToTop, footer, .btn, .filter-chip,
  .review-prompt, .skeleton-pulse, .no-print { display: none !important; }

  body, html { background: #fff !important; color: #000 !important; }
  .container  { max-width: 100% !important; padding: 0 16px !important; }
  .card, .cc-card { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }

  /* Booking confirmation print layout */
  .print-header {
    text-align: center;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }
  .print-header h2 { color: #1a73e8 !important; font-size: 1.4rem; }

  /* Show URLs after links */
  a[href]::after { content: ' (' attr(href) ')'; font-size: 10px; color: #666; }
  a[href^='tel']::after, a[href^='#']::after { content: ''; }

  /* Force page break before booking details */
  .booking-card + .booking-card { page-break-before: auto; }
}
