@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #003366;
    --primary-blue-dark: #002244;
    --primary-blue-light: #004488;
    --accent-green: #A7C957;
    --accent-green-dark: #8CB347;
    --neutral-dark: #333333;
    --neutral-medium: #666666;
    --neutral-light: #999999;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --header-height: 80px;
    --header-height-scrolled: 60px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--neutral-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

.section {
    padding: 80px 0;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-medium);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    z-index: 1000;
    transition: var(--transition-medium);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-medium);
}

.header.scrolled .logo-img {
    height: 40px;
}

.remax-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-medium);
}

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

.nav-link:hover {
    color: var(--primary-blue);
}

.header-cta {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}

.header-cta::after {
    display: none;
}

.header-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-medium);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 100px 30px 30px;
    transition: var(--transition-medium);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-dark);
    display: block;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-medium);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.mobile-nav-cta {
    margin-top: 30px;
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
}

.mobile-nav-contact {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--primary-blue);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 51, 102, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

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

.btn-white:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--neutral-medium);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.feature-text {
    font-weight: 500;
    color: var(--neutral-dark);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-medium);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--neutral-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--accent-green);
    gap: 10px;
}

/* ===== FEATURED PROPERTIES CTA ===== */
.featured-cta {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.85);
}

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

.featured-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.featured-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-image: url('../images/testimonial-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.95);
}

.testimonials-content {
    position: relative;
    z-index: 2;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-dark);
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--neutral-medium);
    margin-top: 5px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.carousel-btn:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-blue);
    transition: var(--transition-medium);
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--primary-blue);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--primary-blue);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-remax {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-green);
    flex-shrink: 0;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.social-link:hover {
    background: var(--accent-green);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

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

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.75);
}

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

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.story-section {
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.05rem;
    color: var(--neutral-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-values {
    margin-top: 30px;
}

.story-values h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.story-values ul {
    list-style: none;
}

.story-values li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--neutral-dark);
}

.story-values li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
}

/* Team Section */
.team-section {
    background: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.team-info p {
    color: var(--neutral-medium);
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-us-section {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-card {
    padding: 40px 30px;
    border-radius: 8px;
    background: var(--light-bg);
    text-align: center;
    transition: var(--transition-medium);
}

.why-us-card:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.why-us-card:hover .why-us-icon {
    background: var(--white);
}

.why-us-card:hover .why-us-icon svg {
    fill: var(--primary-blue);
}

.why-us-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-us-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.why-us-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-us-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

/* ===== SERVICES PAGE SPECIFIC ===== */
.services-detail-section {
    background: var(--white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-grid:nth-child(even) .service-detail-image {
    order: 2;
}

.service-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: var(--neutral-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Process Timeline */
.process-section {
    background: var(--light-bg);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--primary-blue);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.process-step:hover .step-number {
    background: var(--accent-green);
    transform: scale(1.1);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--neutral-medium);
    line-height: 1.6;
}

/* ===== PROPERTIES PAGE SPECIFIC ===== */
.properties-section {
    background: var(--white);
    padding-top: 60px;
}

.property-filters {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: end;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 8px;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-medium);
}

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

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.property-details {
    padding: 25px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.property-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.property-address {
    color: var(--neutral-medium);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-specs {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.property-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--neutral-dark);
}

.property-specs svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-blue);
}

/* ===== CONTACT PAGE SPECIFIC ===== */
.contact-section {
    background: var(--white);
    padding-top: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 8px;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

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

.form-success {
    display: none;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
    margin-top: 20px;
}

.contact-info-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

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

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.contact-item h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--neutral-medium);
    font-size: 0.95rem;
}

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

.contact-map {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-grid,
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid,
    .team-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid:nth-child(even) .service-detail-image {
        order: 0;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax {
        background-attachment: scroll;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}
