/* Font Family */
* {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Staggered animations */
.animate-delay-100 {
    animation-delay: 0.1s;
    opacity: 0;
}

.animate-delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-delay-300 {
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-delay-400 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-delay-500 {
    animation-delay: 0.5s;
    opacity: 0;
}

.animate-delay-600 {
    animation-delay: 0.6s;
    opacity: 0;
}

/* Custom property card hover effects */
.property-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.property-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover img {
    transform: scale(1.1);
}

/* Smooth transitions for buttons */
.btn-animate {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-animate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Statistics cards hover */
.stat-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
}

/* Carousel styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-indicator.active {
    background: white;
    width: 24px;
    border-radius: 6px;
}

/* Hero Section - Modern Design */
.hero-section {
    margin-top: 76px;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
}

@media (min-width: 768px) {
    .hero-section {
        height: 75vh;
        min-height: 600px;
    }
}

@media (min-width: 992px) {
    .hero-section {
        height: 80vh;
        min-height: 650px;
        max-height: 900px;
    }
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-carousel-track {
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-text-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-primary {
    background: #007bff;
    color: white;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-hero-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
    color: white;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* Hero Carousel Controls */
.hero-carousel-prev,
.hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-prev {
    left: 20px;
}

.hero-carousel-next {
    right: 20px;
}

@media (max-width: 767px) {
    .hero-carousel-prev,
    .hero-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .hero-carousel-prev {
        left: 10px;
    }
    
    .hero-carousel-next {
        right: 10px;
    }
}

.hero-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
    border-color: white;
}

/* Default Hero Section */
.hero-section-default {
    margin-top: 76px;
    min-height: 70vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.min-vh-50 {
    min-height: 50vh;
}

.hero-subtitle-default {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title-default {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title-default {
        font-size: 4rem;
    }
}

@media (min-width: 992px) {
    .hero-title-default {
        font-size: 5rem;
    }
}

.hero-description-default {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Line clamp utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scroll animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section spacing */
section {
    padding: 4rem 0;
}

@media (min-width: 992px) {
    section {
        padding: 5rem 0;
    }
}

/* Property card image */
.property-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

/* Custom colors */
.text-purple {
    color: #9333ea;
}

.bg-purple {
    background-color: #9333ea;
}

/* Equal height cards */
.card-equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-equal-height .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-equal-height .card-body .btn {
    margin-top: auto;
}

/* Footer Styles */
footer {
    background-color: #212529 !important;
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    position: relative;
}

footer .text-muted {
    color: #6c757d !important;
}

footer a.text-muted {
    color: #6c757d !important;
    transition: color 0.3s ease;
}

footer a.text-muted:hover {
    color: #ffffff !important;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Step Cards */
.step-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.step-icon {
    margin-top: 1.5rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

/* Property Type Cards */
.property-type-card {
    background: white;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.property-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.property-type-icon {
    transition: transform 0.3s ease;
}

.property-type-card:hover .property-type-icon {
    transform: scale(1.15) rotate(-5deg);
}

.property-count-badge {
    margin-top: 1rem;
}

/* Location Cards */
.location-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.location-icon {
    transition: transform 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.1);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Price Range Cards */
.price-range-card {
    background: white;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.price-range-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.price-range-icon {
    transition: transform 0.3s ease;
}

.price-range-card:hover .price-range-icon {
    transform: scale(1.1);
}

.price-count {
    margin-top: 0.5rem;
}

/* Amenity Cards */
.amenity-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.amenity-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #17a2b8;
    background: linear-gradient(135deg, #e6f7ff 0%, #ffffff 100%);
}

.amenity-icon {
    transition: transform 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    transform: scale(1.15) rotate(5deg);
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    border-radius: 10px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

.accordion-button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(5px);
}

.accordion-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Download App Section */
.download-app-section {
    padding: 2rem 0 !important;
}

.download-section-title {
    font-size: 1.75rem;
    line-height: 1.2;
}

.download-section-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .download-app-section {
        padding: 2.5rem 0 !important;
    }
    
    .download-section-title {
        font-size: 2rem;
    }
    
    .download-section-text {
        font-size: 1rem;
    }
}

/* App Screenshot */
.app-screenshot-container {
    position: relative;
    max-width: 200px;
    max-height: 350px;
    margin: 0 auto;
    padding: 5px;
}

.app-screenshot-img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-screenshot-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .app-screenshot-container {
        max-width: 150px;
        max-height: 280px;
        padding: 5px;
    }
    
    .app-screenshot-img {
        max-height: 280px;
        border-radius: 10px;
    }
    
    .download-app-section {
        padding: 1.5rem 0 !important;
    }
    
    .download-section-title {
        font-size: 1.5rem;
    }
    
    .download-section-text {
        font-size: 0.9rem;
    }
}

/* Logo Styles */
.navbar-brand .logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand .logo-img:hover {
    transform: scale(1.05);
}

.navbar-brand .logo-text {
    font-size: 1.75rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .navbar-brand .logo-img {
        height: 55px;
    }
    
    .navbar-brand .logo-text {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .navbar-brand .logo-img {
        height: 60px;
    }
    
    .navbar-brand .logo-text {
        font-size: 2.25rem;
    }
}

