/* --- General Styles --- */
:root {
    /* Layout variables */
    --section-padding: 5rem 0;
    --section-spacing: 5rem;
    --card-radius: 0.75rem;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --container-padding: 0 1.5rem;
    
    /* Color variables */
    --color-primary: #395950;
    --color-primary-dark: #2a433b;
    --color-primary-light: #4c7067;
    --color-primary-alt: #2c453c;
    --color-secondary: #ffcf83;
    --color-secondary-dark: #f5c065;
    --color-secondary-light: #ffe0a8;
    --color-accent: #f8f9fa;
    --color-accent-alt: #e9ecef;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --color-success: #28a745;
    --color-info: #17a2b8;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --color-light: #f8f9fa;
    --color-dark: #343a40;
    --color-white: #ffffff;
    --color-border: #e5e5e5;
    
    /* Shadow variables */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--color-accent);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: var(--container-padding);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

section {
    padding: var(--section-padding);
    position: relative;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
    line-height: 1.5;
}

.btn.primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn.primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn.secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
}

.btn.secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn.outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn.outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn.full {
    width: 100%;
    display: block;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* --- Forms --- */
input, textarea, select {
    background-color: var(--color-white);
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(57, 89, 80, 0.15);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

button {
    cursor: pointer;
    font-family: inherit;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* --- Header & Navigation --- */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.landing-nav.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.landing-nav.scrolled .logo img {
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
    opacity: 0;
}

.nav-links a:hover::after {
    width: 100%;
    opacity: 0.5;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    opacity: 1;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--color-primary);
}

.menu-toggle.active {
    color: var(--color-primary);
}


.sm-s{
    display:none;
}
/* Mobile Navigation */
@media (max-width: 768px) {
    .sms-s{
        display:block;
    }
    .lg-s{
        display:none;
    }
    .nav-links, 
    .nav-buttons {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow-md);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        display: none;
        z-index: 10;
    }
    
    .nav-links.active, 
    .nav-buttons.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* --- Hero Section --- */
.hero {
    padding: 8rem 0 6rem;
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(57, 89, 80, 0.95), rgba(57, 89, 80, 0.7));
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: var(--color-white);
}

.hero-text h1 {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    line-height: 1.1;
}

.hero-text span {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.hero-text span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-secondary);
    opacity: 0.3;
    z-index: -1;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80%;
    height: 80%;
    background-color: var(--color-secondary);
    z-index: -1;
    border-radius: var(--card-radius);
    opacity: 0.5;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-xl);
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* --- Page Hero --- */
.page-hero {
    padding: 6rem 0 4rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(57, 89, 80, 0.95), rgba(57, 89, 80, 0.7));
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.about-hero::after {
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3');
}

.invest-hero::after {
    background-image: url('https://images.unsplash.com/photo-1434626881859-194d67b2b86f?ixlib=rb-4.0.3');
}

.properties-hero::after {
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3');
}

.contact-hero::after {
    background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3');
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    color: var(--color-white);
}

.page-hero span {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.page-hero span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-secondary);
    opacity: 0.3;
    z-index: -1;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.section-header.center {
    text-align: center;
}

.section-header span {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.section-header span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--color-secondary);
    opacity: 0.4;
    z-index: -1;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

