* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --dark-bg: #1a2332;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
    --success-color: #4CAF50;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ==================== HEADER ==================== */
.header {
    background-color: #0C1A33;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav {
    flex-grow: 1;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==================== BANNER ==================== */
.banner-section {
    padding: 40px 0;
    background-color: #e8e9ea;
}

.banner {
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.banner-desktop {
    width: 100%;
    display: block;
}

.banner-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* ==================== CARDS SECTION ==================== */
.cards-section {
    background-color: #e8e9ea;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 0 40px;
    width: 100%;
}

.property-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.property-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f79400 0%, #ff5100 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .card-image img {
    transform: scale(1.05);
}


.card-body {
    padding: 12px 20px;
    background-color: #0c1a33;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-grow: 1;
    min-height: 200px;
}

.card-tags {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 15;
}

.tag {
    background-color: #F6FAFC;
    color: #606672;
    border: 0.75px solid #DEE8EF;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    line-height: 12px;
    padding: 4px 8px;
    min-height: 21px;
    min-width: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    box-shadow: none;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding-bottom: 4px;
    margin-bottom: 0;
    line-height: 1.1;
}

.price-label {
    font-size: 14px;
    color: #FFC200;
    letter-spacing: 0.2px;
}

.price {
    font-size: 28px;
    font-weight: 400;
    color: #FFC200;
    margin: 0px 0 0px 0;
    line-height: 1.1;
}

.original-price {
    font-size: 14px;
    color: #EFF1F5;
    text-decoration: line-through;
    line-height: 1.1;
    margin-bottom: 6px;
}

.price-spacer {
    font-size: 14px;
    line-height: 1.1;
}

.card-body h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    text-transform: capitalize;
    line-height: 1.2;
}

.property-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
}

.property-info p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-info p:last-child {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.property-info i {
    width: 16px;
    color: var(--primary-color);
}

.property-icon {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.offer-text {
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #FFC200;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 12px -20px 0 -20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: auto;
}


.footer-icons {
    display: flex;
    gap: 15px;
    color: var(--primary-color);
    cursor: pointer;
}

.footer-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-icon:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.footer-icons i {
    transition: transform 0.2s ease;
}

.footer-icons i:hover {
    transform: scale(1.1);
}

.badge-featured {
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
}

/* ==================== DISCLAIMER ==================== */
.disclaimer {
    padding: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
    border-radius: 10px;
    margin-bottom: 0;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #0C1A33;
    color: white;
    padding: 50px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.copyright,
.country {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background-color: white;
    color: var(--text-dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .banner {
        max-width: none;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        gap: 20px;
        flex-wrap: wrap;
    }

    .logo-img {
        height: 28px;
    }

    .nav ul {
        gap: 15px;
        font-size: 14px;
    }

    .banner {
        height: auto;
        border-radius: 10px;
        aspect-ratio: 500 / 360;
        margin: 0 auto;
    }

    .banner-desktop {
        display: none;
    }

    .banner-mobile {
        display: block;
    }

    .banner-section {
        padding: 20px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 auto;
    }
    
    .card-image {
        height: 260px;
    }

    .scroll-to-top {
        right: 10px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 11px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-img {
        height: 24px;
    }

    .nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .nav {
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }

    .banner {
        height: auto;
        border-radius: 10px;
        aspect-ratio: 500 / 360;
        margin: 0 auto;
    }

    .banner-desktop {
        display: none;
    }

    .banner-mobile {
        display: block;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 0 auto;
    }

    .card-image {
        height: 250px;
    }

    .card-body {
        padding: 20px;
    }

    .price {
        font-size: 24px;
    }

    .scroll-to-top {
        right: 5px;
        bottom: 10px;
        width: 40px;
        height: 40px;
        font-size: 10px;
    }

    .disclaimer {
        padding: 20px;
        font-size: 12px;
    }
}
