* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;

    background-color: #B54614;

    border-bottom: 1px solid #ccc;
}

/* Logo */
.logo img {
    height: 40px;
}

/* Menu */
nav ul {
    list-style: none;
    display: flex;

    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: normal;
    font-size: 14px;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d35400;
    /* màu cam giống ảnh */
}

/* Buttons */
.header-buttons {
    display: flex;
    width: 280px;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 24px;
    background: linear-gradient(277.86deg, #FFFFFF 6.78%, #FEF2E0 93.15%);
    /* background-color: #B54614; */
}

/* 
.header-buttons button {
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
} */

.btn-login {
    background: #FCF6ED;

    color: #333;
    flex: 1;
    margin: 5px;
    padding: 8px 20px;
    border: 1px solid #FFFFFF !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    /* Góc trái không bo */
    border-top-left-radius: 24px !important;
    border-bottom-left-radius: 24px !important;
    /* filter: drop-shadow(10px); */
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.btn-register {
    flex: 1;
    background-color: #ff6600;
    color: #fff;
    /* border-radius: 18px !important; */
    /* Bo tròn */
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    margin: 5px;
    border-top-right-radius: 24px !important;
    border-bottom-right-radius: 24px !important;

    /* Góc trái không bo */
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.btn-register:hover {
    background-color: #e55b00;
}

.headerfirst {
    display: flex;
    background: #F9F1EE;
    justify-content: space-between;
    padding: 10px 10%;
}


.intro {
    display: flex;
    align-items: center;
    gap: 20px;
    /* padding: 40px 10%; */
    padding: 40px 4% 40px 10%;
    height: 80vh;
    background: linear-gradient(180deg, #FFFFFF 0%, #FDF8F2 59.11%, #FFFFFF 100%);
}

.search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 80%;
    padding: 8px 12px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    height: 60px;
    background-color: #fff;
    border-radius: 100px;
}


.input-box {
    /* width: 40%; */
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    transition: 0.3s;
    outline: none;
}

.search-text {
    display: flex;
    width: 40%;
}

.search-icon {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
}


.dropdown-area {
    /* width: 150px; */
    padding: 12px 16px;

    border: none;
    /* xoá toàn bộ */
    outline: none;
    background: white;


    appearance: none;
    /* bỏ style mặc định */
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;
    transition: 0.3s;
}

.search-area {
    display: flex;
    gap: 20px;
}

.dropdown-type-news {
    /* width: 150px; */
    padding: 12px 16px;
    border: none;
    outline: none;
    background: white;


    appearance: none;
    /* bỏ style mặc định */
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;
    transition: 0.3s;
}

.dropdown {
    display: flex;
}

.line {
    width: 2px;
    height: 15px;
    background-color: #ccc;
}

.maker-icon {
    object-fit: contain;
}

.btn-search {
    border: none;
    background-color: #EA5A2D;
    color: white;
    outline: none;
    padding: 10px 15px;
    border-radius: 100px;
    flex: 1;
}

.search-content {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    font-size: 22px;
    width: 50%;
    flex: 4;
}

.content-intro {
    color: #960542;
}

.social-media {
    margin-top: 70px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-media p {

    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: linear-gradient(180deg, #FCE2C4 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 2px 0px #00000026;

}

.social-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}



.img-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex: 3;
    /* margin: auto; */
}

.dotted-circle {
    width: 70vh;
    height: 70vh;
    border-radius: 50%;
    position: absolute;
    /* margin-top: 10%; */
    top: 0;
    /* left: -10%; */
    /* right: 1%; */
    /* margin-right: 25%; */
    background-image: radial-gradient(#ff00aa 2px, transparent 2px);
    background-size: 20px 20px;
    /* tạo lỗ ở giữa */
    mask: radial-gradient(circle, transparent 40%, black 41%);
    -webkit-mask: radial-gradient(circle, transparent 40%, black 41%);
}

.minhhoa {
    position: relative;
    z-index: 1;
    /* background-color: #B54614; */
    margin-top: 15%;
    margin-right: 20%;
    /* width: 55vh; */
    height: 70%;
}


.minhhoa1 img {
    position: absolute;
    z-index: 2;
    height: 25vh;
    top: 0;
    right: 0;
}

.minhhoa2 img {
    position: absolute;
    z-index: 2;
    width: 25vh;
    top: 0;
    left: 0;
}

.minhhoa3 img {
    position: absolute;
    z-index: 2;
    width: 25vh;
    bottom: 0;
    right: 0;
    margin-right: 20px;
}

.minhhoa4 img {
    position: absolute;
    z-index: 2;
    width: 29vh;
    bottom: 0;
    left: 0;
}

.text1 img {
    position: absolute;
    width: 25vh;
    z-index: 3;
    top: 18%;
    left: 0%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
}





.hot-news {
    position: relative;
    background: linear-gradient(180deg, #F6EEDA 0%, #F6CEAE 37.74%, #FFFFFF 67.38%);
    width: 100%;
    height: 65%;
    opacity: 1;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    padding-top: 60px;
    padding-right: 10%;
    padding-bottom: 40px;
    padding-left: 10%;
    display: flex;
    flex-direction: column;

    align-items: center;
    cursor: pointer;
}

.type-news {
    display: flex;
    gap: 0;
    padding-right: 10%;
    /* hoặc 5px nếu muốn cách */
}

.name-type {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    /* ngang */
    align-items: center;
    /* dọc */
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 1vw;
    line-height: 24px;
    letter-spacing: 0%;
}

.type-news-content {
    display: flex;
    gap: 0;
    flex-direction: column;
    width: 100%;
    /* hoặc 5px nếu muốn cách */
}

.type-news1 {
    position: relative;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

.news-content {

    width: 100%;
    height: 100%;
    display: flex;
    gap: 1%;
    opacity: 1;
    border-top-right-radius: 32px;
    padding: 24px;
    background: white;
    overflow-x: auto;
        scroll-behavior: smooth;
        
}

.type-news1 img {
    display: block;
    width: 100%;
}

.news-item {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    /* background: #FCEFD3; */
    /* padding: 10px; */
    border-radius: 12px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item1 {
    background: #FCEFD3;
    border-radius: 20px 20px 0px 0px;
    padding: 10PX;
}

.news-header {
    display: flex;
    /* align-items: center; */
    gap: 10px;
    margin-bottom: 20px;
}

.news-image {
    width: 100%;
    /* height: 250px; */
    object-fit: contain;
    border-radius: 8px;
}

.news-header h3 {
    color: #782106;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 0%;
    text-transform: capitalize;

}

.items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.job {
    padding-top: 20px;
    padding-bottom: 10px;
}


.location {
    padding-bottom: 20px;
}

.job,
.location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;

}

.one-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}





.header-latest {
    margin: 20px 20px;
}

.header-latest-icon {
    display: flex;
    align-items: center;
    gap: 10px;

}

.latest-jobs {
    position: relative;
    width: 100%;
    /* pa */
    background: linear-gradient(180deg, #F9F2EE 0%, #F7EFE6 100%);

    display: flex;
    flex-direction: column;
    margin: auto;
    padding: 20px 10%;
    /* align-items: center; */
}





.job-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #eee;
    padding: 15px;
    border-radius: 12px;
    /* width: 600px; */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.job-card__image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.job-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.job-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.job-card__company {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.job-card__bottom {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.job-card__salary {
    background: #ffe5d8;
    color: #ff5a1f;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.job-card__location {
    background: #ddd;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.job-card__save {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
}

.job-card__save img {
    width: 16px;
    height: 16px;
}

.row {
    display: flex;
    justify-content: flex-start;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}


.estate-card {
    width: 300px;
    background: #f2f2f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.estate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.estate-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.estate-card__body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estate-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.estate-card__info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.estate-card__price {
    color: #ff5a1f;
    font-weight: 600;
}

.estate-card__area {
    color: #ff5a1f;
    font-weight: 600;
}

.estate-card__meta {
    font-size: 14px;
    color: #666;
}

.estate-card__location {
    font-size: 14px;
    color: #999;
}

.estate-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.estate-card {
    width: 100%;
    /* QUAN TRỌNG */
}


.cate-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

/* Card */
.cate-card {
    text-align: center;
}

/* Khung icon */
.cate-card__box {
    /* background: linear-gradient(180deg, #f3c7a8, #e8a98a); */
    border-radius: 20px;
    /* padding: 25px; */
    position: relative;
}

/* icon giữa */
.cate-card__icon {
    /* width: 80px;
    height: 80px; */
    width: 100%;
    object-fit: contain;

    border-radius: 20px;
    /* padding: 15px; */
    /* margin: auto; */
}

/* title */
.cate-card__title {
    margin-top: 10px;
    font-weight: 600;
}

/* sub */
.cate-card__sub {
    font-size: 14px;
    color: #777;
}




.contact-section {
    width: 100%;
    padding: 80px 20px;
    /* background: linear-gradient(90deg, #f97316, #fb923c); */
    background-image: url("../assets/bg.png");
    background-size: cover;
    /* phủ toàn bộ */
    background-position: center;
    /* căn giữa */
    background-repeat: no-repeat;
    /* không lặp */
    /* border-radius: 40px; */
    margin: 50px 0 0 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* tiêu đề */
.contact-title {
    font-size: 32px;
    font-weight: 700;
}

.contact-desc {
    margin-top: 10px;
    opacity: 0.9;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* box chính */
.contact-box {
    width: 60%;
    height: 30%;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* form */
.contact-form {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-input,
.contact-textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
}

.contact-row {
    display: flex;
    gap: 10px;
}

.contact-input.full {
    width: 100%;
}

.contact-textarea {
    height: 100px;
    resize: none;
}

/* button */
.contact-btn {
    background: #ea580c;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #c2410c;
}

/* ảnh */
.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




.header-container {
    width: 100%;
}

/* 1. Phần Navbar (Màu nền kem nhạt) */
.navbar {
    background-color: #fdf5ed; /* Màu nền theo ảnh */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    gap: 60px; /* Khoảng cách giữa logo và menu */
}

.logo img {
    height: 32px; /* Điều chỉnh tùy theo kích thước logo thực */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #e67e22; /* Màu cam khi hover */
}

/* 2. Phần Info Bar (Nền trắng, border trên) */
.info-bar {
    background-color: #ffffff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

/* Tùy chỉnh màu sắc icon (Nếu dùng FontAwesome hoặc Icon SVG) */
.info-item i {
    color: #e67e22; /* Màu cam đặc trưng của thương hiệu */
    font-style: normal;
}

/* Responsive cơ bản cho di động */
@media (max-width: 768px) {
    .navbar, .info-bar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
}