/* 
   Fairdeal Advisory Landing Page Styles
   A distinctive design for a real estate brokering and consulting advisory business
   in Electronic City, Bangalore
*/

/* ===== Base Styles ===== */
:root {
    /* Primary Colors */
    --navy: #1A5276;
    --gold: #D4AC0D;
    
    /* Secondary Colors */
    --teal: #2E8B57;
    --warm-neutral: #E8DAEF;
    
    /* Accent Colors */
    --terracotta: #C0392B;
    --light-gray: #F5F5F5;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #333333;
    --gray: #777777;
    --dark-gray: #555555;
    
    /* Font Families */
    --heading-font: 'Playfair Display', serif;
    --subheading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1, h2 {
    font-family: var(--heading-font);
    font-weight: 700;
}

h3, h4, h5, h6 {
    font-family: var(--subheading-font);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

a:hover {
    color: var(--teal);
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    color: var(--navy);
    margin-bottom: var(--spacing-xs);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.section-subtitle {
    color: var(--gray);
    font-family: var(--subheading-font);
    font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px; /* Reduced horizontal padding for all buttons */
    border-radius: var(--radius-md);
    font-family: var(--subheading-font);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: #14415e;
    color: var(--white);
}

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

.btn-secondary:hover {
    background-color: #b8940b;
    color: var(--white);
}

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

.btn-tertiary:hover {
    background-color: var(--navy);
    color: var(--white);
}

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

.btn-light:hover {
    background-color: var(--light-gray);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--navy);
}

.logo span {
    color: var(--gold);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin: 0 var(--spacing-xs); /* Reduced margin to fit 'Home' link */
}

.nav-link {
    font-family: var(--subheading-font);
    font-weight: 600;
    color: var(--dark-gray);
    padding: 0.5rem;
    position: relative;
    
}

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

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

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

.header-cta {
    margin-left: var(--spacing-sm); /* Reduced margin to give nav more space */
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the parent */
    left: 0;
    background-color: var(--white); /* White background */
    box-shadow: var(--shadow-md); /* Use existing shadow variable */
    list-style: none;
    padding: 10px 0; /* Padding top/bottom */
    margin: 5px 0 0 0; /* Add small top margin */
    min-width: 220px; /* Minimum width */
    z-index: 1000; /* Ensure it's above other content */
    border-radius: var(--radius-sm); /* Use existing radius variable */
    border: 1px solid #eee; /* Light border */
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu { /* Show on hover/focus */
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px; /* Padding for items */
    color: var(--dark-gray); /* Use existing dark gray */
    font-family: var(--subheading-font); /* Match nav link font */
    font-weight: 600; /* Match nav link weight */
    text-decoration: none;
    white-space: nowrap; /* Prevent wrapping */
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-gray); /* Use existing light gray */
    color: var(--navy); /* Use existing navy */
}

.dropdown-item.active {
    font-weight: 700; /* Slightly bolder for active */
    color: var(--navy);
    background-color: #e9ecef; /* Slightly different background for active */
}

.dropdown-toggle .dropdown-icon {
    margin-left: 5px; /* Space between text and icon */
    font-size: 0.7em; /* Smaller icon */
    transition: transform var(--transition-fast);
    display: inline-block; /* Ensure icon aligns properly */
    vertical-align: middle; /* Align icon vertically */
}

.nav-item.dropdown:hover .dropdown-toggle .dropdown-icon {
    transform: rotate(180deg); /* Rotate icon when dropdown is open */
}
/* End Dropdown Menu Styles */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--navy);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--navy);
    transition: transform var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ===== Hero Section ===== */
.hero {
    background-color: var(--white); /* Changed background */
    color: var(--black); /* Changed text color */
    padding: var(--spacing-xl) 0; /* Added padding like other sections */
    padding-top: calc(var(--spacing-xl) + 80px); /* Add space for fixed header */
    min-height: 100vh; /* Set minimum height to fill the viewport */
    display: flex; /* Use flex to center the container */
    justify-content: center; /* Center the container horizontally */
    align-items: center; /* Center the container vertically */
    text-align: left; /* Keep text alignment for content inside */
    position: relative; /* Add position relative for z-index to work */
    z-index: 1; /* Ensure hero is above other elements */
}

