/* ===== VARIABLES ===== */
:root {
    --primary-color: #c19a6b;
    --primary-dark: #a07d52;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.bg-light {
    background-color: var(--bg-light);
}

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* ===== LOGO STYLES ===== */
.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* ===== NAVIGATION UPDATES ===== */
.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

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

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius-sm);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}

.dropdown-menu a::after {
    display: none;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 2px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== ROTATING FAN ANIMATION ===== */
.rotating-fan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: conic-gradient(from 0deg, transparent, rgba(193, 154, 107, 0.1), transparent, rgba(193, 154, 107, 0.1), transparent);
    border-radius: 50%;
    animation: rotateFan 10s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotateFan {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 10s infinite alternate;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.slide-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 1px;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 2px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary-color);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

@media (min-width: 768px) {
    .slider-arrow.prev {
        left: 20px;
    }
    
    .slider-arrow.next {
        right: 20px;
    }
}

@media (min-width: 1024px) {
    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .slider-arrow.prev {
        left: 30px;
    }
    
    .slider-arrow.next {
        right: 30px;
    }
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

/* ===== SCROLL ANIMATIONS - SLOWER ===== */
.scroll-animate {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.left {
    transform: translateX(-50px);
}

.scroll-animate.right {
    transform: translateX(50px);
}

.scroll-animate.fade-in {
    transform: translateY(30px);
}

.scroll-animate.slide-up {
    transform: translateY(50px);
}

.scroll-animate.top {
    transform: translateY(-50px);
}

.scroll-animate.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ===== ABOUT PREVIEW SECTION ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* ===== WIPING EFFECT ===== */
.wiping-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: wipe 3s infinite;
    z-index: 2;
}

.wiping-effect-light {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 154, 107, 0.2), transparent);
    animation: wipe 3s infinite;
    z-index: 2;
}

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

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.content-container h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none; /* ensure normal case */
}

.feature-item i {
    color: var(--primary-color);
}

/* ===== SERVICES SECTION UPDATES ===== */
.services {
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
}

.services .section-tag,
.services h2 {
    color: white;
}

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

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.services .service-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px 20px 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 30px;
    color: white;
    transition: var(--transition);
}

/* ===== BOUNCING ICONS ===== */
.bouncing {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card:hover .card-icon {
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--primary-color);
}

.service-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 15px;
    flex-grow: 1;
    text-align: left;
}

.card-link {
    color: white;
    text-decoration: none;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 30px;
    width: fit-content;
    margin: 0 auto;
}

.card-link:hover {
    gap: 10px;
    background: var(--primary-color);
}

/* ===== FEATURED LISTINGS ===== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.listing-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
}

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

.listing-image-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.slider-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.slider-images img.active {
    opacity: 1;
    z-index: 1;
}

.listing-card:hover .slider-images img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
}

.badge.hot {
    background: #e74c3c;
}

.listing-details {
    padding: 25px;
}

.listing-details h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.plot-size,
.price,
.payment {
    margin-bottom: 10px;
    color: var(--text-light);
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.view-all-container {
    text-align: center;
}

/* ===== WHY CHOOSE US CARD ANIMATION ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    animation: cardGlow 3s infinite;
}

@keyframes cardGlow {
    0% {
        box-shadow: 0 5px 20px rgba(193, 154, 107, 0.2);
    }
    50% {
        box-shadow: 0 10px 30px rgba(193, 154, 107, 0.5);
    }
    100% {
        box-shadow: 0 5px 20px rgba(193, 154, 107, 0.2);
    }
}

.benefit-card:hover {
    transform: translateY(-5px);
    animation: none;
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 40px;
    margin: 0 auto 15px auto;
    color: var(--primary-color);
    width: fit-content;
}

.benefit-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== COUNTER SECTION ===== */
.counter-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1973&q=80');
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.counter-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.counter-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-title {
    font-size: 18px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ===== PAYMENT CARDS NEW UI ===== */
.payment-plans .split-layout {
    align-items: center;
}

.payment-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.payment-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid #eee;
    width: 100%;
}

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

