@import url('https://fonts.cdnfonts.com/css/gilroy-bold');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-dark: #414241;
    --primary-gold: #C5AE83;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #666666;
    --text-dark: #2c2c2c;
    
    /* Base font size for scaling */
    --base-font-size: 14px;
}

/* Responsive font scaling from 992px */
html {
    font-size: var(--base-font-size);
}

@media (min-width: 992px) {
    html {
        font-size: calc(14px + (18 - 14) * ((100vw - 992px) / (1920 - 992)));
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

/* Container override */
.container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 8rem;
    padding-right: 8rem;
}

/* Responsive typography scaling */
@media (min-width: 992px) {
    .hero-title {
        font-size: calc(3.5rem + (5.5 - 3.5) * ((100vw - 992px) / (1920 - 992)));
    }
    
    .section-title {
        font-size: calc(2.5rem + (3.5 - 2.5) * ((100vw - 992px) / (1920 - 992)));
    }
    
    .stat-number {
        font-size: calc(3rem + (4 - 3) * ((100vw - 992px) / (1920 - 992)));
    }
    
    /* Responsive spacing */
    .property-content {
        padding: calc(2rem + (3 - 2) * ((100vw - 992px) / (1920 - 992)));
    }
    
    .contact-form-wrapper {
        padding: calc(3rem + (4 - 3) * ((100vw - 992px) / (1920 - 992)));
    }
    
    .contact-form-wrapper.dark-form {
        padding: calc(3rem + (4 - 3) * ((100vw - 992px) / (1920 - 992)));
    }
    
    .featured-section,
    .stats-section,
    .about-section {
        padding: calc(5rem + (7 - 5) * ((100vw - 992px) / (1920 - 992))) 0;
    }
    
    /* Responsive container padding */
    .container {
        padding-left: calc(8rem + (12 - 8) * ((100vw - 992px) / (1920 - 992)));
        padding-right: calc(8rem + (12 - 8) * ((100vw - 992px) / (1920 - 992)));
    }
    
    /* Responsive navigation */
    .navbar-nav .nav-link {
        font-size: 1.3rem; /* increased from 1.2rem */
    }
    
    .btn-outline-gold {
        font-size: calc(0.8125rem + (0.9375 - 0.8125) * ((100vw - 992px) / (1920 - 992)));
    }
    
    .navbar-brand img {
        height: calc(3.125rem + (4 - 3.125) * ((100vw - 992px) / (1920 - 992)));
    }
    
    .navbar-scrolled .navbar-brand img {
        height: calc(2.5rem + (3.25 - 2.5) * ((100vw - 992px) / (1920 - 992)));
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 0.0625rem; /* 1px */
}

body {
    font-family: 'Gilroy', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b89968;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Tomica', sans-serif;
    font-weight: bold;
    line-height: 1.2;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(65, 66, 65, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: var(--primary-dark) !important;
    box-shadow: 0 0.125rem 1.25rem rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 3.125rem; /* 50px */
    transition: height 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    height: 2.5rem; /* 40px */
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 1rem; /* 16px - increased from 14px */
    margin: 0 0.25rem;
    padding: 0.5rem 1rem !important;
    border-radius: 1.25rem; /* 20px */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transition: left 0.5s ease;
    opacity: 0.3;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--primary-gold);
    color: var(--primary-dark) !important;
    transform: translateY(-0.125rem); /* 2px */
    box-shadow: 0 0.25rem 0.5rem rgba(197, 174, 131, 0.3);
}

.header-contact {
    display: flex;
    align-items: center;
}

.btn-outline-gold {
    border: 0.125rem solid var(--primary-gold); /* 2px */
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.8125rem; /* 13px */
    padding: 0.4rem 1.2rem;
    border-radius: 1.25rem; /* 20px */
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
    transform: translateY(-0.125rem); /* 2px */
    box-shadow: 0 0.25rem 0.75rem rgba(197, 174, 131, 0.4);
}

.btn-gold {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border: 0.125rem solid var(--primary-gold); /* 2px */
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 1.5625rem; /* 25px */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03125rem; /* 0.5px */
}

.btn-gold:hover {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-0.125rem); /* 2px */
    box-shadow: 0 0.3125rem 0.9375rem rgba(197, 174, 131, 0.4); /* 5px 15px */
}

/* Hero Section */
.hero-section {
    margin-top: 0;
    height: 100vh;
    position: relative;
}

.hero-swiper {
    height: 100%;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 66, 65, 0.8) 0%, rgba(65, 66, 65, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 37.5rem; /* 600px */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.5); /* 2px 2px 4px */
    animation: fadeInUp 1s ease-out;
    font-family: 'Montserrat', sans-serif;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .btn-gold {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swiper-pagination-bullet {
    background: var(--primary-gold);
    opacity: 0.5;
    width: 0.75rem; /* 12px */
    height: 0.75rem; /* 12px */
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-gold);
    width: 3.125rem; /* 50px */
    height: 3.125rem; /* 50px */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.25rem; /* 20px */
}

/* Stats Section */
.stats-section {
    background: var(--light-gray);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    counter-reset: number;
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem); /* 20px */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown animation will be handled by JavaScript */
.stat-number[data-count] {
    opacity: 0;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03125rem; /* 0.5px */
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.625rem; /* -10px */
    left: 50%;
    transform: translateX(-50%);
    width: 3.75rem; /* 60px */
    height: 0.1875rem; /* 3px */
    background: var(--primary-gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Featured Properties */
.featured-section {
    padding: 5rem 0;
}

.property-card {
    background: var(--white);
    border-radius: 0.9375rem; /* 15px */
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.1); /* 10px 30px */
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-0.625rem); /* -10px */
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.15); /* 20px 40px */
}

