@media (max-width: 768px) {
    .contact-form .form-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .contact-form .input-wrapper.float-group {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-bottom: 16px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .contact-form .input-wrapper.float-group input[type="text"],
    .contact-form .input-wrapper.float-group input[type="tel"] {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        display: block;
    }
}
@media (max-width: 768px) {
    .contact-form .input-wrapper.float-group input[type="text"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        display: block;
    }
}
@media (max-width: 768px) {
    .contact-form .input-wrapper.float-group {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
        box-sizing: border-box;
    }
    .contact-form .input-wrapper.float-group input[type="text"],
    .contact-form .input-wrapper.float-group label {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
    }
    .contact-form .input-wrapper.float-group i {
        font-size: 1.1rem;
        margin-right: 8px;
        color: #e67e22;
        min-width: 24px;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .contact-content.contact-card {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    .contact-form {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
        box-sizing: border-box;
    }
    .contact-info.contact-info-panel {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        order: 2;
    }
}
/* Normalize filter control heights in the hero search bar */
/* Only apply smooth scroll to back-to-top button */
.search-bar .search-filters .search-grid-row-2 select,
.search-bar .search-filters .search-grid-row-2 .responsive-select,
.search-bar .search-filters .search-grid-row-2 button.search-btn {
    height: 48px;
    min-height: 48px;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Center button text vertically for consistent height */
.search-bar .search-filters .search-grid-row-2 button.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ensure selects use the same border thickness/radius as inputs */
.search-bar .search-filters .search-grid-row-2 select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
}
/* 4-column, 2-row search grid layout */
.search-grid-layout {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr; /* ensure single column to match search-bar width */
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}
/* Ensure variant inside hero respects container width */
.search-bar .search-filters.search-grid-layout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
}
.search-grid-row-1,
.search-grid-row-2 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}
.search-grid-row-1 .search-grid-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
/* Ensure the icon can be positioned inside the input */
.search-grid-input { position: relative; }
.search-grid-input input { position: relative; z-index: auto; }
.search-grid-input input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.search-grid-col select,
.search-grid-col button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.search-grid-row-1 {
    grid-column: 1 / -1;
}
.search-grid-row-1 .search-grid-input {
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}
.search-bar .search-grid-row-1 .search-grid-input {
    margin-bottom: 0.75rem;
}
.search-grid-input input {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem; /* reset to normal without icon */
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.search-grid-input input:focus {
    border-color: #007bff;
}
/* icon removed */
/* Emphasized border for the hero search text input */
.search-bar #search-text-input {
    border: 2px solid #9aa0a6;
    border-radius: 8px; /* keep consistent rounding */
}
.search-bar #search-text-input:focus {
    border-color: #007bff;
}
.search-grid-row-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}
.search-bar .search-grid-row-2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.search-bar .search-grid-col { min-width: 0; }
.search-bar #property-type,
.search-bar #price-range,
.search-bar #location-select,
.search-bar .responsive-select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.search-bar .search-grid-col button.search-btn {
    width: 100%;
}
.search-bar { overflow: hidden; }
.search-grid-col select,
.search-grid-col button {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
    outline: none;
    min-width: 0;
    box-sizing: border-box;
}
.search-bar .search-grid-col { width: 100%; }
.search-grid-col button.search-btn {
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.search-grid-col button.search-btn:hover {
    background: #0056b3;
}
/* Themed search button inside the hero search bar */
.search-bar #search-button,
.search-bar .search-grid-col button.search-btn {
    background: var(--accent-color);
    color: #fff;
    border: none;
}
.search-bar #search-button:hover,
.search-bar .search-grid-col button.search-btn:hover {
    filter: brightness(0.9);
}
@media (max-width: 900px) {
    .search-grid-layout {
        max-width: 100%;
    }
    .search-grid-row-2 {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    /* Hide magnifying glass icons in mobile view */
    .search-bar .fa-search,
    .search-bar .fas.fa-search,
    .search-bar .search-icon,
    .smart-search-input .search-icon {
        display: none !important;
    }
    /* Ensure inputs don't reserve space for left icons on mobile */
    .search-bar #search-text-input {
        padding-left: 1rem;
    }
}
/* Smart, intuitive search bar layout */
.smart-search-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}
.smart-search-input {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.smart-search-input input {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.smart-search-input input:focus {
    border-color: #007bff;
}
.smart-search-input .search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.2rem;
    pointer-events: none;
}
.smart-filter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.smart-filter-row select,
.smart-filter-row button {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
    outline: none;
    min-width: 140px;
    box-sizing: border-box;
}
.smart-filter-row button.search-btn {
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.smart-filter-row button.search-btn:hover {
    background: #0056b3;
}
@media (max-width: 900px) {
    .smart-filter-row {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
        max-width: 100%;
    }
    .smart-search-input {
        max-width: 100%;
    }
}
/* Desktop search bar alignment and clean input border */
.search-filters {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.search-input-group.search-input-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}
.search-input-group.search-input-desktop input {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.search-input-group.search-input-desktop input:focus {
    border-color: #007bff;
}
.search-filter-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}
.search-filter-row select,
.search-filter-row button {
    font-size: 0.9rem;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fff;
    outline: none;
}
.search-filter-row button.search-btn {
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.search-filter-row button.search-btn:hover {
    background: #0056b3;
}
@media (max-width: 900px) {
    .search-filter-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .search-input-group.search-input-desktop {
        flex-direction: row;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

#home, #properties, #about, #news, #contact {
    scroll-margin-top: 65px;
}
:root {
    /* Modern Color Palette */
    --primary-color: #003366;
    --secondary-color: #f39c12;
    --accent-color: #e67e22;
    --accent-color-dark: #d35400;
    --text-dark: #2c3e50;
    --text-light: #5a5a5a;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff; 
    --bg-gradient: linear-gradient(135deg, #003366 0%, #004d99 100%);
    --border-color: #e1e8ed;
    --shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-transform: translateY(-5px);
    --transition: all 0.3s ease;
    --shadow-lg: 0 10px 25px rgba(215, 38, 61, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 100vw;
}
/* Make location dropdown responsive and handle long options */
#location-select {
    min-width: 160px;
    max-width: 100%;
    width: auto;
    border: 1px solid var(--border-color);
}

#location-select:focus {
    border-color: var(--primary-color);
    outline: none;
}
@media (max-width: 600px) {
    #location-select {
        min-width: 110px;
        font-size: 0.95rem;
        padding: 8px 22px 8px 10px;
    }
}

/* Responsive and consistent width for location-select */
.responsive-select {
    min-width: 180px;
    max-width: 100%;
    width: 180px;
    box-sizing: border-box;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .responsive-select {
        width: 100%;
        min-width: 0;
    }
}

/* Ensure search-btn stays inside parent and is aligned */
.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    width: auto;
    min-width: 120px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .search-btn {
        width: 100%;
        margin-top: 1rem;
    }
}
/* Ensure property-features are always separated into two columns on mobile */
.property-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 600px) {
  .property-features {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}
/* Responsive grid for properties */
body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}



.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}




