﻿:root {
    --brand-primary: #0a2e5a;
    --brand-secondary: #000035;
    --brand-accent: #10b981;
    --gold: #ffc107;
    --white: #ffffff;
    --black: #1a1a1a;
    --grey-light: #f5f7fa;
    --grey-dark: #6c757d;
    --danger: #ef4444;
    --warning: #f59e0b;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --text-primary: #212529;
    --text-secondary: #495057;
    --bg-dark: #121212;
    --text-dark: #e0e0e0;
    --card-dark: #1e1e1e;
    --border-dark: #333333;

    /* New unique colors */
    --teal: #14b8a6;
    --indigo: #6366f1;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --emerald: #10b981;
    --violet: #8b5cf6;
    --cyan: #06b6d4;
    --fuchsia: #d946ef;

    --content-pad: 16px;
    --ios-card-radius: 14px;
    --ios-section-gap: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--grey-light);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-bottom: 80px;
    /* Space for bottom nav */
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

.container.full {
    max-width: 100%;
    padding: 0;
}

/* --- Welcome Popup --- */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.welcome-content {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

body.dark-mode .welcome-content {
    background: var(--card-dark);
}

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.welcome-title {
    font-size: 20px;
    font-weight: 700;
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--grey-dark);
}

.welcome-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.welcome-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    font-size: 14px;
    background: var(--white);
    transition: all 0.3s ease;
}

body.dark-mode .welcome-input {
    background: var(--card-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.welcome-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(10, 46, 90, 0.1);
}

.save-info-btn {
    background: var(--brand-accent);
    color: var(--black);
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* --- Bottom Navigation Bar --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .bottom-nav {
    background: rgba(30, 30, 30, 0.7);
    border-top-color: var(--border-dark);
}

.nav-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--grey-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    padding: 8px 0;
    opacity: 0.7;
    position: relative;
}

.nav-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Footer Navigation Active State Change - Green with border radius */
.nav-btn.active span,
.nav-btn.active i {
    color: var(--emerald);
    /* Green color for active icon and text */
    opacity: 1;
}

.nav-btn.active i {
    transform: scale(1.1);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: rgba(16, 185, 129, 0.1);
    /* Light green background */
    border-radius: 30%;
    /* 30% border radius */
    transition: all 0.3s ease-out;
    z-index: -1;
}

.nav-btn.active::before {
    width: 80%;
    height: 100%;
}

body.dark-mode .nav-btn.active {
    color: var(--brand-accent);
}

body.dark-mode .nav-btn {
    color: var(--text-dark);
}

/* --- Header Redesign - Slimmer Header --- */
/* Note: Background colors are now handled in header.css */
.header {
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: height 0.3s ease, transform 0.3s ease-in-out;
    height: 60px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: var(--white);
    /* Added background */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Added shadow for visibility */
}

/* MODIFIED: Header size for home page */
.header.header-large {
    height: 70px;
}

body.dark-mode .header {
    background: linear-gradient(135deg, #000020, #0a2e5a);
    border-bottom-color: var(--border-dark);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
}

.header-info {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-info h1 {
    font-size: 15px;
    /* MODIFIED */
    font-weight: 800;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.header-info p {
    font-size: 10px;
    /* MODIFIED */
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.dark-mode .header-info p {
    color: white;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

body.dark-mode .header-btn {
    color: white;
}

body.dark-mode .header-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.wallet-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-btn .fa-coins {
    color: var(--gold);
    font-size: 16px;
}

body.dark-mode .wallet-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.2);
}

.call-btn-label {
    display: none;
}


/* --- Sticky Search Bar - Google Style --- */
.sticky-search-container {
    position: sticky;
    top: 60px;
    /* MODIFIED: Corresponds to slim header height */
    z-index: 998;
    background: var(--grey-light);
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.sticky-search-container.top-large {
    top: 70px;
    /* Corresponds to large header height */
}

body.dark-mode .sticky-search-container {
    background: var(--bg-dark);
}

.sticky-search-box {
    position: relative;
}

.sticky-search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    background: var(--white);
    outline: none;
    color: var(--text-primary);
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    transition: all 0.3s ease;
}

.sticky-search-box input:focus {
    box-shadow: 0 1px 8px rgba(32, 33, 36, 0.35);
}

body.dark-mode .sticky-search-box input {
    color: var(--text-dark);
    background: var(--card-dark);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-dark);
}

.sticky-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-dark);
    font-size: 16px;
}

/* --- Image Slider V2 --- */
.slider-container {
    position: relative;
    width: 100%;
    margin: 16px 0;
    padding: 0;
}

.slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* For smooth scrolling on iOS */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    padding-bottom: 10px;
    /* Space for box-shadow */
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Chrome, Safari, Opera */

.slide {
    flex: 0 0 85%;
    max-width: 85%;
    margin-right: 15px;
    scroll-snap-align: center;
    position: relative;
    cursor: pointer;
    color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slide:first-child {
    margin-left: 7.5%;
}

.slide:last-child {
    margin-right: 7.5%;
}

/* Styling for non-active slides */
.slide:not(.active) {
    transform: scale(0.9);
    opacity: 0.6;
}

.slide img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: blur(4px) brightness(0.7);
}

.slide-content {
    position: absolute;
    inset: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
}

.slide-content-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 12px;
    align-items: center;
}

