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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F8FAFC;
    color: #363535;
    line-height: 1.6;
}

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

/* ========== HEADER ========== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, #1F1F1F 0%, #363535 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.header-top a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.3s;
}

.header-top a:hover {
    opacity: 0.8;
}

.navbar {
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #1F1F1F 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #363535;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #F59E0B;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: #F1F5F9;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #363535;
    display: flex;
    align-items: center;
    gap: 13px;
    transition: all 0.3s;
}

.dropdown-toggle:hover {
    background: #E2E8F0;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 153px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    padding: 8px;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 6px;
    display: block;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #FEF3C7;
    color: #1F1F1F;
}

.dropdown-menu a.active {
    background: #FDE68A;
    color: #1F1F1F;
    font-weight: 600;
}

.dropdown {
    position: relative;
}


/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url('/public/images/heros.jpeg');
    /* fon rasmi */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

/* 🔍 Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: inline-block;
    width: 100%;
    max-width: 850px;
}

.search-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.search-inputs input,
.search-inputs select {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    width: 200px;
    outline: none;
}

.btn-search {
    background-color: #F59E0B;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background-color: #D97706;
}



/* ========== STATS SECTION ========== */
.stats {
    background: white;
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 16px;
    transition: transform 0.3s;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #1F1F1F 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #64748B;
    font-weight: 600;
}

/* ========== ABOUT PLATFORM SECTION ========== */
.about-platform {
    padding: 100px 0;
    background: white;
}

.about-platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-platform-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-platform-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.about-platform-content {
    padding: 20px;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

.features-list {
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: #FEF3C7;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

/* ========== FEATURED PROPERTIES ========== */
.featured {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #363535;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #64748B;
}

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

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.property-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #E2E8F0;
    transition: transform 0.4s ease;
}

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

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.property-info {
    padding: 25px;
}

.property-price {
    font-size: 28px;
    font-weight: 800;
    color: #1F1F1F;
    margin-bottom: 10px;
}

.property-price-sub {
    font-size: 14px;
    color: #64748B;
    margin-left: 8px;
    font-weight: 400;
}

.property-title {
    font-size: 20px;
    font-weight: 700;
    color: #363535;
    margin-bottom: 8px;
}

.property-location {
    color: #64748B;
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #E2E8F0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748B;
    font-size: 14px;
}

.view-all-btn {
    display: inline-block;
    margin-top: 25px;
    background: #F59E0B;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #D97706;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}


/* ========== CATEGORIES ========== */
.categories {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

/* CARD */
.category-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* DARK OVERLAY */
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* TEXT */
.category-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
}

.category-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.category-count {
    font-size: 16px;
    opacity: 0.9;
}


/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FEF3C7 100%);
}

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

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F1F1F 0%, #F59E0B 100%);
}

.author-name {
    font-weight: 700;
    color: #363535;
}

.author-role {
    font-size: 14px;
    color: #64748B;
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1F1F1F 0%, #363535 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: white;
    color: #1F1F1F;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    border: 2px solid white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #1F1F1F;
}

/* ========== FOOTER ========== */
footer {
    background: #363535;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94A3B8;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: #F59E0B;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .nav-menu {
        display: none;
    }

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

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

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

    .about-platform-image img {
        height: 350px;
    }

    .cta h2 {
        font-size: 32px;
    }
}



.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 40px 0 20px;
    gap: 8px;
}

.custom-pagination li {
    display: inline-block;
}

.custom-pagination li a,
.custom-pagination li span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #1e293b;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.custom-pagination li a:hover {
    background: #f1f5f9;
}

.custom-pagination li.active span {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

.custom-pagination li.disabled span {
    color: #cbd5e1;
    border-color: #e2e8f0;
}

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

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

.social-links a:hover {
    color: white;
    background: #2563eb;
    /* ko‘k rang effekt */
    transform: translateY(-3px);
}



.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 35px;
    /* filter: brightness(0) invert(1); oq rangda bo‘lishi uchun */
    /* transition: transform 0.3s ease, filter 0.3s ease; */
}
.about-hero {
    position: relative;
    background: url('/public/images/about/bg.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.6);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 18px;
    color: #E2E8F0;
}

.about-section {
    background: #F8FAFC;
    padding: 80px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-content .text {
    flex: 1 1 45%;
}

.about-content .text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111827;
}

.about-content .text p {
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-content .image {
    flex: 1 1 45%;
}

.about-content .image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mission-section {
    background: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.mission-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #111827;
}

.mission-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.mission-item {
    background: #F1F5F9;
    border-radius: 16px;
    padding: 30px;
    width: 300px;
    transition: all 0.3s ease;
}

.mission-item:hover {
    background: #E2E8F0;
    transform: translateY(-5px);
}

.mission-item i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #1E293B;
}

.mission-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111827;
}