.property-card.premium {
    border: 0.125rem solid var(--primary-gold); /* 2px */
}

.property-image {
    position: relative;
    height: 15.625rem; /* 250px */
    overflow: hidden;
}

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

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

.property-badge {
    position: absolute;
    top: 0.9375rem; /* 15px */
    right: 0.9375rem; /* 15px */
    background: var(--primary-gold);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 1.25rem; /* 20px */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-content {
    padding: 2rem;
}

.property-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.property-location {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.property-details span {
    background: var(--light-gray);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 0.9375rem; /* 15px */
    font-size: 0.85rem;
    font-weight: 500;
}

.property-details i {
    color: var(--primary-gold);
    margin-right: 0.3rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Montserrat', sans-serif;
}

/* About Section */
.about-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.feature-item h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.feature-item p {
    color: var(--dark-gray);
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

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

.service-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: var(--primary-dark);
    color: var(--white);
    padding: 5rem 0;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.contact-form-wrapper {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.form-control,
.form-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 0.8rem 1rem;
    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 174, 131, 0.25);
    color: var(--white);
}

.form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-select option {
    background: var(--primary-dark);
    color: var(--white);
}

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

.footer h5 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-contact i {
    color: var(--primary-gold);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-gold);
}

/* Office Gallery Section */
.office-gallery-section {
    background: var(--light-gray);
}

.office-swiper {
    padding-bottom: 3rem;
}

.office-image {
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.office-image:hover {
    transform: translateY(-5px);
}

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

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

.office-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.office-features .feature-item i {
    color: var(--primary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
}

.office-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.office-info .contact-item i {
    color: var(--primary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    width: 20px;
}

.office-info .contact-item a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.office-info .contact-item a:hover {
    text-decoration: underline;
}

/* Form Validation */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 174, 131, 0.25);
}

/* Services Page Styles */
.page-header {
    color: var(--white);
}

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), #d4bf95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.advantage-item h5 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.advantage-item p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.process-step h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.process-step p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Company Page Styles */
.company-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.company-content h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.company-content p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-gold) 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    color: var(--white);
}