.slide-title {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-detail {
    font-size: clamp(11px, 2.5vw, 12px);
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.slide-book-btn {
    background: var(--brand-accent);
    color: var(--black);
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: clamp(13px, 3vw, 15px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.slide-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.slide-pricing-wrapper {
    display: inline-block;
    background-color: var(--brand-secondary);
    border-radius: 10px;
    padding: 4px 10px;
    margin-top: 10px;
}

.slide-pricing .old-price {
    font-size: clamp(11px, 2vw, 12px);
    text-decoration: line-through;
    color: white !important;
    opacity: 0.7;
    margin-right: 6px;
}

.slide-pricing .new-price {
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 700;
    color: white !important;
    opacity: 1;
}

.slide .warranty-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    margin-bottom: 0;
    padding: 3px 8px;
    font-size: 10px;
}

.slider-btn {
    display: none;
    /* Hide old buttons, as slider is now draggable */
}


/* --- Info Banner --- */
.info-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.info-item {
    background: var(--white);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    /* Added for clickable items */
}

body.dark-mode .info-item {
    background: var(--card-dark);
}

.info-item i {
    font-size: 22px;
    color: var(--brand-accent);
}

/* --- Category Grid -  Company Style --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-primary);
}

body.dark-mode .category-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

body.dark-mode .category-card:hover {
    border-color: var(--brand-accent);
}

.category-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background-color: var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.dark-mode .category-card-icon {
    background-color: var(--bg-dark);
}

.category-card-icon i {
    font-size: 28px;
    color: var(--brand-primary);
}

body.dark-mode .category-card-icon i {
    color: var(--brand-accent);
}

.category-card:hover .category-card-icon {
    transform: scale(1.1);
    background-color: var(--brand-primary);
}

.category-card:hover .category-card-icon i {
    color: var(--white);
}

body.dark-mode .category-card:hover .category-card-icon {
    background-color: var(--brand-accent);
}

body.dark-mode .category-card:hover .category-card-icon i {
    color: var(--black);
}

.category-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.category-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

body.dark-mode .category-card p {
    color: var(--grey-dark);
}

/* --- Home Page Tabs --- */
.home-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.home-tab {
    background: var(--white);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.home-tab::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 0;
    right: 0;
    height: 60%;
    background-image: url('https://placehold.co/200x100/000080/ffffff?text=Fixer');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    opacity: 0.3;
    z-index: -1;
    transition: all 0.3s ease;
}

.home-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body.dark-mode .home-tab {
    background: var(--card-dark);
}

.tab-image {
    width: 52px;
    height: 52px;
    margin: 0 auto 8px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.tab-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tab-desc {
    font-size: 9px;
    color: var(--text-secondary);
}

body.dark-mode .tab-desc {
    color: var(--grey-dark);
}

body.dark-mode .tab-title {
    color: var(--text-dark);
}


/* --- Search & Categories (original search, now hidden on services page) --- */
#servicesPage .search-box {
    display: none;
}

/* MODIFIED: Category tabs styling */
.categories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    margin: 0 -16px;
    padding: 16px;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 14px;
    background: var(--brand-accent);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

body.dark-mode .category-tab {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.category-tab.selected {
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(10, 46, 90, 0.4);
}

/* MODIFIED: Filter & Sort removed */
.service-controls {
    display: none;
}

/* Service Card (Preserving User's Requested Structure) */
.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
    /* Padding for the list itself */
}

@media (min-width: 768px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: row;
    min-height: 130px;
    height: auto;
    position: relative;
}

body.dark-mode .service-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100px;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-top-content {
    flex-grow: 1;
}

.service-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 30px;
}

body.dark-mode .service-name {
    color: var(--text-dark);
}

.service-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* Show 2 lines of detail */
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.card-bottom-content {
    margin-top: auto;
}

.pricing-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 11px;
    color: var(--grey-dark);
    text-decoration: line-through;
}

/* MODIFIED: New price style */
.new-price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--brand-primary);
}

