/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #2d3436;
    --primary-dark: #1a1d1e;
    --primary-light: #636e72;
    --accent-color: #8b7355;
    --accent-light: #a89279;
    --accent-dark: #6d5940;
    --text-dark: #2d3436;
    --text-medium: #636e72;
    --text-light: #b2bec3;
    --bg-white: #ffffff;
    --bg-off-white: #fafafa;
    --bg-cream: #f8f7f5;
    --border-light: #e8e6e3;
    --border-medium: #dfe6e9;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;

    --transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-medium: 0 10px 20px rgba(0, 0, 0, 0.06), 0 3px 6px rgba(0, 0, 0, 0.04);
    --shadow-large: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-dramatic: 0 30px 60px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===================================
   Typography - BOLD & DRAMATIC
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

h1 {
    font-size: 7rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

h2 {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 2.75rem;
    font-weight: 400;
}

h4 {
    font-size: 2rem;
    font-weight: 400;
}

h5 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-medium);
    line-height: 1.9;
    max-width: 65ch;
}

.section-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3.5rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 1px;
    background: var(--accent-color);
}

/* ===================================
   Layout & Container
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

section {
    padding: 10rem 0;
    position: relative;
}

@media (max-width: 968px) {
    section {
        padding: 5rem 0;
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1.125rem 3rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

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

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

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

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

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

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

.btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0.5rem 0;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--accent-color);
}

.btn-large {
    padding: 1.5rem 3.5rem;
    font-size: 1rem;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    overflow: visible;
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1001;
    text-decoration: none;
}

.logo img {
    height: 175px;
    width: auto;
    display: block;
    transition: var(--transition);
    margin-top: 0;
    margin-bottom: -70px;
}

.logo:hover img {
    opacity: 0.8;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-medium);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.875rem;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-menu a:not(.btn-primary):hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:not(.btn-primary):hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-soft);
    border-radius: 0;
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0.75rem 2rem;
}

.dropdown-menu a {
    display: block;
    font-size: 0.9375rem;
}

.dropdown-menu a::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ===================================
   Hero Section - DRAMATIC & BOLD
   =================================== */
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--bg-white);
    color: var(--text-dark);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.25) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    margin-left: 8%;
    text-align: left;
}

.hero-title {
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text-dark);
    max-width: 14ch;
}

.hero-title em,
.hero-title i {
    font-style: italic;
    font-weight: 300;
    color: var(--accent-color);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 42ch;
    padding-left: 0.25rem;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Elegant scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-medium), transparent);
    position: relative;
    animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #404951 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 2rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    font-weight: 300;
    position: relative;
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1.125rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* ===================================
   Stats Section - STUNNING NUMBERS
   =================================== */
.stats-section {
    background-color: var(--bg-white);
    padding: 8rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 4rem 3rem;
    position: relative;
    border-right: 1px solid var(--border-light);
}

.stat-card:last-child {
    border-right: none;
}

/* Dramatic vertical divider */
.stat-card::before {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--accent-color) 20%,
        var(--accent-color) 80%,
        transparent 100%);
    opacity: 0.3;
}

.stat-card:last-child::before {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
    font-style: italic;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===================================
   Content Split - ASYMMETRIC
   =================================== */
.content-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 8rem;
    align-items: center;
    position: relative;
}

.content-split.reverse {
    grid-template-columns: 0.8fr 1.2fr;
    direction: rtl;
}

.content-split.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.content-text p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-medium);
}

.content-text p:last-of-type {
    margin-bottom: 3rem;
}

.content-image {
    position: relative;
    transform: translateY(-3rem);
}

.content-split.reverse .content-image {
    transform: translateY(3rem);
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--bg-cream);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 1.25rem;
    font-weight: 400;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.05) 0%, transparent 100%);
}

.image-placeholder.dark {
    background: var(--primary-dark);
    color: var(--bg-white);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    margin-bottom: 6rem;
    max-width: 900px;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7rem;
}

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

.section-header p {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.9;
    font-weight: 300;
}

/* ===================================
   Services Section - BOLD CARDS
   =================================== */
