:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;


    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;


    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', serif;


    --container-width: 1200px;
    --section-padding: 5rem 0;


    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);


    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--secondary-color);
}

.logo svg {
    stroke-width: 2;
    stroke: currentColor;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

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

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

.btn-nav {
    padding: 0.625rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    color: var(--white) !important;
}

.btn-nav::after {
    display: none;
}

.navbar.scrolled .btn-nav {
    color: var(--white) !important;
}

.navbar.scrolled .btn-nav:hover {
    color: var(--white) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-toggle span {
    background-color: var(--secondary-color);
}

.navbar.scrolled .logo svg {
    stroke: var(--secondary-color);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.8)),
                url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-wrapper {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    z-index: 2;
}

.search-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
}

.search-box input,
.search-box select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus,
.search-box select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-search {
    padding: 0.875rem 2rem;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.section-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
}

.section-footer .btn {
    min-width: 220px;
    box-shadow: var(--shadow-md);
}

.section-footer .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

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

.btn-block {
    display: block;
    width: 100%;
}

.featured-properties {
    background-color: var(--gray-50);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.property-badge.sale {
    background-color: var(--accent-color);
}

.property-badge.new {
    background-color: #10b981;
}

.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.favorite-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.favorite-btn:hover svg {
    stroke: var(--white);
    fill: var(--white);
}

.favorite-btn svg {
    stroke-width: 2;
}

.property-info {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-location svg {
    stroke-width: 2;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.property-features svg {
    stroke-width: 2;
}

.why-choose-us {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-icon svg {
    stroke-width: 2;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-content .btn:hover {
    background-color: var(--gray-100);
}

.page-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--gray-800));
    color: var(--white);
    text-align: center;
    padding: 8rem 0 5rem;
    margin-top: 70px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.filters-section {
    background-color: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.filters-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto auto;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    height: 48px;
}

.filter-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filters-wrapper .btn {
    height: 48px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-info p {
    font-weight: 500;
    color: var(--gray-700);
}

#results-count {
    color: var(--primary-color);
}

#sort-by {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    outline: none;
}

.listings-section {
    background-color: var(--gray-50);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results svg {
    margin: 0 auto 1.5rem;
    color: var(--gray-400);
}

.no-results h3 {
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.about-section {
    background-color: var(--white);
}

.about-hero-image {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 4rem;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-new {
    max-width: 1100px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background-color: var(--gray-50);
    padding: 2.5rem;
    border-radius: 0.75rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.about-card-icon svg {
    stroke-width: 2;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 4rem 3rem;
    border-radius: 1rem;
    color: var(--white);
}

.stats-title {
    text-align: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 3rem;
}

.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item-new {
    text-align: center;
}

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

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.about-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.mission-section {
    background-color: var(--gray-50);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.mission-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-icon svg {
    stroke-width: 2;
}

.mission-card h3 {
    margin-bottom: 1rem;
}

.mission-card p {
    line-height: 1.7;
}

.team-section {
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.agent-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.agent-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

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

.agent-social {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

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

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

.agent-social a:hover svg {
    stroke: var(--white);
}

.agent-info {
    padding: 1.5rem;
}

.agent-info h3 {
    margin-bottom: 0.5rem;
}

.agent-title {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.agent-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.agent-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.agent-stats span {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.contact-section {
    background-color: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-section h2 {
    margin-bottom: 1rem;
}

.contact-info-section > p {
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.contact-detail {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-detail p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-section {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #10b981;
    stroke-width: 2;
}

.form-success h3 {
    color: #10b981;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-600);
}

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column p {
    color: var(--gray-400);
    line-height: 1.7;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--gray-400);
    transition: var(--transition);
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-400);
}

.contact-info svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

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

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    border-radius: 1rem;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--gray-600);
    transition: var(--transition);
    border-radius: 0.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: var(--gray-200);
    color: var(--gray-900);
    transform: rotate(90deg);
}

.modal-close svg {
    stroke-width: 2;
}

.modal-title {
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    padding-right: 3rem;
    line-height: 1.2;
}

.modal-subtitle {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
}

.modal-form .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    display: block;
}

.modal-form .form-group input,
.modal-form .form-group select,
.modal-form .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--gray-800);
    outline: none;
    transition: all 0.2s ease;
    background-color: var(--white);
}

.modal-form .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.modal-form .form-group input[type="date"] {
    cursor: pointer;
    position: relative;
}

.modal-form .form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

.modal-form .form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.modal-form .form-group input:hover,
.modal-form .form-group select:hover,
.modal-form .form-group textarea:hover {
    border-color: var(--gray-400);
}

.modal-form .form-group input:focus,
.modal-form .form-group select:focus,
.modal-form .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #fafbfc;
}

.modal-form .form-group input::placeholder,
.modal-form .form-group textarea::placeholder {
    color: var(--gray-400);
}

.modal-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
    line-height: 1.6;
    font-family: var(--font-primary);
}

.modal-form .btn-block {
    margin-top: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-success {
    text-align: center;
    padding: 3rem 1rem;
}

.modal-success svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: #10b981;
    stroke-width: 2;
}

.modal-success h3 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-success p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.modal-success .btn {
    min-width: 150px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .filters-wrapper .btn {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-xl);
        transition: left 0.3s ease;
    }

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

    .nav-links a {
        color: var(--gray-700);
        font-size: 1.125rem;
    }

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

    .hero {
        min-height: 90vh;
        background-attachment: scroll;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .search-wrapper {
        position: relative;
        bottom: auto;
        margin-top: -3rem;
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stats-grid-new {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .about-hero-image {
        height: 300px;
    }

    .about-intro h2 {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

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

    .filters-wrapper {
        grid-template-columns: 1fr;
    }

    .filters-wrapper .btn {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .modal-overlay {
        padding: 1rem;
    }

    .modal-content {
        padding: 2.5rem 2rem;
        max-height: 85vh;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .modal-title {
        font-size: 1.75rem;
        padding-right: 2.5rem;
    }

    .modal-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .modal-form {
        gap: 1rem;
    }

    .modal-success {
        padding: 2rem 0.5rem;
    }

    .modal-success svg {
        width: 64px;
        height: 64px;
    }

    .modal-success h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

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

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

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

    .stats-grid-new {
        grid-template-columns: 1fr;
    }

    .about-hero-image {
        height: 250px;
        border-radius: 0.5rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }

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

    .stats-section {
        padding: 3rem 2rem;
    }


    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: 0.75rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-subtitle {
        font-size: 0.95rem;
    }

    .modal-form .form-group input,
    .modal-form .form-group select,
    .modal-form .form-group textarea {
        font-size: 16px;
    }

    .modal-form .btn-block {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
