.elementor-50 .elementor-element.elementor-element-23e29ab{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-50 .elementor-element.elementor-element-de711cd{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-50 .elementor-element.elementor-element-de711cd > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}body.elementor-page-50{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-de711cd *//* --- Variables & Base Styles --- */
:root {
    --color-black: #1A1A1A; /* A deep, rich black */
    --color-white: #F8F8F8; /* Off-white for readability */
    --color-gold: #DAA520; /* Goldenrod - a rich gold */
    --color-dark-gold: #B8860B; /* Darker gold for hover states */
    --color-light-gold: #FFEBCD; /* Blanched Almond - very light gold */

    --font-family-primary: 'Poppins', sans-serif; /* Modern, clean font */
    --font-family-secondary: 'Open Sans', sans-serif; /* Good for body text */
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for rem units */
}

body {
    font-family: var(--font-family-secondary);
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden; /* Prevent horizontal scroll due to padding/margin issues */
}

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

h1, h2, h3 {
    font-family: var(--font-family-primary);
    color: var(--color-white);
    margin-bottom: 0.8em;
}

h1 {
    font-size: 3.5rem; /* ~56px */
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem; /* ~40px */
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5em;
    padding-top: 1em;
}

h3 {
    font-size: 1.6rem; /* ~26px */
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--color-gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-light-gold);
}

.highlight {
    color: var(--color-gold);
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap; /* Prevent wrapping by default for general buttons */
}

.primary-btn {
    background-color: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.primary-btn:hover {
    background-color: var(--color-dark-gold);
    color: var(--color-black);
    transform: translateY(-2px);
}

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

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

.large-btn {
    padding: 18px 36px;
    font-size: 1.3rem;
}

/* --- Header / Navigation --- */
.main-header {
    background-color: rgba(0, 0, 0, 0.9); /* Slightly transparent black */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-family-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}
/* Style for the active/current page link */
.main-nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden by default for desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-gold);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-black); /* Fallback */
}

.hero-image-placeholder,
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4; /* Darken the image/video */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.hero-content .subheadline {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
/* Specific styling for CTA buttons on the homepage hero, if needed due to text length */
#exploreServicesBtn,
#viewRentalsBtn,
#contactConsultBtn {
    max-width: 280px; /* Allow text to wrap if it's too long for one line */
    white-space: normal; /* Override .btn's nowrap */
    line-height: 1.3; /* Adjust line height for wrapped text */
    padding: 12px 20px; /* Adjust padding for wrapped text */
    font-size: 1rem; /* Slightly smaller font if text is very long */
}


/* --- Section Styling (General) --- */
section {
    padding: 80px 0; /* Default padding for most sections */
}

/* --- About Us Section (used on index.html and services.html) --- */
/* For index.html's about section, this is a flex-row with image. */
#about-us.about-us-section {
    display: flex; /* Override to ensure flex-row layout */
    flex-direction: row; /* Main layout for index.html's about section */
    align-items: center; /* Aligns content in the center vertically */
    gap: 50px; /* Space between flex items */
    padding: 100px 20px;
    background-color: var(--color-black);
}

/* For services.html's buy section, this is the main container for content and button */
#buy-section.about-us-section {
    display: flex; /* Ensure flex behavior */
    flex-direction: column; /* Stacks children vertically: top-flex content, then button */
    align-items: center; /* Centers children horizontally for the button below */
    padding: 100px 20px; /* Kept original padding */
    background-color: var(--color-black);
    gap: 0; /* Gap is handled by margin on individual items */
}

/* New wrapper for the top part of the Buy Section (text content and image) */
.buy-section-top-flex {
    display: flex;
    align-items: center; /* Aligns items vertically in the center */
    gap: 50px; /* Space between text and image */
    width: 100%; /* Take full width of parent section (container) */
    max-width: 1200px; /* Constrain to container's max-width */
    margin-bottom: 40px; /* Space between flex content and the button */
    padding: 0 20px; /* Use padding for content inside this wrapper */
}

.about-content {
    flex: 2; /* Takes 2/3 of space in buy-section-top-flex */
    text-align: left; /* Text remains left-aligned within its column */
}

