.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.slider-content h1 {
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.9);
}

.slider-content p {
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}


/* Main glass container */
.glass-search-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Common glass style for inputs, selects & buttons */
.hero-search-form-instance input,
.hero-search-form-instance select,
.hero-search-form-instance button.hero-budget {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #111;
}
/* Placeholder text */
.hero-search-form-instance input::placeholder {
    color: rgb(0, 0, 0);
}

/* Select dropdown arrow fix */
.hero-search-form-instance select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

/* Focus effect */
.hero-search-form-instance input:focus,
.hero-search-form-instance select:focus,
.hero-search-form-instance button.hero-budget:focus {
    outline: none;
    border-color: rgba(202, 163, 74, 0.9);
    box-shadow: 0 0 0 2px rgba(202, 163, 74, 0.35);
}

/* Budget button hover */
.hero-search-form-instance button.hero-budget:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Search submit button (keep solid but glassy feel) */
.hero-search-form-instance button[type="submit"] {
    background: linear-gradient(135deg,
            rgba(202, 163, 74, 0.95),
            rgba(184, 146, 61, 0.95));
    backdrop-filter: blur(6px);
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-search-form-instance button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

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

/* Sticky Header Styles */
.sticky-header {
    transition: all 0.3s ease;
}

.sticky-header.scrolled {
    background-color: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Menu Animation */
#mobile-menu.menu-open {
    transform: translateX(0);
}

#mobile-menu-overlay.menu-open {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Slider Styles */
.slider-container {
    position: relative;
    height: 90vh;
    overflow: hidden;
    z-index: 1 !important;
    /* Lower z-index for slider */
}


/* Budget panel - maximum z-index */
.hero-budget-panel {
    z-index: 99999 !important;  /* Increased dramatically */
    position: relative;
    isolation: isolate;  /* Creates new stacking context */
}




/* Main budget panel */
.hero-budget-panel {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    border: 2px solid rgba(202, 163, 74, 0.5) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
    padding: 24px !important;
    z-index: 50 !important;
}

/* Label title */
.hero-budget-panel label {
    color: rgba(0, 0, 0, 0.95) !important;
    font-weight: 700 !important;
}

/* Slider container */
.hero-budget-panel .relative.h-2 {
    height: 8px !important;
    background: rgba(200, 200, 200, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 999px !important;
    position: relative !important;
}

/* Active range bar */
.hero-budget-range {
    height: 8px !important;
    background: linear-gradient(90deg,
            rgba(202, 163, 74, 1),
            rgba(184, 146, 61, 1)) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 12px rgba(202, 163, 74, 0.6) !important;
}

/* Range inputs (invisible but clickable) */
.hero-budget-panel input[type="range"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    width: 100% !important;
    height: 8px !important;
    background: transparent !important;
    cursor: pointer !important;
    z-index: 10 !important;
}


/* Force border on Min & Max budget input fields */
.hero-min-display,
.hero-max-display {
    border: 1px solid rgba(202, 163, 74, 0.6) !important; /* gold border */
    background: rgba(255, 255, 255, 0.25);
}


/* Slider handles */
.hero-min-handle,
.hero-max-handle {
    width: 20px !important;
    height: 20px !important;
    background: rgba(255, 255, 255, 1) !important;
    border: 3px solid rgba(202, 163, 74, 1) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border-radius: 50% !important;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 0 4px rgba(255, 255, 255, 0.9) !important;
    cursor: pointer !important;
    z-index: 20 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Handle hover */
.hero-min-handle:hover,
.hero-max-handle:hover {
    transform: scale(1.15) !important;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(202, 163, 74, 0.25) !important;
}

/* Budget labels under slider */
.hero-budget-labels {
    color: rgba(0, 0, 0, 0.75) !important;
    font-weight: 500 !important;
}

/* Min / Max display boxes */
.hero-budget-panel .flex-1 {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(202, 163, 74, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    box-shadow: inset 0 0 0 rgba(255, 255, 255, 0.3) !important;
}

/* Min / Max text */
.hero-budget-panel .flex-1 span {
    color: rgba(0, 0, 0, 1) !important;
    font-weight: 500 !important;
}

/* Small label text */
.hero-budget-panel .text-xs {
    color: rgba(0, 0, 0, 0.55) !important;
}

/* Prevent text selection while dragging */


.slider-container .absolute.bottom-4,
.slider-container .absolute.bottom-10,
.slider-container .absolute.bottom-16 {
    z-index: 5 !important;  /* Reduced from 10 */
    pointer-events: auto;
}


/* When budget panel is open - completely disable slider navigation */
.slider-container .absolute.bottom-4.budget-panel-open,
.slider-container .absolute.bottom-10.budget-panel-open,
.slider-container .absolute.bottom-16.budget-panel-open {
    display: none !important;  /* COMPLETELY REMOVE from layout */
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slider-slide.active {
    opacity: 1;
}

.slider-content {
    transition: transform 0.5s ease;
}

/* Enhanced responsive styles for all screen sizes */
@media (max-width: 768px) {
    .slider-container {
        height: 100vh;
        min-height: 600px;
    }

    .slider-slide {
        background-size: cover;
        background-position: center;
    }

    .slider-content h1 {
        font-size: 2rem !important;
        line-height: 1.3;
    }

    .slider-content p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    /* Better mobile navigation spacing */
    #mobile-menu {
        width: 85vw;
        max-width: 320px;
    }

    /* Hero text spacing for mobile */
    .slider-content {
        padding: 0 1rem;
    }

    /* Property type cards - better mobile grid */
    .property-type-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Search form mobile optimization */
    .search-form-mobile {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-form-mobile select,
    .search-form-mobile input,
    .search-form-mobile button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .slider-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    /* Mobile header adjustments */
    .sticky-header {
        padding: 1rem !important;
    }

    /* Stats section mobile optimization */
    .stats-grid-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* How it works cards mobile */
    .how-it-works-card {
        padding: 2rem 1.5rem !important;
    }

    /* Testimonial cards mobile */
    .testimonial-card-mobile {
        min-width: 100% !important;
    }

    /* Footer mobile optimization */
    .footer-mobile-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {

    /* Tablet optimizations */
    .slider-content h1 {
        font-size: 2.5rem !important;
    }

    /* Property grid for tablets */
    .property-grid-tablet {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog grid for tablets */
    .blog-grid-tablet {
        grid-template-columns: 1fr;
    }
}

/* Ensure images maintain aspect ratio on all devices */
@media (max-width: 768px) {
    .responsive-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Banner image mobile hide */
    .banner-desktop-only {
        display: none;
    }
}

/* Typography responsive adjustments */
@media (max-width: 640px) {

    h2,
    h3 {
        font-size: 1.75rem !important;
    }

    h4 {
        font-size: 1.25rem !important;
    }

    .text-5xl {
        font-size: 2.5rem !important;
    }

    .text-4xl {
        font-size: 2rem !important;
    }

    .text-3xl {
        font-size: 1.75rem !important;
    }

    .text-2xl {
        font-size: 1.5rem !important;
    }
}

.property-type-tab {
    background: #e9f0ff;
    color: #1e3a8a;
}

.property-type-tab p {
    color: #475569;
}

.property-type-tab .icon-wrap {
    background: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 14px;
}

.property-type-tab.active-tab {
    background: linear-gradient(135deg, #393186, #5647E5);
    color: #fff;
    box-shadow: 0 18px 40px rgba(80, 37, 235, 0.35);
    transform: scale(1.04);
}

.property-type-tab.active-tab p {
    color: #dbeafe;
}

.property-type-tab.active-tab .icon-wrap {
    background: rgba(255, 255, 255, 0.25);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Glass Morphism for Hero Search Form */
.glass-search-container {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Gold Theme Color Variables */
:root {
    --gold-primary: #caa34a;
    --gold-hover: #b8923d;
    --gold-light: #e5d4a3;
    --gold-dark: #a17d2e;
}

/* Update existing color references to gold */
.bg-\[\#393186\] {
    background-color: var(--gold-primary) !important;
}

.hover\:bg-\[\#2B208F\]:hover {
    background-color: var(--gold-hover) !important;
}

.text-\[\#393186\] {
    color: var(--gold-primary) !important;
}

.border-\[\#393186\] {
    border-color: var(--gold-primary) !important;
}

.hover\:text-\[\#1E1481\]:hover {
    color: var(--gold-dark) !important;
}

.text-\[\#5647E5\] {
    color: var(--gold-primary) !important;
}

.bg-\[\#5647E5\] {
    background-color: var(--gold-primary) !important;
}

.hover\:border-\[\#393186\]:hover {
    border-color: var(--gold-primary) !important;
}

/* Property Type Tab Active State */
.property-type-tab.active-tab {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    color: #fff;
    box-shadow: 0 18px 40px rgba(202, 163, 74, 0.35);
}

/* Focus Ring Gold Color */
.focus\:ring-\[\#5647E5\]:focus {
    --tw-ring-color: var(--gold-primary);
}











/* category section css start  */

.category-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #caa34a, #b8923d) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.category-card:hover::before {
    opacity: 1;
}

/* Smooth image zoom on hover */
.category-card img {
    will-change: transform;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .category-card {
        margin-bottom: 0;
    }

    .category-card .absolute.bottom-0 {
        padding: 1.25rem;
    }

    .category-card h3 {
        font-size: 1.25rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .category-card {
        height: 100%;
    }
}

/* Animation for cards on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.category-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.category-card:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3) {
    animation-delay: 0.3s;
}

.category-card:nth-child(4) {
    animation-delay: 0.4s;
}



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

.animate-spin {
    animation: spin 1s linear infinite;
}



@media (min-width: 350px) and (max-width: 500px) {
    #hero-form-container-3 {
        margin-top: 2rem !important;
    }

    #hero-form-container-2 {
        margin-top: 3rem !important;

    }

    #hero-form-container {
        margin-top: 2rem !important;

    }
}












/* Floating Action Buttons */
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.phone-btn {
    background: linear-gradient(135deg, #caa34a, #b8923d);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #b8923d, #a17d2e);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(202, 163, 74, 0.4);
}

/* Tooltip */
.tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-btn:hover .tooltip {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-btn i {
        font-size: 1.25rem !important;
    }
    
    .tooltip {
        display: none;
    }
}







/* ✅ Glass Radio Container */
.glass-radio-container {
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* ✅ Radio Option Default State */
.radio-option {
    color: #000000;
}

.radio-option .radio-text {
    transition: all 0.3s ease;
}

/* ✅ Checked State - Golden Active */
.radio-option:has(input:checked) {
    background: linear-gradient(135deg, #caa34a 0%, #b8923d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(202, 163, 74, 0.4);
}

.radio-option:has(input:checked) .radio-text {
    font-weight: 700;
}

/* ✅ Hover Effect */
.radio-option:hover:not(:has(input:checked)) {
    background: rgba(202, 163, 74, 0.1);
    color: #caa34a;
}

/* ✅ Radio Icon Styling */
.radio-option .radio-icon {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.radio-option:has(input:checked) .radio-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* ✅ Slider Navigation Smooth Hide */
.slider-container .absolute {
    transition: opacity 0.3s ease, visibility 0.3s ease, pointer-events 0.3s ease;
}








.inquire-now-btn {
    background: linear-gradient(135deg, #caa34a, #b8923d);
    box-shadow: 0 4px 15px rgba(202, 163, 74, 0.5);
    animation: pulse-gold 2s infinite;
}

.inquire-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(202, 163, 74, 0.6);
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 4px 15px rgba(202, 163, 74, 0.5); }
    50% { box-shadow: 0 4px 25px rgba(202, 163, 74, 0.8); }
}


/* Hero Floating Inquire Button */
.hero-inquire-float {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #caa34a, #b8923d);
    box-shadow: 0 6px 20px rgba(202, 163, 74, 0.6);
    animation: pulse-gold 2s infinite;
}

.hero-inquire-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(202, 163, 74, 0.8);
}

@media (max-width: 768px) {
    .hero-inquire-float {
        width: 50px;
        height: 50px;
    }
    .hero-inquire-float i {
        font-size: 1rem;
    }
}




/* Card hover effect */
.yt-short-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.3s ease;
    border: 2px solid rgba(202,163,74,0.10);
}
.yt-short-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 54px rgba(202,163,74,0.22), 0 6px 18px rgba(0,0,0,0.16);
    border-color: rgba(202,163,74,0.55);
}

/* Hashtag title — mirrors ytp-title-link overflow behavior */
.yt-hashtag-title {
    font-size: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 5px rgba(0,0,0,0.9);
    word-break: break-word;
}

/* Play button SVG size */
.yt-play-svg {
    width: 64px;
    height: 45px;
    filter: drop-shadow(0 4px 12px rgba(255,0,0,0.55));
}

/* Card entrance animation */
@keyframes ytFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .yt-hashtag-title { font-size: 10px; -webkit-line-clamp: 2; }
    .yt-play-svg { width: 52px; height: 36px; }
}