
    /* 
    =========================================
    NEW & IMPROVED STYLES - Desire Click Realty
    =========================================
    */

    /* --- 1. Global Font & Color Scheme --- */
    :root {
        --primary-dark: #101D30; /* Deep Navy Blue for a professional feel */
        --accent-gold: #D4AF37;   /* A rich gold for luxury and calls-to-action */
        --accent-gold-hover: #c49d26; /* A slightly darker gold for hover effects */
        --light-text: #f0f0f0;    /* Off-white for readability on dark backgrounds */
        --dark-text: #222222;     /* Strong, dark text for light backgrounds */
        --body-bg: #FDFDFD;       /* A clean, almost white background */
    }

    body {
        font-family: 'Lato', sans-serif;
        color: #555;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        color: var(--primary-dark);
    }

    /* --- 2. Hero Video Section --- */
    .hero-video-section {
        position: relative;
        height: 95vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        color: white;
    }

    /* Add this to force header behind the popup overlay */
.header-area {
    z-index: 100; /* Any value lower than the popup's z-index (9999) */
}
    .hero-video-section video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: 1;
        object-fit: cover;
    }

    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(16, 29, 48, 0.75); /* Darker, richer overlay */
        z-index: 2;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        text-align: center;
        padding: 20px;
        max-width: 900px;
    }

    .hero-content h1 {
        font-size: 4.5rem; /* Larger and more impactful */
        font-weight: 800;
        margin-bottom: 20px;
        color: #fff;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
        line-height: 1.1;
        letter-spacing: 1px; /* Added for a premium feel */
    }

    .hero-content p {
        font-size: 1.5rem;
        margin-bottom: 40px;
        color: var(--light-text);
        font-weight: 300;
    }

    /* --- 3. Our Services Area --- */
    .our-services-area {
        background-color: var(--body-bg);
    }

    .section-heading h2 {
        font-size: 2.8rem;
        font-weight: 800;
    }

    .single-service-area {
        text-align: center;
        background: #fff;
        padding: 40px 30px;
        border-radius: 8px;
        margin-bottom: 30px;
        border: 1px solid #eee;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .single-service-area:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(16, 29, 48, 0.15);
        border-color: var(--accent-gold);
    }

    .single-service-area img {
        margin-bottom: 25px;
        max-width: 60px;
        filter: grayscale(1) opacity(0.7); /* Modern icon style */
        transition: filter 0.3s ease;
    }
    .single-service-area:hover img {
        filter: grayscale(0) opacity(1);
    }

    .single-service-area h5 {
        font-size: 1.35rem;
        color: var(--primary-dark);
        margin-bottom: 15px;
        font-weight: 700;
    }

    .single-service-area p {
        color: #666;
        line-height: 1.7;
    }
    
    /* --- 4. Featured Properties & Other Sections --- */
    
    /* NEW CSS FOR VIDEO */
    .single-featured-property .property-thumb video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures video covers the area without distortion */
    }

    .single-featured-property .property-thumb .tag {
        background-color: var(--accent-gold); /* Using the Gold accent */
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .single-featured-property .list-price p {
        font-weight: 700;
        font-size: 1.2rem;
    }

    .testimonial-rating {
        color: #ffc107; /* This gold works well, no change needed */
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
    
    /* Make the CTA button pop */
    .south-btn {
        background-color: var(--accent-gold);
    }
    .south-btn:hover, .south-btn:focus {
        background-color: var(--accent-gold-hover);
    }
    
    /* Editor/Director Section */
    .editor-content-area .section-heading h2 {
        font-size: 2.8rem;
        color: var(--accent-gold); /* Highlighting the director's name */
    }
    .editor-content-area .section-heading p {
        font-weight: bold;
    }
    /* Google Font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- Popup Styling --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85); /* Dark Navy Blue Transparent BG */
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    font-family: 'Poppins', sans-serif;
}

.popup-modal {
    background-color: #ffffff;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden; /* Important for the line effect */
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.popup-overlay.active {
    display: flex;
}

.popup-overlay.active .popup-modal {
    transform: translateY(0);
    opacity: 1;
}

/* The Animated Side Line */
.animated-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px; /* Line thickness */
    height: 100%;
    background-color: #c59d5f; /* Gold/Brown color */
    animation: scroll-line 4s linear infinite;
}

@keyframes scroll-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Popup Content Styling */
.popup-content {
    padding: 30px 40px;
    margin-left: 6px; /* To make space for the line */
}

.popup-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1d3557; /* Darker Blue */
    margin: 0 0 10px;
    line-height: 1.2;
}

.popup-content p {
    font-size: 16px;
    color: #4a4a4a;
    margin-bottom: 25px;
}

/* Form Input Group Styling */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #888;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease;
}

.input-group input {
    width: 100%;
    padding: 22px 15px 8px 15px; /* More padding for label space */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

/* floating label effect */
.input-group input:focus + label,
.input-group input:valid + label {
    top: 5px;
    left: 15px;
    font-size: 12px;
    color: #c59d5f; /* Gold/Brown color on focus */
}

.input-group input:focus {
    outline: none;
    border-color: #c59d5f; /* Gold/Brown border on focus */
}

/* Submit Button */
#submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #1d3557, #457b9d); /* Blue Gradient */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

#submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(29, 53, 87, 0.3);
}

#submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Message */
.form-message {
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}
.form-message.success { color: #2a9d8f; }
.form-message.error { color: #e63946; }

/* Responsive Design for Mobile */
@media (max-width: 500px) {
    .popup-content {
        padding: 25px 20px;
    }
    .popup-content h2 {
        font-size: 24px;
    }
    .popup-content p {
        font-size: 15px;
    }
}
/* Add this class to lock the body scroll when popup is active */
body.body-no-scroll {
    overflow: hidden;
}
