/* ==========================================================================
   InteriorDesignersClub.in - Ultra-Luxury Architectural Design System
   Color Palette: Midnight Slate (#0F172A), Royal Sapphire (#1E3A8A), Crimson (#E11D48)
   ========================================================================== */

:root {
    --primary-slate: #0f172a;
    --primary-blue: #1e3a8a;
    --primary-blue-hover: #172554;
    --primary-blue-light: #eff6ff;
    --primary-blue-subtle: #dbeafe;
    --accent-red: #e11d48;
    --accent-red-hover: #be123c;
    --accent-red-light: #fff1f2;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1ebc59;
    --whatsapp-light: #f0fdf4;
    --gold-star: #f59e0b;
    --dark-text: #0f172a;
    --muted-text: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    --card-shadow-hover: 0 20px 30px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-text);
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Screen-Fit Containers & Fluid Gutters */
.container {
    width: 100%;
    max-width: 1320px;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    box-sizing: border-box;
}

footer {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #0f172a !important;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .container, .container-fluid {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }
}

.row {
    margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar-premium {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-premium a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}
.top-bar-premium a:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar-premium {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--border-color);
}

.brand-logo-premium {
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--primary-blue) !important;
    letter-spacing: -0.6px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-icon-box {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}
.brand-logo-premium .highlight-text {
    color: var(--accent-red);
}
.brand-tag-pill {
    background-color: var(--accent-red);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link {
    font-size: 0.92rem;
    color: #334155 !important;
    transition: color 0.15s ease-in-out;
}
.nav-link:hover {
    color: var(--accent-red) !important;
}
.nav-link.active {
    color: var(--primary-blue) !important;
    font-weight: 700;
}
.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    animation: fadeInDropdown 0.18s ease-in-out;
}
@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.shadow-2xs {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar .btn {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn-brand-red {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 22px;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-brand-red:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
}

.btn-brand-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 22px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-brand-blue:hover {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.btn-whatsapp-brand {
    background: linear-gradient(135deg, #25D366 0%, #1ebc59 100%);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 8px 16px;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-whatsapp-brand:hover {
    background: #189e49;
    transform: translateY(-1px);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Hero Section & Search Engine Bar (Justdial / Houzz Style)
   -------------------------------------------------------------------------- */
.hero-wrapper {
    background: linear-gradient(135deg, #082d68 0%, #0D47A1 60%, #1565C0 100%);
    position: relative;
    color: #ffffff;
    padding: 60px 0 50px 0;
    z-index: 20;
}
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    border-radius: inherit;
}

.search-box-floating {
    background: #ffffff;
    border-radius: 24px;
    padding: 8px 12px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 100;
}
.search-box-floating:focus-within {
    box-shadow: 0 30px 70px -12px rgba(13, 71, 161, 0.45), 0 0 0 3px rgba(79, 70, 229, 0.25);
}
.search-input-group {
    padding: 10px 16px;
    position: relative;
    transition: background-color 0.2s ease;
    border-radius: 16px;
}
.search-input-group:hover, .search-input-group:focus-within {
    background-color: #f8fafc;
}
.search-input-group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #e2e8f0;
}
.search-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.6px;
}
#heroLocationInput {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}
#heroLocationInput:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}
#heroServiceSelect {
    cursor: pointer;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background-color: transparent !important;
    padding: 3px 26px 3px 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230D47A1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    background-size: 13px 10px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
#heroServiceSelect:focus {
    outline: none !important;
    box-shadow: none !important;
}
#heroServiceSelect option {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    padding: 10px 14px;
    background-color: #ffffff;
}
.search-tab-nav {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 5px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 16px;
    gap: 4px;
}
.search-tab-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    font-size: 0.84rem;
    padding: 7px 18px;
    border-radius: 30px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.search-tab-btn.active, .search-tab-btn:hover {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.city-suggest-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 340px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    padding: 16px;
    z-index: 99999;
    display: none;
    animation: fadeInDropdown 0.2s ease-in-out;
}
.city-suggest-box.show {
    display: block;
}

/* --------------------------------------------------------------------------
   Justdial Listing Cards
   -------------------------------------------------------------------------- */
.listing-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    height: 100%;
}
.listing-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: #cbd5e1;
}

.listing-thumb-container {
    position: relative;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    border-radius: 14px;
}
.listing-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.listing-card-premium:hover .listing-thumb-img {
    transform: scale(1.04);
}