/* Mobile Container + Search Filters Vertical Stack Fix */
@media (max-width: 768px) {
    .search-grid-row-2,
    .search-bar .search-grid-row-2 {
        grid-template-columns: 1fr !important;
        gap: 0.7rem;
    }
    .container {
        margin: 0 auto;
    }
}



/* Small Mobile Container Fix */

@media (max-width: 480px) {

    .container {

        padding: 0 12px;

    }
    #location-input {
        padding-left: 0px;
        padding-right: 0px;
    }

}



/* Typography */

h1, h2, h3, h4, h5, h6 {

    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    font-weight: 600;

    line-height: 1.2;

    margin-bottom: 1rem;

}



h1 {

    font-size: 3.5rem;

    font-weight: 700;

}



h2 {

    font-size: 2.5rem;

}



h3 {

    font-size: 1.5rem;

}



p {

    margin-bottom: 1rem;

    color: var(--text-light);

}



/* Buttons */

.btn-primary {

    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));

    color: var(--text-white);

    padding: 12px 30px;

    border: none;

    border-radius: var(--border-radius);

    font-weight: 600;

    text-decoration: none;

    display: inline-block;

    transition: var(--transition);

    cursor: pointer;

    font-size: 1rem;

}



.btn-primary:hover {

    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);

}



/* Navigation */

.navbar {

    position: fixed;

    top: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(10px);

    z-index: 1000;

    padding: 0.75rem 0;

    box-shadow: var(--shadow);

    transition: var(--transition);

}



.nav-container {

    max-width: var(--max-width);

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 20px;
}

.nav-logo .logo-img {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
    margin: 2px 0;
}



.nav-menu {

    display: flex;

    list-style: none;

    gap: 2rem;

}



.nav-link {

    text-decoration: none;

    color: var(--text-dark);

    font-weight: 500;

    transition: var(--transition);

    position: relative;

}



.nav-link:hover {

    color: var(--accent-color);

}



.nav-link::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--accent-color);

    transition: width 0.3s ease;

    border-radius: 2px;

}



.nav-link:hover::after {

    width: 100%;

}



.hamburger {

    display: none;

    flex-direction: column;

    justify-content: space-between;

    width: 40px;

    height: 36px;

    cursor: pointer;

    z-index: 9999;

    position: relative;

    background: none;

    border: none;

    outline: none;

}    .hamburger .bar {

        width: 100%;

        height: 4px;

        background-color: var(--accent-color);

        border-radius: 3px;

        transition: all 0.3s ease;

        display: block;

    }



/* Hero Section */

.hero {

    height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--text-white);

    overflow: hidden;

}



.hero-background {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),

                url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=70');

    background-size: cover;

    background-position: center;

    z-index: -1;

}