.hero-container {
    display: grid;
    /* Using minmax for better control over column sizing */
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); 
    gap: var(--spacing-lg);
    align-items: center; /* Keep vertical alignment */
    width: 100%; /* Ensure container takes full width within flex parent */
    max-width: 1200px; /* Match general container width */
    padding: var(--spacing-lg) 0; /* Add padding for more vertical space */
}

.hero-text-column {
    /* Styles for the left column */
}

.hero-title {
    font-size: 3.5rem; /* Keep or adjust size */
    margin-bottom: var(--spacing-sm);
    color: var(--black); /* Ensure dark color */
    text-shadow: none; /* Removed text shadow */
}

.hero-description { /* New class for description paragraph */
    font-size: 1.1rem; /* Adjust size */
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
    max-width: 550px; /* Limit width */
}

.hero-cta {
    display: flex;
    justify-content: flex-start; /* Align buttons left */
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg); /* Add margin below buttons */
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg); /* Space between stat items */
    margin-top: var(--spacing-lg); /* Space above stats */
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-gray); /* Separator line like example */
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-item .stat-number { /* Reusing stat-number class */
    display: block;
    font-size: 2.5rem; /* Adjust size */
    font-weight: 600; /* Adjust weight */
    color: var(--black); /* Changed color */
    font-family: var(--subheading-font); /* Changed font */
    margin-bottom: 0;
}

.hero-stat-item .stat-text { /* Reusing stat-text class */
    font-size: 0.9rem;
    color: var(--gray);
    font-family: var(--body-font); /* Ensure body font */
}

.hero-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */ /* Let's try without overflow first */
}

.hero-image-column img { /* Style the actual image */
    display: block; 
    width: 100%;    /* Let image fill the column width */
    max-width: 600px; /* Increase max-width for larger image */
    height: auto;   /* Maintain aspect ratio */
    object-fit: contain; /* Ensure image scales nicely */
    border-radius: var(--radius-lg); /* Optional: add radius */
    box-shadow: var(--shadow-md); /* Add shadow for more depth */
}

/* Removed .hero-graphic-placeholder styles */

/* Removed .scroll-indicator and @keyframes bounce */

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start; /* Align items to the top */
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-text {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.about-text:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    color: var(--navy);
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin: var(--spacing-md) 0;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-sm);
}

/* Adjusted .stat-number within .about-stats to keep original style there */
.about-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--heading-font);
    margin-bottom: 5px;
}

/* Adjusted .stat-text within .about-stats to keep original style there */
.about-stats .stat-text {
    font-size: 0.9rem;
    color: var(--gray);
    font-family: var(--subheading-font);
}

/* ===== Services Section ===== */
.services {
    position: relative;
    z-index: 2; /* Ensure services section is properly positioned */
    margin-top: -20px; /* Create a slight overlap with hero section */
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05); /* Add subtle shadow at top */
}

.services-grid {
    display: grid;
    /* Adjust grid to fit 4 items, or wrap nicely */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--spacing-sm);
}

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

.service-title {
    color: var(--navy);
    margin-bottom: var(--spacing-xs);
}

.services-cta {
    margin-top: var(--spacing-lg);
    text-align: center;
}

/* ===== Market Insights Section ===== */
/* New container for the two columns */
.insights-columns-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg); /* Add space before the CTA button */
}

/* Styles for each column */
.insights-column {
    background-color: var(--white); /* Add background */
    padding: var(--spacing-md);      /* Add padding */
    border-radius: var(--radius-md); /* Add rounded corners */
    box-shadow: var(--shadow-sm);   /* Add subtle shadow */
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative; /* Add position relative for proper shadow containment */
    overflow: hidden; /* Ensure shadow doesn't leak outside */
}

.insights-column:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.column-title { /* Replaces .region-title */
    font-size: 1.5rem; /* Reduced font size */
    color: var(--navy);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--gold);
    display: inline-block; 
}

