:where([class^="ri-"])::before { content: "\f3c2"; }

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.glass-nav {

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-gradient {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
}

.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

.cta-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: rgb(17, 24, 39) ;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(17, 24, 39)
    ;
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.search-input {
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.wave-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.wave-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10px;
    background: linear-gradient(45deg, #4F46E5 33%, transparent 33%),
                linear-gradient(135deg, transparent 33%, #4F46E5 33%);
    background-size: 20px 10px;
    animation: waveAnimation 10s linear infinite;
}

@keyframes waveAnimation {
    0% { background-position-x: 0; }
    100% { background-position-x: 200px; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

.float-animation-delay-1 {
    animation-delay: 1s;
}

.float-animation-delay-2 {
    animation-delay: 2s;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
/* Smooth fade-in animations for cards */
.project-card {
position: relative;
transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

/* Overlay styling */
.project-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
color: white;
padding: 20px;
opacity: 0;
transform: translateY(100%);
transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
opacity: 1;
transform: translateY(0);
}

/* Active filter button */
.filter-btn.active {
background-color: rgb(17, 24, 39);
color: white;
border-color: rgb(17, 24, 39) ;
}

.filter-btn {
transition: all 0.3s ease;
background-color: transparent;
}

.filter-btn:hover:not(.active) {
background-color: #e0f2fe;
border-color: rgb(17, 24, 39)
;
}

/* Optional smooth section reveal */
#projects {
scroll-margin-top: 80px;
animation: fadeUp 0.6s ease-in-out both;
}

@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Rounded buttons */
.rounded-button {
border-radius: 9999px;
}

/* Smooth transition for View Project links */
.project-overlay a:hover {
text-decoration: underline;
}

/* Responsive fallback */
@media (max-width: 768px) {
.project-overlay {
padding: 16px;
}
}
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.custom-checkbox:checked {
    background-color: rgb(17, 24, 39)          ;
    border-color:rgb(17, 24, 39)          ;
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e5e7eb;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgb(17, 24, 39);
    cursor: pointer;
    transition: all 0.2s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color:rgb(17, 24, 39);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

