/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c9a961;
    --text-color: #333;
    --text-light: #666;
    --background: #ffffff;
    --background-light: #f8f8f8;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PP Fragment Glare', 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
}

.navbar::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(1200px, calc(100% - 80px));
    height: 1px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 1.25rem 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.9rem;
    margin: 0;
    font-family: 'PP Fragment Glare', 'Playfair Display', serif;
    color: white;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.35);
}

.logo .tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a,
.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-menu a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

.nav-dropdown {
    position: relative;
    padding-bottom: 12px;
}

.nav-dropdown-simple {
    margin-left: auto;
}

.nav-dropdown-toggle {
    width: 56px;
    height: 44px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.menu-icon-line {
    width: 34px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    display: block;
}

.menu-icon-line + .menu-icon-line {
    margin-top: 8px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 260px;
    background: rgba(18, 18, 18, 0.75);
    border-radius: 2px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    padding: 0.65rem 0;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    z-index: 1001;
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(6px);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.explore-hero {
    height: 60vh;
    min-height: 500px;
    padding-top: 100px; /* Space for header */
}

.explore-hero .hero-content {
    padding-top: 2rem; /* Additional spacing from header */
    justify-content: center;
}

.explore-hero .hero-title {
    font-size: 3rem;
    margin-top: 0;
}

.explore-hero .hero-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a; /* Fallback background color */
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradient overlay: darker at top (for logo/nav), lighter in middle, almost transparent at bottom */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.hero-content-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    padding-bottom: 4rem;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
    justify-content: center;
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    width: 100%;
    padding-bottom: 2.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem; /* Reduced from 1.5rem to bring subtitle closer */
    color: white;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em; /* Reduced from -0.02em for more luxury feel */
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem; /* Reduced from 1.5rem to bring closer to title */
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 720px;
    text-align: center;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.1s ease-out;
}

.hero-subtitle-bottom {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    margin-top: 1rem; /* Space from subtitle */
    animation: fadeInUp 1.2s ease-out;
    align-items: center;
}

.hero-link {
    font-size: 0.95rem; /* Smaller font - secondary navigation */
    font-weight: 400; /* Lighter weight */
    color: rgba(255, 255, 255, 0.9); /* Slightly more transparent */
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0.75rem; /* Reduced padding */
    border-radius: 0;
    border: none;
    background: transparent;
    transition: var(--transition);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.05em; /* Reduced letter-spacing */
    text-transform: uppercase;
}

/* Thin dividers between links */
.hero-link:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.4);
}

.hero-link::after {
    content: none;
}

.hero-link:hover {
    color: white;
    opacity: 1;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem; /* More space from hero-links (secondary navigation) */
    margin-bottom: 0;
    animation: fadeInUp 1.3s ease-out;
}

.btn-hero-primary {
    padding: 1rem 2rem;
    background: rgba(201, 169, 97, 0.85); /* Slightly transparent accent color */
    color: white;
    text-decoration: none;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3); /* Subtle shadow for depth */
    backdrop-filter: blur(4px); /* Subtle blur for modern glass effect */
}

.btn-hero-primary:hover {
    background: rgba(184, 152, 82, 0.9); /* Slightly more opaque on hover */
    border-color: #b89852;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

.btn-hero-secondary {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15); /* Slight white background for better readability */
    color: #25D366; /* WhatsApp green */
    text-decoration: none;
    border: 2px solid #25D366; /* WhatsApp green border */
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 0, 0, 0.3); /* Strong text shadow for readability */
    backdrop-filter: blur(4px); /* Subtle blur for modern glass effect */
}

.btn-hero-secondary::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)); /* Shadow for icon too */
}

.btn-hero-secondary:hover {
    background: rgba(37, 211, 102, 0.2); /* Slightly more visible green background on hover */
    border-color: #25D366;
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}

.hero-trust-line {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    padding-top: 0;
    transform: translateY(16px);
    animation: fadeInUp 1.4s ease-out;
}

.hero-trust-line span,
.hero-trust-line a {
    color: rgba(255, 255, 255, 0.9);
}

.hero-trust-line a {
    text-decoration: underline;
    transition: color 0.3s ease;
}

.hero-trust-line a:hover {
    color: white;
}

