html {
    scroll-behavior: smooth;
}

:root {
    /* Colors from Blueprint */
    --primary-color: #0A3D2F;
    /* Deep Green */
    --accent-color: #D4AF87;
    /* Gold */
    --bg-color: #F8F4EF;
    /* Light Beige */
    --text-primary: #222222;
    --text-secondary: #555555;
    --white: #FFFFFF;
    --gray-light: #E0E0E0;
    --success: #28a745;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Shadows & Effects */
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(10, 61, 47, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Container Width */
    --container-max: 1400px;
    --section-padding: 120px;
}

/* Global Form Styling Refined */
input,
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-color);
    background-color: #fdfdfd;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 135, 0.15) !important;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a3d2f'%3E%3Cpath d='M12 16L6 10H18L12 16Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.premium-font {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 92%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Feedback */
.btn .ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 135, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 135, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 135, 0);
    }
}

@keyframes ctaPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease backwards;
}

/* Enhanced Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(212, 175, 135, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--accent-color);
}

.btn-outline:hover {
    background: rgba(212, 175, 135, 0.08);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 135, 0.2);
}

/* Sliding Arrow Interaction */
.btn i:last-child {
    transition: transform 0.3s ease;
}

.btn:hover i:last-child {
    transform: translateX(5px);
}

.btn-premium-cta {
    background: var(--accent-color);
    color: var(--white) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 135, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium-cta:hover {
    background: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 135, 0.4);
}

/* Section Header Refinement */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
    position: relative;
    padding-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 15px;
    position: relative;
    letter-spacing: -0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 10px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 650px;
    margin: 30px auto 0;
    opacity: 0.9;
}

/* Horizontal Timeline Styling */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 25%;
    flex: 1;
}

.timeline-point {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 15px rgba(212, 175, 135, 0.4);
    margin-bottom: 25px;
}

.timeline-content {
    width: 100%;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 135, 0.1);
    text-align: center;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.timeline-content i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 12px;
    display: block;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Responsive Timeline */
@media (max-width: 992px) {
    .timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline::before {
        width: 2px;
        height: 100%;
        left: 22px;
        top: 0;
        background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
    }

    .timeline-item {
        flex-direction: row;
        width: 100%;
        align-items: flex-start;
        gap: 30px;
    }

    .timeline-point {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .timeline-content {
        text-align: left;
    }
}

/* Modern Testimonials */
.testimonials {
    background: #fdfaf7;
    position: relative;
}

.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    flex: 1;
}

.testimonial-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 50px;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-premium);
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 10px;
}

.test-img-box {
    position: relative;
    flex-shrink: 0;
}

.test-img {
    width: 140px;
    height: 140px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.test-img-box i {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(212, 175, 135, 0.4);
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 15px rgba(10, 61, 47, 0.2);
}

.test-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.test-author h4 {
    margin-bottom: 2px;
}

.test-author p {
    font-size: 0.85rem;
    color: var(--accent-color);
}

/* Premium CTA Banner */
.cta-banner {
    background: linear-gradient(rgba(10, 61, 47, 0.9), rgba(10, 61, 47, 0.9)),
        url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    border-radius: 30px;
    margin: 80px auto;
    width: 90%;
    max-width: var(--container-max);
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Card Interactions */
.project-card,
.trust-card,
.testimonial-card {
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.trust-card:hover {
    transform: scale(1.05);
    background: rgba(212, 175, 135, 0.05);
}

.step-card:hover .step-number {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Input Focus Effects */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 135, 0.2);
    outline: none;
}

/* Navbar Link Interactions */
.nav-links a::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-smooth);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
    bottom: -5px;
}

.badge-verified {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-gold 2s infinite;
}

.text-green {
    color: var(--primary-color);
}

/* Header & Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    box-shadow: var(--shadow-premium);
    backdrop-filter: none;
    border-bottom: 1px solid var(--gray-light);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.main-header.scrolled .nav-links {
    background: transparent;
    border: 1px solid transparent;
    backdrop-filter: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-header.scrolled .nav-links a {
    color: var(--primary-color) !important;
    /* Force visibility in scrolled state */
}

.logo a .logo-name {
    color: var(--white);
    transition: color 0.3s ease;
}