.hero-content {

    z-index: 1;

    max-width: 800px;

    padding: 0 20px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.hero-title {

    font-size: 4rem;

    margin-bottom: 1rem;

    animation: fadeInUp 1s ease-out;

}



.hero-subtitle {

    font-size: 1.3rem;

    margin-bottom: 3rem;

    color: white;

    animation: fadeInUp 1s ease-out 0.2s both;

}



.search-bar {

    background: var(--bg-white);

    padding: 2rem;

    border-radius: 15px;

    box-shadow: var(--shadow-lg);

    animation: fadeInUp 1s ease-out 0.4s both;

    width: 100%;

    max-width: 700px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: stretch;

}



.search-input-group {

    position: relative;
    
    margin-bottom: 1.5rem;

}



.search-input-group i {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--text-light);

}



#location-input {

    width: 100%;

    display: block;

    padding-top: 15px;
    padding-bottom: 15px;

    border: 2px solid var(--accent-color);

    border-radius: var(--border-radius);

    font-size: 1rem;

    color: var(--text-dark);

    transition: var(--transition);

}



#location-input:focus {

    outline: none;

    border-color: var(--accent-color);

}



.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 120px;
    gap: 1rem;
    align-items: stretch;
}
/* Wider search bar on desktop screens */
@media (min-width: 1024px) {
    .search-bar {
        max-width: 1200px;
    }
}
/* Hero search: ensure container doesn't overflow and uses 1 column wrapper */
.search-bar .search-filters.search-grid-layout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
}
.search-bar .search-filters.search-grid-layout .search-grid-row {
    grid-column: 1 / -1;
}
    /* end indicator styles */


.search-filters select {

    padding: 15px;

    border: 2px solid var(--accent-color);

    border-radius: var(--border-radius);

    font-size: 1rem;

    color: var(--text-dark);

    background: var(--bg-white);

    transition: var(--transition);

}



.search-filters select:focus {

    outline: none;

    border-color: var(--accent-color);

}



.search-btn {

    background: var(--accent-color);

    color: var(--text-white);

    border: none;

    padding: 15px 20px;

    border-radius: var(--border-radius);

    cursor: pointer;

    font-weight: 600;

    transition: var(--transition);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

}



.search-btn:hover {

    background: var(--primary-color);

    transform: translateY(-2px);

}



/* Featured Properties */

.featured-properties {

    padding: 100px 0;

    background: var(--bg-light);

}



.section-header {

    text-align: center;

    margin-bottom: 4rem;

    padding: 0 20px;

}



.section-header h2 {

    color: var(--primary-color);

    margin-bottom: 1rem;

    font-size: 2rem;

    font-weight: 600;

    position: relative;

}



.section-header h2::after {

    content: '';

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 80px;

    height: 3px;

    background: linear-gradient(90deg, var(--accent-color), var(--accent-color));

    border-radius: 2px;

}



.section-header p {

    font-size: 1.1rem;

    max-width: 600px;

    margin: 0 auto;

    color: var(--text-light);

    line-height: 1.6;

}

.section-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.view-favorites-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.view-favorites-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.view-favorites-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .view-favorites-btn {
        width: 100%;
        max-width: 280px;
    }
}



.properties-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

}



@media (max-width: 1200px) {

    .properties-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 768px) {

    .properties-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 600px) {

    .properties-grid {

        grid-template-columns: 1fr;

    }

}



.property-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(231, 76, 60, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
}

.property-card:hover::before {
    opacity: 1;
}



/* Enhanced Property Image Styles */
.property-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.property-card:hover .property-image::after {
    opacity: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-image::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 50%, #f0f0f0 100%);

    z-index: 1;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.property-image.loading::before {

    opacity: 1;

}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}



.image-container.active {

    opacity: 1;

}



.image-container:not(.active) {

    opacity: 0 !important;

    visibility: hidden !important;

}



.image-container::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);

    background-size: 200% 100%;

    animation: loading 1.5s infinite;

    z-index: 1;

    opacity: 1;

    transition: opacity 0.3s ease;

}



.image-container img {

    position: relative;

    z-index: 2;

    will-change: transform;

    backface-visibility: hidden;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: var(--transition);

    opacity: 1;

    display: block;

}



.image-container img.loading {

    opacity: 0;

}



.image-container img.loaded {

    opacity: 1;

}



.image-container img:load {

    opacity: 1;

}



.image-container.loaded::before {

    opacity: 0;

}



.image-container img:loaded + ::before {

    display: none;

}



@keyframes loading {

    0% {

        background-position: 200% 0;

    }

    100% {

        background-position: -200% 0;

    }

}



/* Navigation Buttons */

.image-navigation {

    position: absolute;

    top: 50%;

    left: 0;

    right: 0;

    transform: translateY(-50%);

    display: flex;

    justify-content: space-between;

    padding: 0 15px;

    opacity: 0;

    transition: var(--transition);

    pointer-events: none;

    z-index: 10;

}



.property-card:hover .image-navigation {

    opacity: 1;

    pointer-events: all;

}



.nav-btn {

    width: 40px;

    height: 40px;

    background: rgba(255, 255, 255, 0.9);

    border: none;

    border-radius: 50%;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: var(--transition);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

    color: var(--text-dark);

}