.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.whatsapp-sticky:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        display: flex;
    }
    
    /* Hide WhatsApp button in hero since sticky button is available */
    .btn-hero-secondary {
        display: none;
    }
    
    /* Hide elements on mobile */
    .hide-mobile {
        display: none;
    }
}

.hero-link:hover::after {
    width: 0;
}

.hero-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2rem;
    animation: fadeInUp 1.4s ease-out;
}

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

/* Buttons */
.btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: #b89852;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-learn-more {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    margin-top: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-learn-more:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Compromise Section */
.compromise-section {
    background: white;
    padding: 100px 0;
}

.compromise-content {
    max-width: 1200px;
    margin: 0 auto;
}

.compromise-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 5rem;
    align-items: center;
}

.compromise-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compromise-image-container::after {
    content: '';
    position: absolute;
    right: -2.5rem;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.02), transparent);
    pointer-events: none;
    z-index: 10;
}

.image-frame {
    position: relative;
    width: 350px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(201, 169, 97, 0.1);
    background: linear-gradient(135deg, #f8f6f0, #ffffff);
    padding: 12px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(201, 169, 97, 0.15));
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.image-frame:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(201, 169, 97, 0.2);
}

.image-frame:hover::before {
    opacity: 1;
}

.image-frame:hover::after {
    border-color: var(--secondary-color);
}

.compromise-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.image-frame:hover .compromise-image {
    transform: scale(1.03);
}

.image-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 3;
    pointer-events: none;
    animation: rotate 20s linear infinite;
}

.image-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.2;
}

.image-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
}

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

.compromise-text {
    flex: 1;
}

.compromise-text h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.compromise-intro {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 500;
}

.compromise-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bio-card {
    background: var(--background-light);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.bio-card-secondary {
    grid-column: span 3;
    background: rgba(201, 169, 97, 0.03);
    border: 1px solid rgba(201, 169, 97, 0.12);
    border-radius: 6px;
    padding: 1rem;
    opacity: 0.9;
}

.bio-card-secondary .bio-title {
    font-size: 0.9375rem; /* 15px - reduced from 1.1rem (17.6px) */
}

.bio-card-secondary .bio-text {
    font-size: 0.875rem; /* 14px - reduced from 0.95rem (15.2px) */
}

.bio-icon {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.bio-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

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

.compromise-conclusion {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq-section {
    background: white; /* Same background as Featured Properties section */
    padding: 80px 0;
}

.faq-section .section-title {
    color: var(--primary-color); /* Dark title on light background */
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px; /* Space for progress line and numbers */
}

/* Progress Timeline Line */
.faq-progress-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(201, 169, 97, 0.3) 0%,
        rgba(201, 169, 97, 0.5) 50%,
        rgba(201, 169, 97, 0.3) 100%);
    z-index: 1;
}

/* FAQ Category Groups (Vertical Accordion) */
.faq-category-group {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: #2a2a2a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.faq-category-group:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-category-group.active {
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.4);
}

/* Step Number */
.faq-step-number {
    position: absolute;
    left: -50px;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border: 2px solid rgba(201, 169, 97, 0.4);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 2;
    transition: all 0.3s ease;
}

.faq-category-group.active .faq-step-number {
    background: var(--secondary-color);
    color: #1a1a1a;
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.faq-category-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    background: #2a2a2a;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-height: 100px;
}

.faq-category-header-left {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.faq-category-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
}

.faq-category-icon-svg {
    width: 100%;
    height: 100%;
    stroke: var(--secondary-color);
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s ease;
}

.faq-category-group:hover .faq-category-icon-svg {
    stroke: var(--secondary-color);
    opacity: 1;
}

.faq-category-group.active .faq-category-icon-svg {
    stroke: var(--secondary-color);
    opacity: 1;
}

.faq-category-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.faq-category-reassurance {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.faq-category-header:hover {
    background: #333333;
}

.faq-category-header:hover .faq-category-title {
    color: var(--secondary-color);
}

.faq-category-group.active .faq-category-header {
    background: #333333;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.faq-category-group.active .faq-category-title {
    color: var(--secondary-color);
}

.faq-category-toggle {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1.5rem;
    line-height: 1;
}

.faq-category-group.active .faq-category-toggle {
    transform: rotate(45deg);
}

.faq-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.75rem;
    background: #1f1f1f; /* Darker background for content area */
}