/* Standardized Logo Colors */
.logo-name,
.logo span:first-child {
    color: var(--primary-color);
}

.logo-suffix,
.logo span:last-child {
    color: var(--accent-color);
}

.main-header.scrolled .logo-name,
.main-header.scrolled .logo span:first-child {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User Profile Dropdown */
.user-profile-dropdown {
    position: relative;
    user-select: none;
}

.user-info-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 40px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.user-info-trigger:hover {
    background: rgba(212, 175, 135, 0.1);
    border-color: rgba(212, 175, 135, 0.2);
}

.user-avatar-circle {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color), #145e4a);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(10, 61, 47, 0.2);
    border: 2px solid var(--accent-color);
}

.user-welcome-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.welcome-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info-trigger i {
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.user-profile-dropdown.active .user-info-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 220px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(10, 61, 47, 0.05);
}

.user-profile-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-primary);
    font-size: 0.9rem;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 135, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-menu i {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.dropdown-menu hr {
    margin: 8px 10px;
    border: none;
    border-top: 1px solid var(--gray-light);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer h3,
.footer h4 {
    margin-bottom: 25px;
    color: var(--accent-color);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--accent-color);
}

.footer-rera {
    background: rgba(212, 175, 135, 0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 61, 47, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Mega Search Bar */
.mega-search {
    background: var(--white);
    padding: 10px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 25px;
    border-right: 1px solid var(--gray-light);
}

.search-box:last-of-type {
    border-right: none;
}

.search-box i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.search-box input,
.search-box select {
    border: none;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-color);
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.search-box select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a3d2f'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 18px;
    padding-right: 20px;
}

.mega-search:focus-within {
    box-shadow: 0 15px 40px rgba(10, 61, 47, 0.15);
    background: #f8fcfb;
}

.search-btn {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Trust Bar */
.trust-bar {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid rgba(10, 61, 47, 0.05);
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 250px;
    padding: 25px;
    border-radius: 20px;
    background: var(--bg-color);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
    border-color: var(--accent-color);
}

.trust-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    background: rgba(212, 175, 135, 0.1);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.trust-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-weight: 600;
}

.trust-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Navbar */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1000;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .mega-search {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
    }

    .search-box {
        border-right: none;
        border-bottom: 1px solid var(--gray-light);
        padding: 15px 0;
        width: 100%;
    }

    .search-btn {
        width: 100%;
        margin-top: 20px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Properties Page Layout */
.properties-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Filters Refined */
.sidebar-filters {
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow-premium);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(10, 61, 47, 0.05);
}

.filter-group {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.filter-group h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--white);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a3d2f'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(212, 175, 135, 0.1);
    outline: none;
}

/* Premium Checkbox Styling */
.check-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-primary);
    user-select: none;
    transition: var(--transition-smooth);
}

.check-container:hover {
    color: var(--accent-color);
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #e0e0e0;
    border-radius: 6px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.check-container input:checked~.checkmark {
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(10, 61, 47, 0.2);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.check-container:hover input~.checkmark {
    background-color: #ccc;
}

.check-container input:checked~.checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-container input:checked~.checkmark:after {
    display: block;
}

.check-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Toolbar */
.properties-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
}

.w-100 {
    width: 100%;
}

/* Property Detail Page */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin-top: 40px;
}

.gallery-container {
    background: var(--white);
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

.main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.thumbnails img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.thumbnails img.active,
.thumbnails img:hover {
    opacity: 1;
    border: 2px solid var(--accent-color);
}

.property-info-header {
    margin: 40px 0;
}

.property-info-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: var(--shadow-premium);
}

.spec-item {
    text-align: center;
}

.spec-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.spec-item p {
    font-size: 0.8rem;
    opacity: 0.6;
}

.spec-item h5 {
    font-size: 1rem;
    color: var(--primary-color);
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    height: fit-content;
}

.sidebar-price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.sidebar-form input,
.sidebar-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
}

/* Multi-step Form Enhancements */
.sell-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.step-title i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.step-title h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.step-desc {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background-color: #fcfcfc;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(212, 175, 135, 0.1);
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 0.85rem;
}