.mission-item p {
    color: #4B5563;
}

.team-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #FEF3C7 100%);
    padding: 80px 0;
    text-align: center;
}

.team-section h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #111827;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    width: 260px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #111827;
}

.team-card p {
    color: #6B7280;
    font-size: 15px;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1F1F1F 0%, #363535 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

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

.cta-btn {
    background: white;
    color: #1F1F1F;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.about-hero {
    position: relative;
    background: url('/public/images/about/bg.jpg') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.75) 0%, rgba(30, 30, 30, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 20px;
    color: #E2E8F0;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator (pastdagi animatsion nuqta) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.7;
    animation: scrollPulse 1.5s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}
/* HERO SECTION */
.contact-hero {
    position: relative;
    background: url('/public/images/contact/bg.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.75) 0%, rgba(30, 30, 30, 0.8) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 18px;
    color: #E2E8F0;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.3s;
}

.fade-in.delay-2 {
    animation-delay: 0.5s;
}

.fade-in.delay-3 {
    animation-delay: 0.7s;
}

.fade-in.delay-4 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CONTACT SECTION */
.contact-section {
    padding: 90px 20px;
    background: #F8FAFC;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-form {
    flex: 1;
    min-width: 340px;
    background: #fff;
    border-radius: 18px;
    padding: 45px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #1E293B;
    font-weight: 700;
}

/* Form elements */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    background: #F1F5F9;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #64748B;
    background: #fff;
    outline: none;
}

.btn-primary {
    background: #0F172A;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1E293B;
    transform: translateY(-2px);
}

/* INFO SECTION */
.contact-info {
    flex: 1;
    min-width: 340px;
    background: linear-gradient(145deg, #1E293B, #0F172A);
    border-radius: 18px;
    padding: 45px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.contact-info h2 {
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 700;
}

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

.info-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px 25px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.info-card .icon {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card .icon i {
    font-size: 20px;
    color: #fff;
}

.info-card .text h3 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #F8FAFC;
}

.info-card .text p {
    font-size: 15px;
    color: #CBD5E1;
    margin: 2px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

.alert {
    position: relative;
    padding: 15px 40px 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease;
    transition: opacity 0.3s ease;
}

.alert-success {
    background-color: #e6f9ec;
    border: 1px solid #2ecc71;
    color: #2d8a48;
}

.alert-close {
    position: absolute;
    right: 12px;
    top: 10px;
    background: none;
    border: none;
    color: #2d8a48;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    font-weight: bold;
    transition: color 0.2s ease;
}

.alert-close:hover {
    color: #1e6b39;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-out {
    opacity: 0 !important;
    transform: translateY(-10px);
}
/* Hero Section */
.properties-hero {
    position: relative;
    background: url('/public/images/heros.jpeg') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.properties-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

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

.properties-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.properties-hero p {
    font-size: 18px;
    color: #E2E8F0;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background: #F8FAFC;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filter-inputs input,
.filter-inputs select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    outline: none;
    width: 200px;
}

.btn-search {
    background-color: #F59E0B;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background-color: #D97706;
}

/* Properties Grid */
.properties-list {
    padding: 80px 0;
}

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

/* Property Card */
.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.property-image {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #E2E8F0;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(245, 158, 11, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.property-info {
    padding: 25px;
}

.property-price {
    font-size: 28px;
    font-weight: 800;
    color: #1F1F1F;
    margin-bottom: 10px;
}

.property-price-sub {
    font-size: 14px;
    color: #64748B;
    margin-left: 8px;
}

.property-title {
    font-size: 20px;
    font-weight: 700;
    color: #363535;
    margin-bottom: 8px;
}

.property-location {
    color: #64748B;
    font-size: 15px;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #E2E8F0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748B;
    font-size: 14px;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    color: #1F1F1F;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #F59E0B;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1F1F1F 0%, #363535 100%);
    color: white;
    text-align: center;
}

.cta-btn {
    background: white;
    color: #1F1F1F;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ====================================
   MODAL STYLES
   ==================================== */

/* Modal Container */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Modal Overlay */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

/* Modal Content Container */
.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease;
    z-index: 10000;
}

/* Modal Animation */
@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F1F1F;
}

.modal-close:hover {
    background: #F59E0B;
    color: white;
    transform: rotate(90deg);
}

/* Modal Body Layout */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

/* ====================================
   GALLERY SECTION
   ==================================== */

.modal-gallery {
    position: sticky;
    top: 20px;
}

.main-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumbnail-images img:hover {
    transform: scale(1.05);
    border-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ====================================
   DETAILS SECTION
   ==================================== */

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Badge */
.modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Title */
.modal-title {
    font-size: 32px;
    font-weight: 800;
    color: #1F1F1F;
    margin: 0;
    line-height: 1.3;
}

/* Location */
.modal-location {
    font-size: 18px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-location::before {
    content: "📍";
    font-size: 20px;
}

/* Price Section */
.modal-price-section {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    position: relative;
}

.modal-price {
    font-size: 36px;
    font-weight: 800;
    color: #92400E;
    line-height: 1;
}

.modal-price-sub {
    font-size: 16px;
    color: #92400E;
    opacity: 0.8;
    margin-top: 5px;
    display: block;
}


/* ====================================
   FEATURES GRID
   ==================================== */

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

.modal-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #F8FAFC;
    border-radius: 12px;
    transition: all 0.3s;
}

.modal-feature:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 28px;
    line-height: 1;
}

.feature-label {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-value {
    font-size: 18px;
    font-weight: 700;
    color: #1F1F1F;
}

/* ====================================
   DESCRIPTION & AMENITIES
   ==================================== */

.modal-description,
.modal-amenities {
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
}

.modal-description h3,
.modal-amenities h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 12px;
}

.modal-description p {
    color: #64748B;
    line-height: 1.7;
    font-size: 15px;
}

/* Amenities List */
.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity-tag {
    background: #F8FAFC;
    color: #1F1F1F;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #E2E8F0;
    transition: all 0.3s;
}

.amenity-tag:hover {
    background: #F59E0B;
    color: white;
    border-color: #F59E0B;
}

/* ====================================
   ACTION BUTTONS
   ==================================== */

.modal-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 2px solid #E2E8F0;
}

.btn-buy,
.btn-contact {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

/* Buy Button */
.btn-buy {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

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

/* Contact Button */
.btn-contact {
    background: white;
    color: #1F1F1F;
    border: 2px solid #E2E8F0;
}

.btn-contact:hover {
    background: #F8FAFC;
    border-color: #F59E0B;
    color: #F59E0B;
}

/* ====================================
   PURCHASE FORM MODAL STYLES
   ==================================== */

.purchase-modal-content {
    max-width: 600px;
    padding: 0;
}

.purchase-modal-body {
    padding: 40px;
}

.purchase-header {
    text-align: center;
    margin-bottom: 35px;
}

.purchase-title {
    font-size: 28px;
    font-weight: 800;
    color: #1F1F1F;
    margin: 0 0 10px 0;
}

.purchase-subtitle {
    font-size: 16px;
    color: #64748B;
    margin: 0;
}

/* Purchase Form */
.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1F1F1F;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.form-group select {
    cursor: pointer;
}

/* Purchase Actions */
.purchase-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-cancel {
    background: white;
    color: #64748B;
    border: 2px solid #E2E8F0;
}

.btn-cancel:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* ====================================
   CUSTOM SCROLLBAR
   ==================================== */

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #F8FAFC;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* ====================================
   LOADING STATE
   ==================================== */

.modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.modal-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #E2E8F0;
    border-top-color: #F59E0B;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablet */
@media (max-width: 1024px) {
    .modal-body {
        gap: 30px;
        padding: 30px;
    }

    .modal-title {
        font-size: 28px;
    }

    .modal-price {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .properties-hero h1 {
        font-size: 32px;
    }

    .filter-inputs input,
    .filter-inputs select {
        width: 100%;
    }

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

    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 25px;
    }

    .modal-gallery {
        position: static;
    }

    .main-image {
        height: 250px;
    }

    .thumbnail-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .thumbnail-images img {
        height: 70px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

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

    .modal-location {
        font-size: 16px;
    }

    .modal-price {
        font-size: 28px;
    }


    .modal-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }

    .purchase-modal-body {
        padding: 25px;
    }

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

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

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

/* Extra Small Mobile */
@media (max-width: 480px) {
    .modal-body {
        padding: 15px;
    }

    .main-image {
        height: 200px;
        border-radius: 12px;
    }

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

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

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

    .feature-icon {
        font-size: 24px;
    }

    .feature-value {
        font-size: 16px;
    }
}
