


.property-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Form Inputs */
.search-input-group input,
.search-filters select,
.styled-contact-form input,
.styled-contact-form textarea {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-input-group input:focus,
.search-filters select:focus,
.styled-contact-form input:focus,
.styled-contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.2);
    outline: none;
}

/* Enhanced Buttons */
.search-btn,
.btn-primary,
.btn-messenger {
    position: relative;
    overflow: hidden;
    background: var(--bg-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover,
.btn-primary:hover,
.btn-messenger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-btn:active,
.btn-primary:active,
.btn-messenger:active {
    transform: translateY(0);
}

/* Section Headers Animation */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Visibility safeguard: ensure Featured Properties header is always visible */
.featured-properties .section-header {
    opacity: 1 !important;
    transform: none !important;
}

/* Stats Counter Animation */
.stat-number {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-number.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--accent-color));
    border-radius: 6px;
    border: 3px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--accent-color), var(--primary-color));
}

/* Image Loading Animation */
.property-card img,
.about-hero-image img {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.property-card img.loaded,
.about-hero-image img.loaded {
    opacity: 1;
}

/* Hero Section Enhancement */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, 
        var(--bg-light) 25%, 
        rgba(255, 255, 255, 0.5) 50%, 
        var(--bg-light) 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        background-position: -200% 0;
    }
}

/* Form Feedback Animations */
.form-feedback {
    padding: 12px;
    margin-top: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-feedback.success {
    background: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    transform: translateY(0);
    opacity: 1;
}

.form-feedback.error {
    background: rgba(245, 101, 101, 0.1);
    color: #c53030;
    transform: translateY(0);
    opacity: 1;
}