/* Custom gradient text color */
.gradient-text {
    color: #3e5f44 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Hero Title Custom Layout */
.hero-title .title-line {
    display: block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    line-height: 1.1 !important;
}

/* Khắc phục hero-subtitle bị ngắt chữ */
.hero-subtitle {
    white-space: nowrap !important;
    overflow: visible !important;
    max-width: none !important;
    width: auto !important;
}

/* Di chuyển floating cards xuống để tránh đè chữ */
.floating-cards {
    margin-top: 2rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.hero-visual .floating-cards {
    margin-top: 3rem !important;
}

/* Đảm bảo text không bị ngắt trên mobile */
@media (max-width: 768px) {
    .hero-title .title-line {
        white-space: normal !important;
        word-break: keep-all !important;
    }

    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
        text-align: center !important;
    }

    .hero-subtitle {
        white-space: normal !important;
        word-break: keep-all !important;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }
}

/* Property Types Cards Icon Background */
.card-icon {
    background-color: #5e936c !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
}

.card-icon i {
    color: white !important;
    font-size: 24px !important;
}

/* FAQ Section Responsive Styles */
.faq-section.section-border {
    padding: 80px 0 !important;
    background: linear-gradient(
        135deg,
        #f9f6f0 0%,
        #ffffff 50%,
        #fdfcf8 100%
    ) !important;
    position: relative !important;
    overflow: hidden !important;
}

.faq-section.section-border::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faqDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23faqDots)"/></svg>') !important;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faqDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23faqDots)"/></svg>') !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-image-wrapper {
    position: relative !important;
    height: 300px !important;
    overflow: hidden !important;
    margin-bottom: 50px !important;
}

.faq-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.faq-section .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    margin-bottom: 1rem !important;
}

.faq-section .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem) !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.accordion-button {
    font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
    padding: 1rem 1.25rem !important;
    line-height: 1.4 !important;
}

.accordion-button i {
    font-size: clamp(1rem, 2vw, 1.25rem) !important;
}

.accordion-body {
    font-size: clamp(0.875rem, 1.5vw, 1rem) !important;
    line-height: 1.6 !important;
}

/* Mobile responsive cho FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0 !important;
    }

    .faq-image-wrapper {
        height: 200px !important;
        margin-bottom: 30px !important;
    }

    .faq-section .section-title {
        text-align: center !important;
        margin-bottom: 0.75rem !important;
    }

    .faq-section .section-subtitle {
        text-align: center !important;
        padding: 0 15px !important;
    }

    .accordion-button {
        padding: 0.875rem 1rem !important;
        text-align: left !important;
    }

    .accordion-button i {
        margin-right: 0.75rem !important;
    }

    .accordion-body {
        padding: 1rem !important;
    }

    .accordion-body .row.g-4 {
        gap: 1.5rem !important;
    }

    .accordion-body .col-md-6 {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 30px 0 !important;
    }

    .faq-image-wrapper {
        height: 180px !important;
        margin-bottom: 25px !important;
    }

    .accordion-button {
        padding: 0.75rem 0.875rem !important;
        font-weight: 500 !important;
    }

    .accordion-button i {
        margin-right: 0.5rem !important;
    }

    .accordion-body {
        padding: 0.875rem !important;
    }

    .accordion-body h6 {
        font-size: 0.875rem !important;
        margin-bottom: 0.75rem !important;
    }

    .accordion-body li {
        margin-bottom: 0.5rem !important;
        font-size: 0.8rem !important;
    }
}

/* Property Price Styling - Only for property detail pages */
.detail-card .price-label,
.property-price-section .price-label {
    color: #5e936c !important;
    font-weight: 600 !important;
}

.detail-card .price-value,
.property-price-section .price-value {
    color: #000000 !important;
    font-weight: 700 !important;
}