.services-section {
    background-color: var(--bg-off-white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    row-gap: 5rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 5rem 4rem;
    border-radius: 0;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

/* Large background numbers */
.service-card::before {
    content: attr(data-number);
    position: absolute;
    top: -1rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 12rem;
    font-weight: 300;
    color: var(--bg-cream);
    line-height: 1;
    z-index: 0;
    opacity: 0.6;
    transition: var(--transition-slow);
}

/* Accent line on left */
.service-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: var(--transition-slow);
    transform-origin: bottom;
}

.service-card:hover {
    transform: translateX(1rem);
    box-shadow: var(--shadow-dramatic);
    border-color: transparent;
}

.service-card:hover::before {
    color: var(--accent-color);
    opacity: 0.15;
    transform: translateX(1rem);
}

.service-card:hover::after {
    transform: scaleY(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-bottom: 3rem;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.9;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* Services Detail */
.services-detail {
    background-color: var(--bg-white);
}

.services-list {
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 300;
    color: rgba(139, 115, 85, 0.2);
    line-height: 1;
    min-width: 120px;
    font-style: italic;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.service-content p {
    color: var(--text-medium);
    margin-bottom: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ===================================
   Team Section - DRAMATIC LAYOUT
   =================================== */
.team-preview {
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
}

/* First card larger */
.team-card:first-child {
    grid-row: span 1;
}

/* Second card offset down */
.team-card:nth-child(2) {
    margin-top: 4rem;
}

.team-card {
    background-color: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-slow);
    border: none;
    position: relative;
}

.team-card:hover {
    transform: translateY(-1rem);
    box-shadow: var(--shadow-dramatic);
}

.team-photo {
    aspect-ratio: 1;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-photo::after {
    opacity: 1;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.photo-placeholder {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 300;
    color: var(--text-medium);
    opacity: 0.3;
}

.team-info {
    padding: 3rem;
    position: relative;
    background: var(--bg-white);
}

.team-info h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.team-title {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.team-desc {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.team-contact {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.team-contact a {
    color: var(--text-medium);
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-contact a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ===================================
   Testimonials - DRAMATIC QUOTES
   =================================== */
.testimonials-section {
    background-color: var(--bg-off-white);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: none;
}

.testimonials-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 400px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 5rem 4rem;
    border-radius: 2px;
    box-shadow: var(--shadow-subtle);
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-content {
    margin-bottom: 4rem;
    position: relative;
}

/* Dramatic opening quote */
.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -3rem;
    left: -2rem;
    font-family: var(--font-heading);
    font-size: 15rem;
    color: var(--accent-color);
    opacity: 0.08;
    line-height: 1;
    z-index: 0;
}

.testimonial-content p {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    font-family: var(--font-primary);
    letter-spacing: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    padding-left: 3rem;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 2rem;
    height: 1px;
    background: var(--accent-color);
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 500;
}

.testimonial-author span {
    color: var(--text-medium);
    font-size: 1rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
}

.carousel-btn {
    background-color: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-dark);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-medium);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--accent-color);
    width: 32px;
    border-radius: 5px;
}

.testimonials-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ===================================
   Communities Section
   =================================== */
.communities-section {
    background-color: var(--bg-white);
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 4rem;
}

.community-card {
    background-color: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-slow);
    position: relative;
}

.community-card:hover {
    transform: translateY(-1rem);
    box-shadow: var(--shadow-dramatic);
}

.community-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.community-content {
    padding: 3rem;
}

.community-content h3 {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 2rem;
}

.community-content p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ===================================
   Features Grid
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 5rem 4rem;
}

.feature-card {
    text-align: left;
    padding: 0;
    position: relative;
    padding-left: 2rem;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--accent-color);
    margin: 0 0 2rem 0;
}

.feature-card h3 {
    margin-bottom: 1.25rem;
    font-weight: 400;
    font-size: 1.75rem;
}

.feature-card p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ===================================
   Why Choose Section
   =================================== */
.why-choose-section {
    background-color: var(--bg-off-white);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d3436 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
}

.cta-content p {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 5rem 0 2rem;
}

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

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

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-tagline {
    font-style: italic;
    color: var(--accent-light) !important;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer ul li a:hover {
    color: var(--accent-light);
}

.contact-info li {
    margin-bottom: 1.5rem;
}

.contact-info strong {
    display: block;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.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-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

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

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

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 5.5rem;
    }

    h1 { font-size: 5.5rem; }
    h2 { font-size: 3.5rem; }

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

    .testimonial-content p {
        font-size: 1.85rem;
    }
}

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

    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.75rem; }
    h3 { font-size: 2rem; }

    .hero {
        height: 100vh;
    }

    .hero-content {
        margin-left: 0;
        padding: 2rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 3.5rem;
        max-width: 100%;
    }

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

    .hero-overlay {
        background: rgba(255, 255, 255, 0.8);
    }

    .content-split,
    .content-split.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .content-image {
        transform: translateY(0) !important;
    }

    section {
        padding: 6rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .team-card:nth-child(2) {
        margin-top: 0;
    }

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

    .testimonial-content p {
        font-size: 1.5rem;
    }

    .testimonial-content::before {
        font-size: 10rem;
        top: -2rem;
        left: -1rem;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        overflow-y: auto;
    }

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

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

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

    .hero-cta .btn {
        width: auto;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 640px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

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

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

    .service-card::before {
        font-size: 8rem;
    }

    .service-card {
        padding: 3rem 2rem;
    }

    .testimonial-card {
        padding: 3rem 2rem;
    }

    .testimonial-content p {
        font-size: 1.35rem;
    }

    .stats-grid,
    .services-grid,
    .team-grid,
    .communities-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-number {
        font-size: 3rem;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .stat-card:last-child {
        border-bottom: none;
    }

    .stat-card::before {
        right: auto;
        left: 25%;
        right: 25%;
        top: auto;
        bottom: 0;
        width: auto;
        height: 1px;
        background: linear-gradient(to right,
            transparent 0%,
            var(--accent-color) 20%,
            var(--accent-color) 80%,
            transparent 100%);
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Home Search Page
   =================================== */
.search-intro {
    padding: 8rem 0;
    background-color: var(--bg-off-white);
}

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

.content-centered h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.content-centered .lead {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.search-features {
    padding: 8rem 0;
    background-color: var(--bg-white);
}

/* Utility Classes */
.text-center { text-align: center; }
.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; }