/* Keep existing styles for content within columns, but remove the grid here */
.insights-content {
   /* display: grid; */ /* No longer needed here, structure is within column */
   /* grid-template-columns: 1fr 1fr; */
    /* gap: var(--spacing-lg); */ /* Gap is now handled by .insights-columns-container */
}

.insights-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Keep 2x2 grid for data cards */
    gap: var(--spacing-sm); /* Reduced gap between data cards */
    margin-bottom: var(--spacing-md); /* Add space between data and map */
}

.data-card {
    background-color: transparent; /* Make data card background transparent */
    padding: var(--spacing-xs); /* Add minimal padding */
    border-radius: var(--radius-sm); /* Add small radius */
    box-shadow: none; /* Keep no shadow initially */
    text-align: left; /* Align text left within data card */
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.data-card:hover {
    transform: translateY(-5px); /* Smaller movement for these smaller cards */
    box-shadow: var(--shadow-sm); /* Light shadow on hover */
    background-color: rgba(255, 255, 255, 0.8); /* Slight background on hover */
}

.data-title {
    font-size: 0.9rem; /* Further reduced font size */
    color: var(--navy);
    margin-bottom: 2px; /* Tighter margin */
    font-weight: 600;
}

.data-value {
    font-size: 1.8rem; /* Further reduced font size */
    font-weight: 700;
    color: var(--gold);
    font-family: var(--heading-font);
    margin-bottom: 2px; /* Tighter margin */
}

.data-description {
    font-size: 0.75rem; /* Further reduced font size */
    color: var(--gray);
    line-height: 1.3; /* Adjust line height */
}

.insights-map {
    background-color: transparent; /* Remove background */
    padding: 0; /* Remove padding */
    border-radius: 0;
    box-shadow: none; /* Remove shadow */
    margin-top: var(--spacing-md); /* Add margin above map */
}

.insights-map h3 {
    color: var(--navy);
    margin-bottom: var(--spacing-sm);
    text-align: left; /* Align map title left */
    font-size: 1.2rem; /* Adjust map title size */
}

.map-container {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--white); /* Keep background for map image */
    /* padding: var(--spacing-sm); */ /* Removed padding */
    box-shadow: none; /* Remove shadow to fix the double line issue */
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%; /* Ensure container takes full width */
    margin-top: var(--spacing-sm); /* Add some top margin for spacing */
}

.map-container:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.map-container img {
    border-radius: var(--radius-sm);
    /* max-height: 180px; */ /* Removed max-height limit */
    height: auto; /* Allow height to adjust based on width */
    /* width: 100%; */ /* Removed width: 100% */
    max-width: 85%; /* Set a max-width to make it smaller */
    object-fit: contain; /* Keep contain for now */
    display: block; /* Ensure block display */
    margin: 0 auto; /* Center the image within the container */
}

.insights-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===== Properties Section ===== */
.properties-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.property-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

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

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

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--navy);
    color: var(--white);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--subheading-font);
}

.property-details {
    padding: var(--spacing-md);
}

.property-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--navy);
}

.property-location {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: var(--gray);
    font-size: 0.9rem;
}

.property-location i {
    margin-right: 5px;
    color: var(--terracotta);
}

.property-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--light-gray);
}

.spec-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.spec-item i {
    margin-right: 5px;
    color: var(--navy);
}

.properties-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===== Testimonials Section ===== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-sm);
}

.author-name {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--navy);
}

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

/* ===== Why Choose Us Section ===== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.why-us-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.why-us-item:hover {
    transform: translateY(-10px);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--spacing-sm);
}

.why-us-icon i {
    font-size: 1.8rem;
    color: var(--teal);
}

.why-us-title {
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-form {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--body-font);
    font-size: 1rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: var(--spacing-sm);
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--navy);
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--navy);
}

.map-container {
    margin-top: var(--spacing-sm);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* ===== CTA Section ===== */
.cta {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta-text {
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    background-color: #1a2a3a;
    color: var(--white);
    padding-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.footer-logo span {
    color: var(--gold);
}

.footer-logo p {
    color: #aaa;
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #aaa;
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--gold);
}

.newsletter-form {
    display: flex;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--body-font);
}