.nav-btn:hover {

    background: var(--accent-color);

    color: var(--text-white);

    transform: scale(1.1);

}



.nav-btn:active {

    transform: scale(0.95);

}



/* Image Indicators */

.image-indicators {

    position: absolute;

    bottom: 15px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 10;

}



.indicator {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition: var(--transition);

    border: 2px solid transparent;

}



.indicator.active {

    background: var(--text-white);

    border-color: var(--accent-color);

    transform: scale(1.2);

}

/* End indicator styles */

.property-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: linear-gradient(145deg, #ffffff 0%, #fdfdfd 100%);
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.property-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.2), transparent);
    opacity: 0.6;
}



.property-price {
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
    display: block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.property-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.property-card:hover .property-price::after {
    width: 60px;
}



.property-title {
    color: #2c3e50;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.property-card:hover .property-title {
    color: #e74c3c;
    transform: translateX(2px);
}



.property-location {
    color: #7f8c8d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(52, 152, 219, 0.05));
    border-radius: 8px;
    padding-left: 0.8rem;
    transition: all 0.3s ease;
}

.property-card:hover .property-location {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(52, 152, 219, 0.1));
    transform: translateX(2px);
}

.property-location i {
    color: #e74c3c;
    font-size: 1rem;
    width: 16px;
    text-align: center;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}



.property-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .property-features {
        grid-template-columns: 1fr;
    }
}

.property-features span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5a6c7d;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(231, 76, 60, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.property-features span:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border-color: rgba(231, 76, 60, 0.3);
}



/* Property Actions */
.property-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.action-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: #5a6c7d;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.action-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    color: #e74c3c;
}

.action-btn.liked {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-color: rgba(231, 76, 60, 0.3);
}

.action-btn.liked:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: scale(1.15) translateY(-2px);
}


/* Enhanced responsive design for property content */