.btns-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-step {
    display: none;
    animation: slideIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.progress-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.progress-bar::before,
.progress {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background: var(--gray-light);
    z-index: 1;
}

.progress {
    background: var(--primary-color);
    width: 0%;
    transition: 0.3s;
    z-index: 2;
}

.progress-step {
    width: 35px;
    height: 35px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    font-weight: 600;
    position: relative;
}

.progress-step.active {
    background: var(--primary-color);
    color: var(--white);
}


.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.upload-box {
    border: 2px dashed var(--accent-color);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 30px;
    background: rgba(212, 175, 135, 0.05);
}

.upload-box i {
    font-size: 3rem;
    color: var(--accent-color);
}

.btns-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-hover);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .properties-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-filters {
        position: relative;
        top: 0;
    }
}

/* Section Headers */
.section-padding {
    padding: 120px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(even) {
    background-color: var(--white);
}

section:nth-of-type(odd) {
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-primary);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Projects Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-img {
    position: relative;
    height: 250px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-verified {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--success);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-info p i {
    color: var(--accent-color);
    margin-right: 5px;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Why Choose Us Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.reason-list {
    margin-top: 40px;
}

.reason-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.reason-item i {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 135, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.reason-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.reason-item p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Tablet & Mobile Grid Fixes */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cta-btns {
        flex-direction: column;
    }
}

/* Testimonial Slider Controls */
.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-slider {
    flex: 1;
    overflow: hidden;
    padding: 10px 0;
    /* Reduced to avoid extra space */
}

.testimonial-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    /* Ensures 100% translation is pixel-perfect */
    width: 100%;
}

/* Premium Testimonial Card */
.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(212, 175, 135, 0.2);
    position: relative;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(212, 175, 135, 0.15);
    border-color: var(--accent-color);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-color);
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

/* Remove rainbow colors */
.testimonial-card:nth-child(4n+1)::after,
.testimonial-card:nth-child(4n+2)::after,
.testimonial-card:nth-child(4n+3)::after,
.testimonial-card:nth-child(4n+4)::after {
    background: var(--accent-color);
}

.test-img-box {
    position: relative;
    flex-shrink: 0;
}

.test-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 10px 10px 0 rgba(212, 175, 133, 0.1);
}

.test-img-box i {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(212, 175, 133, 0.4);
}

.test-content {
    flex: 1;
    /* Essential for text wrapping */
    min-width: 0;
    /* Prevents flex items from overflowing */
}

.test-quote {
    font-size: 1.15rem;
    /* Slightly smaller for better fit */
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
    /* Slightly tighter for better fit */
    word-wrap: break-word;
    /* Ensures long words don't overflow */
    display: block;
    /* Ensure it stays in block flow */
}

.test-author h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.test-author p {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #eee;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--primary-color);
}

/* Sell Page Premium Form */
.sell-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    margin-top: 40px;
    border: 1px solid rgba(10, 61, 47, 0.05);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    z-index: 1;
    position: relative;
    transition: var(--transition-smooth);
    color: #999;
}

.progress-step.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(10, 61, 47, 0.3);
}

.progress-step::before {
    content: attr(data-title);
    position: absolute;
    top: 45px;
    left: 50%;
    margin-left: -50px;
    width: 100px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.progress-step.active::before {
    color: var(--primary-color);
    font-weight: 600;
}

.progress {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: 100%;
    background-color: #eee;
    z-index: 0;
}

.step-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f8f8f8;
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 135, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.step-header-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.step-header-text p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0.6;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    opacity: 0.6;
}

.btns-group .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    font-weight: 600;
}

.upload-box {
    border: 2px dashed #ddd;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    background: #fafafa;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.upload-box:hover {
    border-color: var(--accent-color);
    background: rgba(212, 175, 135, 0.05);
}

.upload-box i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* About Page Refinement */
.about-img-stack {
    position: relative;
    padding-right: 40px;
}

.main-about-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 0 rgba(10, 61, 47, 0.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 0;
    background: var(--primary-color);
    padding: 30px;
    border-radius: 20px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.experience-badge span {
    font-size: 2.5rem;
    display: block;
    color: var(--accent-color);
    line-height: 1;
}

.experience-badge p {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 25px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(10, 61, 47, 0.02);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.value-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Contact Page Elite Styling */
.contact-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.support-card {
    background: var(--white);
    padding: 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-premium);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(10, 61, 47, 0.05);
    text-decoration: none;
    color: inherit;
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 135, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition-smooth);
}