/* THIS RULE SHOULD CENTER THE H3s IN SERVICES.HTML */
#whyBuyHeadingService,
#whySellHeadingService {
    text-align: center; /* Center these specific headings */
    margin-top: 2em; /* Add some space above them */
}


.about-content h2 {
    text-align: left; /* Ensures the H2 stays left-aligned within its column */
    padding-top: 0;
}

.about-content .local-presence {
    font-weight: 600;
    margin-top: 20px;
    font-size: 1.1em;
}

.about-image {
    flex: 1; /* Takes 1/3 of space in buy-section-top-flex */
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--color-gold);
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.about-image .image-caption {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--color-gold);
    font-weight: 600;
}

/* Specific styling for the "Learn More About Us" button on index.html */
#learnMoreAboutUsBtn {
    /* No specific style needed beyond default secondary-btn if text fits */
}

/* Specific styling for the "Start Your Home Search Today!" button on services.html */
#startHomeSearchBtn {
    display: block; /* Make it a block element to control width and margin */
    margin: 0 auto; /* Center it horizontally */
    max-width: 350px; /* Limit its width */
    white-space: normal; /* Allow text to wrap if it needs to */
    line-height: 1.3;
    padding: 15px 25px; /* Adjust padding for better look with wrapped text */
    font-size: 1.2rem; /* Slightly smaller font for long text */
}


/* --- Services Section (Mainly for grid of services items) --- */
.services-section {
    background-color: #222; /* Slightly lighter black */
    color: var(--color-white);
    padding: 50px 0; /* Vertical padding adjusted */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Forces 2 columns for larger screens */
    gap: 30px;
    padding: 0 20px;
}

.service-item {
    background-color: var(--color-black);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.service-item .service-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.service-item h3 {
    margin-top: 0;
    color: var(--color-gold);
}

.service-item p {
    font-size: 0.95rem;
    color: var(--color-white);
}

.service-item a { /* For "Learn more" link in property management */
    font-weight: 600;
}

/* Specific styling for the "Request a Free Property Evaluation" button on services.html */
#requestPropertyEvalBtn {
    max-width: 350px; /* Allow text to wrap if it's too long for one line */
    white-space: normal; /* Override .btn's nowrap */
    line-height: 1.3; /* Adjust line height for wrapped text */
    padding: 12px 20px; /* Adjust padding for wrapped text */
    font-size: 1rem; /* Slightly smaller font if text is very long */
}

/* --- Why Choose Us Section (from Home Page & detailed on About Page) --- */
.why-choose-us-section {
    background-color: var(--color-black);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Forces 2 columns for larger screens (2-2-1 layout for 5 items) */
    gap: 30px;
    padding: 0 20px;
}

.usp-item {
    background-color: #222; /* Slightly lighter black */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border-bottom: 3px solid var(--color-gold); /* Add a subtle gold line */
}

.usp-item:hover {
    transform: translateY(-5px);
}

.usp-item .usp-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.usp-item h3 {
    margin-top: 0;
    color: var(--color-gold);
}

.usp-item p {
    font-size: 0.95rem;
    color: var(--color-white);
}

/* --- Testimonials Section (used on index.html and services.html) --- */
.testimonials-section {
    background-color: #222; /* Slightly lighter black */
    color: var(--color-white);
    padding: 80px 0; /* Default section padding */
    margin-top: 60px; /* Space from the Why Choose Us section */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.testimonial-item {
    background-color: var(--color-black);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item .quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.testimonial-item .client-name {
    font-weight: 600;
    color: var(--color-gold);
    text-align: right;
    margin-top: auto; /* Push name to bottom */
}

/* --- Bottom CTA Section (used on index.html and services.html) --- */
.bottom-cta-section {
    background-color: var(--color-black);
    padding: 40px 0; /* Adjusted top padding to bring it closer */
    text-align: center;
    color: var(--color-gold);
}

.bottom-cta-section h2 {
    color: var(--color-gold);
    margin-bottom: 40px;
    font-size: 2.8rem;
}

/* Specific styling for the bottom CTA button on index.html (Contact Us Today!) */
#contactUsBottomBtn {
    /* No specific style needed beyond large-btn if text fits on one line.
       If it needs wrapping, add max-width and white-space: normal; */
}

/* Specific styling for the Property Management CTA button (Maximize Your Investment Property Returns. Contact us today!) */
#maxInvestmentReturnsBtn {
    max-width: 400px; /* Adjust as needed for text length */
    white-space: normal; /* Allow text to wrap */
    line-height: 1.3; /* Adjust line height for wrapped text */
    padding: 18px 25px; /* Slightly adjust padding for large/wrapped text */
    font-size: 1.2rem; /* Slightly smaller font to fit */
}