.faq-category-group.active .faq-category-content {
    max-height: 5000px;
    padding: 1.5rem 1.75rem;
}

.faq-item {
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1.5rem;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 0 1.5rem 0;
}

.faq-answer p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

/* Trust Line & CTA */
.faq-trust-line {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.faq-trust-line p {
    font-size: 0.9rem;
    color: rgba(201, 169, 97, 0.9);
    margin: 0.5rem 0;
    line-height: 1.6;
}

.faq-cta-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.faq-cta-link:hover {
    background: var(--secondary-color);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-category-group {
        margin-bottom: 1rem; /* Consistent spacing on mobile */
        border-radius: 8px;
    }
    
    .faq-container {
        padding-left: 50px; /* Less space on mobile */
    }
    
    .faq-progress-line {
        left: 15px;
    }
    
    .faq-step-number {
        left: -40px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 1.25rem;
    }
    
    .faq-category-header {
        padding: 1.25rem 1.25rem;
        min-height: 90px;
    }
    
    .faq-category-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .faq-category-title {
        font-size: 1.1rem;
    }
    
    .faq-category-reassurance {
        font-size: 0.85rem;
    }
    
    .faq-category-toggle {
        font-size: 1.5rem;
        margin-left: 1rem;
    }
    
    .faq-category-content {
        padding: 0 1.5rem;
    }
    
    .faq-category-group.active .faq-category-content {
        padding: 0.75rem 1.5rem 1.25rem 1.5rem;
    }
    
    .faq-category-icon {
        font-size: 1.4rem;
        margin-left: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 0;
    }
    
    .faq-icon {
        font-size: 1.3rem;
        margin-left: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* Properties Section */
.properties-section {
    background: var(--background-light);
    padding: 100px 0;
}

.properties-section .section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.view-all-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-view-all:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.property-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.property-image-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--background-light);
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.property-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-type {
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.property-address {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.property-details {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.property-details span {
    font-weight: 500;
}

.property-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Playfair Display', serif;
}

.property-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.property-listing-courtesy {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-style: italic;
}

.property-actions {
    margin-top: 1.5rem;
}

.btn-view {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-view:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* About Section - keeping for compatibility but using compromise-section */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

.stat-number {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Services Section */
.services-section {
    background: var(--background-light);
}

/* Testimonials Section */
.testimonials-section {
    background: white;
    padding: 100px 0;
}

.testimonials-section .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.testimonials-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    opacity: 0.2;
    line-height: 1;
    font-weight: 700;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.testimonial-author-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.testimonial-property-type {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-section {
    background: var(--background-light);
    padding: 100px 0;
}

.services-section .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 700px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--border-color);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(26, 26, 26, 0.05));
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-color), rgba(201, 169, 97, 0.8));
    transform: scale(1.1);
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper::after {
    opacity: 0.3;
    transform: scale(1.2);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: white;
    transform: rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Explore Sections - Elegant Layout */
.explore-section-elegant {
    padding: 100px 0;
    background: white;
}

.explore-section-elegant.explore-section-alt {
    background: var(--background-light);
}

.explore-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', serif;
}

.explore-content-elegant {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.explore-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.explore-small-image {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.explore-small-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.explore-small-image:hover img {
    transform: scale(1.05);
}

.explore-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

.explore-link {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    align-self: flex-start;
}

.explore-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.explore-right {
    width: 100%;
}

.explore-image-hover {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.explore-main-image,
.explore-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.explore-main-image {
    opacity: 1;
}

.explore-hover-image {
    opacity: 0;
}

.explore-image-hover:hover .explore-main-image {
    opacity: 0;
}

.explore-image-hover:hover .explore-hover-image {
    opacity: 1;
}

@media (max-width: 968px) {
    .explore-content-elegant {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .explore-small-image {
        max-width: 100%;
    }
    
    .explore-section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .explore-small-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .explore-image-hover {
        padding-top: 60%;
        max-width: 100%;
    }
}

/* Contact Section */
.contact-section {
    background: white;
}

/* Two-Step CTA - Elegant step indicator */
.two-step-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(201, 169, 97, 0.03) 100%);
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    opacity: 0.8;
}

.step-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.4;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.6;
    font-weight: 300;
}

@media (max-width: 768px) {
    .two-step-cta {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    .step-text {
        font-size: 0.9rem;
    }
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Property Detail Modal */
.property-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.property-modal.show {
    display: block;
}

.property-modal-content {
    background-color: white;
    margin: 2% auto;
    max-width: 1400px;
    width: 95%;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.close-property-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 36px;
    font-weight: 300;
    color: white;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.close-property-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.property-modal-body {
    padding: 0;
}

/* Property Image Gallery */
.property-gallery {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.property-gallery-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.property-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.property-gallery-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    max-width: 90%;
    overflow-x: auto;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    border: 2px solid transparent;
    pointer-events: auto;
    user-select: none;
}

.gallery-thumbnail:hover {
    opacity: 1;
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--secondary-color);
    border-width: 3px;
    transform: scale(1.15);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    pointer-events: auto;
    user-select: none;
    font-weight: 300;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

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

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

/* Property Details Content */
.property-details-content {
    padding: 3rem;
}

.property-details-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.property-details-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.property-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.property-details-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-details-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.property-details-location {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.property-details-description {
    margin-bottom: 3rem;
}

.property-details-description h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.property-details-description p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.property-details-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-feature-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.property-feature-section ul {
    list-style: none;
    padding: 0;
}

.property-feature-section li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.property-feature-section li:before {
    content: "✓ ";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.property-details-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-contact {
    padding: 16px 40px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background: #b89852;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-schedule {
    padding: 16px 40px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-schedule:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-share {
    padding: 16px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-share:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.share-dropdown-container {
    position: relative;
    display: inline-block;
}

.share-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.share-dropdown.show {
    display: flex;
}

.share-option {
    padding: 12px 20px;
    background: white;
    color: var(--primary-color);
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
}

.share-option:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
}

.share-option:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.share-option:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.property-listing-courtesy-modal {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
}

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

.close-testimonial-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
}

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

.btn-add-testimonial {
    padding: 12px 30px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-testimonial:hover {
    background: #b89852;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

#testimonial-modal .modal-content {
    text-align: left;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 3% auto;
}

#testimonial-form .form-group {
    margin-bottom: 1.5rem;
}

#testimonial-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

#testimonial-form input,
#testimonial-form select,
#testimonial-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#testimonial-form input:focus,
#testimonial-form select:focus,
#testimonial-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

#testimonial-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-testimonial {
    width: 100%;
    padding: 14px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit-testimonial:hover:not(:disabled) {
    background: #b89852;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-submit-testimonial:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        max-width: 95%;
        max-height: 95vh;
        padding: 1.5rem;
    }
    
    #testimonial-modal .modal-content {
        margin: 2% auto;
        max-width: 95%;
        max-height: 95vh;
        padding: 1.5rem;
    }
    
    .navbar {
        background: transparent;
        box-shadow: none;
    }

    .navbar::after {
        background: rgba(255, 255, 255, 0.3);
        width: calc(100% - 48px);
    }

    .nav-container {
        padding: 0.9rem 32px;
    }

    .logo h1 {
        color: white;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.35);
        font-size: 1.5rem;
    }

    .logo .tagline {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.8rem;
    }

    .nav-menu a,
    .nav-link {
        color: white;
    }

    .nav-menu a::after,
    .nav-link::after {
        background: rgba(255, 255, 255, 0.85);
    }

    .mobile-menu-toggle span {
        background: white;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(18, 18, 18, 0.92);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        backdrop-filter: blur(6px);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        height: auto;
        padding: 0.75rem 0;
        justify-content: center;
    }

    .menu-icon-line {
        background: white;
    }

    .dropdown-menu {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .dropdown-menu a {
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.9);
    }

    .dropdown-divider {
        margin: 0.75rem 0;
    }

    .hero-title {
        font-size: 3rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle-bottom {
        margin-top: auto;
        margin-bottom: 0;
    }

    .hero-content-main {
        min-height: 100%;
        padding-bottom: 3.5rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-bottom {
        gap: 0.6rem;
    }

    .hero-links {
        gap: 1.2rem;
        flex-direction: row; /* Keep horizontal on mobile */
        align-items: center;
    }

    .hero-link {
        font-size: 0.85rem; /* Smaller on mobile too */
        padding: 0.4rem 0.6rem; /* Reduced padding */
        font-weight: 400;
    }

    .hero-link:not(:first-child)::before {
        left: -0.6rem;
        height: 50%;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 2.5rem; /* More space from secondary nav */
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        font-size: 0.9rem;
        padding: 0.85rem 1.5rem;
    }

    .hero-trust-line {
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .explore-hero {
        height: 65vh;
        min-height: 550px;
        padding-top: 120px; /* Increased space for mobile header */
    }
    
    .explore-hero .hero-content {
        padding-top: 2.5rem; /* Increased spacing from header */
        align-items: center;
        justify-content: center;
    }

    .explore-hero .hero-title {
        font-size: 2rem; /* Slightly smaller for better fit */
        margin-top: 0;
        margin-bottom: 1rem; /* Add spacing before subtitle */
    }
    
    .explore-hero .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

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

    .compromise-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .compromise-image-container {
        order: -1;
        justify-content: center;
    }
    
    .compromise-image-container::after {
        display: none; /* Hide gradient on mobile */
    }

    .image-frame {
        width: 280px;
        height: 360px;
    }

    .image-decoration {
        display: none;
    }

    .compromise-text {
        text-align: left;
    }

    .compromise-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .compromise-intro {
        font-size: 1.1rem;
    }

    .compromise-text p {
        font-size: 1rem;
    }

    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-card-secondary {
        grid-column: span 1;
        gap: 1.25rem;
    }

    .bio-card {
        padding: 1.25rem;
    }

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

    .properties-section .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property-image-container {
        height: 280px;
    }

    .property-address {
        font-size: 1.3rem;
    }

    .property-price {
        font-size: 1.75rem;
    }

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

    .testimonials-section .section-title {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .property-modal-content {
        width: 98%;
        margin: 1% auto;
    }

    .property-gallery {
        height: 400px;
        min-height: 400px;
    }
    
    .property-gallery-main {
        width: 100%;
        height: 100%;
        min-height: 400px;
    }
    
    .property-gallery-main img {
        width: 100%;
        height: 100%;
        min-height: 400px;
        object-fit: cover;
        display: block;
    }

    .property-details-content {
        padding: 2rem;
    }

    .property-details-header h1 {
        font-size: 1.8rem;
    }

    .property-details-price {
        font-size: 2rem;
    }

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

    .property-details-actions {
        flex-direction: column;
    }

    .btn-contact,
    .btn-schedule,
    .btn-share {
        width: 100%;
        text-align: center;
    }
    
    .share-dropdown {
        right: auto;
        left: 0;
        width: 100%;
    }

    .property-gallery-thumbnails {
        display: none;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .property-details-description h2 {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1;
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle-bottom {
        margin-bottom: 0;
    }

    .hero-links {
        gap: 1rem;
    }

    .hero-link {
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem;
    }

    .hero-link:not(:first-child)::before {
        left: -0.5rem;
        height: 45%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
        max-width: 250px;
    }

    .hero-trust-line {
        font-size: 0.7rem;
    }

    .hero {
        min-height: 500px;
    }

    .compromise-wrapper {
        gap: 2rem;
    }

    .image-frame {
        width: 250px;
        height: 320px;
    }

    .compromise-text h2 {
        font-size: 1.75rem;
    }

    .compromise-intro {
        font-size: 1rem;
    }

    .properties-section .section-title {
        font-size: 1.75rem;
    }

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

    .property-image-container {
        height: 250px;
    }

    .property-address {
        font-size: 1.2rem;
    }

    .property-price {
        font-size: 1.5rem;
    }

    .property-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .testimonials-section .section-title {
        font-size: 1.75rem;
    }

    .testimonials-section .section-subtitle {
        font-size: 0.95rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card::before {
        font-size: 4rem;
        top: 15px;
        left: 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .property-modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
        overflow-y: auto;
    }

    .property-gallery {
        height: 300px;
        min-height: 300px;
    }
    
    .property-gallery-main {
        width: 100%;
        height: 100%;
        min-height: 300px;
    }
    
    .property-gallery-main img {
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover;
        display: block;
    }

    .property-details-content {
        padding: 1.5rem;
    }

    .property-details-header h1 {
        font-size: 1.5rem;
    }

    .property-details-price {
        font-size: 1.75rem;
    }

    .property-details-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

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

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