.detail-card .property-price,
.property-price-section .property-price {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Property card price styling for home page only */
.properties-section .property-card .property-price {
    color: #000000 !important;
    font-weight: 600 !important;
}

.properties-section .property-details .property-price {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* ====== Empty Properties State ====== */
.empty-properties-wrapper {
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(191, 167, 106, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    animation: float 3s ease-in-out infinite;
}

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

.empty-title {
    font-family: "Museo Moderno", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-subtitle {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.empty-actions .btn {
    min-width: 200px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.empty-actions .btn-outline-secondary {
    color: #666;
    border-color: #ddd;
}

.empty-actions .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #5e936c;
    color: #5e936c;
    text-decoration: none;
}

/* Responsive cho empty state */
@media (max-width: 768px) {
    .empty-properties-wrapper {
        padding: 40px 15px;
        margin: 0 15px;
    }

    .empty-title {
        font-size: 1.3rem;
    }

    .empty-subtitle {
        font-size: 1rem;
    }

    .empty-actions {
        flex-direction: column;
    }

    .empty-actions .btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .empty-properties-wrapper {
        padding: 30px 10px;
    }

    .empty-icon i {
        font-size: 3rem !important;
    }

    .empty-title {
        font-size: 1.2rem;
    }

    .empty-subtitle {
        font-size: 0.9rem;
    }
}

/* ====== Empty News State ====== */
.empty-news-wrapper {
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(191, 167, 106, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.empty-news-wrapper .empty-icon {
    animation: pulse-news 3s ease-in-out infinite;
}

@keyframes pulse-news {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.empty-news-wrapper .empty-title {
    font-family: "Museo Moderno", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-news-wrapper .empty-subtitle {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.empty-news-wrapper .empty-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.empty-news-wrapper .empty-actions .btn {
    min-width: 200px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.empty-news-wrapper .empty-actions .btn-outline-secondary {
    color: #666;
    border-color: #ddd;
}

.empty-news-wrapper .empty-actions .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #5e936c;
    color: #5e936c;
    text-decoration: none;
}

/* Responsive cho empty news state */
@media (max-width: 768px) {
    .empty-news-wrapper {
        padding: 40px 15px;
        margin: 0 15px;
    }

    .empty-news-wrapper .empty-title {
        font-size: 1.3rem;
    }

    .empty-news-wrapper .empty-subtitle {
        font-size: 1rem;
    }

    .empty-news-wrapper .empty-actions {
        flex-direction: column;
    }

    .empty-news-wrapper .empty-actions .btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .empty-news-wrapper {
        padding: 30px 10px;
    }

    .empty-news-wrapper .empty-icon i {
        font-size: 3rem !important;
    }

    .empty-news-wrapper .empty-title {
        font-size: 1.2rem;
    }

    .empty-news-wrapper .empty-subtitle {
        font-size: 0.9rem;
    }
}

/* ====== Modern Properties Section ====== */
.modern-properties-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f6f0 0%, #ffffff 50%, #fdfcf8 100%);
    position: relative;
    overflow: hidden;
}

.modern-properties-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.modern-properties-section .container {
    position: relative;
    z-index: 2;
}

/* Properties Carousel Layout */
.properties-carousel {
    margin-bottom: 3rem;
}

.propertiesSwiper {
    overflow: hidden; /* Ẩn các slides nằm ngoài viewport */
    padding: 0 60px; /* Space for navigation buttons */
    position: relative;
}

.propertiesSwiper .swiper-wrapper {
    align-items: stretch;
}

.propertiesSwiper .swiper-slide {
    height: auto;
    display: flex;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Ẩn các slides không nằm trong viewport chính - BỎ QUA */
/* .propertiesSwiper .swiper-slide:not(.swiper-slide-visible) {
    opacity: 0.3;
    pointer-events: none;
} */

/* Đảm bảo chỉ hiển thị 3 items chính trên desktop */
@media (min-width: 1024px) {
    .propertiesSwiper .swiper-slide {
        opacity: 1; /* Hiển thị tất cả slides */
        transform: scale(1);
        transition: all 0.3s ease;
        pointer-events: auto;
    }

    /* Không ẩn slides nữa, để Swiper tự quản lý */
}

/* Swiper Navigation */
.propertiesSwiper .swiper-button-next,
.propertiesSwiper .swiper-button-prev {
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    box-shadow: 0 4px 15px rgba(191, 167, 106, 0.3);
    transition: all 0.3s ease;
}

.propertiesSwiper .swiper-button-next:after,
.propertiesSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.propertiesSwiper .swiper-button-next:hover,
.propertiesSwiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(94, 147, 108, 0.4);
}

.propertiesSwiper .swiper-button-prev {
    left: 10px;
}

.propertiesSwiper .swiper-button-next {
    right: 10px;
}

/* Swiper Pagination */
.propertiesSwiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
    bottom: auto;
}

.propertiesSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d0d0d0;
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.propertiesSwiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #5e936c 0%, #4a7c58 100%);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(94, 147, 108, 0.4);
}

/* Properties Grid Layout - Kept as fallback */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Modern Property Card */
.modern-property-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(191, 167, 106, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Đảm bảo tất cả cards có cùng chiều cao */
}

.modern-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Property Image Wrapper */
.property-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Property Status Badge */
.property-status {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(191, 167, 106, 0.3);
}

/* Property Overlay */
.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-property-card:hover .property-overlay {
    opacity: 1;
}

/* Overlay Actions */
.overlay-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: #5e936c;
    color: white;
    transform: scale(1.1);
}

.action-btn i {
    font-size: 18px;
}

/* Property Info */
.property-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Đảm bảo nội dung tự động mở rộng để lấp đầy không gian */
}

.property-title {
    font-family: "Museo Moderno", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #23262f;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Property Location */
.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.property-location i {
    color: #5e936c;
    font-size: 16px;
}

/* Property Description - tương tự News Summary */
.property-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5rem; /* Đảm bảo chiều cao tối thiểu cho 3 dòng */
}

/* Property Features - tương tự News Meta */
.property-features {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.85rem;
}

.feature-item i {
    color: #5e936c;
    font-size: 14px;
}

.property-price {
    color: #23262f;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Property Meta - tương tự News Meta */
.property-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.property-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.property-meta .meta-item i {
    color: #5e936c;
    font-size: 14px;
}

/* Property Contact Section */
.property-contact-section {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.btn-contact-property {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-contact-property::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
}

.btn-contact-property:hover::before {
    left: 100%;
}

.btn-contact-property:hover {
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(94, 147, 108, 0.4);
}

.btn-contact-property:active {
    transform: translateY(0);
}

.btn-contact-property i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-contact-property:hover i {
    transform: scale(1.1);
}

/* Property Footer */
.property-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: auto; /* Đẩy footer xuống cuối card */
}

.view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    transform: translateX(4px);
    color: white;
    text-decoration: none;
}

.view-details-btn i {
    transition: transform 0.3s ease;
}

.view-details-btn:hover i {
    transform: translateX(4px);
}

/* Modern View All Button */
.btn-view-all-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-view-all-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
}

.btn-view-all-modern:hover::before {
    left: 100%;
}

.btn-view-all-modern:hover {
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(191, 167, 106, 0.4);
    color: white;
    text-decoration: none;
}

.btn-view-all-modern i:first-child {
    font-size: 20px;
}

.btn-view-all-modern i:last-child {
    transition: transform 0.3s ease;
}

.btn-view-all-modern:hover i:last-child {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-properties-section {
        padding: 60px 0;
    }

    .properties-carousel {
        margin-bottom: 2rem;
    }

    .propertiesSwiper {
        padding: 0 40px; /* Reduced padding on mobile */
        overflow: hidden; /* Ẩn slides ngoài viewport trên mobile */
    }

    /* Reset opacity effects trên mobile - hiển thị tự nhiên */
    .propertiesSwiper .swiper-slide {
        opacity: 1 !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
    }

    .propertiesSwiper .swiper-button-next,
    .propertiesSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .propertiesSwiper .swiper-button-next:after,
    .propertiesSwiper .swiper-button-prev:after {
        font-size: 16px;
    }

    .propertiesSwiper .swiper-button-prev {
        left: 5px;
    }

    .propertiesSwiper .swiper-button-next {
        right: 5px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .modern-property-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .property-image-wrapper {
        height: 200px;
    }

    .property-info {
        padding: 20px;
    }

    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-contact-property {
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .btn-contact-property i {
        font-size: 14px;
    }

    .btn-view-all-modern {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .modern-properties-section {
        padding: 40px 0;
    }

    .properties-carousel {
        margin-bottom: 1.5rem;
    }

    .propertiesSwiper {
        padding: 0 30px; /* Further reduced padding on small mobile */
        overflow: hidden; /* Ẩn slides ngoài viewport trên mobile */
    }

    /* Reset opacity effects trên mobile - hiển thị tự nhiên */
    .propertiesSwiper .swiper-slide {
        opacity: 1 !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
    }

    .propertiesSwiper .swiper-button-next,
    .propertiesSwiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
    }

    .propertiesSwiper .swiper-button-next:after,
    .propertiesSwiper .swiper-button-prev:after {
        font-size: 14px;
    }

    .propertiesSwiper .swiper-button-prev {
        left: 2px;
    }

    .propertiesSwiper .swiper-button-next {
        right: 2px;
    }

    .propertiesSwiper .swiper-pagination {
        margin-top: 20px;
    }

    .propertiesSwiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .properties-grid {
        gap: 1rem;
    }

    .property-image-wrapper {
        height: 180px;
    }

    .property-info {
        padding: 16px;
    }

    .property-title {
        font-size: 1rem;
    }

    .property-description {
        font-size: 0.85rem;
    }

    .property-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-view-all-modern {
        padding: 12px 24px;
        font-size: 0.9rem;
        gap: 8px;
    }
}

/* ====== Modern News Section ====== */
.modern-news-section.section-border {
    padding: 80px 0 !important;
    background: linear-gradient(
        135deg,
        #f9f6f0 0%,
        #ffffff 50%,
        #fdfcf8 100%
    ) !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-news-section.section-border::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsdots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23newsdots)"/></svg>') !important;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsdots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23newsdots)"/></svg>') !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* ====== Modern Properties Section ====== */
.modern-properties-section.section-border {
    padding: 80px 0 !important;
    background: linear-gradient(
        135deg,
        #f9f6f0 0%,
        #ffffff 50%,
        #fdfcf8 100%
    ) !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-properties-section.section-border::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="propsdots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23propsdots)"/></svg>') !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.modern-news-section .container {
    position: relative;
    z-index: 2;
}

/* News Grid Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Modern News Card */
.modern-news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(191, 167, 106, 0.1);
    position: relative;
}

.modern-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* News Image Wrapper */
.news-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-news-card:hover .news-image {
    transform: scale(1.02);
}

/* News Category Badge */
.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(191, 167, 106, 0.3);
}

/* News Date Badge */
.news-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-date i {
    font-size: 12px;
    color: #5e936c;
}

/* News Info */
.news-info {
    padding: 24px;
}

.news-title {
    font-family: "Museo Moderno", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #23262f;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Summary */
.news-summary {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Meta */
.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.meta-item i {
    color: #5e936c;
    font-size: 14px;
}

/* News Footer */
.news-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #5e936c 0%, #5e936c 100%);
    transform: translateX(4px);
    color: white;
    text-decoration: none;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* Responsive Design for News */
@media (max-width: 768px) {
    .modern-news-section {
        padding: 60px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .news-image-wrapper {
        height: 180px;
    }

    .news-info {
        padding: 20px;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .modern-news-section {
        padding: 40px 0;
    }

    .news-grid {
        gap: 1rem;
    }

    .news-image-wrapper {
        height: 160px;
    }

    .news-info {
        padding: 16px;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-summary {
        font-size: 0.85rem;
    }
}

/* ====== Modern Map Section ====== */
section .map-section {
    padding: 80px 0 !important;
    background: linear-gradient(
        135deg,
        #f9f6f0 0%,
        #ffffff 50%,
        #fdfcf8 100%
    ) !important;
    position: relative !important;
    overflow: hidden !important;
}

section .map-section::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mapDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23mapDots)"/></svg>') !important;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mapDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23mapDots)"/></svg>') !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

section .map-section .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Responsive Styles for Additional Sections */
@media (max-width: 768px) {
    .map-section {
        padding: 60px 0 !important;
    }

    .faq-section {
        padding: 60px 0 !important;
    }
}

@media (max-width: 576px) {
    .map-section {
        padding: 40px 0 !important;
    }

    .faq-section {
        padding: 40px 0 !important;
    }
}

/* ====== CSS Override - Đảm bảo background gradient hiển thị ====== */
/* CSS với độ ưu tiên cao nhất để override tất cả CSS khác */
body .modern-properties-section.section-border,
body .modern-news-section.section-border,
body .faq-section.section-border,
body section .map-section {
    background: linear-gradient(
        135deg,
        #f9f6f0 0%,
        #ffffff 50%,
        #fdfcf8 100%
    ) !important;
    position: relative !important;
    overflow: hidden !important;
}

body .modern-properties-section.section-border::before,
body .modern-news-section.section-border::before,
body .faq-section.section-border::before,
body section .map-section::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="unifiedDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23unifiedDots)"/></svg>') !important;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="unifiedDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23unifiedDots)"/></svg>') !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Override external style.css background cho map section */
body section .map-section {
    background: linear-gradient(
        135deg,
        #f9f6f0 0%,
        #ffffff 50%,
        #fdfcf8 100%
    ) !important;
}

body section .slide-content.map-section {
    background: linear-gradient(
        135deg,
        #f9f6f0 0%,
        #ffffff 50%,
        #fdfcf8 100%
    ) !important;
}

/* Disable any ::after pseudo elements that might interfere */
body .faq-section.section-border::after,
body section .map-section::after {
    display: none !important;
}