/* Specific styling for the Contact Page's final CTA button */
#contactUsFinalBtn {
    /* No specific style needed beyond large-btn if text fits on one line.
       If it needs wrapping, add max-width and white-space: normal; */
}

/* Specific styling for the Rental Properties Page's final CTA button */
#rentalsFinalCtaBtn {
    max-width: 400px; /* Adjust as needed for text length */
    white-space: normal; /* Allow text to wrap */
    line-height: 1.3; /* Adjust line height for wrapped text */
    font-size: 1.2rem; /* Slightly smaller font to fit */
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer .footer-links a {
    color: var(--color-white);
    margin: 0 15px;
    transition: color 0.3s ease;
}

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


/* --- MOBILE STYLING STARTS HERE --- */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-content .subheadline {
        font-size: 1px;
    }

    .main-nav ul {
        margin-left: 0;
    }
    .main-nav ul li {
        margin-left: 20px;
    }

    /* .about-us-section doesn't need flex-direction: column override anymore as it's default now */
    .about-content h2 {
        text-align: center; /* Center the H2 on smaller screens for consistency */
    }

    .about-image img {
        max-width: 250px;
    }

    .bottom-cta-section h2 {
        font-size: 2.2rem;
    }

    /* USP grid will already be 2 columns due to main rule, no override needed unless different breakpoint behavior is desired */

    /* Adjust primary hero buttons for medium screens if needed */
    .cta-buttons {
        gap: 15px;
    }
    /* Group all relevant buttons for responsive sizing */
    #exploreServicesBtn,
    #viewRentalsBtn,
    #contactConsultBtn,
    #learnMoreAboutUsBtn, /* from index.html about section */
    #contactUsBottomBtn, /* from index.html bottom CTA */
    #startHomeSearchBtn, /* from services.html buy section */
    #requestPropertyEvalBtn, /* from services.html sell section */
    #maxInvestmentReturnsBtn, /* from services.html property management section */
    #contactUsFinalBtn, /* from contact.html bottom CTA */
    #rentalAppContactBtn, /* from rentals.html application process */
    #rentalsFinalCtaBtn /* from rentals.html bottom CTA */
    {
        max-width: 280px;
        font-size: 0.95rem;
        padding: 10px 15px;
        white-space: normal; /* Ensure text wraps */
        line-height: 1.3;
    }

    /* Keep large-btn specific styling if desired */
    .large-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    /* Contact Page specific responsive adjustments */
    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets */
        gap: 60px; /* Add more space between stacked sections */
    }
    .contact-info,
    .contact-form-container {
        padding: 0 15px; /* Adjust padding for tablets */
    }

    /* Rental Properties specific responsive adjustments */
    .filters-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for filters on tablets */
    }
    .sqft-filter {
        grid-column: span 2; /* Make sqft filter span full width */
    }
}