.newsletter-form button {
    padding: 0 20px;
    border: none;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: #b8940b;
}

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

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #aaa;
}

.footer-bottom-links a {
    color: #aaa;
    margin-left: 20px;
    transition: color var(--transition-fast);
}

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

/* ===== Floating Contact Button ===== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.floating-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.floating-btn:hover {
    background-color: var(--navy);
    transform: scale(1.1);
    color: var(--white);
}

.floating-btn i {
    font-size: 1.5rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    html {
        font-size: 15px;
    }
    
    .about-content,
    .insights-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .properties-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* No changes to insights-columns-container at this breakpoint */
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    html {
        font-size: 14px;
    }
    
    .header-inner {
        padding: 0.8rem 0;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-medium);
        z-index: 1001;
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-list li {
        margin: var(--spacing-xs) 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-xs) 0;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.7rem; /* Reduced font size for mobile */
    }
    
    .services-grid,
    .properties-slider {
        grid-template-columns: 1fr;
    }
    
    /* Regional Market Insights mobile adjustments */
    .insights-columns-container {
        grid-template-columns: 1fr; /* Switch to single column */
        gap: var(--spacing-md);
    }
    
    /* Insights table layout */
    .insights-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: var(--spacing-sm) 0;
        margin-bottom: var(--spacing-sm);
        table-layout: fixed; /* Ensure equal column widths */
    }
    
    /* Column title styling */
    .column-title {
        color: var(--navy);
        font-size: 1.4rem;
        margin-bottom: var(--spacing-md);
        position: relative;
        padding-bottom: 0.5rem;
        font-family: var(--heading-font);
    }
    
    .column-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: var(--gold);
    }
    
    .insights-table td {
        padding: 0;
        vertical-align: top;
        width: 33.33%;
    }
    
    .insights-table .data-card {
        height: 100%;
        margin: 0;
        background-color: var(--white);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-sm);
        padding: var(--spacing-sm);
        transition: transform var(--transition-fast), box-shadow var(--transition-fast);
        position: relative;
        overflow: hidden;
        border-left: 4px solid var(--gold);
        margin-bottom: var(--spacing-xs);
        text-align: center;
    }
    
    .insights-table .data-card .data-title {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        color: var(--navy);
        font-weight: 600;
    }
    
    .insights-table .data-card .data-value {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 0.5rem;
        font-family: var(--heading-font);
    }
    
    .insights-table .data-card .data-description {
        font-size: 0.75rem;
        color: var(--gray);
        font-style: italic;
    }
    

    
    .insights-table .data-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }
    
    .insights-table .data-card .data-title {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        color: var(--navy);
        font-weight: 600;
    }
    
    .insights-table .data-card .data-value {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 0.5rem;
        font-family: var(--heading-font);
    }
    
    .insights-table .data-card .data-description {
        font-size: 0.75rem;
        color: var(--gray);
        font-style: italic;
    }
    
    .insights-table .data-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background-color: var(--gold);
        opacity: 0.8;
    }
    
    /* Add subtle gradient background to data cards */
    .insights-table .data-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom right, rgba(255,255,255,0.9), rgba(245,245,245,0.4));
        z-index: -1;
    }
    
    /* Highlights card styling */
    .highlights-card {
        background-color: var(--white);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-sm);
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
        position: relative;
        transition: transform var(--transition-fast), box-shadow var(--transition-fast);
        overflow: hidden;
        border-left: 4px solid var(--gold);
    }
    
    .highlights-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }
    
    .highlights-card h3 {
        font-size: 1.1rem;
        color: var(--navy);
        margin-bottom: 0.75rem;
        font-weight: 600;
        font-family: var(--subheading-font);
        position: relative;
        text-align: center;
        padding-bottom: 0.5rem;
    }
    
    .highlights-card h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background-color: var(--teal);
    }
    
    /* Highlights list styling */
    .highlights-list {
        padding-top: 0;
    }

    .highlights-list ul {
        margin: 0;
        padding-left: 1rem;
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 1.5rem;
    }
    
    .highlights-list li {
        flex-basis: 33.333%;
        font-size: 0.9rem;
        color: var(--dark-gray);
        line-height: 1.5;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: flex-start;
    }
    
    /* Direct styling for highlight icons with stronger specificity */
    .highlights-list ul li .highlight-icon,
    .highlights-list ul li i.highlight-icon,
    i.highlight-icon {
        color: #D4AC0D !important; /* Using direct hex value instead of variable */
        margin-right: 0.5rem;
        font-size: 0.9rem;
        margin-top: 0.2rem;
        min-width: 1rem;
        text-align: center;
        display: inline-block;
    }
    
    /* Removed the ::before pseudo-element as we're now using Font Awesome icons */
    
    /* Mobile adjustments */
    @media (max-width: 768px) {
        .insights-columns-container {
            flex-direction: column;
        }
        
        .insights-column {
            padding: 0.5rem;
            margin-bottom: 1rem;
            background-color: var(--white);
        }
        
        .column-title {
            font-size: 1.1rem;
            margin: 0 0 0.5rem 0;
            padding: 0.25rem 0;
            color: var(--navy);
            font-weight: 600;
            border-bottom: 2px solid var(--gold);
            display: block;
        }
        
        .column-title::after {
            display: none;
        }
        
        /* Convert to rows layout */
        .insights-table {
            display: block;
            width: 100%;
            margin: 0;
            border-collapse: collapse;
        }
        
        .insights-table tr {
            display: block;
        }
        
        .insights-table td {
            display: block;
            width: 100%;
            padding: 0;
            margin: 0;
        }
        
        /* Row-based data display */
        .insights-table .data-card {
            padding: 0.5rem 0.5rem 0.5rem 0.75rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            border-left: 3px solid var(--gold);
            background-color: var(--white);
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        
        .insights-table .data-card .data-title {
            margin: 0;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--navy);
            width: 40%;
        }
        
        .insights-table .data-card .data-value {
            font-size: 1.2rem;
            font-weight: 700;
            margin: 0;
            color: var(--navy);
            width: 30%;
            text-align: center;
        }
        
        .insights-table .data-card .data-description {
            font-size: 0.7rem;
            color: var(--gray);
            font-style: italic;
            margin: 0;
            width: 30%;
            text-align: right;
        }
        
        /* Highlights styling for mobile */
        .highlights-card {
            padding: 0.5rem 0.5rem 0.5rem 0.75rem;
            margin: 0.5rem 0;
            border-left: 3px solid var(--gold);
            background-color: var(--white);
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        
        .highlights-card h3 {
            font-size: 0.9rem;
            margin: 0 0 0.25rem 0;
            color: var(--navy);
            font-weight: 600;
        }
        
        .highlights-list ul {
            flex-direction: column;
            padding-left: 0.5rem;
            margin: 0.25rem 0 0 0;
            list-style-type: none;
        }
        
        .highlights-list li {
            font-size: 0.8rem;
            margin-bottom: 0.35rem;
            line-height: 1.3;
            color: var(--dark-gray);
            display: flex;
            align-items: flex-start;
        }
        
        /* Mobile styling for highlight icons with stronger specificity */
        .highlights-list ul li .highlight-icon,
        .highlights-list ul li i.highlight-icon,
        i.highlight-icon {
            color: #D4AC0D !important; /* Using direct hex value instead of variable */
            margin-right: 0.4rem;
            font-size: 0.8rem;
            min-width: 1rem;
            text-align: center;
            display: inline-block;
        }
        
        .insights-map {
            margin-top: 0.5rem;
        }
        
        .insights-map h3 {
            font-size: 0.9rem;
            margin: 0 0 0.25rem 0;
            font-weight: 600;
            color: var(--navy);
            border-bottom: 2px solid var(--gold);
            display: inline-block;
            padding-bottom: 0.15rem;
        }
        
        .map-container {
            margin-top: 0.25rem;
        }
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: var(--spacing-sm);
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section-padding {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}