/* --- Features Section --- */
.features {
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: var(--color-white);
    transform: skewY(-2deg);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    background-color: rgba(57, 89, 80, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-card:hover h3 {
    color: var(--color-primary);
}

/* --- How It Works Section --- */
.how-it-works {
    background-color: var(--color-accent);
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step {
    background-color: var(--color-white);
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 25px;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-white);
}

.step-icon {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.step-content {
    margin-top: 1rem;
}

.step h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.cta-center {
    text-align: center;
    margin-top: 4rem;
}

/* --- Featured Properties --- */
.featured-properties {
    background-color: var(--color-white);
    position: relative;
}

.all-properties {
    background-color: var(--color-white);
    padding-top: 3rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.8);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.property-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
}

.property-location {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.property-location i {
    margin-right: 0.5rem;
    color: var(--color-primary-light);
}

.property-description {
    margin-bottom: 1.5rem;
}

.property-description p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.property-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-value {
    font-weight: 700;
    display: block;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: rgba(57, 89, 80, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
}

/* Property Filters */
.property-filters {
    background-color: var(--color-white);
    padding-bottom: 0;
}

.filter-container {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    margin-top: -3rem;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: flex-end;
}

.view-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.view-options span {
    font-weight: 500;
    color: var(--text-secondary);
}

.view-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover,
.view-btn.active {
    color: var(--color-primary);
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.pagination-item.next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

.pagination-item.next i {
    margin-left: 0.5rem;
}

.pagination-item:hover,
.pagination-item.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.pagination-item.dots {
    cursor: default;
}

.pagination-item.dots:hover {
    background-color: transparent;
    color: var(--text-primary);
}

/* --- Portfolios Section --- */
.portfolios-section {
    background-color: var(--color-accent);
    padding-top: 5rem;
}

.portfolios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-header {
    padding: 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.portfolio-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.portfolio-title h3 {
    color: var(--color-white);
    margin-bottom: 0;
}

.portfolio-badge {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.portfolio-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.portfolio-details {
    padding: 2rem;
}

.portfolio-allocation {
    margin-bottom: 2rem;
}

.portfolio-allocation h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.allocation-chart {
    margin-bottom: 1.5rem;
}

.allocation-bar {
    height: 30px;
    background-color: #f1f1f1;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    margin-bottom: 1rem;
}

.allocation {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.8rem;
}

.allocation.residential {
    background-color: var(--color-primary);
}

.allocation.commercial {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
}

.allocation.industrial {
    background-color: var(--text-secondary);
}

.allocation-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.legend-color.residential {
    background-color: var(--color-primary);
}

.legend-color.commercial {
    background-color: var(--color-secondary);
}

.legend-color.industrial {
    background-color: var(--text-secondary);
}

/* --- Testimonials Section --- */
.testimonials {
    background-color: var(--color-accent);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23395950' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.testimonial {
    background-color: var(--color-white);
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.quote {
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    line-height: 1;
}

.testimonial p {
    position: relative;
    z-index: 1;
    padding-top: 1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--color-primary-dark);
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
    padding-top: 0;
    font-style: normal;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.slider-prev,
.slider-next {
    background-color: var(--color-white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--color-secondary);
    opacity: 0.1;
    border-radius: 50%;
    bottom: -100px;
    right: -50px;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
}

.cta-content span {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.cta-content span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-secondary);
    opacity: 0.3;
    z-index: -1;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* --- Newsletter Section --- */
.newsletter {
    background-color: var(--color-primary-alt);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-primary-alt) 0%, var(--color-primary) 100%);
    z-index: 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.newsletter-text span {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.newsletter-text span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-secondary);
    opacity: 0.3;
    z-index: -1;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.newsletter-form button {
    box-shadow: var(--shadow-md);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--color-white);
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(57, 89, 80, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.method-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.method-details p {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.method-details a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.method-details a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.social-connect h3 {
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(57, 89, 80, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-5px);
}

.contact-form-container {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.map-section {
    padding: 0;
}

.map-container {
    height: 450px;
    width: 100%;
}

.map-container iframe {
    border: none;
    display: block;
}

/* --- Contact FAQ --- */
.contact-faq {
    background-color: var(--color-accent);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--color-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid transparent;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-toggle {
    color: var(--color-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    border-bottom: 1px solid var(--color-border);
}

.faq-item.active .faq-question h3 {
    color: var(--color-primary);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

/* --- Our Story Section --- */
.our-story {
    background-color: var(--color-white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image {
    position: relative;
    z-index: 1;
}

.story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    background-color: var(--color-primary);
    z-index: -1;
    opacity: 0.1;
}

.story-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    background-color: var(--color-secondary);
    z-index: -1;
    opacity: 0.2;
}

.story-image img {
    width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
}

.story-text h2 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* --- Investment Calculator Section --- */
.investment-calculator {
    background-color: var(--color-accent);
    position: relative;
}

.calculator-container {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.calculator-form {
    padding: 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.calculator-form label {
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.calculator-form input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.calculator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    cursor: pointer;
}

.range-value {
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.calculator-results {
    padding: 2.5rem;
    background-color: var(--color-white);
}

.result-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.result-value {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.result-breakdown {
    margin-top: 2rem;
    background-color: var(--color-accent);
    padding: 1.5rem;
    border-radius: var(--card-radius);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item span:first-child {
    color: var(--text-secondary);
}

.breakdown-item span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.disclaimer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

/* --- Mission Section --- */
.our-mission {
    background-color: var(--color-white);
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.mission-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.mission-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.mission-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mission-item:hover::before {
    transform: scaleX(1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(57, 89, 80, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.mission-item:hover .mission-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.mission-item h3 {
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.mission-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Team Section --- */
.team {
    background-color: var(--color-accent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.75rem;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 0.25rem;
    color: var(--color-primary-dark);
}

.member-title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

.member-bio {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(57, 89, 80, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* --- Responsive Styles --- */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3.25rem;
    }
    
    .page-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .cta-content h2,
    .newsletter-text h2 {
        font-size: 2.25rem;
    }
    
    .contact-content,
    .calculator-container,
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .page-hero {
        padding: 5rem 0 3rem;
    }

    .nav-links, .nav-buttons {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-image::before {
        right: auto;
        left: -15px;
    }

    .hero-cta {
        justify-content: center;
    }
    
    .section-header::after {
        width: 60px;
    }
    
    .cta-buttons,
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn,
    .hero-cta .btn {
        width: 100%;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mission-item,
    .step,
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-top {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info h2::after,
    .contact-form-container h2::after,
    .story-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info,
    .story-text {
        text-align: center;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .method-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .property-filters .filters-form {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .testimonial,
    .faq-item {
        padding: 1.5rem;
    }
    
    .properties-grid,
    .portfolios-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.properties-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error styles */
.error {
    border-color: var(--color-danger) !important;
}

.error-message {
    color: var(--color-danger);
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: block;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--color-success);
    padding: 0.75rem;
    border-radius: var(--card-radius);
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.filter-success {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-out forwards, fadeOut 0.3s ease-out 2.7s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* List View Styles */
.properties-grid.list-view {
    display: block;
}

.properties-grid.list-view .property-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    margin-bottom: 2rem;
    height: auto;
}

.properties-grid.list-view .property-image {
    height: 100%;
}

.properties-grid.list-view .property-content {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.properties-grid.list-view .property-stats {
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .properties-grid.list-view .property-card {
        grid-template-columns: 1fr;
    }
    
    .properties-grid.list-view .property-image {
        height: 220px;
    }
}

/* Button hover effects */
.btn.primary::after,
.btn.secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
    z-index: -1;
}

.btn.primary:hover::after,
.btn.secondary:hover::after {
    width: 300px;
    height: 300px;
}

.btn.primary,
.btn.secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

/* Card hover effects */
.property-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.property-card:hover::after {
    transform: scaleX(1);
}

/* Placeholder loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-placeholder {
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: var(--card-radius);
}

/* Testimonial slider animation */
.testimonials-slider .testimonial {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonials-slider .fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Input focus effect */
input:focus, 
textarea:focus, 
select:focus {
    box-shadow: 0 0 0 3px rgba(57, 89, 80, 0.15);
    transition: all 0.3s ease;
}

/* Navbar animations */
.nav-links a::after {
    transition: width 0.3s ease, opacity 0.3s ease;
}

/* Nav scroll effect */
.landing-nav.scrolled {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Tag hover effect */
.tag {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tag:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-accent);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 6px;
    border: 3px solid var(--color-accent);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --- Helper classes --- */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--text-secondary); }
.text-light { color: var(--text-light); }
.text-white { color: var(--color-white); }

.bg-white { background-color: var(--color-white); }
.bg-accent { background-color: var(--color-accent); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }

/* --- Back to top button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-5px);
}

/* --- Footer --- */
.landing-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-top {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info li {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* --- Values Section --- */
.values {
    background-color: var(--color-accent);
    padding: var(--section-padding);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(57, 89, 80, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.value-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Achievements Section --- */
.achievements {
    background-color: var(--color-white);
    padding: var(--section-padding);
}

.achievements-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

.achievement {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
}

.achievement:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
}

.achievement:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

.achievement-year {
    position: absolute;
    top: 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 120px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.achievement:nth-child(odd) .achievement-year {
    right: calc(50% - 60px);
}

.achievement:nth-child(even) .achievement-year {
    left: calc(50% - 60px);
}

.achievement-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.achievement-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-content h3 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.achievement-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .achievements-timeline::before {
        left: 30px;
    }
    
    .achievement:nth-child(odd),
    .achievement:nth-child(even) {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 80px;
    }
    
    .achievement:nth-child(odd) .achievement-year,
    .achievement:nth-child(even) .achievement-year {
        left: 0;
        width: 80px;
        font-size: 0.9rem;
    }
}

/* --- Investment Process Section --- */
.investment-process {
    background-color: var(--color-white);
    padding: var(--section-padding);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.process-step {
    background-color: var(--color-white);
    padding: 3rem 2rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-white);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.process-step p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.process-step .btn {
    margin-top: 0.5rem;
}

/* --- Investment Options Section --- */
.investment-options {
    background-color: var(--color-accent);
    padding: var(--section-padding);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.option-card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.option-card.highlight {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    z-index: 1;
}

.option-card.highlight:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom-left-radius: var(--card-radius);
    z-index: 1;
}

.option-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2.5rem 2rem;
    text-align: center;
}

.option-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.option-card:hover .option-icon {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
    transform: scale(1.1);
}

.option-header h3 {
    color: var(--color-white);
    margin-bottom: 0;
}

.option-features {
    padding: 2rem;
    list-style: none;
}

.option-features li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.option-features li i {
    color: var(--color-primary);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.option-card .btn {
    margin: 0 2rem 2rem;
}

@media (max-width: 992px) {
    .option-card.highlight {
        transform: scale(1);
    }
    
    .option-card.highlight:hover {
        transform: translateY(-10px);
    }
} 