.support-card:hover .card-icon {
    background: var(--accent-color);
    color: var(--white);
}

.support-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.support-card p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.action-text {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.form-elite-card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map-placeholder {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.location-popup {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.location-popup::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--white);
}

/* =========================================
   Property Detail Page Styles (Restored)
   ========================================= */
.property-detail-page {
    background-color: var(--bg-color);
    padding-top: 120px;
    /* Offset for fixed header */
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.gallery-section {
    background: var(--white);
    padding: 20px;
    border-radius: 25px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 40px;
}

.main-gallery {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    background: #000;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnails img {
    width: 100px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.thumbnails img:hover,
.thumbnails img.active {
    border-color: var(--accent-color);
    opacity: 1;
    transform: scale(1.05);
}

.property-essential-info {
    margin-bottom: 40px;
}

.detail-badge {
    display: inline-block;
    background: rgba(212, 175, 135, 0.1);
    color: var(--accent-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 135, 0.2);
}

.property-essential-info h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.location-tag {
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.quick-pricing {
    background: var(--white);
    padding: 25px 35px;
    border-radius: 20px;
    display: inline-flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
    border-left: 5px solid var(--accent-color);
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.main-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.specs-section {
    margin-top: 50px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 10px;
}

.specs-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-tile {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(10, 61, 47, 0.02);
}

.spec-tile:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.spec-tile i {
    width: 55px;
    height: 55px;
    background: rgba(10, 61, 47, 0.05);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.spec-data span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.spec-data strong {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.description-box,
.amenities-box {
    margin-top: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-premium);
}

.long-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.amenities-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.amenity-badge {
    background: var(--bg-color);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.amenity-badge i {
    color: var(--accent-color);
}

/* Property Sidebar */
.property-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    padding: 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-hover);
    margin-bottom: 30px;
    border: 1px solid rgba(10, 61, 47, 0.05);
}

.contact-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.enquiry-form .input-wrap {
    position: relative;
    margin-bottom: 15px;
}

.enquiry-form .input-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    opacity: 0.7;
}

.enquiry-form input {
    padding-left: 50px;
}

.direct-actions {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white) !important;
}

.rera-card {
    text-align: center;
    background: linear-gradient(to bottom, var(--white), var(--bg-color));
}


@media (max-width: 992px) {

    .contact-support-grid,
    .value-grid,
    .stats-row,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
        margin-top: 40px;
    }

    .main-gallery {
        height: 400px;
    }
}

@media (max-width: 768px) {

    /* Global Layout Fixes */
    .container {
        width: 90%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Trust Bar Stacking */
    .trust-container {
        flex-direction: column;
        gap: 20px;
    }

    .trust-card {
        width: 100%;
        justify-content: flex-start;
    }

    /* Projects Grid Stacking */
    .properties-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Typography Scaling */
    html {
        font-size: 14px;
    }

    h1,
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Layout Stacking */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-about p,
    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .specs-row {
        grid-template-columns: 1fr;
    }

    .amenities-badge-grid {
        grid-template-columns: 1fr;
        /* Force 1 column for badges on mobile */
    }

    /* Icon Sizing Fixes */
    i {
        max-width: 100%;
    }

    .reason-item i,
    .trust-card i,
    .timeline-content i {
        font-size: 1.8rem;
        /* Cap icon size */
    }

    /* Component Adjustments */
    .hero-search {
        flex-direction: column;
        padding: 15px;
        height: auto;
    }

    .search-box {
        width: 100%;
        margin-bottom: 10px;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    /* Why Choose Us Image */
    .why-image {
        display: none;
        /* Hide image on mobile to focus on content */
    }

    /* Progress Bar for Mobile */
    .progress-bar {
        margin-bottom: 40px;
    }

    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .progress-step::before {
        font-size: 0.7rem;
        top: 35px;
    }
}

@media (max-width: 480px) {
    .main-gallery {
        height: 250px;
    }

    .property-essential-info h1 {
        font-size: 1.6rem;
    }

    .thumbnails img {
        width: 60px;
        height: 40px;
    }

    .btns-group {
        flex-direction: column;
    }

    .btns-group .btn {
        width: 100%;
    }
}

/* =========================================
   Auth Pages (Login / Signup)
   ========================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    padding: 20px;
}

.auth-container {
    display: flex;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    max-width: 1100px;
    width: 100%;
    min-height: 650px;
    position: relative;
}

/* Left Side Image */
.auth-image {
    width: 50%;
    background: url('https://images.unsplash.com/photo-1600596542815-abcad30bc853?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: var(--white);
}

.auth-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 61, 47, 0.3), rgba(10, 61, 47, 0.9));
}

.auth-image-content {
    position: relative;
    z-index: 10;
}

.auth-image-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.auth-image-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Right Side Form */
.auth-form-container {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.auth-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.auth-header p {
    color: var(--text-secondary);
}

/* Form Styling */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.auth-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
    font-size: 1.05rem;
    padding: 14px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0.8;
}

.input-group input {
    padding-left: 50px;
    height: 55px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.input-group input:focus {
    background: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(212, 175, 135, 0.15);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
}

.remember-me input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    margin: 0;
    /* Reset generic input styles */
    padding: 0;
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
}

.forgot-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.forgot-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.auth-footer a:hover {
    color: var(--accent-color);
}

/* Responsive Auth */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
    }

    .auth-image {
        width: 100%;
        height: 250px;
        padding: 30px;
    }

    .auth-form-container {
        width: 100%;
        padding: 40px 30px;
    }

    .auth-image-content h2 {
        font-size: 1.8rem;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    border-left: 4px solid var(--accent-color);
    animation: slideInRight 0.3s ease forwards;
    position: relative;
    overflow: hidden;
}

.toast i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.toast-success {
    border-left-color: #00c851;
    background: #f0fff4;
}

.toast-success i {
    color: #00c851;
}

.toast-error {
    border-left-color: #ff4444;
    background: #fff5f5;
}

.toast-error i {
    color: #ff4444;
}

.toast-warning {
    border-left-color: #ffbb33;
    background: #fffaf0;
}

.toast-warning i {
    color: #ffbb33;
}

.toast.fade-out {
    animation: slideOutRight 0.5s ease forwards;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    width: 100%;
    animation: toastProgress 3s linear forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 135, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Custom Modern Modals */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 47, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.custom-modal-card {
    background: var(--white);
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
    border: 1px solid rgba(212, 175, 135, 0.2);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.modal-icon.warning {
    background: #fff8f0;
    color: #f39c12;
}

.modal-icon.info {
    background: #f0f7ff;
    color: #3498db;
}

.custom-modal-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.custom-modal-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-body);
}

.modal-btn.cancel {
    background: #f5f5f5;
    color: var(--text-primary);
}

.modal-btn.confirm {
    background: var(--primary-color);
    color: var(--white);
}

.modal-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.custom-modal-overlay.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Sell Property Page Enhancements */
.image-previews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #eee;
    transition: var(--transition-smooth);
}

.preview-item.main {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(212, 175, 135, 0.3);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .main-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: none;
    z-index: 5;
}

.preview-item.main .main-badge {
    display: block;
}

.preview-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 10px;
    display: flex;
    justify-content: space-around;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-item:hover .preview-actions {
    opacity: 1;
}

.preview-btn {
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.preview-btn:hover {
    transform: scale(1.1);
}

.preview-btn.set-main {
    color: var(--primary-color);
}

.preview-btn.remove {
    color: #ff4444;
}

.preview-item.main .preview-btn.set-main {
    background: var(--accent-color);
    color: var(--primary-color);
}

.upload-box {
    border: 2px dashed rgba(212, 175, 135, 0.4);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.upload-box:hover {
    border-color: var(--accent-color);
    background: rgba(212, 175, 135, 0.05);
}

.upload-box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Step Validation Feedback */
.form-step input:invalid,
.form-step select:invalid {
    border-color: #ff4444 !important;
}

.text-gold {
    color: var(--accent-color) !important;
}