.contact-form-input {
    background: var(--white) !important;
    border: 1px solid #ddd !important;
    color: var(--text-dark) !important;
}

.contact-form-input::placeholder {
    color: var(--dark-gray) !important;
    opacity: 1;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info-card h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.contact-info-item i {
    color: var(--primary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    width: 20px;
}

.contact-info-item a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--primary-gold);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Cookie Notification Styles */
.cookie-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10000;
    max-width: 350px;
    animation: slideInUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    line-height: 1.4;
}

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

.cookie-link {
    color: var(--primary-gold);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: #d4bf95;
}

.cookie-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

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

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form Notification Styles */
.form-notification {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 767px) {
    .cookie-notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
}

@media (max-width: 991px) {
    .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: rgba(65, 66, 65, 0.95);
        backdrop-filter: blur(0.625rem);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 0.9375rem; /* 15px */
        border: 0.0625rem solid rgba(197, 174, 131, 0.2);
        box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
        animation: slideDown 0.3s ease-out;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1.5rem !important;
        text-align: center;
        font-size: 0.9375rem; /* 15px */
        opacity: 0;
        animation: fadeInUp 0.3s ease-out forwards;
    }
    
    .navbar-nav .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .navbar-nav .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .navbar-nav .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .navbar-nav .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .navbar-nav .nav-link:nth-child(5) { animation-delay: 0.5s; }
}

@media (max-width: 767px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .property-details {
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        text-align: center;
        flex-direction: column;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .navbar-brand img {
        height: 2.5rem; /* 40px */
    }
    
    .navbar-scrolled .navbar-brand img {
        height: 2rem; /* 32px */
    }
    
    .btn-outline-gold {
        font-size: 0.75rem; /* 12px */
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .property-card {
        margin-bottom: 2rem;
    }
    
    .navbar-collapse {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem !important;
    }
}

/* Dark Form Styles */
.contact-form-wrapper.dark-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0.625rem); /* 10px */
    border: 0.0625rem solid rgba(197, 174, 131, 0.3); /* 1px */
}

.contact-form .dark-input {
    background: rgba(255, 255, 255, 0.1);
    border: 0.125rem solid rgba(197, 174, 131, 0.3); /* 2px */
    color: var(--white);
}

.contact-form .dark-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .dark-input option {
    background: var(--primary-dark);
    color: var(--white);
}

.contact-form .dark-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 174, 131, 0.25);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form .form-check-input {
    background-color: transparent;
    border: 0.125rem solid var(--primary-gold); /* 2px */
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}

/* AJAX Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem; /* 8px */
    margin-bottom: 1rem;
    text-align: center;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    border: 0.0625rem solid rgba(40, 167, 69, 0.3); /* 1px */
    color: #28a745;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 0.0625rem solid rgba(220, 53, 69, 0.3); /* 1px */
    color: #dc3545;
}

/* Autofill styling - white background for all autofilled fields */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    background-color: var(--white) !important;
    background-image: none !important;
    color: var(--text-dark) !important;
}

/* Autofill for dark theme inputs */
.dark-input:-webkit-autofill,
.dark-input:-webkit-autofill:hover,
.dark-input:-webkit-autofill:focus,
.dark-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset !important;
    -webkit-text-fill-color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
}

/* Contact form specific autofill */
.contact-form-input:-webkit-autofill,
.contact-form-input:-webkit-autofill:hover,
.contact-form-input:-webkit-autofill:focus,
.contact-form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    background-color: var(--white) !important;
    border: 1px solid #ddd !important;
}

/* Firefox autofill support */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
    background-color: var(--white) !important;
    color: var(--text-dark) !important;
    background-image: none !important;
}

.dark-input:-moz-autofill {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
}

.contact-form-input:-moz-autofill {
    background-color: var(--white) !important;
    color: var(--text-dark) !important;
    border: 1px solid #ddd !important;
}