.listing-card-media {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    position: relative;
}
.listing-card-media .listing-thumb-container {
    height: 100%;
    width: 100%;
    border-radius: 16px 16px 0 0;
}
@media (min-width: 768px) {
    .listing-card-media {
        width: 220px;
        min-width: 220px;
        height: auto;
        min-height: 190px;
    }
    .listing-card-media .listing-thumb-container {
        border-radius: 16px 0 0 16px;
    }
}
@media (max-width: 767.98px) {
    .listing-card-premium {
        border-radius: 16px;
    }
    .listing-card-premium:hover {
        transform: none;
    }
}

/* Category & City Header CTA Button */
.landing-hero-cta {
    width: auto;
    flex-shrink: 0;
}
@media (max-width: 767.98px) {
    .landing-hero-cta {
        width: 100% !important;
        margin-top: 0.5rem;
    }
    .landing-hero-cta .btn {
        width: 100% !important;
    }
    .category-guide-card {
        padding: 1.15rem 0.95rem !important;
        border-radius: 18px !important;
    }
}
@media (max-width: 480px) {
    .category-guide-card {
        padding: 1rem 0.8rem !important;
        border-radius: 14px !important;
    }
}

/* Badges */
.badge-idc-verified {
    background: linear-gradient(135deg, #0D47A1 0%, #1e40af 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}
.badge-idc-priority {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
}
.badge-idc-national {
    background: linear-gradient(135deg, #D32F2F 0%, #0D47A1 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.rating-badge-pill {
    background: #15803d;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-tag-pill {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin: 2px;
    border: 1px solid #e2e8f0;
}

/* --------------------------------------------------------------------------
   Trust Badges Bar
   -------------------------------------------------------------------------- */
.trust-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-blue-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Pricing Cards
   -------------------------------------------------------------------------- */
.pricing-card-premium {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.pricing-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -10px rgba(13, 71, 161, 0.15);
}
.pricing-card-premium.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 35px -5px rgba(13, 71, 161, 0.12);
}
.pricing-card-premium.enterprise {
    border-color: var(--gold-star);
    box-shadow: 0 15px 35px -5px rgba(245, 158, 11, 0.2);
}

/* Custom Spacing Helpers */
.p-3\.5 { padding: 1.15rem !important; }
.py-3\.5 { padding-top: 1.15rem !important; padding-bottom: 1.15rem !important; }
.px-3\.5 { padding-left: 1.15rem !important; padding-right: 1.15rem !important; }

/* Plans Comparison Table Mobile Polish */
.plans-comparison-table-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.plans-comparison-table {
    min-width: 680px;
}

@media (max-width: 768px) {
    .pricing-card-premium {
        border-radius: 16px;
    }
    .pricing-card-premium:hover {
        transform: none;
    }
    .pricing-card-premium ul li {
        font-size: 0.88rem;
    }
    .plans-comparison-table {
        min-width: 600px;
        font-size: 0.82rem;
    }
    .plans-comparison-table th, 
    .plans-comparison-table td {
        padding: 0.65rem 0.5rem;
        vertical-align: middle;
    }
    /* Sticky First Column for Smooth Mobile Comparison */
    .plans-comparison-table th:first-child,
    .plans-comparison-table td:first-child {
        position: sticky;
        left: 0;
        background: #ffffff;
        z-index: 2;
        box-shadow: 3px 0 8px rgba(0, 0, 0, 0.08);
        min-width: 140px;
        max-width: 155px;
        white-space: normal;
        word-break: break-word;
        font-size: 0.8rem;
    }
    .plans-comparison-table thead th:first-child {
        background: #f1f5f9;
        z-index: 3;
    }
    .plans-comparison-table tbody tr:nth-of-type(odd) td:first-child {
        background: #f8fafc;
    }
}

/* ==========================================================================
   FOOTER: Screen-Fit Responsive Layout
   ========================================================================== */
footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Responsive fixes & Mobile-First Media Queries */

/* Navbar responsive adjustments */
@media (max-width: 991px) {
    .navbar-premium, header.sticky-top {
        padding: 6px 0;
    }
    .header-main-logo {
        height: 42px !important;
        max-width: 170px !important;
    }
    .navbar-collapse {
        background: #ffffff;
        border-radius: 16px;
        padding: 16px 18px;
        margin-top: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border-color);
    }
    .navbar-nav .nav-link {
        padding: 10px 12px !important;
        border-bottom: 1px solid #f1f5f9;
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-nav .dropdown-menu {
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
    }
    .navbar-collapse .d-flex {
        margin-top: 12px;
        width: 100%;
    }
    .navbar-collapse .d-flex .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Tablet & Mobile Screens (<= 768px) */
@media (max-width: 768px) {
    .top-bar-premium {
        font-size: 0.75rem;
        padding: 5px 0;
    }
    .top-bar-premium .container {
        justify-content: center !important;
        text-align: center;
    }
    
    /* Hero wrapper on mobile */
    .hero-wrapper {
        padding: 36px 0 30px 0;
    }
    .hero-wrapper h1.display-4 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        letter-spacing: -0.5px !important;
    }
    .hero-wrapper p.lead {
        font-size: 0.92rem !important;
        margin-bottom: 20px !important;
    }
    
    /* Search tab navigation horizontal scroll */
    .search-tab-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        padding: 4px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    .search-tab-nav::-webkit-scrollbar {
        display: none;
    }
    .search-tab-btn {
        font-size: 0.78rem;
        padding: 6px 14px;
        flex-shrink: 0;
    }

    /* Floating search box on mobile */
    .search-box-floating {
        border-radius: 18px;
        padding: 8px;
    }
    .search-input-group {
        padding: 10px 12px;
        border-radius: 12px;
    }
    .search-input-group:not(:last-child)::after {
        display: none !important;
    }
    .search-input-group:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 2px;
    }
    
    /* City suggestion box on mobile */
    .city-suggest-box {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box;
    }

    /* Estimator & Gallery on mobile */
    #calcBhkSelector button, #calcTierSelector button {
        flex: 1 1 calc(50% - 6px);
        text-align: center;
    }
    .gallery-card {
        width: 100% !important;
    }
    
    /* Listing card mobile stacking */
    .listing-card-premium, .card {
        border-radius: 16px !important;
    }

    /* Modal dialog mobile fit */
    .modal-dialog {
        margin: 12px;
    }
    .modal-content {
        border-radius: 20px;
    }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
    .header-main-logo {
        height: 38px !important;
        max-width: 150px !important;
    }
    .hero-wrapper h1.display-4 {
        font-size: 1.55rem !important;
    }
    #calcBhkSelector button, #calcTierSelector button {
        flex: 1 1 100%;
    }
    .badge-idc-verified, .badge-idc-priority, .badge-idc-national {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
    .service-tag-pill {
        font-size: 0.68rem;
        padding: 2px 8px;
    }
}

