/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    --primary: #529797;
    --primary-dark: #407676;
    --primary-light: #66acac;
    --secondary: #2C3E50;
    --accent: #E74C3C;
    --text: #333333;
    --text-light: #6B7280;
    --bg: #ffffff;
    --bg-light: #F9FAFB;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --text: #E5E7EB;
    --text-light: #9CA3AF;
    --bg: #1F2937;
    --bg-light: #111827;
    --secondary: #374151;
    --border: #374151;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* =========================================
   2. Header & Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--secondary);
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: white;
    font-size: 16px;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    line-height: 2; /* Ensure icon centering */
    text-align: center;
}

/* Footer specific overlap fix */
.footer-section .social-links {
    margin-top: 15px;
}

.social-links a::before {
    font-family: 'Font Awesome 6 Brands', 'Font Awesome 6 Free', 'FontAwesome', sans-serif;
    font-weight: 400;
}

.social-links a.facebook::before { content: '\f39e'; }
.social-links a.instagram::before { content: '\f16d'; }
.social-links a.youtube::before { content: '\f167'; }
.social-links a.tiktok::before { content: '\e07b'; }

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

.header-main {
    padding: 12px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span,
.logo::before {
    display: none; /* Hide text and emoji by default */
}

/* Fallback: Show text and emoji if image fails */
.logo.image-error span,
.logo.image-error::before {
    display: block;
}

.logo::before {
    content: '🏠';
    font-size: 28px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo.image-error img {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--bg-light);
    transform: rotate(180deg);
}

.theme-toggle::before {
    font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    content: '\f186';
}

[data-theme="dark"] .theme-toggle::before {
    content: '\f185';
}

/* =========================================
   3. Common Components
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Page Header (About, Contact, FAQ, Testimonials) */
.page-header {
    margin-top: 110px;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   4. Index Page Styles
   ========================================= */
.hero {
    margin-top: 110px;
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="50" r="30" fill="rgba(255,255,255,0.02)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* Property Cards Home */
.property-links {
    max-width: 1200px;
    margin: -80px auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}

.property-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block; /* ensure links behave as blocks */
}

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

.property-badge {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-title {
    background: var(--secondary);
    color: white;
    padding: 12px 20px;
    font-size: 13px;
    text-align: center;
}

.property-image {
    position: relative;
    padding-top: 60%;
    background: var(--bg-light);
    overflow: hidden;
}

.property-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-footer {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.property-footer::after {
    content: '→';
    font-size: 20px;
}

/* Home Testimonials */
.testimonials {
    background: var(--bg-light);
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* =========================================
   5. About Page Styles
   ========================================= */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-main {
    background: var(--bg);
}

.content-main h2 {
    color: var(--primary);
    font-size: 28px;
    margin: 30px 0 20px;
    font-weight: 700;
}

.content-main p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text);
}

/* Stats Grid used in About */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar & Featured Property (Used in About, Testimonials) */
.sidebar {
    position: sticky;
    top: 130px;
    height: fit-content;
}

.featured-property {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

[data-theme="dark"] .featured-property {
    background: var(--bg-light);
}

.featured-badge {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.featured-image {
    position: relative;
    padding-top: 75%;
    background: var(--bg-light);
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info {
    padding: 20px;
}

.featured-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.featured-info .address {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.featured-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
}

.featured-price .label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
}

.featured-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* =========================================
   6. Contact Page Styles
   ========================================= */
/* Contact grid override */
.content-grid.contact-layout {
    grid-template-columns: 1fr 2fr;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.contact-card h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card h3::before {
    font-size: 24px;
    font-family: 'Segoe UI Emoji', sans-serif;
}

.contact-card.address h3::before { content: '📍'; }
.contact-card.phone h3::before { content: '📞'; }
.contact-card.email h3::before { content: '📧'; }
.contact-card.emergency h3::before { content: '🆘'; }
.contact-card.fax h3::before { content: 'Fax'; }

.contact-card p {
    color: var(--text);
    line-height: 1.8;
}

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

.contact-card a:hover {
    text-decoration: underline;
}

.map-container {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.map-placeholder {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%);
    overflow: hidden;
}

.map-placeholder::before {
    content: '🗺️';
    font-size: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.map-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.contact-form h2 {
    color: var(--text);
    font-size: 28px;
    margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text);
}

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

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

.form-group.required label::after {
    content: ' *';
    color: var(--accent);
}

.btn-submit {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

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

.success-message,
.error-message {
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: none;
}

.success-message {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.error-message {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.success-message.show,
.error-message.show {
    display: block;
}

/* =========================================
   7. FAQ Styling
   ========================================= */
.search-container {
    max-width: 800px;
    margin: -30px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--bg);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(82, 151, 151, 0.1);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-icon {
    font-size: 20px;
    color: var(--text-light);
    padding: 0 10px;
}

.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 12px 24px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.faq-section {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category-title::before {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--primary);
    border-radius: 2px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.faq-question:hover {
    background: rgba(82, 151, 151, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--text);
    line-height: 1.8;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    color: white;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   8. Testimonials Page Styles
   ========================================= */
.stats-banner {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 50px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-item .number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item .label {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.testimonial-card {
    background: white; /* index style */
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    /* transition via standard shared style */
}

/* Testimonials Page uses specific card style */
.testimonials .testimonial-card {
    border-left: none; /* Reset if needed */
}

.testimonials-grid .testimonial-card {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* On Testimonials Page, text color is slightly different in original */
.testimonials-grid .testimonial-text {
    color: var(--text);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Enhanced author section on Testimonials page */
.testimonials-grid .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.author-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}

.view-property {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.view-property:hover {
    color: var(--primary);
}

.rating {
    color: #FFC107;
    margin-bottom: 15px;
}

.rating::before {
    content: '⭐⭐⭐⭐⭐';
    font-size: 16px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* =========================================
   9. Footer
   ========================================= */
footer {
    background: var(--secondary);
    color: white;
    padding: 60px 20px 30px;
    /* margin-top managed by individual page flow usually, but we can set a default */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   10. Animations & Loading
   ========================================= */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

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

/* =========================================
   11. Media Queries (Mobile)
   ========================================= */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed;
        top: 110px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 10px;
        width: 100%;
    }

    nav a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Index Hero */
    .hero {
        height: 500px;
        margin-top: 100px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .property-links {
        margin-top: -60px;
        grid-template-columns: 1fr;
    }

    /* Common */
    .section-title,
    .page-header h1 {
        font-size: 28px;
    }

    .content-grid,
    .content-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .testimonial-grid,
    .testimonials-grid,
    .stats-grid,
    .stats-banner {
        grid-template-columns: 1fr;
    }

    /* Contact Page */
    .contact-form {
        padding: 30px 20px;
    }
    
    .content-grid.contact-layout {
        grid-template-columns: 1fr;
    }

    /* FAQ Page */
    .category-tabs {
        gap: 10px;
    }

    .category-tab {
        padding: 10px 16px;
        font-size: 14px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
}
