/* ===========================================
   RESET & BASE STYLES
=========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors from Logo */
    --primary-color: #FF6B35; /* Vibrant Orange from "ACCESS A" */
    --primary-dark: #E55A2B; /* Darker orange for hover */
    --secondary-color: #1A3A5F; /* Navy Blue from "PROPERTIES LIMITED" */
    --accent-color: #2ECA6A; /* Keep green as accent for CTAs */
    --accent-blue: #2D5F8B; /* Lighter blue for accents */
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #F8F9FA;
    --bg-dark: #1A3A5F; /* Navy blue for dark sections */
    --bg-gray: #2C3E50;
    --bg-gray-light: #34495E;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Updated gradients */
    --gradient: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%); /* Orange gradient */
    --gradient-blue: linear-gradient(135deg, #1A3A5F 0%, #2D5F8B 100%); /* Blue gradient */
    --gradient-mixed: linear-gradient(135deg, #FF6B35 0%, #1A3A5F 100%); /* Orange to Blue */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% {
        width: 80px;
    }
    50% {
        width: 100px;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.text-center {
    text-align: center;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced Floating Animation */
.animate-float {
    animation: enhancedFloat 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes enhancedFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.05);
    }
    75% { 
        transform: translateY(10px) rotate(-5deg) scale(0.95);
    }
}

/* ===========================================
   ENHANCED NAVBAR STYLES
=========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    transition: var(--transition);
    margin-left: 20px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: rotate(-5deg);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-profile {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 300;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(46, 202, 106, 0.3);
}

.btn-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-profile:hover::before {
    left: 100%;
}

.btn-profile:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-color);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--primary-color);
}

/* ===========================================
   LISTINGS HERO SECTION
=========================================== */
.listings-hero {
    height: 500px;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.8)),
                url('/img/hero-section/slide-2.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        90deg,
        transparent,
        rgba(46, 202, 106, 0.2),
        rgba(255, 107, 53, 0.2),
        rgba(46, 202, 106, 0.2),
        transparent
    ); */
    animation: mirrorWipe 8s infinite linear;
    z-index: 3;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 107, 53, 0.2),
        rgba(46, 202, 106, 0.2),
        rgba(255, 107, 53, 0.2),
        transparent
    ); */
    animation: mirrorWipeReverse 8s infinite linear;
    animation-delay: 4s;
    z-index: 3;
}

@keyframes mirrorWipe {
    0% {
        left: -100%;
        opacity: 0.5;
    }
    50% {
        left: 0;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0.5;
    }
}