@media (max-width: 768px) {
    .main-header .main-nav {
        display: none; /* Hide nav by default on small screens */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
        z-index: 999;
        max-height: 0; /* Initially collapsed */
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .main-nav.active {
        display: flex; /* Show nav when active */
        max-height: 300px; /* Adjust as needed to fit all links */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex; /* Show hamburger icon */
    }

    /* Hamburger animation */
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ADJUSTMENTS FOR .hero-section.small-hero ON MOBILE */
    .hero-section.small-hero {
        height: auto; /* Allow height to adapt to content */
        min-height: 280px; /* Ensure a minimum height for smaller devices */
        padding: 50px 20px; /* Add padding to contain content and ensure image coverage */
    }
    .hero-section.small-hero .hero-content h1 {
        /* Desktop size for this H1 is 2.8rem.
           75% MORE smaller means it becomes 25% of its desktop size.
           2.8rem * 0.25 = 0.7rem */
        font-size: 0.7rem; /* Set to 25% of desktop size for tablets/larger phones */
        line-height: 1.2; /* Tighter line height for smaller text */
    }
    .hero-section.small-hero .hero-content .subheadline {
        font-size: 1rem; /* Adjusted for tablets/smaller screens */
    }
    /* END ADJUSTMENTS FOR .hero-section.small-hero ON MOBILE */

    .hero-content h1 { /* General hero h1 size for tablets - overridden above for small-hero */
        font-size: 2rem;
    }

    .hero-content .subheadline {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 80%; /* Make buttons full width on small screens */
        margin: 0 auto;
    }

    /* The buy-section-top-flex becomes column on mobile */
    .buy-section-top-flex {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    /* Reset flex sizing for children within the mobile buy-section-top-flex */
    .buy-section-top-flex .about-content,
    .buy-section-top-flex .about-image {
        flex: none;
        width: 100%;
        text-align: center; /* Center text content within its 100% width on mobile */
    }
    /* Ensure h2/h3 inside about-content are centered on mobile */
    .about-content h2,
    .about-content h3 { /* Added this for consistency */
        text-align: center;
    }


    /* General section grid columns for mobile */
    /* This rule affects all .about-us-section, .usp-grid, .testimonials-grid, etc. */
    .about-us-section,
    .usp-grid,
    .testimonials-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        padding: 0 15px; /* More padding on very small screens */
    }
    /* Explicitly make services-grid 1 column on mobile (same as it was before) */
    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-item, .usp-item, .testimonial-item {
        padding: 25px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .bottom-cta-section h2 {
        font-size: 1.8rem;
    }

    /* Make all relevant buttons wider on mobile and ensure text wrapping */
    #exploreServicesBtn,
    #viewRentalsBtn,
    #contactConsultBtn,
    #learnMoreAboutUsBtn,
    #contactUsBottomBtn,
    #startHomeSearchBtn,
    #requestPropertyEvalBtn,
    #maxInvestmentReturnsBtn,
    #contactUsFinalBtn,
    #rentalAppContactBtn,
    #rentalsFinalCtaBtn {
        width: 90%; /* Larger width for better tap target on mobile */
        max-width: none; /* Remove max-width constraint for full flexibility */
        font-size: 1rem; /* Consistent font size for all */
        padding: 12px 20px; /* Consistent padding */
        white-space: normal; /* Allow text to wrap if it needs to */
        line-height: 1.3;
    }

    .main-footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    /* Rental Properties specific responsive adjustments for mobile */
    .filters-grid {
        grid-template-columns: 1fr; /* Stack filters on mobile */
    }
    .sqft-filter {
        grid-column: auto; /* Reset column span for mobile */
    }

    /* NEW: Move "Our Available Properties" box up on mobile */
    #property-listings {
        padding-top: 20px; /* Reduced from 50px */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero-content h1 { /* General hero h1 size for phones - overridden below for small-hero */
        font-size: 2rem;
    }
    /* Further specific adjustments for .hero-section.small-hero on smaller phones */
    .hero-section.small-hero .hero-content h1 {
        /* Desktop size for this H1 is 2.8rem.
           75% MORE smaller means it becomes 25% of its desktop size.
           2.8rem * 0.25 = 0.7rem.
           Applying another 75% reduction to 0.7rem means 0.7rem * 0.25 = 0.175rem */
        font-size: 0.175rem; /* Set to be EXTREMELY SMALL for very small screens */
        line-height: 1.2; /* Tighter line height for smaller text */
    }
    .hero-section.small-hero .hero-content .subheadline {
        font-size: 0.8rem; /* Adjusted from 0.9rem to 0.8rem for consistency */
    }
    /* END FURTHER SPECIFIC ADJUSTMENTS FOR .hero-section.small-hero */

    .btn {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
    .large-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
    .service-item h3, .usp-item h3 {
        font-size: 1.4rem;
    }
}


/* --- ADDITIONS FOR ABOUT PAGE STYLING --- */

/* Smaller Hero for internal pages - Global properties for desktop */
.hero-section.small-hero {
    height: 40vh; /* Shorter height than homepage hero */
    min-height: 300px;
}
/* New default size for the h1 in the small hero (desktop) */
.hero-section.small-hero .hero-content h1 {
    font-size: 2.8rem; /* Adjusted from 3.5rem/3rem for smaller desktop view */
    margin-bottom: 15px; /* Slightly less margin for a more compact look */
}
.hero-section.small-hero .hero-content .subheadline {
    font-size: 1.1rem; /* Keeping original subheadline size for desktop */
}


/* Specific styling for the Meet the Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-top: 30px; /* Space from H2 */
}

.team-member {
    /* Reuses usp-item styling but can be overridden */
    background-color: var(--color-black); /* Darker background for team member cards */
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.team-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0 auto;
    font-size: 1.1rem;
    color: var(--color-white);
}

/* Adjustments for the values grid (using .service-item styling) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-top: 30px; /* Space from H2 */
}


