:root {
    --primary-color: #2ecc71;
    --dark-color: black;
    --light-color: #f4f4f4;
    /* --glow-color: rgba(22, 55, 36, 0.5); */
    --glow-color: rgba(27, 68, 44, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--glow-color);
    box-shadow: 0 6px 20px var(--glow-color);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    animation: slide-in 3s infinite;
}

.navbar-brand img {
    height: 45px;
}

@keyframes slide-in {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--glow-color));
    animation: gradient-shift 10s infinite;
}

@keyframes gradient-shift {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 0; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Property Cards */
.property-card {
    background-color: var(--dark-color);
    border: 1px solid var(--primary-color);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.property-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-color), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.property-card:hover::before {
    opacity: 1;
    animation: rotate 5s infinite linear;
}

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

.property-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover img {
    transform: scale(1.1);
}

.card-body {
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn-success {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-success:hover::before {
    left: 100%;
    animation: btn-shine 1.5s infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* About Section */
.stats {
    position: relative;
}

.stats h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px var(--glow-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Contact Cards */
.contact-card {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-color), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-card:hover::before {
    opacity: 1;
    animation: rotate 5s infinite linear;
}

.contact-link {
    text-decoration: none;
    color: var(--light-color);
    display: block;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.2);
    animation: pulse 2s infinite;
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-card p {
    margin: 0;
    font-size: 0.9rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: slide-in 3s infinite;
    z-index: 1;
}

/* Section Transitions */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Floating Elements */
.float-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    border-top: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: slide-in 3s infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--primary-color);
    z-index: 9999;
    box-shadow: 0 0 10px var(--glow-color);
}

#properties .row {
    justify-content: center;
}