:root {
    --primary-bg: #3e3e3e;
    --secondary-bg: #2e2e2e;
    --accent-color: #f5c96a;
    --text-color: #ffffff;
    --text-secondary: #d1d5db;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg);
    color: var(--text-color);
}
/* Whatsapp logo */
 /* for desktop */
 .whatsapp_float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 90px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
  }
  
  .whatsapp-icon {
    margin-top: 16px;
  }
  
  /* for mobile */
  @media screen and (max-width: 767px) {
    .whatsapp-icon {
        margin-top: 10px;
    }
  
    .whatsapp_float {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 10px;
        font-size: 22px;
    }
  }

 /* Scroll to Top Button */
.go-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 999;
    background-color: #f5c96a;
    color: #3e3e3e;
    border: none;
    border-radius: 50%;
    padding: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    transition: background-color 0.3s, transform 0.2s;
    animation: bounce 1.2s ease-in-out infinite;
    }
    
    .go-to-top:hover {
        background-color: #f5c96acc;
        transform: scale(1.1);
    }
    
    .go-to-top:active {
        transform: scale(0.95);
    }
    
    .go-to-top svg.icon {
        width: 24px;
        height: 24px;
    }
    


.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--primary-bg);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 42rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Property Listings */
.property-listings {
    padding: 5rem 0;
    background-color: var(--secondary-bg);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-button {
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.filter-button.active {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.filter-button:not(.active) {
    background-color: var(--primary-bg);
    color: var(--text-color);
}

.filter-button:not(.active):hover {
    background-color: #4e4e4e;
    transform: scale(1.05);
}

.filter-button:active {
    transform: scale(0.95);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-card {
    background-color: var(--primary-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-image {
    position: relative;
    height: 21rem;
    overflow: hidden;
}


.property-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
  }
.image-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1); /* slightly zoomed for better blur fill */
    z-index: 0;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.favorite-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    background-color: white;
    border-radius: 9999px;
    color: var(--primary-bg);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.favorite-button:hover {
    background-color: var(--accent-color);
}

.property-details {
    padding: 1.5rem;
}

.property-location {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.property-location svg {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.property-price {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .property-features {
        flex-direction: row;
    }
}

.property-feature {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.property-feature svg {
    margin-right: 0.25rem;
    color: var(--text-secondary);
}

.details-button {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.details-button:hover {
    transform: scale(1.02);
}

.details-button:active {
    transform: scale(0.98);
}

.details-button svg {
    margin-left: 0.5rem;
}

/* Featured Property */
.featured-property {
    position: relative;
    padding: 5rem 0;
    background-color: var(--secondary-bg);
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background-color: var(--accent-color);
    opacity: 0.3;
    border-radius: 0.5rem;
    animation: float 5s ease-in-out infinite;
}

.floating-element-1 {
    top: 2.5rem;
    left: 1.25rem;
    width: 5rem;
    height: 5rem;
}

.floating-element-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    opacity: 0.2;
    filter: blur(1rem);
    display: none;
}

.floating-element-3 {
    top: 33%;
    left: 50%;
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    background-color: #6bbaff;
    opacity: 0.25;
    filter: blur(1rem);
}

@media (min-width: 640px) {
    .floating-element-2 {
        display: block;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--accent-color);
}

.section-header p {
    color: var(--text-secondary);
}

.featured-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

@media (min-width: 768px) {
    .featured-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.featured-image {
    position: relative;
    height: 500px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-image:hover img {
    transform: scale(1.1);
}

.featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-price {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.featured-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .featured-features {
        flex-direction: row;
    }
}

.featured-feature {
    display: flex;
    align-items: center;
}

.featured-feature svg {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.featured-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.625;
}

.featured-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .featured-buttons {
        flex-direction: row;
    }
}

.featured-button {
    flex: 1;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.featured-button-primary {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.featured-button-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.featured-button-primary:active {
    transform: scale(0.98);
}

.featured-button-secondary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
}

.featured-button-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: scale(1.02);
}

.featured-button-secondary:active {
    transform: scale(0.98);
}

.featured-button svg {
    margin-left: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--secondary-bg);
    text-align: center;
}

.cta-content {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-title span {
    color: var(--accent-color);
}

.cta-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
    transform: scale(0.95);
}

.cta-button svg {
    margin-left: 0.5rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }

.contact-card {
    background: linear-gradient(to right, #282828, #202020);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease;
  }
  
  .contact-card:hover {
    transform: scale(1.05);
  }
  .map-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
  }
  
  .map-link-button:hover {
    /* background-color: darken(var(--accent-color), 10%); */
    transform: scale(1.03);
  }
  
  .map-link-button svg {
    margin-left: 0.4rem;
  }
  