/* ===================================================================
    Custom UI & UX Overrides - Minimal, Clean, Airbnb & Alike Inspired
=================================================================== */

/* Custom fonts and design tokens */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --theme: #0f3a74 !important; /* Premium rich navy blue */
    --theme-2: #10b981 !important; /* Airbnb/Alike inspired vibrant emerald/teal green */
    --theme-hover: #082145 !important;
    --theme-2-hover: #059669 !important;
    --bg-light: #f8fafc !important; /* Soft slate/off-white */
    --border-color: #e2e8f0 !important; /* Muted slate border */
    --text-main: #0f172a !important; /* Deep slate / charcoal */
    --text-muted: #64748b !important; /* Soft gray-slate */
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02) !important;
    --hover-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.03) !important;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background-color: var(--bg-light);
    color: var(--text-muted);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--text-main);
    font-weight: 700;
}

/* ===================================================================
    Header & Navigation Restyling
=================================================================== */
#header-sticky {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#header-sticky.sticky {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    padding: 10px 0 !important;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-main .main-menu ul li {
    margin-inline-end: 18px !important;
}

.header-main .main-menu ul li a {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    transition: color 0.2s ease;
    padding: 10px 0;
}

.header-main .main-menu ul li a:hover {
    color: var(--theme-2) !important;
}

/* Clean Dropdown / Submenu styling */
.main-menu ul li .submenu {
    border-radius: 16px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--hover-shadow) !important;
    background: #ffffff !important;
    padding: 12px !important;
    min-width: 260px !important;
    top: 110% !important;
}

.main-menu ul li .submenu li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-menu ul li .submenu li a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: block !important;
    transition: all 0.2s ease !important;
}

.main-menu ul li .submenu li a:hover {
    background-color: var(--bg-light) !important;
    color: var(--theme) !important;
    transform: translateX(4px);
}

/* Header Contact Button (Pill Layout) */
.header-contact-btn {
    background: var(--theme) !important;
    color: #ffffff !important;
    border: 1px solid var(--theme) !important;
    border-radius: 9999px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.header-contact-btn:hover {
    background: var(--theme-2) !important;
    border-color: var(--theme-2) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

/* ===================================================================
    Buttons & UI Components (Pill & Clean Style)
=================================================================== */
.theme-btn {
    background: var(--theme-2) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15) !important;
    text-transform: none !important;
}

.theme-btn::before, .theme-btn::after {
    display: none !important; /* Disable template sliding overlays */
}

.theme-btn:hover {
    background: var(--theme-2-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25) !important;
}

.theme-btn.bg-white {
    background: #ffffff !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
}

.theme-btn.bg-white:hover {
    background: var(--bg-light) !important;
    color: var(--theme) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px);
}

.theme-btn.bg-2 {
    background: var(--theme) !important;
    box-shadow: 0 4px 14px rgba(15, 58, 116, 0.15) !important;
}

.theme-btn.bg-2:hover {
    background: var(--theme-hover) !important;
    box-shadow: 0 8px 20px rgba(15, 58, 116, 0.25) !important;
}

/* ===================================================================
    Airbnb-Style Capsule Search Bar (Hero Widget)
=================================================================== */
.quick-action-wrapper {
    margin-top: 40px;
    max-width: 580px;
}

.quick-action-capsule {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 9999px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.quick-action-capsule:hover {
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15);
    border-color: rgba(203, 213, 225, 0.8);
}

.capsule-segment {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    cursor: pointer;
    padding-right: 12px;
}

.capsule-segment:not(:last-of-type) {
    border-right: 1px solid var(--border-color);
    margin-right: 16px;
}

.capsule-segment span.label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.capsule-segment span.value {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.capsule-btn-circle {
    background: var(--theme-2);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.capsule-btn-circle:hover {
    background: var(--theme-2-hover);
    transform: scale(1.05);
}

.capsule-btn-circle i {
    font-size: 16px;
}

/* ===================================================================
    Interactive Service Switcher Component
=================================================================== */
.service-section.section-bg {
    background-color: #ffffff !important; /* Change dark background to clean white */
    padding: 80px 0 !important;
}

.services-tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
}

.category-tab-btn:hover {
    color: var(--text-main);
    border-color: #cbd5e1;
    background-color: var(--bg-light);
}

.category-tab-btn.active {
    background: var(--theme) !important;
    color: #ffffff !important;
    border-color: var(--theme) !important;
    box-shadow: 0 4px 12px rgba(15, 58, 116, 0.15) !important;
}

/* Switcher Cards Layout */
.service-sub-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
}