.payment-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
    z-index: 2;
}

.payment-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}

.payment-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(193, 154, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 28px;
    color: var(--primary-color);
}

.payment-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.payment-discount {
    color: #27ae60;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.payment-deposit {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.payment-features {
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}

.payment-features li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-features li i {
    color: var(--primary-color);
    font-size: 14px;
}

.payment-cta {
    text-align: center;
    margin-top: 20px;
}

.payment-image .image-wrapper {
    height: 450px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 40px;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow.prev {
    left: 0;
}

.testimonial-arrow.next {
    right: 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    align-items: center;
}

.testimonial-card {
    flex: 0 0 100%;
    margin-right: 0;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.8);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: var(--shadow-hover);
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
        margin-right: 20px;
    }
}

@media (max-width: 1023px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

.client-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary-color);
    background: rgba(193, 154, 107, 0.1);
}

.client-rating {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.client-name {
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.client-location {
    color: var(--text-lighter);
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--text-lighter);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== FAQ SECTION ===== */
.faq-preview .split-layout {
    align-items: center;
}

.image-wrapper.no-bg {
    background: transparent;
}

.bouncing-image {
    animation: bounce 3s infinite;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
}

.faq-preview-grid {
    width: 100%;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(193, 154, 107, 0.05);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.faq-toggle {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item .faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1973&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-whatsapp {
    padding: 12px 25px;
    font-size: 14px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
}

/* ===== CTA WHATSAPP BUTTON ===== */
.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid #25d366;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25d366;
}

/* ===== PARTNERS SECTION ===== */
.logo-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.logo-slide {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.logo-slide.active {
    display: grid;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.logo-item {
    text-align: center;
    padding: 20px;
}

.logo-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.logo-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.logo-prev,
.logo-next {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-prev:hover,
.logo-next:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.logo-dots {
    display: flex;
    gap: 10px;
}

.logo-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--text-lighter);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.logo-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--text-dark);
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: none; /* added for normal case */
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-transform: none; /* ensure normal */
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    z-index: 999;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

.tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
}

.modal.active {
    display: block;
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: var(--border-radius);
    padding: 40px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px 0;
}

.modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ===== BOOKING FORM STYLES ===== */
.booking-form {
    padding: 20px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    text-transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.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(193, 154, 107, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.other-lands-note {
    background: rgba(193, 154, 107, 0.1);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--text-dark);
    border-left: 3px solid var(--primary-color);
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    position: relative;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-loader i {
    font-size: 18px;
}

/* Payment Modal Styles */
.payment-option {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

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

.highlight {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 10px;
}

.payment-option ul {
    list-style: none;
}

.payment-option ul li {
    margin-bottom: 8px;
}

.payment-option ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.payment-calculator {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
}

.calculator-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.calculator-row label {
    min-width: 120px;
    font-weight: 600;
}

.calculator-row input[type="number"],
.calculator-row select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
}

.calculator-row input[type="range"] {
    flex: 1;
}

.calculator-result {
    margin-top: 20px;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
}

.calculator-result p {
    margin: 5px 0;
}

/* Property Modal */
.property-modal .modal-content {
    max-width: 900px;
}

.property-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.property-image-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-indicators .indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.other-lands-info {
    background: rgba(193, 154, 107, 0.1);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin-top: 20px;
    border-left: 4px solid var(--primary-color);
}

.other-lands-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.other-lands-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* Service Modal */
.service-modal-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-modal-info {
    padding: 30px;
}

.service-modal-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-modal-info ul {
    list-style: none;
    margin-top: 15px;
}

.service-modal-info ul li {
    margin-bottom: 8px;
}

.service-modal-info ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* FAQ Modal */
.faq-category {
    margin-bottom: 30px;
}

.faq-category h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .payment-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .nav-menu a {
        font-size: 18px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .cta-button {
        display: none;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .counter-item {
        padding: 20px;
    }
    
    .counter-number {
        font-size: 36px;
    }
    
    .counter-title {
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 24px;
        white-space: normal;
    }
    
    .rotating-fan {
        width: 400px;
        height: 400px;
    }
    
    .testimonial-arrow.prev,
    .testimonial-arrow.next {
        width: 30px;
        height: 30px;
    }
    
    .logo-slide.active {
        grid-template-columns: repeat(4, 1fr); /* keep 4 columns */
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .logo-item img {
        max-width: 100px;
    }
    
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .property-modal-content {
        grid-template-columns: 1fr;
    }
    
    .payment-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-card.featured {
        transform: scale(1);
    }
    
    .payment-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .payment-image .image-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .counter-item {
        padding: 15px;
    }
    
    .counter-number {
        font-size: 28px;
    }
    
    .counter-icon {
        font-size: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .content-container h2 {
        font-size: 28px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-tag {
        font-size: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-whatsapp {
        width: 100%;
        text-align: center;
    }
}

/* Additional fixes for partner logos single row */
@media (max-width: 768px) {
    .logo-slide.active {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 5px;
        justify-content: space-between;
    }
    .logo-item {
        padding: 5px;
    }
    .logo-item img {
        max-width: 70px;
    }
}

/* ===== CTA SECTION BUTTONS - OVERRIDE ===== */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.cta-buttons .btn-primary,
.cta-buttons .btn-whatsapp {
    padding: 10px 20px; /* Reduced from 12px 25px */
    font-size: 13px; /* Reduced from 14px */
    min-width: 120px; /* Set minimum width for consistency */
    width: auto; /* Allow buttons to size based on content */
    max-width: 160px; /* Maximum width to keep them compact */
    text-align: center;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* For mobile screens, keep them on the same row but smaller */
@media (max-width: 768px) {
    .cta-buttons {
        gap: 10px;
        flex-wrap: nowrap;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-whatsapp {
        padding: 8px 12px; /* Even smaller padding on mobile */
        font-size: 11px; /* Smaller font on mobile */
        min-width: 100px; /* Smaller minimum width */
        max-width: 140px; /* Smaller maximum width */
        letter-spacing: 0.5px; /* Reduced letter spacing */
    }
}

/* For very small screens (under 400px) */
@media (max-width: 400px) {
    .cta-buttons .btn-primary,
    .cta-buttons .btn-whatsapp {
        padding: 6px 10px;
        font-size: 10px;
        min-width: 80px;
    }
}

/* Remove any conflicting styles that might cause wrapping */
.cta-section .cta-content .cta-buttons {
    flex-direction: row !important; /* Force row direction */
}

/* ===== List Property Section ===== */
.list-property-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.list-property-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(193, 154, 107, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.list-property-section .container {
    position: relative;
    z-index: 2;
}

.list-property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

/* Benefits Card */
.benefits-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(193, 154, 107, 0.1);
}

.benefits-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(193, 154, 107, 0.15);
}

.benefits-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.benefits-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.benefits-list {
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.benefit-icon-small {
    width: 50px;
    height: 50px;
    background: rgba(193, 154, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.benefit-item:hover .benefit-icon-small {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.benefit-text h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.benefit-text p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mini Testimonial */
.testimonial-mini {
    background: rgba(193, 154, 107, 0.05);
    padding: 25px;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-color);
    margin-top: 20px;
}

.testimonial-mini i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.testimonial-mini p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.7;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* CTA Card */
.list-property-cta {
    height: 100%;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 50px 40px;
    border-radius: var(--border-radius);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(193, 154, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '🏠';
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.cta-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 40px;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.property-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.type-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.type-tag i {
    font-size: 0.8rem;
}

.btn-large {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    background: white;
    color: var(--primary-color);
    border: none;
    margin-bottom: 15px;
}

.btn-large:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

.small-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.trust-badges {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-badges i {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .list-property-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-card {
        padding: 40px 30px;
    }
    
    .cta-card h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .benefits-card {
        padding: 30px 25px;
    }
    
    .benefits-card h3 {
        font-size: 1.5rem;
    }
    
    .benefit-item {
        gap: 15px;
    }
    
    .benefit-icon-small {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .benefit-text h4 {
        font-size: 1.1rem;
    }
    
    .cta-card {
        padding: 30px 25px;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .trust-badges {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .benefit-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .benefit-icon-small {
        margin: 0 auto;
    }
    
    .property-types {
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ===== List Property Modal Additional Styles ===== */
#listPropertyModal .modal-content {
    max-width: 800px;
}

#listPropertyModal .form-section-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

#listPropertyModal .form-section-title:first-of-type {
    margin-top: 5px;
}

#listPropertyModal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

#listPropertyModal .form-group.full-width {
    grid-column: 1 / -1;
}

#listPropertyModal .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

#listPropertyModal .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

#listPropertyModal .form-footer-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-lighter);
    margin-top: 20px;
    font-style: italic;
}

#listPropertyModal input.error,
#listPropertyModal select.error,
#listPropertyModal textarea.error {
    border-color: #e74c3c !important;
    background: #fef2f2;
}

/* Responsive */
@media (max-width: 768px) {
    #listPropertyModal .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ===== Updated Payment Calculator Styles ===== */
.payment-calculator {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.payment-calculator h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.calculator-info {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.fixed-downpayment {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    border: 1px solid #e5e7eb;
}

.fixed-downpayment span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.badge-fixed {
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.calculator-result {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 20px 0 10px;
    box-shadow: var(--shadow);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item.highlight {
    background: rgba(193, 154, 107, 0.1);
    margin: 10px -20px;
    padding: 15px 20px;
    border-bottom: none;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.result-item.total {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    padding-top: 15px;
}

.result-label {
    color: var(--text-light);
}

.result-value {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.result-item.highlight .result-value {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.calculator-note {
    font-size: 0.85rem;
    color: var(--text-lighter);
    font-style: italic;
    margin-top: 15px;
    text-align: center;
}

/* Update payment cards */
.payment-deposit {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    background: rgba(193, 154, 107, 0.1);
    padding: 5px 10px;
    border-radius: 30px;
    display: inline-block;
}

.payment-card.featured .popular-badge {
    background: var(--primary-color);
}


/* ===== Payment Modal Interest Styles ===== */
.interest-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.interest-badge.interest-free {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.interest-badge.has-interest {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffb74d;
}

.interest-indicator {
    background: #fff3e0;
    color: #e65100;
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    margin: 15px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #e65100;
}

.interest-indicator i {
    font-size: 1.2rem;
}

#interestRow, #totalBalanceRow {
    background: #fff3e0;
    margin: 5px -20px;
    padding: 8px 20px;
}

#interestRow .result-value,
#totalBalanceRow .result-value {
    color: #e65100;
    font-weight: 600;
}

/* Update payment card for 6-month plan if needed */
.payment-option:last-child .payment-features li i {
    color: #e65100;
}

/* ===== Updated Payment Plans Section ===== */
.payment-highlight {
    display: flex;
    gap: 20px;
    margin: 25px 0 20px;
    padding: 15px 20px;
    background: rgba(193, 154, 107, 0.05);
    border-radius: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.highlight-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2c3e50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.payment-card {
    position: relative;
    overflow: visible;
}

.payment-card .payment-features li {
    font-size: 0.9rem;
}

.payment-card .payment-features li i {
    font-size: 0.9rem;
}

/* Update payment card hover effects */
.payment-card:hover .plan-badge {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .payment-highlight {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        border-radius: 20px;
        padding: 15px;
    }
    
    .highlight-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .payment-highlight {
        padding: 12px;
    }
}