@media (max-width: 768px) {

    .property-content {

        padding: 1.25rem;

        gap: 0.6rem;

    }

    .property-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .property-features span {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .action-btn {
        min-width: 40px;
        min-height: 40px;
        padding: 6px 10px;
        font-size: 1rem;
    }

    .property-actions {
        top: 15px;
        right: 15px;
        gap: 8px;
    }

   

    .property-price {

        font-size: 1.5rem;

    }

   

    .property-title {

        font-size: 1.2rem;

    }

   

    .property-features {

        flex-direction: column;

        gap: 0.5rem;

        align-items: stretch;

    }

   

    .property-features span {

        justify-content: flex-start;

        padding: 0.5rem 0.75rem;

    }

}



@media (max-width: 480px) {

    .property-content {

        padding: 1rem;

    }

    .property-image {
        height: 200px;
    }

    .property-price {
        font-size: 1.3rem;
    }

    .property-title {
        font-size: 1.2rem;
    }

    .property-location {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .property-features span {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .action-btn {
        min-width: 36px;
        min-height: 36px;
        padding: 6px 8px;
        font-size: 0.9rem;
    }

   

    .property-price {

        font-size: 1.4rem;

    }

   

    .property-title {

        font-size: 1.1rem;

    }

   

    .property-location {

        font-size: 0.9rem;

    }

   

    .property-features span {

        font-size: 0.8rem;

    }

}



/* Responsive Design */

@media (max-width: 768px) {

    /* Enhanced Mobile Navigation */

    .nav-container {

        padding: 0 15px;

    }

    .nav-logo {
        margin-left: 10px;
    }

    .nav-logo .logo-img {
        height: 38px;
        max-width: 140px;
        margin: 1px 0;
    }



    .nav-menu {

        position: fixed;

        left: -100%;

        top: 65px;

        flex-direction: column;

        background-color: var(--bg-white);

        width: 100%;

        text-align: center;

        transition: 0.3s ease-in-out;

        box-shadow: var(--shadow);

        padding: 2rem 0;

        z-index: 1000;

        border-top: 1px solid var(--border-color);

    }



    .nav-menu.active {

        left: 0;

    }



    .nav-item {

        margin: 0.5rem 0;

    }



    .nav-link {

        display: block;

        padding: 1rem 2rem;

        font-size: 1.1rem;

        border-radius: 8px;

        margin: 0 1rem;

        transition: all 0.3s ease;

    }



    .nav-link:hover {

        background: rgba(231, 76, 60, 0.1);

        color: var(--accent-color);

    }

    .hamburger {
        display: flex !important;
        z-index: 1002;
        padding: 10px;
        position: relative;
        flex-direction: column;
        justify-content: space-between;
        width: 45px;
        height: 40px;
        cursor: pointer;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .hamburger .bar {
        width: 100%;
        height: 5px;
        background: linear-gradient(135deg, var(--accent-color) 0%, #c0392b 100%);
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        display: block;
        transform-origin: center;
    }

    .hamburger:hover {
        background: rgba(231, 76, 60, 0.1);
        transform: scale(1.05);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(12px) rotate(45deg);
        background: var(--accent-color);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-12px) rotate(-45deg);
        background: var(--accent-color);
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        backdrop-filter: none;
        border-left: 1px solid rgba(200, 169, 110, 0.2);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 120px 0 60px;
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        opacity: 0;
        visibility: hidden;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 9998;
    }

    .nav-item {
        margin: 0;
        width: 80%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 20px 30px;
        font-size: 1.2rem;
        font-weight: 600;
        color: #2c3e50;
        text-decoration: none;
        border-radius: 15px;
        margin: 8px 0;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-link:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #c8a96e 0%, #b8956a 100%);
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-link:hover:before {
        left: 0;
    }

    .nav-link:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(200, 169, 110, 0.3);
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
        z-index: 9997;
        opacity: 1;
        transition: opacity 0.3s ease;
    }



    /* Enhanced Mobile Hero */

    .hero {

        height: 85vh;

        padding: 0 15px;

    }



    .hero-title {

        font-size: 2.2rem;

        line-height: 1.2;

        margin-bottom: 1rem;

    }



    .hero-subtitle {

        font-size: 1rem;

        margin-bottom: 2rem;

    }



    /* Enhanced Mobile Search */

    .search-bar {

        padding: 1.2rem;

        margin: 0 15px;

        border-radius: 12px;

    }



    .search-filters {

        grid-template-columns: 1fr;

        gap: 0.8rem;

    }



    .search-input-group {

        margin-bottom: 0.5rem;

    }



    .search-input-group input,

    .search-input-group select {

        font-size: 0.9rem;

        padding: 0.8rem;

    }



    .search-btn {

        width: 100%;

        margin-top: 1rem;

        padding: 1rem;

        font-size: 1rem;

    }



    /* Enhanced Mobile Properties - Keep single column for small screens */

    .properties-grid {

        grid-template-columns: 1fr;

        gap: 1.2rem;

        padding: 0 15px;

        max-width: 100%;

        margin: 0 auto 2rem auto;

    }



    .property-card {

        border-radius: 12px;

        overflow: hidden;

    }





    .property-image img {

        width: 100%;

        height: 100%;

        object-fit: cover;

        object-position: center;

    }



    .image-navigation .nav-btn {

        width: 35px;

        height: 35px;

        font-size: 0.8rem;

    }



    .property-actions {

        top: 10px;

        right: 10px;

    }



    .action-btn {
        min-width: 35px;
        min-height: 35px;
        padding: 6px 8px;
        font-size: 0.9rem;
    }



   


    /* Enhanced Mobile Contact */
    .contact {
        padding: 60px 0;
    }
   
    .contact .section-header p {
        font-size: 1rem;
    }
   
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
   
    .contact-info {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
   
    .contact-form {
        order: 1;
        padding: 2rem;
    }
   
    .form-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
   
    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 300px;
        width: 100%;
    }
   
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    /* Enhanced Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 15px;
        max-width: 100%;
        margin: 0 auto 2rem auto;
    }

    .footer-section ul {
        justify-content: center;
    }

    /* View All Button Mobile */
    .view-all-btn {
        margin-top: 2rem;
        padding: 0 15px;
    }

    .view-all-btn .btn-primary {
        width: 100%;
        padding: 12px 30px;
        font-size: 1rem;
        justify-content: center;
    }

    /* Section Headers Mobile */
    .section-header {
        padding: 0 15px;
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* About Section - Aligned with Website Design */
.about {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about .container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.about .section-header h2 {
    color: #1a365d;
    font-size: 2.5rem;
    font-weight: 700;
}

.about .section-header p {
    color: #4a5568;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    color: #1a365d;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.panel-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.panel-container:hover .panel-image img {
    transform: scale(1.05);
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(210deg, rgba(79, 70, 229, 0.7), rgba(99, 102, 241, 0));
}

.luxury-overlay {
    background: linear-gradient(210deg, rgba(236, 72, 153, 0.7), rgba(244, 63, 94, 0));
}

.panel-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.panel-badge.premium {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.8), rgba(99, 102, 241, 0.8));
}

.panel-badge.luxury {
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.8), rgba(244, 63, 94, 0.8));
}

.panel-content {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.panel-header h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating span {
    color: white;
    margin-left: 0.5rem;
    font-weight: 500;
}

.panel-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.panel-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.panel-feature i {
    color: #4f46e5;
    font-size: 1.1rem;
    background: rgba(79, 70, 229, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.luxury-btn {
    background: linear-gradient(90deg, #ec4899, #f43f5e) !important;
}

.panel-feature:nth-child(2) i {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.panel-feature:nth-child(3) i {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.panel-feature:nth-child(4) i {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.panel-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: white;
}

.panel-feature p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.panel-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-left: 0.25rem;
}

.availability {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.panel-button {
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.panel-button i {
    transition: transform 0.3s ease;
}

.panel-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.panel-button:hover i {
    transform: translateX(5px);
}

/* Trust Indicators */
.category-footer {
    margin-top: 5rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item i {
    font-size: 1.5rem;
    color: #4f46e5;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.trust-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: white;
}

.trust-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .panel-container {
        grid-template-columns: 1fr;
    }
    
    .panel-image {
        height: 300px;
    }
    
    .panel-content {
        padding: 2.5rem 2rem;
    }
    
    .panel-header h3 {
        font-size: 2rem;
    }
    
    .trust-indicators {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .property-category-section {
        padding: 100px 0 80px;
    }
    
    .property-category-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .property-category-section .section-header p {
        font-size: 1.1rem;
    }
    
    .panel-features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .panel-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .panel-button {
        width: 100%;
        justify-content: center;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .trust-item {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .property-category-section .section-header h2 {
        font-size: 2rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .panel-content {
        padding: 2rem 1.5rem;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .panel-header h3 {
        font-size: 1.8rem;
    }
    
    .panel-description {
        font-size: 1rem;
    }
    
    .panel-feature i {
        padding: 0.6rem;
    }
    
    .panel-feature h4 {
        font-size: 1rem;
    }
}

/* About Section - Aligned with Website Design */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.about .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about .section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(230, 126, 34, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.about-feature:hover {
    transform: translateY(-3px);
    background: rgba(230, 126, 34, 0.05);
    border-color: rgba(230, 126, 34, 0.2);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.1);
}

.about-feature i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.about-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: white;
}

.about-feature p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Image Slideshow Container */
.about-slideshow-container {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(44, 62, 80, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-slideshow {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.about-slide.active {
    opacity: 1;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem;
}

.about-slide-overlay h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.about-slide-overlay p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slideshow-dot.active,
.slideshow-dot:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

/* Slideshow Arrows */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slideshow-arrow:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow.prev {
    left: 20px;
}

.slideshow-arrow.next {
    right: 20px;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about .section-header h2 {
        font-size: 2.2rem;
    }
    
    .about .section-header p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .about-text h3 {
        font-size: 2rem;
        color: var(--primary-color);
        font-weight: 600;
        position: relative;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-text h3::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-color), var(--accent-color));
        border-radius: 2px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-feature {
        padding: 1.2rem;
    }
    
    .about-slideshow {
        height: 350px;
    }
    
    .slideshow-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slideshow-arrow.prev {
        left: 10px;
    }
    
    .slideshow-arrow.next {
        right: 10px;
    }
}


/* Contact Section */
.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

    .contact .container {
    max-width: 1200px; /* increased to give more horizontal room for the form */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact .section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
                         margin-top: 3rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.8rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 2;
}

.contact-details {
    position: relative;
    z-index: 2;
}

.contact-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.contact-details p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

    .contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem 2.25rem; /* reduced vertical padding to free horizontal space visually */
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.contact-form h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

    .form-group {
    margin-bottom: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem; /* slightly larger gap for breathing room */
    align-items: start;
}

    .form-group input,
    .form-group select,
    .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 18px 12px 42px; /* reduce left padding so input content has more width */
    font-size: 1rem;
    border: 2px solid var(--border-color) !important;
    border-radius: 12px;
    background: var(--bg-white);
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}


.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
    opacity: 1;
}

/* Footer */
.footer {
    background: #003366;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem 3rem;
    margin-bottom: 3rem;
    align-items: start;
    justify-items: flex-start;
    text-align: left;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    text-align: left;
    align-items: flex-start;
    max-width: 320px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0;
    margin: 0;
    align-items: flex-start;
}

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: flex-start;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: #3b82f6;
    transform: translateX(3px);
}

.footer-section ul li i {
    width: 16px;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-section p i {
    color: #3b82f6;
    margin-right: 0.5rem;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    justify-content: flex-start;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
    font-family: 'Source Sans Pro', sans-serif;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-legal-link {
    color: #9ca3af;
    text-decoration: none;
    margin-left: 8px;
    transition: color .2s ease;
}
.footer-legal-link:hover {
    color: #fff;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1.5rem;
}
.footer-brand h3,
.footer-brand p,
.footer-brand .social-links {
  margin-left: 0;
  margin-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        display: block;
        text-align: left;
    }
    
    .footer-section {
        max-width: 100%;
        padding: 0 4px 1.6rem;
        margin: 0 0 1.6rem;
        border-bottom: 1px solid #1f2937;
    }
    .footer-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .footer-brand { text-align: center; align-items: center; }
    .footer-brand h3, .footer-brand p, .footer-brand .social-links { margin-left: auto; margin-right: auto; }
    .footer-brand { border-bottom: 1px solid #1f2937; }
    
    .footer-section ul {
        align-items: flex-start;
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    .footer-section h4 { font-size: 1.05rem; letter-spacing: .5px; }
    .footer-section ul li a { padding: 4px 0; display: inline-block; }
}

@media (max-width: 600px) {
    .footer .container {
        padding: 0 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    /* Fix extra space below footer on mobile */
    .footer {
        margin-top: 2rem !important;
        margin-bottom: 0 !important;
        padding-bottom: 1rem !important;
    }
    
    body {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        min-height: 100vh;
    }
    
    html {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        height: 100%;
    }
    
    /* Ensure no extra space from containers */
    .container {
        margin-bottom: 0 !important;
    }
}

/* Agent Partnership Section */
.agent-partnership {
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.agent-partnership-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 169, 110, 0.2);
    position: relative;
    overflow: hidden;
}

.agent-partnership-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.05) 0%, rgba(200, 169, 110, 0.02) 100%);
    pointer-events: none;
}

.agent-partnership-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.agent-partnership-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.agent-partnership-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.agent-partnership-action {
    position: relative;
    z-index: 1;
}

.btn-messenger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-color);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(200, 169, 110, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-messenger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transition: all 0.3s ease;
}

.btn-messenger:hover::before {
    left: 0;
}

.btn-messenger:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(200, 169, 110, 0.4);

}

.btn-messenger i {
    font-size: 1.3rem;
}

/* Mobile responsive */
    @media (max-width: 768px) {
        .agent-partnership {
            padding: 2.5rem 0;
        }

        .agent-partnership-content {
            flex-direction: column;
            text-align: center;
            padding: 2rem 1.5rem;
            gap: 2rem;
            margin: 0 1rem;
            border-radius: 15px;
        }

        .agent-partnership-text h2 {
            font-size: 1.8rem;
            margin-bottom: 0.8rem;
            line-height: 1.3;
        }

        .agent-partnership-text p {
            font-size: 1rem;
            margin-bottom: 0;
            line-height: 1.5;
        }

        .btn-messenger {
            padding: 14px 24px;
            font-size: 0.95rem;
            width: 100%;
            max-width: 280px;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .agent-partnership {
            padding: 2rem 0;
        }

        .agent-partnership-content {
            padding: 1.5rem 1rem;
            margin: 0 0.5rem;
            gap: 1.5rem;
        }

        .agent-partnership-text h2 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .agent-partnership-text p {
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .btn-messenger {
            padding: 12px 20px;
            font-size: 0.9rem;
            max-width: 200px;
            width: 100%;
        }
    }

    @media (max-width: 360px) {
        .agent-partnership-content {
            padding: 1rem 0.8rem;
        height: 100vh;
        }

    #home {
        height: 100vh;
    }
    .hero-background {
        height: 100vh;
        min-height: 100vh;
    }
        .agent-partnership-text h2 {
            font-size: 1.3rem;
        }

        .agent-partnership-text p {
            font-size: 0.85rem;
        }

        .btn-messenger {
            padding: 10px 16px;
            font-size: 0.85rem;
            gap: 8px;
        }
    }

    /* Contact Section Mobile Responsive */
    @media (max-width: 768px) {
        .contact-content {
            grid-template-columns: 1fr;
            gap: 2.5rem;
            align-items: stretch;
        }
       
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            width: 100%;
            padding: 0 1rem;
        }
       
        .contact-item {
            display: flex;
            flex-direction: row;
            align-items: center;
            text-align: left;
            max-width: 100%;
            margin: 0;
            padding: 1.2rem 1rem;
            gap: 1rem;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.9);
        }
       
        .contact-icon {
            width: 50px;
            height: 50px;
            flex-shrink: 0;
            margin-bottom: 0;
            font-size: 1.3rem;
            border-radius: 12px;
        }
       
        .contact-details {
            text-align: left;
            width: 100%;
            flex: 1;
        }
       
        .contact-details h3 {
            text-align: left;
            font-size: 1.1rem;
            margin-bottom: 0.3rem;
            color: var(--primary-color);
        }
       
        .contact-details p {
            text-align: left;
            font-size: 0.95rem;
            margin: 0;
            color: #666;
            line-height: 1.4;
        }
       
        .contact-form {
            max-width: var(--max-width);
            width: 100%;
            padding: 1.8rem 1.2rem;
            margin: 0 auto;
            border-radius: 15px;
        }
       
        .contact-form h3 {
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .form-group {
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-bottom: 1.2rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 10px 18px;
            width: 100%;
            box-sizing: border-box;
            padding: 14px 22px 14px 50px;
            font-size: 1rem;
            border: 2px solid var(--border-color) !important;
            border-radius: 12px;
            background: var(--bg-white);
            transition: all 0.3s ease;
            font-family: inherit;
            font-weight: 500;
        }
    }

    .styled-contact-form input,
    .styled-contact-form textarea {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        line-height: 1.2;
    }
    .styled-contact-form input {
        min-height: 50px;
        width: 100%;
    }

    .styled-contact-form textarea {
        min-height: 120px;
    }

    .styled-contact-form .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    @media (max-width: 480px) {
        .contact-form {
            padding: 2rem 1.2rem;
            margin: 0 auto;
            border-radius: 14px;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .contact {
            padding: 1.5rem 0;
        }
        .contact-content {
            gap: 2rem;
        }
        .contact-item {
            padding: 1.2rem 0.8rem;
            max-width: 95vw;
        }
        .contact-icon {
            width: 48px;
            height: 48px;
            font-size: 1.1rem;
        }
        .contact-details h3 {
            font-size: 1rem;
        }
        .contact-details p {
            font-size: 0.88rem;
        }
        .contact-form h3 {
            font-size: 1.2rem;

            text-align: center;
        }
        .form-group {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 12px 16px;
            font-size: 1rem;
            border-radius: 10px;
            width: 100%;
            box-sizing: border-box;
        }
        .input-wrapper i {
            left: 10px;
            font-size: 0.85rem;
        }
        .contact-form .btn-primary {
            padding: 14px 20px;
            font-size: 1rem;
            width: 100%;
            border-radius: 10px;
            margin-top: 1rem;
        }
    }

    /* ...existing code... */
@media (max-width: 768px) {
    /* ...existing code... */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-section ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0;
    }
    .footer-section ul li {
        margin: 0 0.5rem 0.5rem 0.5rem;
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .footer-section ul li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        background: rgba(255,255,255,0.08);
        color: var(--text-white);
        transition: background 0.2s;
    }
    .footer-section ul li a:hover {
        background: var(--accent-color);
        color: #fff;
    }
    .social-links {
        transform: scale(1.1);
    }
    .social-links a {
        margin: 0 0.5rem 0.5rem 0.5rem;
        width: 45px;
        height: 45px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Navigation Links Hover Effect */
.nav-link,
.desktop-nav-link {
    position: relative;
    transition: var(--transition);
}

.nav-link::after,
.desktop-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.desktop-nav-link:hover::after {
    width: 100%;
}

.nav-link:hover,
.desktop-nav-link:hover {
    color: var(--accent-color);
}

#property-type,
#price-range {
    min-width: 160px;
    max-width: 100%;
    width: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 22px 8px 10px;
    font-size: 1rem;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition);
}

#property-type:focus,
#price-range:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form .btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(44,62,80,0.08);
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.contact-form .btn-primary:hover {
    background: var(--accent-color);
    box-shadow: 0 8px 24px rgba(44,62,80,0.15);
}

/* News Section Styles */
.news-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
}

.news-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.news-day {
       display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
}

.news-content {
    padding: 2rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-category {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.news-author {
    color: var(--text-light);
    font-style: italic;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.news-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.news-read-more:hover {
    color: var(--accent-color);
    gap: 12px;
}

.news-read-more i {
    transition: var(--transition);
}

.news-cta {
    text-align: center;
    margin-top: 2rem;
}

.news-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 51, 102, 0.2);
}

.news-cta .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.3);
}

/* Responsive Design for News Section */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .news-date {
        top: 15px;
        right: 15px;
        padding: 8px;
        min-width: 50px;
    }
    
    .news-day {
        font-size: 1.3rem;
    }
    
    .news-month {
        font-size: 0.8rem;
    }
    
    .news-content {
        padding: 1.2rem;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
}

/* Newsletter Section - Compact Horizontal Design */
.newsletter-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid var(--border-color);
}

.newsletter-content {
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.newsletter-header {
    flex: 0 0 auto;
    text-align: left;
    margin-right: 1rem;
}

.newsletter-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.newsletter-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    max-width: 280px;
}

.newsletter-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: var(--transition);
}

.newsletter-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 3px 15px rgba(44, 90, 160, 0.15);
}

.newsletter-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: var(--bg-white);
    color: var(--text-dark);
    outline: none;
    font-family: inherit;
    min-width: 0;
}

.newsletter-input-group input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.newsletter-button {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 1rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.newsletter-button:hover:not(:disabled) {
    background: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.25);
}

.newsletter-button:hover:not(:disabled)::before {
    left: 100%;
}

.newsletter-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    text-align: left;
    font-style: italic;
}

/* Newsletter Feedback - Compact */
.newsletter-feedback {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
}

.newsletter-feedback.success {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    border: 2px solid #7dd3fc;
}

.newsletter-feedback.error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #dc2626;
    border: 2px solid #fca5a5;
}

.newsletter-feedback.loading {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 0 1rem;
        text-align: center;
    }
    
    .newsletter-header {
        text-align: center;
        margin-right: 0;
    }
    
    .newsletter-header h2 {
        font-size: 1.6rem;
    }
    
    .newsletter-header p {
        max-width: none;
    }
    
    .newsletter-action {
        width: 100%;
    }
    
    .newsletter-input-group {
        border-radius: 10px;
    }
    
    .newsletter-input-group input {
        padding: 0.9rem 1.2rem;
    }
    
    .newsletter-button {
        padding: 0.9rem 1.5rem;
    }
    
    .newsletter-note {
        text-align: center;
    }
    
    .newsletter-feedback {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group input {
        border-radius: 10px 10px 0 0;
    }
    
    .newsletter-button {
        border-radius: 0 0 10px 10px;
    }
}

/* Force rectangular action-related buttons (don't override nav or general controls) */
.action-btn,
.action-btn-modern,
.final-property-link,
.contact-submit-btn {
    border-radius: 6px !important;
}