/* --- ADDITIONS FOR SERVICES PAGE --- */

/* Specific styling for process lists */
.process-list {
    list-style: none; /* Remove default bullet points */
    padding-left: 0; /* Remove default padding for list items */
    margin-bottom: 2em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 20px;
}

.process-list li {
    background-color: #222; /* Slightly lighter black */
    padding: 20px; /* Original padding */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    /* Removed padding-left: 45px as the ::before element is gone */
}

.process-list li strong {
    color: var(--color-gold);
    font-size: 1.1em;
    display: block; /* Make the strong text take its own line */
    margin-bottom: 5px;
}

/* Introduction paragraph for sections */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2em auto;
    font-size: 1.1rem;
    color: var(--color-white);
}

/* Adjustments for the smaller USP grid used on services page (less items than homepage) */
.usp-grid.small-usp-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: center; /* Center these smaller grids if they don't fill 3 columns */
}

/* Base style for centered buttons - now used as a class */
/* This general class is largely superseded by specific ID styles but kept for fallback/general use */
.centered-btn {
    display: block; /* Make it take full width of its parent */
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px; /* Add some space above */
    max-width: 350px; /* Limit its width so it's not too wide */
}

/* Margin top utility class for spacing */
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* Hide image on mobile for Buy Section */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}


/* --- ADDITIONS FOR CONTACT PAGE STYLING --- */

#contact-details-form {
    /* Reusing .about-us-section's base styling for padding/background */
    padding: 100px 0; /* Adjust vertical padding specific to contact page */
    background-color: var(--color-black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Info on left (1 part), Form on right (2 parts) */
    gap: 80px; /* Space between the two columns */
    max-width: 1000px; /* Constrain grid width */
    margin: 0 auto; /* Center the grid within the container */
    padding: 0 20px; /* Add horizontal padding for content */
}

.contact-info h2,
.contact-form-container h2 {
    text-align: left; /* Ensure headings align left within their columns */
    margin-bottom: 1.5em;
    padding-top: 0;
}

.contact-info address p,
.contact-info .business-hours-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8em;
    color: var(--color-white);
    line-height: 1.4;
}

.contact-info address {
    font-style: normal; /* Remove italic from address tag */
    margin-bottom: 2em;
}

.contact-icon {
    color: var(--color-gold);
    margin-right: 15px;
    font-size: 1.3em;
    width: 25px; /* Fixed width for icon to ensure alignment */
    text-align: center;
    vertical-align: middle;
}

.business-hours-list {
    list-style: none;
    padding: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #222; /* Slightly lighter black */
    color: var(--color-white);
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.3); /* Gold glow on focus */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-submit-btn {
    width: auto; /* Allow button to size based on content */
    max-width: 100%; /* Ensure it doesn't overflow */
    margin-left: 0; /* Override centered-btn if it's there */
    margin-right: 0; /* Override centered-btn if it's there */
    display: inline-block; /* Ensure it behaves like a typical button */
}