/* Global media responsiveness */
img, svg, video, canvas, iframe {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Smooth Scrolling & Micro-Animations System (IDC Modern JS Engine)
   ========================================================================== */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* 1. Top Slim Scroll Progress Bar */
#idcScrollProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #e11d48, #f59e0b, #3b82f6);
    z-index: 99999;
    pointer-events: none;
    transition: width 0.1s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

/* 2. Floating Circular Back to Top Button */
.idc-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
}

.idc-back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.idc-back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

.idc-back-to-top svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.idc-back-to-top svg circle {
    fill: none;
    stroke-width: 3.5;
}

.idc-back-to-top svg circle.bg-circle {
    stroke: #e2e8f0;
}

.idc-back-to-top svg circle.progress-circle {
    stroke: var(--accent-red);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s ease;
}

.idc-back-to-top .arrow-icon {
    position: relative;
    z-index: 2;
    color: var(--primary-slate);
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.idc-back-to-top:hover .arrow-icon {
    transform: translateY(-2px);
    color: var(--accent-red);
}

/* 3. Sticky Navbar Elevation on Scroll */
header.sticky-top {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
header.sticky-top.scrolled-nav {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* 4. IntersectionObserver Scroll Reveal Animations */
[data-reveal] {
    opacity: 0;
    will-change: transform, opacity;
    transition-property: opacity, transform;
    transition-duration: 0.65s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="fade-up"] {
    transform: translateY(32px);
}
[data-reveal="fade-in"] {
    transform: none;
}
[data-reveal="zoom-in"] {
    transform: scale(0.92);
}
[data-reveal="slide-left"] {
    transform: translateX(-30px);
}
[data-reveal="slide-right"] {
    transform: translateX(30px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
}

/* 5. Interactive Lightbox Modal */
.idc-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100000;
    display: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 24px;
    box-sizing: border-box;
}

.idc-lightbox-modal.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
}

.idc-lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.idc-lightbox-content img.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.lightbox-info {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #ffffff;
}

.lightbox-caption {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.lightbox-counter {
    font-size: 0.85rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}
.lightbox-close:hover {
    background: rgba(225, 29, 72, 0.85);
    transform: scale(1.1);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}
.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}
.lightbox-prev {
    left: 24px;
}
.lightbox-next {
    right: 24px;
}

@media (max-width: 576px) {
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 12px; right: 12px; }
}

/* 6. Dynamic Toast Notification System */
.idc-toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 105000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: 90%;
    max-width: 420px;
}