.service-sub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(16, 185, 129, 0.2);
}

.service-sub-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(15, 58, 116, 0.05);
    color: var(--theme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-sub-card:hover .card-icon {
    background: var(--theme-2);
    color: #ffffff;
}

.service-sub-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-sub-card h4 a {
    color: var(--text-main);
    transition: color 0.2s ease;
}

.service-sub-card h4 a:hover {
    color: var(--theme-2);
}

.service-sub-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-sub-card .learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-2);
    transition: gap 0.2s ease;
}

.service-sub-card:hover .learn-more-link {
    gap: 10px;
    color: var(--theme-2-hover);
}

/* ===================================================================
    Consultation Form Design
=================================================================== */
.hero-contact-box {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08) !important;
    padding: 40px !important;
}

.hero-contact-box h3 {
    font-size: 22px !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
    text-align: center;
}

.form-clt input, .form-clt textarea {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    color: var(--text-main) !important;
    font-weight: 500 !important;
    padding: 14px 18px !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.form-clt input:focus, .form-clt textarea:focus {
    border-color: var(--theme-2) !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1) !important;
}

.hero-contact-box button.theme-btn {
    width: 100%;
    margin-top: 10px;
}

/* ===================================================================
    Pulsing Call CTA & Floating Elements
=================================================================== */
@keyframes cta-pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.pulsing-cta {
    animation: cta-pulse-glow 2.2s infinite ease-in-out;
}

.floating-call-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-2);
    color: #ffffff !important;
    width: 55px;
    height: 55px;
    border-radius: 50% !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cta-pulse-glow 2.2s infinite ease-in-out;
}

.floating-call-cta:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--theme-2-hover);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* Subpage Contact Cards */
.contact-list li .offcanvas__contact-icon {
    background-color: var(--theme) !important;
}

/* Section Subtitles */
.sub-content {
    background: rgba(16, 185, 129, 0.08) !important;
    color: var(--theme-2) !important;
    border-radius: 9999px !important;
    padding: 6px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

/* Counter / Funfact UI */
.funfact-box-items,
.funfact-box-items.active {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: var(--card-shadow) !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

.funfact-box-items h2,
.funfact-box-items h2 span,
.funfact-box-items h6,
.funfact-box-items.active h2,
.funfact-box-items.active h2 span,
.funfact-box-items.active h6 {
    color: var(--text-main) !important;
    transition: color 0.3s ease !important;
}

.funfact-box-items:hover,
.funfact-box-items.active:hover {
    box-shadow: var(--hover-shadow) !important;
    transform: translateY(-4px) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
}

/* Testimonials clean cards */
.testimonial-card {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 24px !important;
    box-shadow: var(--card-shadow) !important;
}

/* Hero bg clean styles */
.hero-1 {
    position: relative;
    padding: 160px 0 120px 0 !important;
    background-color: #f1f5f9 !important; /* Soft backdrop slate */
    background-size: cover !important;
    background-position: center center !important;
    overflow: hidden;
}

.hero-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 252, 0.75) 100%) !important;
    z-index: 1;
    pointer-events: none;
}

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

/* Fix service section headers showing white on white */
.service-section.section-bg h2.text-white {
    color: var(--text-main) !important;
}

.hero-content h1 {
    font-size: 52px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
}

/* Custom Sidebar Tagcloud styling (Airbnb/Alike inspired clean pills) */
.tagcloud a {
    display: inline-block !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 9999px !important;
    margin-right: 8px !important;
    margin-bottom: 10px !important;
    text-transform: capitalize !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.tagcloud a:hover {
    background: var(--theme-2) !important;
    color: #ffffff !important;
    border-color: var(--theme-2) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15) !important;
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 38px !important;
    }
    .quick-action-capsule {
        flex-direction: column;
        border-radius: 24px;
        padding: 16px;
        gap: 16px;
    }
    .capsule-segment {
        width: 100%;
        padding-right: 0;
        border-right: none !important;
        margin-right: 0 !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
    }
    .capsule-btn-circle {
        width: 100%;
        border-radius: 12px;
    }
}