/* Google Map Embed Styling */
.google-map-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width = 9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    background-color: #222; /* Placeholder background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.google-map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Remove default iframe border */
}


/* --- ADDITIONS FOR RENTAL PROPERTIES PAGE --- */

.filters-container {
    background-color: var(--color-black);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px; /* Space between filters and property grid */
}

.filters-container h3 {
    text-align: center;
    margin-bottom: 2em;
    color: var(--color-gold);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.filters-grid .form-group {
    margin-bottom: 0; /* Remove default form-group margin */
}

.filters-grid label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-white);
}

.filters-grid select,
.filters-grid input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #222;
    color: var(--color-white);
    font-family: var(--font-family-secondary);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.filters-grid select:focus,
.filters-grid input[type="number"]:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.3);
}

.sqft-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.sqft-filter label:nth-of-type(odd) { /* Target "Min Sq. Ft." */
    flex-basis: 100%; /* Make label take full width */
    margin-bottom: 0; /* Remove space below label */
}
.sqft-filter input {
    flex: 1; /* Allow inputs to grow */
    min-width: 80px; /* Ensure inputs don't become too small */
}

.filter-action-btn {
    margin-top: 20px;
    margin-right: 15px; /* Space between buttons */
}
.filter-action-btn:last-child {
    margin-right: 0;
}


.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns for properties */
    gap: 30px;
    padding: 0; /* Remove any extra padding if inherited */
    justify-content: center; /* Center items if they don't fill the grid */
    min-height: 500px; /* Ensure grid has some height even if few items */
}

.property-card {
    background-color: var(--color-black);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Stack image and details */
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.property-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistent image sizing */
    object-fit: cover;
}

.property-details {
    padding: 20px;
    flex-grow: 1; /* Allow details section to fill remaining space */
    display: flex;
    flex-direction: column;
}

.property-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--color-gold);
}

.property-details .property-address {
    font-size: 0.95rem;
    color: #AAA; /* Slightly lighter grey for address */
    margin-bottom: 5px; /* Less space between address and price */
    font-weight: 500;
}

.property-details .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.property-details .status {
    font-size: 0.9em;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
}

.property-details .status.for-rent {
    background-color: var(--color-gold);
    color: var(--color-black);
}

.property-details .status.for-sale {
    background-color: var(--color-dark-gold);
    color: var(--color-white);
}

.property-details .status.not-available {
    background-color: #555; /* Darker grey */
    color: var(--color-white);
    opacity: 0.8;
}

.property-details .features {
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: 15px;
}
.property-details .features i {
    color: var(--color-gold);
    margin-right: 5px;
}

.property-details p:last-of-type { /* Description paragraph */
    margin-bottom: 20px;
}

.contact-listing-btn {
    margin-top: auto; /* Pushes button to the bottom */
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    white-space: normal;
}

.carousel-navigation { /* This is now hidden via inline style in HTML */
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.carousel-navigation button {
    margin: 0 10px;
}

/* For application process section */
#application-process.about-us-section {
    background-color: #1A1A1A; /* Ensure specific background for this section */
}

/* IDs for new buttons on rentals page */
#rentalAppContactBtn {
    /* Styles are mostly inherited from .btn and .primary-btn. Add specific adjustments if needed. */
    white-space: normal;
    max-width: 380px;
    font-size: 1.1rem;
}
#rentalsFinalCtaBtn {
    /* Styles are mostly inherited from .btn and .primary-btn, large-btn */
    white-space: normal;
    max-width: 400px;
}

/* Style for the 'no properties found' message */
#noPropertiesMessage,
#noApartmentsMessage {
    padding: 20px;
    background-color: var(--color-black);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Ensure specific headings on the rentals page are centered */
#application-process h2,
#why-rent-us h2 {
    text-align: center;
}

/* Create more space above the "Why Rent with EEE Real Estate Holdings?" section */
#why-rent-us {
    margin-top: 80px; /* Increased margin to push it down */
    padding-top: 80px; /* Adjusted padding-top as well, if needed to match global section padding */
}/* End custom CSS */