body.dark-mode .new-price {
    color: var(--brand-accent);
}

.add-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 46, 90, 0.4);
}

body.dark-mode .add-btn {
    background: var(--brand-accent);
    color: var(--black);
}

body.dark-mode .add-btn:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: var(--grey-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: var(--danger);
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--brand-accent);
    padding: 3px 6px;
    border-radius: 16px;
    font-size: 9px;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 6px;
}

/* --- Floating Cart --- */
.floating {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 85px;
    /* MODIFIED: New background style */
    background: rgba(0, 0, 53, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 990;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.floating.hidden {
    transform: translateY(200%);
    opacity: 0;
}

.booknow {
    background: var(--brand-accent);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booknow:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.clear-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* MODIFIED: Style for total charges text */
.total-charges-black {
    color: #000000 !important;
    background: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
}

/* --- Modals & Popups --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1100;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--grey-light);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    position: relative;
}

body.dark-mode .modal-content {
    background: var(--card-dark);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--grey-dark);
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.1);
}

/* MODIFIED: Toast notification styling */
.toast {
    position: fixed;
    left: 16px;
    bottom: 100px;
    transform: none;
    background: var(--text-primary);
    color: white;
    padding: 10px 16px;
    /* Smaller padding */
    border-radius: 8px;
    z-index: 2000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    font-size: 12px;
    /* Smaller font */
    max-width: 50%;
    /* Smaller width */
    animation: slideUp 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
    aria-live: "polite";
    aria-atomic: "true";
}

body.dark-mode .toast {
    background: var(--text-dark);
    color: var(--bg-dark);
}

/* NEW: Blurred popup styles for booking flow */
.blurred-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.blurred-popup-content {
    background: rgba(255, 255, 255, 0.8);
    /* 20% invisible */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

body.dark-mode .blurred-popup-content {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Page Containers --- */
.page-container {
    display: none;
    animation: fadeIn 0.3s ease;
}

#homePage,
#bookingsPage,
#profilePage {
    padding: 0 16px;
}

#servicesPage {
    padding: 0;
    /* Full width for this page */
}

.page-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    padding: 0 16px;
}

/* --- Home Page Specific --- */
.home-section {
    margin-bottom: 32px;
    animation: fadeIn 0.3s ease;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.home-services-btn {
    display: none;
    /* REMOVED as requested */
}

/* NEW: Redesigned Why Choose Us Section */
.why-us-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 500px) {
    .why-us-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .why-us-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.why-us-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

body.dark-mode .why-us-card {
    background-color: var(--card-dark);
    border-color: var(--border-dark);
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

.why-us-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 12px rgba(10, 46, 90, 0.3);
}

.why-us-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.why-us-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

body.dark-mode .why-us-card p {
    color: var(--grey-dark);
}


.feedback-section {
    margin-top: 40px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feedback-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

body.dark-mode .feedback-card {
    background: var(--card-dark);
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feedback-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    object-fit: cover;
}

.feedback-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.feedback-rating {
    color: var(--gold);
    font-size: 14px;
}

.feedback-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

body.dark-mode .feedback-text {
    color: var(--grey-dark);
}

.feedback-images {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.feedback-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.leave-feedback-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.leave-feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 46, 90, 0.3);
}

body.dark-mode .leave-feedback-btn {
    background: var(--brand-accent);
    color: var(--black);
}

/* --- NEW PROFILE PAGE STYLES --- */
#profilePage {
    background-color: #f2f2f7;
    color: var(--text-primary);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-height: 100vh;
    position: relative;
    padding: 0;
}

body.dark-mode #profilePage {
    background-color: #000000;
    color: var(--text-dark);
}

.profile-container {
    padding: 16px;
}

.profile-header-card {
    background: white;
    border-radius: var(--ios-card-radius);
    padding: 24px;
    margin-bottom: var(--ios-section-gap);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    animation: slideInUp 0.6s ease-out;
}

body.dark-mode .profile-header-card {
    background: var(--card-dark);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body.dark-mode .profile-avatar {
    border-color: rgba(255, 255, 255, 0.2);
}

.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    cursor: pointer;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.avatar-edit:hover {
    transform: scale(1.1);
    background: var(--brand-accent);
}

body.dark-mode .avatar-edit {
    border-color: var(--card-dark);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.stars {
    color: var(--amber);
    font-size: 14px;
}

.rating-text {
    font-size: 14px;
    color: var(--text-secondary);
}

body.dark-mode .rating-text {
    color: var(--grey-dark);
}

.profile-phone {
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .profile-phone {
    color: var(--grey-dark);
}

.profile-joined {
    font-size: 12px;
    color: var(--grey-dark);
}

.profile-stats {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-primary);
}

body.dark-mode .stat-value {
    color: var(--brand-accent);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

body.dark-mode .stat-label {
    color: var(--grey-dark);
}

/* --- iOS Style Menu --- */
.ios-menu {
    display: flex;
    flex-direction: column;
    gap: var(--ios-section-gap);
}

.menu-section {
    background: white;
    border-radius: var(--ios-card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    animation: slideInUp 0.6s ease-out 0.2s both;
}

body.dark-mode .menu-section {
    background: var(--card-dark);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

body.dark-mode .menu-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

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

.menu-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

body.dark-mode .menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.menu-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    color: white;
}

.menu-icon.wallet {
    background: var(--emerald);
}

.menu-icon.bookings {
    background: var(--indigo);
}

.menu-icon.addresses {
    background: var(--amber);
}

.menu-icon.wishlist {
    background: var(--rose);
}

.menu-icon.settings {
    background: var(--grey-dark);
}

.menu-icon.edit {
    background: var(--brand-primary);
}

.menu-icon.share {
    background: var(--violet);
}

.menu-icon.support {
    background: var(--cyan);
}

.menu-icon.about {
    background: var(--fuchsia);
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-title {
    font-size: 16px;
    font-weight: 500;
}

.menu-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

body.dark-mode .menu-description {
    color: var(--grey-dark);
}

.menu-arrow {
    color: var(--grey-dark);
    font-size: 14px;
}

/* --- Profile Modals --- */
.profile-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.profile-modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalAppear 0.4s ease-out;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.dark-mode .profile-modal-content {
    background: var(--card-dark);
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .profile-modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.profile-modal-title {
    font-size: 18px;
    font-weight: 600;
}

.profile-close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--grey-dark);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.profile-close-modal:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .profile-close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-modal-body {
    padding: 16px;
}

/* --- Settings Modal --- */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .setting-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.setting-item:hover {
    padding-left: 8px;
}

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

.setting-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.setting-title {
    font-weight: 500;
    font-size: 16px;
}

.setting-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

body.dark-mode .setting-desc {
    color: var(--grey-dark);
}

/* --- Toggle Switch --- */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--brand-primary);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --- Share Modal --- */
.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .share-option {
    background: rgba(40, 40, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.dark-mode .share-option:hover {
    background: rgba(60, 60, 60, 0.8);
}

.share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.share-icon.whatsapp {
    background: #25D366;
}

.share-icon.facebook {
    background: #3b5998;
}

.share-icon.twitter {
    background: #1DA1F2;
}

.share-icon.link {
    background: var(--brand-primary);
}

.share-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.share-link {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.share-link input {
    flex: 1;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
}

body.dark-mode .share-link input {
    background: rgba(40, 40, 40, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

.copy-link-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 0 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .copy-link-btn {
    background: var(--brand-accent);
    color: var(--black);
}

.copy-link-btn:hover {
    transform: scale(1.05);
}

/* --- Wallet Modal --- */
.wallet-card {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.wallet-title {
    font-size: 16px;
    font-weight: 600;
}

.wallet-actions {
    display: flex;
    gap: 8px;
}

.wallet-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.wallet-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.wallet-balance {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

.wallet-balance-currency {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.8;
}

.wallet-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 12px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* --- Bookings Modal --- */
.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

body.dark-mode .booking-item {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(40, 40, 40, 0.5);
}

.booking-item:hover {
    border-color: var(--brand-primary);
    transform: translateX(5px);
}

body.dark-mode .booking-item:hover {
    border-color: var(--brand-accent);
}

.booking-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-primary);
    transition: all 0.3s ease;
}

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

body.dark-mode .booking-icon {
    background: var(--bg-dark);
    color: var(--brand-accent);
}

.booking-info {
    flex: 1;
}

.booking-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.booking-date {
    font-size: 12px;
    color: var(--text-secondary);
}

body.dark-mode .booking-date {
    color: var(--grey-dark);
}

.booking-status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.booking-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
}

.booking-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber);
}

.booking-status.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.view-all-bookings {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.view-all-bookings:hover {
    text-decoration: underline;
    background: rgba(10, 46, 90, 0.1);
}

body.dark-mode .view-all-bookings {
    color: var(--brand-accent);
}

body.dark-mode .view-all-bookings:hover {
    background: rgba(16, 185, 129, 0.1);
}

/* --- Empty States --- */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 48px;
    color: var(--grey-dark);
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

body.dark-mode .empty-state p {
    color: var(--grey-dark);
}

.action-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.dark-mode .action-btn {
    background: var(--brand-accent);
    color: var(--black);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(10, 46, 90, 0.3);
}

.action-btn:active {
    transform: translateY(0);
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 16px;
}

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

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(10, 46, 90, 0.1);
}

body.dark-mode .form-input {
    background: rgba(40, 40, 40, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

.save-btn {
    width: 100%;
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

body.dark-mode .save-btn {
    background: var(--brand-accent);
    color: var(--black);
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(10, 46, 90, 0.3);
}

/* --- Animations --- */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

    .share-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 350px) {
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Site Footer --- */
.site-footer {
    background-color: var(--white);
    color: var(--text-secondary);
    padding: 32px 16px;
    border-top: 1px solid #e9ecef;
    margin-top: 32px;
}

body.dark-mode .site-footer {
    background-color: var(--card-dark);
    border-top-color: var(--border-dark);
}

.footer-grid {
    display: grid;
    /* MODIFIED: Forced 3-column layout on all screen sizes */
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    /* Reduced gap for smaller screens */
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    font-size: 14px;
    /* Reduced font size for mobile */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

body.dark-mode .footer-column h4 {
    color: var(--text-dark);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column ul li a,
.footer-column ul li span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    /* Reduced font size for mobile */
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li span:hover {
    color: var(--brand-primary);
}

body.dark-mode .footer-column ul li a,
body.dark-mode .footer-column ul li span {
    color: var(--grey-dark);
}

body.dark-mode .footer-column ul li a:hover,
body.dark-mode .footer-column ul li span:hover {
    color: var(--brand-accent);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.footer-logo-name {
    font-weight: 700;
    font-size: 14px;
    /* Reduced font size for mobile */
    color: var(--text-primary);
}

body.dark-mode .footer-logo-name {
    color: var(--text-dark);
}

.footer-about-text {
    font-size: 12px;
    /* Reduced font size for mobile */
    line-height: 1.6;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background-color: var(--grey-light);
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

body.dark-mode .social-links a {
    background-color: var(--border-dark);
    color: var(--grey-dark);
}

.social-links a:hover {
    background-color: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
}

body.dark-mode .footer-bottom {
    border-top-color: var(--border-dark);
}

/* --- AI Features --- */
.ai-assistant-fab {
    position: fixed;
    top: 130px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--violet), var(--indigo));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    /* For emoji */
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-assistant-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

/* NEW: Styles for Quick Estimate contact buttons */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Special Effect Animations --- */
.effect-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.snowflake,
.drop {
    position: absolute;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    animation: fall 5s linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(300px) scale(0.5);
        opacity: 0;
    }
}

.drop {
    font-size: 24px;
    color: #38bdf8;
    animation-name: rain;
}

@keyframes rain {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(300px) scale(0.3);
        opacity: 0;
    }
}

.lightning-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    opacity: 0;
    animation: flash 2s ease-out;
}

@keyframes flash {

    0%,
    100% {
        opacity: 0;
    }

    5%,
    15%,
    25% {
        opacity: 1;
    }

    10%,
    20%,
    30% {
        opacity: 0;
    }
}


/* === iOS-Style Bottom Navigation with Search - New ===  */
.bottom-nav-ios {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 12px 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.06);
}

body.dark-mode .bottom-nav-ios {
    background: rgba(28, 28, 30, 0.85);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.nav-container-ios {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links-ios {
    display: flex;
    flex: 1;
    justify-content: space-around;
    align-items: center;
}

.nav-btn-ios {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #8e8e93;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-btn-ios i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.nav-btn-ios span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.nav-btn-ios.active {
    color: #007AFF;
}

body.dark-mode .nav-btn-ios {
    color: #98989d;
}

body.dark-mode .nav-btn-ios.active {
    color: #0A84FF;
}

.nav-btn-ios.active i {
    transform: scale(1.05);
}

.nav-btn-ios::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 122, 255, 0.08);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.nav-btn-ios.active::before {
    opacity: 1;
    transform: scale(1);
}

body.dark-mode .nav-btn-ios.active::before {
    background: rgba(10, 132, 255, 0.12);
}

.nav-search-ios {
    position: relative;
    flex: 0 0 auto;
    min-width: 180px;
    max-width: 220px;
}

.nav-search-ios i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #8e8e93;
    pointer-events: none;
}

.nav-search-ios input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border-radius: 10px;
    border: none;
    background: rgba(142, 142, 147, 0.12);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.nav-search-ios input::placeholder {
    color: #8e8e93;
    font-size: 13px;
}

.nav-search-ios input:focus {
    background: rgba(142, 142, 147, 0.18);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

body.dark-mode .nav-search-ios i {
    color: #98989d;
}

body.dark-mode .nav-search-ios input {
    background: rgba(118, 118, 128, 0.24);
    color: var(--text-dark);
}

body.dark-mode .nav-search-ios input::placeholder {
    color: #98989d;
}

body.dark-mode .nav-search-ios input:focus {
    background: rgba(118, 118, 128, 0.32);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .nav-search-ios {
        min-width: 140px;
        max-width: 160px;
    }

    .nav-btn-ios {
        padding: 4px 8px;
    }

    .nav-btn-ios i {
        font-size: 20px;
    }

    .nav-btn-ios span {
        font-size: 9px;
    }
}


/* --- Settings Modal Styles --- */
.settings-section {
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}

body.dark-mode .settings-section {
    border-bottom-color: var(--border-dark);
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--brand-primary);
}

body.dark-mode .settings-section h3 {
    color: var(--brand-accent);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.setting-item span {
    font-size: 14px;
    font-weight: 500;
}

.setting-link {
    margin-bottom: 12px;
}

.setting-link a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
}

body.dark-mode .setting-link a {
    color: var(--text-dark);
}

.delete-account-btn {
    width: 100%;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-account-btn:hover {
    background: var(--danger);
    color: white;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--brand-accent);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--brand-accent);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

body.dark-mode .slider {
    background-color: var(--border-dark);
}

/* Auth Buttons in Profile */
.auth-btn-small {
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    transition: all 0.3s ease;
    display: inline-block;
}

.auth-btn-small.primary {
    background: var(--brand-primary);
    color: white;
}

.auth-btn-small:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 24px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

body.dark-mode .modal-content {
    background-color: var(--card-dark);
    color: var(--text-dark);
}

.close-modal {
    color: var(--grey-dark);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--brand-primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

body.dark-mode .form-group label {
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--white);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: var(--bg-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(10, 46, 90, 0.1);
}

.submit-btn {
    background: var(--brand-accent);
    color: var(--black);
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* Profile specific styles */
.profile-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.profile-header-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}

body.dark-mode .profile-header-card {
    background: var(--card-dark);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--brand-primary);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--brand-accent);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--black);
    cursor: pointer;
    border: 2px solid var(--white);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

body.dark-mode .profile-stats {
    border-top-color: var(--border-dark);
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-primary);
}

body.dark-mode .stat-value {
    color: var(--brand-accent);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

body.dark-mode .stat-label {
    color: var(--grey-dark);
}

/* iOS Menu Styles */
.ios-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-section {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

body.dark-mode .menu-section {
    background: var(--card-dark);
}

.menu-header {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--grey-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-mode .menu-header {
    background: rgba(255, 255, 255, 0.05);
    color: var(--grey-dark);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

body.dark-mode .menu-item {
    border-bottom-color: var(--border-dark);
}

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

.menu-item:active {
    background: #f9f9f9;
}

.menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 18px;
}

.menu-icon.settings {
    background: rgba(10, 46, 90, 0.1);
    color: var(--brand-primary);
}

.menu-icon.support {
    background: rgba(16, 185, 129, 0.1);
    color: var(--brand-accent);
}

.menu-icon.about {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.menu-content {
    flex: 1;
}

.menu-title {
    font-weight: 600;
    font-size: 15px;
}

.menu-arrow {
    color: #ccc;
    font-size: 14px;
}

.logout-btn {
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    color: var(--danger);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: #fff5f5;
}

/* --- Sticky Booking Footer --- */
.sticky-booking-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.sticky-booking-footer.visible {
    transform: translateY(0);
}

body.dark-mode .sticky-booking-footer {
    background: var(--card-dark);
}

.booking-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.booking-qty-badge {
    background: var(--brand-primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.booking-price {
    display: flex;
    flex-direction: column;
}

.booking-price .label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.booking-price .value {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-primary);
}

body.dark-mode .booking-price .value {
    color: var(--white);
}

.book-now-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(10, 46, 90, 0.3);
    transition: all 0.2s ease;
}

.book-now-btn:active {
    transform: scale(0.95);
}

/* --- Advanced Booking Modal --- */
.booking-modal-content {
    padding: 0;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--grey-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--grey-light);
    background: var(--white);
}

body.dark-mode .modal-footer {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Date Scroll */
.date-scroll-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.date-card {
    min-width: 70px;
    background: var(--grey-light);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.date-card.selected {
    background: var(--white);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(10, 46, 90, 0.15);
}

.date-card .day {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.date-card .date {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Time Slider */
.time-slider-container {
    margin-bottom: 24px;
    padding: 10px 0;
}

.time-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: var(--grey-light);
    border-radius: 5px;
    outline: none;
}

.time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--white);
}

.time-display {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-top: 12px;
}

.time-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Summary */
.booking-summary-section {
    background: var(--grey-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-row.total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-size: 16px;
}

/* Image Upload */
.image-upload-box {
    border: 2px dashed var(--grey-dark);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.image-upload-box:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.image-previews {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
}

.preview-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.confirm-booking-btn {
    width: 100%;
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}


/* --- Chat & Notifications --- */
.notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background-color: var(--danger);
    border-radius: 50%;
    border: 1px solid var(--brand-primary);
}

.notification-dot.hidden {
    display: none;
}

/* Chat Modal */
.chat-modal-content {
    padding: 0;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: var(--grey-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.dark-mode .chat-messages {
    background: var(--bg-dark);
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}

.message.system {
    align-self: center;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
}

.message.user {
    align-self: flex-end;
    background: var(--brand-primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.message.support {
    align-self: flex-start;
    background: var(--white);
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

body.dark-mode .message.support {
    background: var(--card-dark);
    color: var(--text-dark);
}

.chat-input-area {
    padding: 12px;
    background: var(--white);
    border-top: 1px solid var(--grey-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .chat-input-area {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

#chatInput {
    flex: 1;
    border: none;
    background: var(--grey-light);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

body.dark-mode #chatInput {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
}

.chat-action-btn,
.chat-send-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--brand-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.chat-action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.chat-send-btn {
    color: var(--brand-accent);
}

.chat-send-btn.hidden {
    display: none;
}


/* --- Updated Sticky Booking Footer --- */
.sticky-booking-footer {
    position: fixed;
    bottom: 80px;
    /* Moved up to avoid nav overlap */
    left: 16px;
    /* Added margin */
    right: 16px;
    /* Added margin */
    background: var(--white);
    padding: 12px 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    /* Pill shape */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sticky-booking-footer.visible {
    transform: translateY(0);
}

.booking-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.booking-qty-badge {
    background: var(--brand-accent);
    /* Changed color */
    color: var(--brand-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.booking-price .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.booking-price .value {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-primary);
}

.book-now-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(10, 46, 90, 0.25);
    transition: all 0.2s ease;
}

.book-now-btn:active {
    transform: scale(0.95);
}

/* --- Improved Date Selector --- */
.date-scroll-container {
    display: flex;
    gap: 12px;
    padding: 4px 4px 16px 4px;
}

.date-card {
    min-width: 75px;
    background: var(--white);
    border-radius: 16px;
    padding: 16px 10px;
    text-align: center;
    cursor: pointer;
    border: 1px solid var(--grey-light);
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.date-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.date-card.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 8px 20px rgba(10, 46, 90, 0.25);
    transform: scale(1.05);
}

.date-card .day {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.date-card.selected .day {
    color: rgba(255, 255, 255, 0.8);
}

.date-card .date {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.date-card.selected .date {
    color: var(--white);
}

/* --- Improved Time Slider --- */
.time-slider-container {
    background: var(--grey-light);
    padding: 24px 20px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.time-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.time-slider:hover {
    opacity: 1;
}

.time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s;
}

.time-slider::-webkit-slider-thumb:active {
    transform: scale(1.1);
}

.time-display {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-top: 16px;
    font-family: 'Orbitron', sans-serif;
    /* Techy font */
}

.time-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 8px;
    padding: 0 4px;
}

/* --- V2 Categories Layout Added --- */
.categories-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-card-v2 {
    position: relative;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    text-decoration: none;
    color: var(--text-dark);
}

.cat-card-v2:hover {
    transform: scale(1.02);
}

.cat-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s;
}

.cat-card-v2:hover .cat-bg-img,
.cat-card-mini:hover .cat-bg-img {
    transform: scale(1.05);
}

.cat-left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cat-appliance .cat-left {
    align-items: flex-start;
}

.cat-card-v2::after,
.cat-card-mini::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
    z-index: 0;
}

.cat-beauty::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 30%, transparent 100%);
}

.cat-card-v2 h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.cat-card-v2 p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 12px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.cat-arrow {
    background: var(--brand-primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
    position: relative;
    z-index: 1;
}

.dual-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cat-card-mini {
    position: relative;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    text-decoration: none;
}

.cat-card-mini::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 30%, transparent 100%);
}

.cat-mini-content {
    position: relative;
    z-index: 1;
}

.cat-mini-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--text-dark);
}

.cat-mini-content p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
}

body.dark-mode .cat-card-v2,
body.dark-mode .cat-card-mini {
    background: var(--card-dark);
}

body.dark-mode .cat-card-v2::after,
body.dark-mode .cat-card-mini::after {
    background: linear-gradient(90deg, rgba(30, 30, 30, 0.9) 0%, rgba(30, 30, 30, 0.5) 60%, transparent 100%);
}

body.dark-mode .cat-card-mini::after {
    background: linear-gradient(0deg, rgba(30, 30, 30, 0.95) 30%, transparent 100%);
}

body.dark-mode .cat-card-v2 h3,
body.dark-mode .cat-mini-content h4 {
    color: white;
}

body.dark-mode .cat-card-v2 p,
body.dark-mode .cat-mini-content p {
    color: #aaa;
}