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

/* Remove all focus outlines and blue highlighting */
*:focus,
*:active,
*:visited,
button:focus,
button:active,
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active,
a:focus,
a:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    border-color: var(--accent-color) !important;
}

/* Remove webkit autofill blue background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--white) inset !important;
    -webkit-text-fill-color: var(--theme-color) !important;
}

:root {
    --accent-color: #c4ad84;
    --theme-color: #000000;
    --dark-accent: #020b23;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --off-white: #f1f1f1;
    --transition: all 0.3s ease;
}

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

/* === PROGRESS BAR === */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 80%, var(--dark-accent) 100%);
    z-index: 10001;
    transition: width 0.1s ease;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.accent {
    color: var(--accent-color);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.btn:focus,
.btn:active,
.btn:visited {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

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

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

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

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

/* === NAVIGATION === */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-100%);
    animation: navSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes navSlideIn {
    to {
        transform: translateY(0);
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    opacity: 0;
    animation: logoFadeIn 0.6s ease-out 0.5s forwards;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 42px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-image {
    filter: brightness(1.1);
}

.nav-logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
    color: var(--theme-color);
}

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

.nav-menu li {
    opacity: 0;
    transform: translateY(-20px);
    animation: navItemSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.7s; }
.nav-menu li:nth-child(2) { animation-delay: 0.8s; }
.nav-menu li:nth-child(3) { animation-delay: 0.9s; }
.nav-menu li:nth-child(4) { animation-delay: 1.0s; }
.nav-menu li:nth-child(5) { animation-delay: 1.1s; }
.nav-menu li:nth-child(6) { animation-delay: 1.2s; }
.nav-menu li:nth-child(7) { animation-delay: 1.3s; }
.nav-menu li:nth-child(8) { animation-delay: 1.4s; }

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

.nav-link {
    text-decoration: none;
    color: var(--theme-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 10px 16px;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(196, 173, 132, 0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(196, 173, 132, 0.12);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 6px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* === HAMBURGER MENU === */
.hamburger {
    height: 44px;
    width: 44px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: none;
}

.hamburger:hover {
    transform: scale(1.05);
}

.hamburger .checkbox {
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    z-index: 2;
}

.line {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    stroke-width: 3px;
    stroke: var(--theme-color);
}

.lineTop {
    stroke-dasharray: 40 40;
    stroke-dashoffset: 25;
}

.lineBottom {
    stroke-dasharray: 40 40;
    stroke-dashoffset: 60;
}

.lineMid {
    stroke-dasharray: 40 40;
}

.hamburger .checkbox:checked + svg .line {
    stroke: var(--accent-color);
}

.hamburger .checkbox:checked + svg .lineTop {
    stroke-dashoffset: 0;
    transform-origin: left;
    transform: rotateZ(45deg) translate(-7px, -5px);
}

.hamburger .checkbox:checked + svg .lineMid {
    stroke-dashoffset: 40;
}

.hamburger .checkbox:checked + svg .lineBottom {
    stroke-dashoffset: 0;
    transform-origin: left;
    transform: rotateZ(-45deg) translate(-5px, 5px);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2, 11, 35, 0.8) 0%, rgba(196, 173, 132, 0.3) 100%);
    z-index: 1;
}

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

.hero-text h1 {
    font-size: 7rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    transition: var(--transition);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stat p {
    font-size: 0.9rem;
    color: var(--white);
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

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

/* Disable fixed background on mobile for better performance */
@media (max-width: 768px) {
    .hero-slideshow {
        position: absolute;
    }
}

/* Hide fixed background in specific sections */
.services {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.team {
    background: var(--white);
    position: relative;
    z-index: 10;
}

.contact {
    background: var(--white);
    position: relative;
    z-index: 10;
}

/* === SECTION STYLES === */
section {
    padding: 80px 0;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0;
}

/* === ABOUT SECTION === */
.about {
    background: var(--light-gray);
}

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

.about-text h3 {
    color: var(--dark-accent);
    margin-bottom: 1.5rem;
}

.mission-vision {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.mission h4, .vision h4 {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray);
    margin: 0;
}

/* === SERVICES SECTION === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.service-icon {
    background: var(--accent-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

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

.external-services {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light-gray);
}

.affordability-intro {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.affordability-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: left;
}

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

.affordability-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent-color), #e6d7c3);
    position: relative;
}

/* Temporary placeholder styling for missing images */
.affordability-card img[src*="affordable-starter-home.jpg"] {
    background: linear-gradient(135deg, #a8c8ec, #7fcdcd);
}

.affordability-card img[src*="mid-range-family-home.jpg"] {
    background: linear-gradient(135deg, var(--accent-color), #e6d7c3);
}

.affordability-card img[src*="luxury-waterfront-home.jpg"] {
    background: linear-gradient(135deg, #020b23, #4a5568);
}

.affordability-content {
    padding: 1.5rem;
}

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

.price-range {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.affordability-content p:last-child {
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

.external-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--dark-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.external-service-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* === LOCATIONS SECTION === */
.locations {
    background: var(--light-gray);
}

.location-category {
    margin-bottom: 3rem;
}

.location-category h3 {
    color: var(--dark-accent);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.location-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.location-btn {
    display: block;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--theme-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.location-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.location-btn img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.location-btn span {
    display: block;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    background: var(--white);
    color: var(--dark-accent);
}

.location-btn:hover span {
    background: var(--accent-color);
    color: var(--white);
}

/* === TEAM SECTION === */
.broker-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.broker-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.broker-info h3 {
    font-size: 2.5rem;
    color: var(--dark-accent);
    margin-bottom: 0.5rem;
}

.broker-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gray);
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
    margin: 2rem 0;
    line-height: 1.8;
}

.broker-story p {
    margin-bottom: 1.5rem;
}

.broker-story strong {
    color: var(--accent-color);
}

/* === JOIN TEAM SECTION === */
.join-team {
    background: var(--light-gray);
}

.join-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

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

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    background: var(--dark-accent);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.benefit-card h3 {
    color: var(--dark-accent);
    margin-bottom: 1rem;
}

.join-cta {
    text-align: center;
}

/* === REVIEWS SECTION === */
.reviews {
    background: var(--light-gray);
    padding: 80px 0;
}

.google-rating {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    font-size: 2rem;
    line-height: 1;
}

.rating-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-accent);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    line-height: 1;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

.testimonial-author {
    border-top: 2px solid var(--light-gray);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark-accent);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-details {
    color: var(--gray);
    font-size: 0.9rem;
}

.reviews-cta {
    text-align: center;
    font-size: 1.2rem;
}

.inline-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.inline-link:hover {
    color: var(--dark-accent);
    text-decoration: underline;
}

/* === FORMS === */
.evaluation {
    background: var(--light-gray);
}

.evaluation-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.evaluation-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: var(--dark-accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(196, 173, 132, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.quick-evaluation {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-evaluation h3 {
    color: var(--dark-accent);
    margin-bottom: 1rem;
}

/* === CONTACT SECTION === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item i {
    background: var(--accent-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin: 0 0 0.25rem 0;
    color: var(--dark-accent);
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--dark-accent);
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    color: var(--dark-accent);
    margin-bottom: 1rem;
}

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

.social-icons a {
    background: var(--accent-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--dark-accent);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    background: rgba(196, 173, 132, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .broker-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        opacity: 0;
        animation: hamburgerFadeIn 0.5s ease-out 1.5s forwards;
    }
    
    @keyframes hamburgerFadeIn {
        to {
            opacity: 1;
        }
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        transform: translateY(-100%);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 0;
        visibility: hidden;
        padding: 0;
        border-radius: 0;
        border: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        opacity: 1;
        transform: none;
        animation: none;
        width: 100%;
        max-width: 280px;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(5px);
        margin: 0;
    }
    
    .nav-link:hover {
        background: rgba(196, 173, 132, 0.15);
        transform: translateY(-2px);
        border-color: rgba(196, 173, 132, 0.3);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stat {
        padding: 1rem;
    }
    
    .hero-stat h3 {
        font-size: 1.6rem;
    }
    
    .hero-stat p {
        font-size: 0.85rem;
    }
    
    .rating-stars {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stars {
        font-size: 1.5rem;
    }
    
    .rating-text {
        font-size: 1.2rem;
    }
    
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .location-buttons {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    /* Mobile animation performance optimizations */
    .animate-zoom-in.in-view {
        animation-duration: 0.3s; /* Faster animation on mobile */
    }
    
    .location-btn {
        will-change: transform, opacity; /* Optimize for animations */
        transform: translateZ(0); /* Force hardware acceleration */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .evaluation-form,
    .contact-form {
        padding: 1.5rem;
    }
    
    .location-buttons {
        grid-template-columns: 1fr;
    }
}

/* === ANIMATIONS === */
/* Base state for all animated elements */
.animate-slide-left,
.animate-slide-right,
.animate-slide-up,
.animate-slide-down,
.animate-fade-in,
.animate-zoom-in {
    opacity: 0;
    will-change: transform, opacity;
}

/* Slide from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-left.in-view {
    animation: slideInLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Slide from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-right.in-view {
    animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Slide from bottom */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up.in-view {
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Slide from top */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down.in-view {
    animation: slideInDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in.in-view {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Zoom in */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-zoom-in.in-view {
    animation: zoomIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered animations for groups - faster delays */
.animate-slide-left.in-view {
    animation-delay: 0.05s;
}

.animate-slide-up.in-view {
    animation-delay: 0.1s;
}

.animate-slide-right.in-view {
    animation-delay: 0.15s;
}

/* Mobile optimization - Keep animations enabled with performance optimizations */
@media (max-width: 768px) {
    /* Optimize animations for mobile performance */
    .animate-slide-left,
    .animate-slide-right,
    .animate-slide-up,
    .animate-slide-down,
    .animate-fade-in,
    .animate-zoom-in {
        opacity: 0;
        will-change: transform, opacity;
    }
    
    /* Ultra-fast animations for mobile devices */
    .animate-slide-left.in-view {
        animation: slideInLeft 0.2s ease-out forwards;
    }
    
    .animate-slide-right.in-view {
        animation: slideInRight 0.2s ease-out forwards;
    }
    
    .animate-slide-up.in-view {
        animation: slideInUp 0.2s ease-out forwards;
    }
    
    .animate-slide-down.in-view {
        animation: slideInDown 0.2s ease-out forwards;
    }
    
    .animate-fade-in.in-view {
        animation: fadeIn 0.2s ease-out forwards;
    }
    
    .animate-zoom-in.in-view {
        animation: zoomIn 0.2s ease-out forwards;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .animate-slide-left,
    .animate-slide-right,
    .animate-slide-up,
    .animate-slide-down,
    .animate-fade-in,
    .animate-zoom-in {
        opacity: 1;
        transform: none;
    }
    
    .animate-slide-left.in-view,
    .animate-slide-right.in-view,
    .animate-slide-up.in-view,
    .animate-slide-down.in-view,
    .animate-fade-in.in-view,
    .animate-zoom-in.in-view {
        animation: none;
    }
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }