/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #79ae6f;
    --secondary-color: #c4e59a;
    --accent-color: #c8d5b9;
    --light-green: #e8f5bd;
    --dark-color: #2c3e2d;
    --light-color: #fcfff1;
    --text-color: #333;
    --text-light: #666;
    --border-color: #c8d5b9;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fcfff1;
}

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

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

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

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    gap: 40px;
}

.logo a {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 20px;
    order: 2;
    flex: 1;
    justify-content: flex-end;
}

/* Contact Button */
.btn-contact {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 3;
    margin-left: 15px;
}

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

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 13px;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Contact Us Desktop Menu Item */
.nav-contact-desktop {
    padding: 8px 16px !important;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    margin-left: 8px;
    transition: all 0.3s ease !important;
}

.nav-contact-desktop:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.nav-contact-desktop.active::after {
    display: none !important;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-language {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.btn-language i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-language i:last-child {
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.language-selector:has(.language-dropdown.active) .btn-language i:last-child {
    transform: rotate(180deg);
}

#currentLang {
    min-width: 22px;
    text-align: center;
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    min-width: 150px;
    z-index: 1001;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.lang-option:hover {
    background: var(--light-green);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--primary-color);
    color: white;
}

.lang-flag {
    width: 20px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

/* Desktop: Show Contact Us in nav, hide mobile version */
.nav-contact-desktop {
    padding: 8px 0 !important;
    color: var(--text-color) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}

.nav-contact-desktop:hover {
    color: var(--primary-color) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark-color);
    padding: 8px;
    margin-right: 10px;
    order: 4;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Responsive: Tablet & Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide Contact Us from main nav on tablet/mobile */
    .nav-contact-desktop {
        display: none;
    }

    /* Adjust header layout for smaller screens */
    .header .container {
        padding: 12px 20px;
        gap: 15px;
    }

    /* Adjust main nav for tablet */
    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 12px;
    }

    /* Adjust language selector for tablet */
    .btn-language {
        padding: 6px 10px;
        font-size: 11px;
    }

    .btn-language i {
        font-size: 12px;
    }

    .lang-flag {
        width: 16px;
        height: 10px;
    }

    #currentLang {
        min-width: 18px;
    }
}

/* Responsive: Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .header .container {
        padding: 12px 15px;
        gap: 10px;
    }

    .logo img {
        height: 35px;
    }

    .main-nav {
        gap: 10px;
        flex: 0.8;
    }

    .main-nav a {
        font-size: 11px;
        padding: 3px 0;
    }

    .header-right {
        gap: 5px;
    }

    .btn-language {
        padding: 5px 8px;
        font-size: 10px;
        gap: 3px;
    }

    .btn-language i {
        font-size: 11px;
    }

    .lang-dropdown {
        min-width: 120px;
    }

    .lang-option {
        padding: 8px 10px;
        font-size: 12px;
        gap: 6px;
    }

    .lang-flag {
        width: 16px;
        height: 10px;
    }

    #currentLang {
        min-width: 16px;
        font-size: 9px;
    }
}

/* Off-Canvas Menu */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-menu::-webkit-scrollbar {
    width: 6px;
}

.offcanvas-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.offcanvas-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #79ae6f 0%, #c8d5b9 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.offcanvas-header h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

.offcanvas-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.offcanvas-content {
    padding: 10px 0;
}

.offcanvas-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.offcanvas-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.offcanvas-item.active {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.offcanvas-item i:first-child {
    width: 25px;
    margin-right: 15px;
    font-size: 18px;
    color: inherit;
}

.offcanvas-item span {
    flex: 1;
    font-size: 15px;
}

.offcanvas-item i.fa-chevron-right {
    font-size: 12px;
    color: var(--text-light);
    margin-right: 0;
}

.offcanvas-item:hover i.fa-chevron-right,
.offcanvas-item.active i.fa-chevron-right {
    color: var(--primary-color);
}

.offcanvas-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 0;
}

/* Off-Canvas Social Icons */
.offcanvas-social {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 20px;
}

.offcanvas-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(121, 174, 111, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.offcanvas-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: white;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Slideshow Background Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 12s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 4s;
}

.slide:nth-child(3) {
    animation-delay: 8s;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(121, 174, 111, 0.5) 0%, rgba(200, 213, 185, 0.5) 100%);
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
    }
    43.33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

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

/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.855);
    border-radius: 25px;
    padding: 30px 25px 25px;
    max-width: 900px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.search-box h1 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.search-tabs {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-flex;
    background: #e8f5bd;
    border-radius: 30px;
    padding: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toggle-tab {
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    line-height: 1;
    font-weight: 500;
    font-size: 14px;
    color: #79ae6f;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
    background: #e8f5bd;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.toggle-tab:hover:not(.active) {
    background: #e8f5bd;
    color: #5a8a52;
}

.toggle-tab.active {
    background: var(--primary-color);
    color: white;
    border-radius: 26px;
    box-shadow: 0 2px 6px rgba(121, 174, 111, 0.4);
}

.search-form {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    background: white;
}

.search-field {
    flex: 1;
    position: relative;
}

.search-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-field input {
    width: 100%;
    padding: 14px 15px 14px 42px;
    border: none;
    font-size: 15px;
    background: transparent;
}

.search-field input:focus {
    outline: none;
}

.btn-search {
    padding: 8px 20px;
    margin: 6px 6px 6px 0;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-search:hover {
    background: #5a8a52;
    transform: translateY(-2px);
}

.search-filters {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-filters label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    cursor: pointer;
}

/* Quick Links */
.quick-links {
    background: white;
    padding: 30px 0;
    box-shadow: var(--shadow);
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: var(--text-color);
}

.quick-link-item:hover {
    background: var(--light-color);
    transform: translateY(-5px);
    color: var(--primary-color);
}

.quick-link-item i {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.quick-link-item span {
    font-weight: 500;
    text-align: center;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    color: var(--dark-color);
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    color: var(--secondary-color);
}

/* Section Header Right (with navigation arrows) */
.section-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-nav-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: white;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.section-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(121, 174, 111, 0.3);
}

/* Property Grid - Desktop Hidden Overflow with Scroll */
.featured-properties,
.popular-properties {
    padding: 60px 0;
    position: relative;
    contain: layout style paint;
}

.popular-properties {
    background: white;
}

.grid-wrapper {
    position: relative;
    overflow: hidden;
}

.grid-wrapper .grid-nav-btn {
    position: absolute;
}

.blog-section {
    padding: 20px 0;
}

.property-grid {
    display: flex;
    overflow-x: auto;
    padding: 0 0 15px;
    gap: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    will-change: scroll-position;
}

.property-grid::-webkit-scrollbar {
    display: none;
}

.property-grid .property-card {
    min-width: calc(100% / 3.4);
    max-width: calc(100% / 3.4);
    flex-shrink: 0;
}

/* Navigation Arrows */
.grid-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--dark-color);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.grid-nav-btn.show {
    opacity: 0.9;
    visibility: visible;
    pointer-events: auto;
}

.grid-nav-btn:hover {
    opacity: 1;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.grid-nav-btn.prev {
    left: 5px;
}

.grid-nav-btn.next {
    right: 5px;
}

.grid-nav-btn:disabled {
    opacity: 0 !important;
    cursor: default;
}

/* Hide arrows on mobile */
@media (max-width: 1024px) {
    .grid-nav-btn {
        display: none;
    }
    
    .section-nav-btn {
        display: none;
    }
}

/* Horizontal Scroll Container for Mobile */
.horizontal-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    transform: translateZ(0);
    will-change: scroll-position;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: #5a8a52;
}

.horizontal-scroll .property-card {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
    will-change: transform, opacity;
    contain: layout style;
    min-height: 350px;
}

.property-card:hover {
    box-shadow: var(--shadow-hover);
}

@media (hover: hover) {
    .property-card:hover {
        transform: translateY(-5px);
    }
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    transform: translateZ(0);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

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

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.btn-save {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.btn-save:hover {
    background: #ff4757;
    color: white;
}

.property-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.property-status-badge.status-available {
    background: #1e9e57;
}

.property-status-badge.status-reserved {
    background: #f59e0b;
}

.property-status-badge.status-sold {
    background: #dc2626;
}

.property-info {
    padding: 20px;
}

.property-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.property-info .location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-info .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
}

.property-features i {
    color: var(--primary-color);
}

/* Sale Property Features */
.sale-features {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

.sale-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.sale-features i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Property CTA Buttons */
.property-cta {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-cta {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-contact-agent {
    background: #25D366;
    color: white;
}

.btn-contact-agent.is-disabled {
    background: #9ca3af;
    color: white;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-contact-agent:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Why Choose Us */
.why-us {
    padding: 60px 0;
    background: linear-gradient(135deg, #79ae6f 0%, #c8d5b9 100%);
    color: white;
    text-align: center;
}

.why-us h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

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

.feature-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.testimonial-grid {
    display: flex;
    overflow-x: auto;
    padding: 0 0 15px;
    gap: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    will-change: scroll-position;
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-grid .testimonial-card {
    min-width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    flex-shrink: 0;
}

.testimonial-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    contain: layout style;
    min-height: 200px;
}

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

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

.testimonial-author img {
    border-radius: 50%;
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-light);
}

/* Top Locations Section */
.top-locations {
    padding: 60px 0;
    background: var(--light-color);
}

.top-locations .section-header {
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.location-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4 / 3;
}

.location-card:hover {
    box-shadow: var(--shadow-hover);
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.location-card:hover img {
    transform: scale(0.92);
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    transition: all 0.4s ease;
}

.location-overlay h3 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.location-card:hover .location-overlay {
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.location-card:hover .location-overlay h3 {
    transform: translateY(-5px);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

/* Blog Cards Section */
.blog-cards-section {
    padding: 20px 0;
    background: white;
}

.blog-cards-section .section-header {
    margin-bottom: 40px;
}

.blog-cards-grid {
    display: flex;
    overflow-x: auto;
    padding: 0 0 15px;
    gap: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    will-change: scroll-position;
}

.blog-cards-grid::-webkit-scrollbar {
    display: none;
}

.blog-cards-grid .blog-card {
    min-width: calc(100% / 3.4);
    max-width: calc(100% / 3.4);
    flex-shrink: 0;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
    will-change: transform, opacity;
    contain: layout style;
    min-height: 350px;
}

.blog-card:hover {
    box-shadow: var(--shadow-hover);
}

@media (hover: hover) {
    .blog-card:hover {
        transform: translateY(-5px);
    }
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    transform: translateZ(0);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

@media (hover: hover) {
    .blog-card:hover .blog-image img {
        transform: scale(1.1);
    }
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-info {
    padding: 20px;
}

.blog-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 600;
}

.blog-info .blog-date {
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-info .blog-date i {
    color: var(--primary-color);
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .blog-cards-section .blog-section {
        padding: 15px 0;
    }

    .blog-cards-grid {
        margin-left: 20px;
        gap: 15px;
    }

    .blog-cards-grid .blog-card {
        min-width: 280px;
        max-width: 280px;
        flex-shrink: 0;
    }

    .blog-card {
        min-height: auto;
    }

    .blog-image {
        height: 200px;
    }

    .blog-info h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .blog-info .blog-date {
        font-size: 12px;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    .blog-cards-section .blog-section {
        padding: 15px 0;
    }

    .blog-cards-grid {
        margin-left: 20px;
        gap: 15px;
    }

    .blog-cards-grid .blog-card {
        min-width: 260px;
        max-width: 260px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-info {
        padding: 15px;
    }

    .blog-info h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .blog-info .blog-date {
        font-size: 12px;
    }
}

/* Blog Catalog Section (for full blog page) */
.blog-catalog-section {
    padding: 60px 0;
    background: var(--light-color);
}

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

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
    will-change: box-shadow;
    contain: layout style;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    box-shadow: var(--shadow-hover);
}

.blog-post-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--light-green);
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

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

.blog-post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
}

.blog-post-meta .blog-date {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-post-meta .blog-date i {
    color: var(--primary-color);
}

.blog-post-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.4;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
    color: var(--secondary-color);
}

.blog-read-more i {
    transition: all 0.3s ease;
}

.blog-post-card:hover .blog-read-more i {
    transform: translateX(3px);
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .blog-post-content {
        padding: 20px;
    }

    .blog-post-image {
        height: 200px;
    }

    .blog-post-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    .blog-catalog-section {
        padding: 30px 0;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-post-image {
        height: 200px;
    }

    .blog-post-content {
        padding: 15px;
    }

    .blog-post-meta {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 10px;
    }

    .blog-post-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .blog-read-more {
        font-size: 13px;
    }
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

/* Page Header (Catalog Pages) */
.page-header {
    background: linear-gradient(135deg, #79ae6f 0%, #c8d5b9 100%);
    padding: 60px 20px 40px;
    text-align: center;
    color: white;
}

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

/* Quick Links inside page-header */
.quick-links-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.quick-links-inner .quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: var(--text-color);
    background: #fcfff1;
}

.quick-links-inner .quick-link-item:hover {
    background: #f0f8e8;
    transform: translateY(-5px);
    color: var(--primary-color);
}

.quick-links-inner .quick-link-item i {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.quick-links-inner .quick-link-item span {
    font-weight: 500;
    text-align: center;
}

.quick-links-inner .quick-link-item.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(121, 174, 111, 0.3);
}

.quick-links-inner .quick-link-item.active i {
    color: white;
}

.quick-links-inner .quick-link-item.active:hover {
    background: #5a8a52;
    color: white;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: 12px;
}

/* Catalog Section */
.catalog-section {
    padding: 60px 0;
    background: var(--light-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    color: var(--dark-color);
}

.result-count {
    color: var(--text-light);
    font-size: 16px;
}

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

/* Location Tabs */
.location-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 0 10px 0 5px;
    scrollbar-width: none;
    align-items: flex-end;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 0;
    position: relative;
}

.location-tabs::-webkit-scrollbar {
    display: none;
}

.location-tab {
    position: relative;
    padding: 12px 20px 14px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 2px;
    min-width: 110px;
    text-align: center;
    clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 100%, 0% 100%);
}

.location-tab:hover:not(.active) {
    color: var(--primary-color);
}

.location-tab.active {
    background: var(--primary-color);
    color: white;
    z-index: 2;
    clip-path: none;
    border-radius: 10px 10px 0 0;
    padding: 12px 20px 15px;
    font-weight: 600;
}

.location-tabs:has(.location-tab.active) {
    border-bottom-color: var(--primary-color);
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-light);
    font-size: 16px;
}

/* No Results Message - Villa Rent Page (Location Filter) */
.no-results-location {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 12px;
    margin-top: 20px;
}

.no-results-location i {
    font-size: 56px;
    color: var(--border-color);
    margin-bottom: 15px;
    display: block;
}

.no-results-location h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.no-results-location p {
    color: var(--text-light);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1024px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .quick-links-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .breadcrumb {
        font-size: 14px;
    }

    .catalog-section {
        padding: 40px 0;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .location-tabs {
        margin-bottom: 25px;
        padding: 0 5px 0 2px;
    }
    
    .location-tab {
        padding: 8px 16px 10px;
        font-size: 12px;
        min-width: 100px;
    }
    
    .location-tab.active {
        padding: 10px 16px 12px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .page-header {
        padding: 30px 15px;
    }

    .page-header h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .quick-links-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .quick-links-inner .quick-link-item {
        padding: 15px 10px;
    }

    .quick-links-inner .quick-link-item i {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .quick-links-inner .quick-link-item span {
        font-size: 11px;
    }

    .quick-links-inner .quick-link-item.active {
        transform: none;
    }

    .breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .location-tabs {
        margin-bottom: 20px;
        padding: 0 2px 0 1px;
        gap: 0;
    }

    .location-tab {
        padding: 8px 14px 10px;
        font-size: 11px;
        min-width: 90px;
    }

    .location-tab.active {
        padding: 10px 14px 12px;
    }

    .no-results {
        padding: 40px 20px;
    }

    .no-results i {
        font-size: 48px;
    }

    .no-results h3 {
        font-size: 20px;
    }

    .no-results p {
        font-size: 14px;
    }
}

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

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-col h3 span {
    color: var(--primary-color);
}

.footer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: white;
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

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

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

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

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

/* Tablet/iPad - Same as Mobile Layout */
@media (max-width: 1024px) {
    /* Mobile Header */
    .header .container {
        flex-direction: row;
        padding: 10px 15px;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        order: 1;
    }

    .logo img {
        height: 32px;
    }

    .btn-contact {
        padding: 6px 14px;
        font-size: 12px;
        border-width: 1.5px;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        order: 2;
        margin-left: 0;
    }

    .main-nav {
        display: none;
        flex: 0;
        order: 0;

    }

    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile Hero Section */
    .hero {
        padding: 40px 15px;
        min-height: 280px;
    }

    .hero-slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .slide-overlay {
        background: linear-gradient(135deg, rgba(121, 174, 111, 0.6) 0%, rgba(200, 213, 185, 0.6) 100%);
    }
    
    .search-box h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Mobile Search Box */
    .search-box {
        padding: 15px;
        margin: 0 0 15px;
        border-radius: 15px;
    }
    
    .search-tabs {
        margin-bottom: 15px;
    }

    .toggle-switch {
        margin-bottom: 15px;
    }

    .toggle-tab {
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 30px;
    }

    .toggle-tab:first-child {
        border-radius: 30px;
    }

    .toggle-tab:last-child {
        border-radius: 30px;
    }

    .toggle-tab.active {
        border-radius: 30px;
    }
    
    .search-form {
        flex-direction: row;
        gap: 0;
    }

    .search-field input {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }

    .btn-search {
        padding: 7px 16px;
        font-size: 14px;
        width: auto;
        margin: 5px 5px 5px 0;
    }
    
    .search-filters {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    /* Mobile Quick Links - Centered Grid */
    .quick-links {
        padding: 20px 0;
    }

    .quick-links .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 20px;
        overflow: visible;
    }

    .quick-link-item {
        min-width: unset;
        padding: 15px 10px;
        flex-shrink: unset;
    }

    .quick-link-item i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .quick-link-item span {
        font-size: 11px;
    }
    
    /* Mobile Section Header */
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .view-all {
        font-size: 13px;
        flex-shrink: 0;
    }
    
    /* Mobile Property Sections - Horizontal Scroll */
    .featured-properties,
    .popular-properties {
        padding: 40px 0;
    }
    
    .property-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 0 15px 15px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .property-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .property-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .property-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }
    
    .property-grid .property-card {
        min-width: 280px;
        max-width: 280px;
        flex-shrink: 0;
    }
    
    .property-image {
        height: 180px;
    }
    
    .property-info h3 {
        font-size: 16px;
    }
    
    .property-info .price {
        font-size: 18px;
    }
    
    /* Mobile Why Choose Us */
    .why-us {
        padding: 40px 0;
    }
    
    .why-us h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 36px;
    }
    
    .feature-item h3 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
    
    /* Mobile Testimonials */
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .testimonial-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 0 15px 15px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .testimonial-grid::-webkit-scrollbar {
        height: 4px;
    }

    .testimonial-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .testimonial-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .testimonial-grid .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        flex-shrink: 0;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
    
    /* Mobile Top Locations */
    .top-locations {
        padding: 40px 0;
    }

    .top-locations .section-header {
        margin-bottom: 25px;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .location-card {
        aspect-ratio: 4 / 3;
    }

    .location-overlay h3 {
        font-size: 18px;
    }

    /* Mobile Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-col h3 {
        font-size: 20px;
    }

    .footer-logo {
        height: 28px;
    }

    .footer-col h4 {
        font-size: 16px;
    }
    
    .footer-col p,
    .footer-col ul li a {
        font-size: 13px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .contact-info li {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 25px 10px;
    }

    .search-box h1 {
        font-size: 18px;
    }

    .search-box {
        padding: 12px;
    }

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

    .property-grid .property-card {
        min-width: 260px;
        max-width: 260px;
    }

    /* Small Mobile Top Locations */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 0 10px;
    }

    .location-overlay h3 {
        font-size: 16px;
    }

    .location-overlay {
        padding: 15px;
    }

    .location-card:hover .location-overlay {
        padding: 18px;
    }
}

/* iPad Landscape (1024px exactly) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container {
        max-width: 1140px;
    }

    .header .container {
        padding: 12px 40px;
    }

    .hero {
        padding: 70px 40px;
    }

    .search-box h1 {
        font-size: 38px;
    }

    .search-box {
        max-width: 850px;
    }

    .section-header {
        padding: 0 40px;
    }

    .property-grid,
    .testimonial-grid {
        padding: 0 40px;
    }

    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-grid {
        padding: 0 40px;
    }
}

/* Scroll Animation Classes */
.animate-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Prevent layout shift on mobile/touch devices */
@media (pointer: coarse) {
    .property-card,
    .feature-item,
    .testimonial-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Stabilize grid containers */
    .property-grid,
    .testimonial-grid {
        contain: layout style;
    }
    
    /* Prevent sections from jumping */
    .featured-properties,
    .popular-properties,
    .testimonials {
        contain: layout style;
    }
}

/* ========================================
   Property Management Page
   ======================================== */

/* Page Header Management */
.page-header-management {
    padding: 80px 20px 60px;
}

.page-header-label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header-management h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-header-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 15px;
}

.page-header-tagline {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Benefits Section */
.management-benefits {
    padding: 80px 0;
    background: var(--light-color);
}

.management-benefits h2 {
    text-align: center;
    font-size: 30px;
    color: var(--dark-color);
    margin-bottom: 50px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.benefit-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Steps Section */
.management-steps {
    padding: 80px 0;
    background: white;
}

.management-steps h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 60px;
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    z-index: 2;
}

.step-icon {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.steps-cta {
    text-align: center;
}

.btn-contact-team {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(121, 174, 111, 0.3);
}

.btn-contact-team:hover {
    background: #5a8a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(121, 174, 111, 0.4);
}

/* Managed Villas Section */
.managed-villas {
    padding: 80px 0;
    background: var(--light-color);
}

.managed-villas .section-label {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.managed-villas h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 50px;
    font-weight: 700;
}

.property-badge-handpicked {
    position: absolute;
    top: 45px;
    left: 15px;
    background: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
}

/* Company Info Strip */
.company-info-strip {
    padding: 60px 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

.company-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.company-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
}

.company-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.company-social a:hover {
    background: #5a8a52;
    transform: translateY(-3px);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .page-header-management {
        padding: 60px 20px 40px;
    }

    .page-header-management h1 {
        font-size: 28px;
    }

    .page-header-subtitle {
        font-size: 15px;
    }

    .page-header-tagline {
        font-size: 18px;
    }

    .management-benefits h2,
    .management-steps h2,
    .managed-villas h2 {
        font-size: 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .company-info-content {
        flex-direction: column;
        text-align: center;
    }

    .company-text p {
        max-width: 100%;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .page-header-management {
        padding: 40px 15px 30px;
    }

    .page-header-label {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .page-header-management h1 {
        font-size: 24px;
    }

    .page-header-subtitle {
        font-size: 14px;
    }

    .page-header-tagline {
        font-size: 16px;
    }

    .management-benefits,
    .management-steps,
    .managed-villas {
        padding: 50px 0;
    }

    .management-benefits h2,
    .management-steps h2,
    .managed-villas h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .benefit-icon {
        font-size: 40px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .step-icon {
        font-size: 48px;
    }

    .btn-contact-team {
        padding: 12px 28px;
        font-size: 15px;
    }

    .company-info-strip {
        padding: 40px 0;
    }

    .company-text p {
        font-size: 15px;
    }

    .company-social a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ========================================
   Contact Us Page
   ======================================== */

/* Page Header Contact */
.page-header-contact {
    padding: 80px 20px 60px;
}

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

.page-header-contact .page-header-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
}

.page-header-contact .page-header-tagline {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-color);
    transition: all 0.3s ease;
    background: white;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

.form-group select {
    cursor: pointer;
}

.btn-submit-form {
    padding: 14px 35px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(121, 174, 111, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit-form:hover {
    background: #5a8a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(121, 174, 111, 0.4);
}

.btn-submit-form:active {
    transform: translateY(0);
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-wrapper h2 {
    font-size: 28px;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.contact-info-card h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

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

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

/* Company Description */
.company-description {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.company-description p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Contact Social */
.contact-social {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-social h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-social .social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

.contact-social .social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(121, 174, 111, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social .social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Map Section */
.map-section {
    padding: 20px;
}

.map-container {
    width: 100%;
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .page-header-contact {
        padding: 60px 20px 40px;
    }

    .page-header-contact h1 {
        font-size: 32px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .page-header-contact {
        padding: 40px 15px 30px;
    }

    .page-header-contact h1 {
        font-size: 28px;
    }

    .page-header-contact .page-header-subtitle {
        font-size: 18px;
    }

    .page-header-contact .page-header-tagline {
        font-size: 15px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-form {
        gap: 18px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 14px;
        font-size: 14px;
    }

    .btn-submit-form {
        padding: 12px 28px;
        font-size: 15px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-card {
        padding: 20px 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-info-card h3 {
        font-size: 16px;
    }

    .contact-info-card p {
        font-size: 13px;
    }

    .company-description {
        padding: 20px;
    }

    .company-description p {
        font-size: 14px;
    }

    .contact-social {
        padding: 20px;
    }

    .contact-social .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .map-container iframe {
        height: 280px;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25d366 0%, #20ba63 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    background: white;
    color: #333;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-whatsapp:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon i {
    color: white;
    font-size: 36px;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-icon i {
    transform: rotate(-15deg) scale(1.1);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive - Floating Button Tablet */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 55px;
        right: 20px;
        width: 65px;
        height: 65px;
    }

    .whatsapp-icon i {
        font-size: 32px;
    }
}

/* Responsive - Floating Button Mobile */
@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 50px;
        right: 15px;
        width: 60px;
        height: 60px;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    }

    .whatsapp-icon i {
        font-size: 28px;
    }
}

/* ========================================
   Property Detail Page Styles
   ======================================== */

.property-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.property-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.property-price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.property-price span {
    font-size: 16px;
    color: var(--text-light);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
}

.property-location i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Gallery Carousel */
.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: white;
    margin-bottom: 20px;
}

.gallery-container {
    position: relative;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    transform: translateY(-50%);
    z-index: 10;
}

.gallery-btn {
    background-color: 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: 18px;
    color: var(--dark-color);
    transition: all 0.3s;
}

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

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: white;
    width: 30px;
    border-radius: 5px;
}

/* Main Content */
.property-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.property-content > main {
    min-width: 0;
    width: 100%;
}

.property-content > aside {
    min-width: 0;
}

/* Section Titles */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary-color);
    font-size: 26px;
}

/* Specifications */
.specs-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    gap: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.spec-item {
    text-align: center;
    padding: 10px;
    background-color: var(--light-color);
    border-radius: 8px;
}

.spec-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.spec-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.spec-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Amenities */
.amenities-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.amenity-category {
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.amenity-category-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.amenity-category-title i {
    color: var(--primary-color);
    font-size: 18px;
}

.amenity-list {
    list-style: none;
}

.amenity-list li {
    padding: 8px 0;
    color: var(--text-color);
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.amenity-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Description */
.description-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.description-section p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.description-section ul {
    margin-left: 20px;
    padding-left: 20px;
    margin-bottom: 15px;
}

.description-section ul li {
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.8;
}

/* House Rules */
.rules-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.rules-list {
    list-style: none;
}

.rules-list li {
    padding: 12px 0;
    color: var(--text-color);
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
}

/* Location & Maps */
.location-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sidebar */
.property-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    align-self: start;
    z-index: 10;
}

.booking-form {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.booking-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-align: center;
}

.booking-form .form-group {
    margin-bottom: 15px;
}

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

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.booking-form .form-group input:focus,
.booking-form .form-group select:focus,
.booking-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(121, 174, 111, 0.2);
}

.date-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.date-group input {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #6b9660;
}

.property-sidebar .contact-info {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.property-sidebar .contact-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-color);
}

.contact-item i {
    color: var(--primary-color);
    min-width: 20px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1fa952;
}

/* Related Properties */
.related-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
}

.related-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.property-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-content {
    padding: 15px;
}

.property-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.property-card-price {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.property-card-location {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    gap: 5px;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-content {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
    }

    .gallery-carousel {
        height: 400px;
    }

    .property-title {
        font-size: 24px;
    }

    .property-price {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .property-header {
        padding: 20px;
        margin-top: 20px;
    }

    .gallery-section {
        padding: 20px 20px;
    }

    .property-content {
        padding: 0 20px 20px;
        gap: 15px;
    }

    .property-title {
        font-size: 20px;
    }

    .property-price {
        font-size: 20px;
    }

    .gallery-carousel {
        height: 300px;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .related-carousel {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .map-container {
        height: 300px;
    }

    .property-detail-section-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .property-header {
        padding: 15px;
    }

    .gallery-section {
        padding: 15px;
    }

    .property-content {
        padding: 0 15px 15px;
        gap: 15px;
    }

    .property-title {
        font-size: 18px;
    }

    .property-price {
        font-size: 18px;
    }

    .gallery-carousel {
        height: 250px;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .property-detail-section-title {
        font-size: 16px;
    }

    .map-container {
        height: 250px;
    }

    .amenity-category {
        padding: 15px;
    }

    .rules-list li {
        padding-left: 25px;
    }

    .related-carousel {
        grid-template-columns: 1fr;
    }
}

/* Featured Daily Rent Section (in Property Detail) */
.featured-daily-rent-section {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.featured-rent-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.featured-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.featured-card:hover {
    box-shadow: var(--shadow);
}

.featured-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
}

.featured-badge.new {
    background: var(--primary-color);
}

.featured-info {
    padding: 18px;
}

.featured-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.featured-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
}

.featured-location i {
    color: var(--primary-color);
    font-size: 14px;
}

.featured-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.featured-price span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.btn-featured {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-featured:hover {
    background: #5a8a52;
    transform: translateY(-2px);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .featured-rent-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .featured-daily-rent-section {
        padding: 30px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .featured-daily-rent-section {
        padding: 25px;
        margin-top: 30px;
    }

    .featured-rent-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        height: auto;
    }

    .featured-card {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .featured-image {
        height: 150px;
        flex-shrink: 0;
    }

    .featured-info {
        padding: 15px;
        flex: 1;
    }

    .featured-info h4 {
        font-size: 15px;
    }

    .featured-price {
        font-size: 16px;
    }
}

/* ========================================
   Blog Single Post Page
   ======================================== */

.blog-single-section {
    padding: 60px 0;
    background: var(--light-color);
}

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

/* Article Styling */
.blog-article {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.article-date,
.article-author,
.article-reading-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.article-date i,
.article-author i,
.article-reading-time i {
    color: var(--primary-color);
}

.article-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-tags {
    display: flex;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--light-green);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 35px 0 20px;
    line-height: 1.3;
}

.article-content h1:first-child {
    margin-top: 0;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 30px 0 15px;
    line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.article-content a {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: var(--secondary-color);
}

.article-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-share span {
    font-weight: 600;
    color: var(--dark-color);
}

.article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light-green);
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.article-share a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Related Blog Posts */
.related-blog-posts {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid var(--border-color);
}

.related-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-hover);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-info {
    padding: 25px;
}

.blog-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
}

.blog-date i {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.read-more:hover {
    gap: 12px;
    color: var(--secondary-color);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* Featured Daily Rent */
.featured-daily-rent {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

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

.featured-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-card:hover {
    box-shadow: var(--shadow);
}

.featured-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.featured-badge.new {
    background: var(--primary-color);
}

.featured-info {
    padding: 15px;
}

.featured-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.featured-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}

.featured-location i {
    color: var(--primary-color);
}

.featured-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.featured-price span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.btn-view {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #5a8a52;
    transform: translateY(-2px);
}

/* CTA Box */
.sidebar-cta {
    background: linear-gradient(135deg, #79ae6f 0%, #c8d5b9 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.sidebar-cta h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sidebar-cta p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.btn-cta-primary {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .blog-single-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-article {
        padding: 30px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-meta {
        gap: 20px;
    }

    .article-content h1 {
        font-size: 28px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .related-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 25px;
    }

}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .blog-single-section {
        padding: 40px 0;
    }

    .blog-article {
        padding: 20px;
        border-radius: 8px;
    }

    .article-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .article-meta {
        display: flex !important;      
        flex-direction: row !important; 
        flex-wrap: wrap;                
        justify-content: flex-start;    
        align-items: center;            
        gap: 20px;                      
        margin-bottom: 20px;
        text-align: left;               
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h1 {
        font-size: 24px;
        margin: 25px 0 15px;
    }

    .article-content h2 {
        font-size: 20px;
        margin: 20px 0 12px;
    }

    .article-image {
        margin: 20px 0;
        border-radius: 6px;
    }

    .article-tags {
        margin: 20px 0;
        gap: 10px;
    }

    .tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    .related-blog-posts {
        margin-top: 35px;
        padding-top: 35px;
    }

    .related-blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .featured-daily-rent {
        padding: 20px;
    }

    .featured-rent-cards {
        gap: 20px;
        display: flex;
    }

    .featured-image {
        height: 100%;
        width: 100%;
    }

    .sidebar-cta {
        padding: 15px;
        margin-bottom: 20px;
    }

    .sidebar-cta h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .sidebar-cta p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .btn-cta-primary {
        padding: 10px 24px;
        font-size: 13px;
    }
}