.idc-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.idc-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.idc-toast.hide {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
}

.idc-toast-success .idc-toast-icon { color: #10b981; font-size: 1.2rem; }
.idc-toast-info .idc-toast-icon { color: #3b82f6; font-size: 1.2rem; }
.idc-toast-warning .idc-toast-icon { color: #f59e0b; font-size: 1.2rem; }
.idc-toast-danger .idc-toast-icon { color: #ef4444; font-size: 1.2rem; }

.idc-toast-content {
    flex-grow: 1;
    line-height: 1.4;
}

.idc-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.idc-toast-close:hover {
    color: #ffffff;
}

/* 7. Button Ripple Micro-Effect */
.btn-brand-red, .btn-primary, .btn-luxury-gold, .btn-whatsapp, .ripple-effect {
    position: relative;
    overflow: hidden;
}

.idc-btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: idcRippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes idcRippleEffect {
    to {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* 8. Micro-Interactions on Badges & Hover Cards */
.designer-card, .service-cat-card, .pro-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.designer-card:hover, .service-cat-card:hover {
    transform: translateY(-5px);
}

/* 9. Lightbox Trigger Hover Polish */
.lightbox-trigger {
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}
.lightbox-trigger img {
    transition: transform 0.4s ease;
}
.lightbox-trigger:hover img {
    transform: scale(1.06);
}

/* 10. Core Web Vitals & Rendering Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    content-visibility: auto;
}

.transition-up, .hover-shadow-lg, .listing-card-premium {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Off-screen section render optimization */
.why-choose-card, .faq-accordion-wrapper, footer {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

/* Interactive Pill Hover Effect */
.hover-lift {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.95;
}

/* ==========================================================================
   PWA (Progressive Web App) Native Mobile UI System
   ========================================================================== */
@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .idc-back-to-top {
        bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Native Mobile Bottom App Navigation Bar */
.pwa-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwa-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 3px;
    padding: 6px 0;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.pwa-nav-item i {
    font-size: 1.15rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pwa-nav-item:active i {
    transform: scale(0.85);
}

.pwa-nav-item.active {
    color: var(--primary-blue, #0D47A1);
}

.pwa-nav-item.active i {
    transform: translateY(-2px);
    color: var(--primary-blue, #0D47A1);
}

/* Elevated Quick Quote Floating Button */
.pwa-nav-quote {
    position: relative;
    top: -12px;
}

.pwa-quote-btn {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45), 0 0 0 4px #ffffff;
    transition: transform 0.2s ease;
}

.pwa-nav-quote:active .pwa-quote-btn {
    transform: scale(0.92);
}

.pwa-nav-quote span {
    margin-top: 3px;
    color: #e11d48;
    font-weight: 800;
}

/* Floating PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 440px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    z-index: 1045;
    animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pwaSlideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.pwa-install-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    padding: 4px;
    object-fit: contain;
}

/* Online / Offline Status Toast */
.pwa-network-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    animation: pwaToastFade 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pwa-network-toast.online {
    background: #10b981;
}

.pwa-network-toast.offline {
    background: #ef4444;
}

@keyframes pwaToastFade {
    from { opacity: 0; transform: translate(-50%, -15px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Voice Search Button & Recording Micro-Animation */
.voice-search-trigger {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.voice-search-trigger:hover {
    background: rgba(13, 71, 161, 0.08);
    transform: scale(1.08);
}

.voice-search-trigger.voice-recording {
    background: rgba(239, 68, 68, 0.15) !important;
    animation: voiceMicPulse 1.2s infinite ease-in-out;
}

.voice-search-trigger.voice-recording i {
    color: #ef4444 !important;
}

@keyframes voiceMicPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

