* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
}

.app {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
    position: relative;
    overflow: hidden;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
}

.content-area {
    height: calc(100vh - 128px);
    height: calc(100dvh - 128px);
    overflow-y: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.content-area::-webkit-scrollbar {
    display: none;
}

.content-area {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    margin: 0 16px;
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

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

.hero-icon {
    font-size: 42px;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--bg-dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero p {
    font-size: 13px;
    color: var(--bg-deep);
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item span:first-child {
    font-size: 22px;
}

.feature-item span:last-child {
    font-size: 13px;
    font-weight: 600;
}

.actions {
    margin: 20px 16px;
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    border: none;
    border-radius: 16px;
    padding: 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active {
    transform: scale(0.96);
    opacity: 0.9;
}

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

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

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

.btn-sms {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.btn:disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed;
}

.phone-box {
    margin: 0 16px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1.5px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    text-align: center;
}

.phone-box .label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-bottom: 6px;
}

.phone-box .number {
    color: var(--primary);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-title {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    margin: 0 16px 14px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin: 0 16px 20px;
}

.page-title {
    color: var(--text-main);
    font-size: 20px;
    font-weight: 800;
    margin: 0 16px 6px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 16px;
}

.service-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.15s ease;
}

.service-card:active {
    transform: scale(0.97);
}

.service-card .icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.service-card .name {
    font-size: 13px;
    font-weight: 700;
}

.service-card .desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 30px;
    /* Fixed height for 2 lines to keep grid aligned */
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 16px;
}

.service-list-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, background;
}

.service-list-item.selected {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.service-list-item .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.service-list-item .info {
    flex: 1;
}

.service-list-item .info .name {
    font-size: 14px;
    font-weight: 700;
}

.service-list-item .info .desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 30px;
}

.desc.expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    height: auto !important;
    min-height: unset !important;
    overflow: visible !important;
}

.more-toggle {
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more-toggle:hover {
    text-decoration: underline;
}

.service-list-item .arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
}

.btn-view-all {
    display: block;
    width: calc(100% - 32px);
    margin: 16px 16px 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-view-all:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 16px;
}

.form-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
    color-scheme: dark;
    width: 100%;
}

/* Force calendar picker icon to be visible and clickable */
.form-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFB703' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    width: 24px;
    height: 24px;
    padding: 0;
    margin-left: 10px;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.form-input {
    resize: none;
    min-height: 80px;
}

.form-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 7px 14px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    -webkit-user-select: none;
    user-select: none;
}

.chip:active {
    transform: scale(0.92);
}

.chip.selected {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: rgba(var(--primary-rgb), 0.5);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.chip i {
    font-size: 15px;
    transition: transform 0.2s ease;
}

.chip.selected i {
    transform: rotate(10deg);
}

/* Search Wrapper for Chips */
.chips-search-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.chips-search-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px 10px 38px;
    color: var(--text-main);
    font-size: 13px;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
}

.chips-search-input:focus {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.chips-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.chip-view-more {
    background: rgba(var(--primary-rgb), 0.15) !important;
    border-color: rgba(var(--primary-rgb), 0.3) !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.chip-view-more:hover {
    background: rgba(var(--primary-rgb), 0.25) !important;
}

.success-box {
    background: rgba(46, 196, 182, 0.15);
    border: 1.5px solid rgba(46, 196, 182, 0.4);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    margin: 0 16px;
}

.success-box .icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.success-box h3 {
    color: var(--success);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.success-box p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    margin: 0 16px 16px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.contact-card .icon {
    font-size: 48px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.contact-card .label {
    color: var(--bg-dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.contact-card .number {
    color: var(--bg-dark);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 16px;
}

.contact-buttons .btn {
    width: 100%;
    font-size: 16px;
}

.time-box {
    margin: 24px 16px 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.time-box h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.time-box p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 2;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(var(--bg-dark-rgb), 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 max(14px, env(safe-area-inset-bottom));
    z-index: 100;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    transition: transform 0.15s ease;
    text-decoration: none;
}

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

.nav-btn .icon {
    font-size: 22px;
    transition: all 0.2s ease;
}

.nav-btn .label {
    font-size: 10px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-btn.active .icon {
    filter: none;
    opacity: 1;
}

.nav-btn:not(.active) .icon {
    filter: grayscale(0.8);
    opacity: 0.5;
}

.nav-btn.active .label {
    color: var(--primary);
}

.nav-btn:not(.active) .label {
    color: rgba(255, 255, 255, 0.35);
}

/* Logo Styling - Refined Icon Only */
.status-bar .logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-bar .logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    /* Remove text logo backgrounds if any */
    background: transparent;
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 40px);
    max-width: 380px;
    pointer-events: none;
}

.toast {
    background: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.toast.hiding {
    animation: toastSlideOut 0.3s forwards;
}

.toast-success {
    border-left: 4px solid #2ec4b6;
}

.toast-error {
    border-left: 4px solid #e71d36;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(74, 142, 255, 0.3));
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #4a8eff;
}

/* Load More Button Styling */
.view-more-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin-bottom: 20px;
    grid-column: 1 / -1;
}

.load-more-icon-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(74, 142, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 28px;
    margin: 10px auto;
}

.load-more-icon-trigger:hover {
    color: #4a8eff;
    transform: translateY(3px);
}

.load-more-icon-trigger .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(74, 142, 255, 0.2);
    border-top-color: #4a8eff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.toast-info {
    border-left: 4px solid #3a86ff;
}

@keyframes toastSlideIn {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }

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

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

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