@keyframes mirrorWipeReverse {
    0% {
        right: -100%;
        opacity: 0.5;
    }
    50% {
        right: 0;
        opacity: 1;
    }
    100% {
        right: 100%;
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-container {
    animation: slideInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-title {
    margin-bottom: 30px;
    line-height: 1.1;
    perspective: 1000px;
}

.hero-title-line {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 15px 0;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.hero-title-animate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: textRotate 12s infinite;
}

.hero-title-animate:nth-child(1) {
    animation-delay: 0s;
}

.hero-title-animate:nth-child(2) {
    animation-delay: 4s;
}

.hero-title-animate:nth-child(3) {
    animation-delay: 8s;
}

@keyframes textRotate {
    0%, 33.33% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    36.33%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* Add this to your existing CSS */
.hero-title-animate {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
    margin: 15px 0 !important;
}

/* ===========================================
   LISTINGS FILTERS
=========================================== */
.listings-filters {
    margin-bottom: 50px;
    text-align: center;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: rgba(46, 202, 106, 0.1);
    border: 2px solid transparent;
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.3);
}

/* ===========================================
   ALL LISTINGS SECTION
=========================================== */
.all-listings-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.all-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.listing-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.listing-card:hover {
    transform: translateY(-20px) scale(1.05) rotateY(5deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.listing-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.listing-card:hover .listing-image img {
    transform: scale(1.15);
    filter: brightness(1);
}

.listing-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--gradient);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.4);
}

.gradient-wipe {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(46, 202, 106, 0.4) 50%, 
                transparent 100%);
    animation: wipeEffect 4s infinite;
    z-index: 2;
}

@keyframes wipeEffect {
    0% { left: -100%; }
    100% { left: 100%; }
}

.listing-actions {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.listing-card:hover .listing-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-view-details {
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-view-details:hover {
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(46, 202, 106, 0.4);
}

.listing-info {
    padding: 30px;
}

.listing-title {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.3;
    transition: var(--transition);
}

.listing-card:hover .listing-title {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.listing-location {
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.listing-specs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.listing-specs span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(46, 202, 106, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 60px;
    flex: 1;
}

.listing-card:hover .listing-specs span {
    background: rgba(46, 202, 106, 0.2);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.listing-specs i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.listing-card:hover .listing-specs i {
    transform: scale(1.2);
}

.listing-price {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 900;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.listing-card:hover .listing-price {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Contact and Advertise Sections */
.listings-contact-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.contact-content,
.advertise-section {
    background: linear-gradient(135deg, rgba(46, 202, 106, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(46, 202, 106, 0.2);
}

.contact-content h3,
.advertise-section h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-content p,
.advertise-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 45px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(46, 202, 106, 0.3);
}

.btn-contact:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 55px rgba(46, 202, 106, 0.4);
}

.btn-advertise {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 45px;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(29, 95, 139, 0.3);
}

.btn-advertise:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 55px rgba(29, 95, 139, 0.4);
}

/* ===========================================
   PROPERTY FEATURES SECTION
=========================================== */
.property-features {
    padding: 100px 0;
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(233, 236, 239, 0.9));
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(46, 202, 106, 0.1);
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(46, 202, 106, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 5px;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotateY(180deg);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 800;
    transition: var(--transition);
}

.feature-item:hover .feature-title {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.feature-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===========================================
   UPDATED FOOTER WITH GRAY COLOR SCHEME
=========================================== */
.footer {
    background: var(--bg-gray);
    color: white;
    position: relative;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo img:hover {
    transform: scale(1.1) rotate(-5deg);
}

.footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
}

.footer-about {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    background: var(--bg-gray-light);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: white;
}

/* ===========================================
   FIXED MODAL STYLES
=========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 25px;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid rgba(46, 202, 106, 0.2);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
    transform-origin: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
}

.modal-close:hover {
    color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 900;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Property Modal Styles */
.property-modal .modal-body {
    padding: 30px;
    max-width: 800px;
    width: 100%;
}

.property-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.property-modal-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 900;
}

.property-modal-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.property-modal-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(46, 202, 106, 0.1);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.property-modal-meta span:hover {
    background: rgba(46, 202, 106, 0.2);
    transform: translateY(-3px);
}

.property-modal-image {
    margin-bottom: 25px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.property-modal-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.property-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.property-description-section {
    margin-bottom: 25px;
}

.property-description-section h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.property-description-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.property-specs-section {
    margin-bottom: 25px;
}

.property-specs-section h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.specs-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(46, 202, 106, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(46, 202, 106, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.spec-item:hover {
    background: rgba(46, 202, 106, 0.1);
    transform: translateY(-5px);
}

.spec-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(46, 202, 106, 0.2);
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.spec-value {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 800;
}

.property-cta-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(46, 202, 106, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 20px;
    margin-top: 30px;
}

.price-display {
    margin-bottom: 20px;
}

.price-label {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.price-value {
    display: block;
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 900;
}

.property-modal-actions {
    display: flex;
    justify-content: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    min-width: 200px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Profile Modal Styles */
.profile-modal .modal-body {
    padding: 30px;
    max-width: 900px;
    width: 100%;
}

.pdf-viewer {
    width: 100%;
    height: 500px;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(46, 202, 106, 0.4);
}

/* ===========================================
   WHATSAPP FLOAT BUTTON
=========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    text-decoration: none;
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseWhatsapp 2s infinite;
    backdrop-filter: blur(10px);
    border: none;
}

@keyframes pulseWhatsapp {
    0%, 100% {
        box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 55px rgba(37, 211, 102, 0.6);
        transform: scale(1.1);
    }
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.15) rotateY(180deg);
    box-shadow: 0 25px 65px rgba(37, 211, 102, 0.5);
}

/* ===========================================
   RESPONSIVE DESIGN
=========================================== */
@media (max-width: 1200px) {
    .hero-title-line {
        font-size: 2.8rem;
    }
    
    .all-listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .listings-contact-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .specs-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title-line {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .all-listings-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .navbar.scrolled {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        align-items: flex-start;
        justify-content: flex-start;
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
        text-align: left;
    }
    
    .nav-item {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        text-align: left;
        border-radius: 10px;
        font-weight: 300;
        background: rgba(46, 202, 106, 0.05);
    }
    
    .nav-link:hover {
        background: rgba(46, 202, 106, 0.1);
        transform: translateX(10px);
    }
    
    .btn-profile {
        margin-top: 20px;
        align-self: flex-start;
    }
    
    .listings-hero {
        height: 400px;
        margin-top: 70px;
    }
    
    .hero-title-line {
        font-size: 1.8rem;
        letter-spacing: 2px;
        white-space: normal;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .listing-actions {
        opacity: 1;
        transform: translateY(0);
    }
    
    .listing-specs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .listing-specs span {
        min-width: 60px;
        padding: 6px 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 20px;
    }
    
    .feature-text {
        text-align: left;
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .listings-hero {
        height: 350px;
    }
    
    .hero-title-line {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 12px;
    }
    
    .btn-profile {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .property-modal-image img {
        height: 250px;
    }
    
    .price-value {
        font-size: 1.8rem;
    }
    
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        font-size: 0.75rem;
        padding: 10px 15px;
        min-width: auto;
    }
    
    .specs-grid-simple {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .spec-item {
        padding: 10px;
    }
    
    .spec-item i {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .spec-label {
        font-size: 0.7rem;
    }
    
    .spec-value {
        font-size: 1rem;
    }
    
    .listing-specs span {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
}

@media (max-width: 480px) {
    .listings-hero {
        height: 300px;
    }
    
    .hero-title-line {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .contact-content,
    .advertise-section {
        padding: 30px 15px;
    }
    
    .btn-contact,
    .btn-advertise {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}



/* ===========================================
   ENHANCED KEY FEATURES SECTION IN MODALS
=========================================== */
.service-modal-features {
    margin: 25px 0;
    list-style: none;
    padding: 0;
}

.service-modal-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(46, 202, 106, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(46, 202, 106, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-modal-features li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 202, 106, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-modal-features li:hover::before {
    left: 100%;
}

.service-modal-features li:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(46, 202, 106, 0.1);
}

.service-modal-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: rgba(46, 202, 106, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modal-features li:hover i {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) rotate(360deg);
}

.service-modal-features li span {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    transition: var(--transition);
}

.service-modal-features li:hover span {
    color: var(--secondary-color);
}

/* Animation for checklist items */
@keyframes fadeInCheck {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-modal-features li {
    animation: fadeInCheck 0.4s ease forwards;
    opacity: 0;
}

/* Staggered animation for each list item */
.service-modal-features li:nth-child(1) { animation-delay: 0.1s; }
.service-modal-features li:nth-child(2) { animation-delay: 0.2s; }
.service-modal-features li:nth-child(3) { animation-delay: 0.3s; }
.service-modal-features li:nth-child(4) { animation-delay: 0.4s; }
.service-modal-features li:nth-child(5) { animation-delay: 0.5s; }
.service-modal-features li:nth-child(6) { animation-delay: 0.6s; }
.service-modal-features li:nth-child(7) { animation-delay: 0.7s; }
.service-modal-features li:nth-child(8) { animation-delay: 0.8s; }

/* For multiple columns on larger screens */
@media (min-width: 768px) {
    .service-modal-features {
        columns: 2;
        column-gap: 30px;
    }
    
    .service-modal-features li {
        break-inside: avoid;
        margin-bottom: 15px;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .service-modal-features {
        columns: 1;
    }
    
    .service-modal-features li {
        padding: 12px 15px;
    }
    
    .service-modal-features li i {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .service-modal-features li span {
        font-size: 0.95rem;
    }
}


/* ===========================================
   PROPERTY LISTING MODAL STYLES
=========================================== */
.listing-modal .modal-body {
    padding: 30px;
    max-width: 700px;
    width: 100%;
}

.listing-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.listing-modal-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 900;
}

.listing-modal-subtitle {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: rgba(46, 202, 106, 0.1);
    border-radius: 3px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    width: 20%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 3px solid rgba(46, 202, 106, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.active {
    background: var(--gradient);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Form Steps */
.form-step {
    display: none;
    animation: slideInRight 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-header {
    margin-bottom: 30px;
    text-align: center;
}

.step-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-header p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(46, 202, 106, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 202, 106, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Hidden field for custom location */
.hidden {
    display: none;
}

#customLocation {
    margin-top: 10px;
}

/* Option Grid for Selection */
.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.option-item {
    padding: 20px 15px;
    border: 2px solid rgba(46, 202, 106, 0.1);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.option-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.1);
}

.option-item.active {
    background: var(--gradient);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.2);
}

.option-item.active i {
    color: white;
}

.option-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
    transition: var(--transition);
}

.option-item span {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

/* Price Input */
.price-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input .currency {
    background: var(--gradient);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 50px;
    text-align: center;
}

.price-input input {
    flex: 1;
}

.price-input select {
    width: 120px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(46, 202, 106, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-checkbox:hover {
    background: rgba(46, 202, 106, 0.1);
}

.feature-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.feature-checkbox label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

/* Review Summary */
.review-summary {
    background: linear-gradient(135deg, rgba(46, 202, 106, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(46, 202, 106, 0.1);
}

.review-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(46, 202, 106, 0.1);
}

.review-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: var(--secondary-color);
    min-width: 120px;
}

.review-value {
    color: var(--text-dark);
    flex: 1;
}

/* Consent Checkbox */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 5px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.consent-checkbox label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
}

/* Loading Container */
.loading-container {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(46, 202, 106, 0.05);
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid rgba(46, 202, 106, 0.1);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(46, 202, 106, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-light);
}

.loading-percentage {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Success Container */
.success-container {
    display: none;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(46, 202, 106, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid rgba(46, 202, 106, 0.2);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    animation: successBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-container h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.success-container p {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 1rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid rgba(46, 202, 106, 0.1);
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-prev {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-prev:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.btn-next {
    background: var(--gradient);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.3);
}

.btn-next:hover {
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(46, 202, 106, 0.4);
}

.btn-submit {
    background: #25D366;
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-submit:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Form Footer */
.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(46, 202, 106, 0.1);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-footer i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Responsive Design for Listing Modal */
@media (max-width: 768px) {
    .option-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
     
    .price-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-input .currency {
        width: 100%;
        order: -1;
    }
}

@media (max-width: 480px) {
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .listing-modal-title {
        font-size: 1.6rem;
    }
    
    .step-header h3 {
        font-size: 1.3rem;
    }
}