body {
    font-family: 'Roboto', 'Segoe UI', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: #f6f8fa;
    scroll-behavior: smooth;
}
.container {
    width: 95%;
    max-width: 1280px;
    margin: 0 auto;
}
/* Header nổi, shadow, menu phụ */
header {
    background: #fff;
    color: #005baa;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    /*position: sticky;*/
    top: 0;
    z-index: 20;
    border-bottom: 2px solid #e3eaf2;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0 6px 0;
}
.logo img {
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.company-title h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #005baa;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.company-title p {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 600;
    opacity: 0.92;
    color: #0074d9;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0px;
}
nav a {
    color: #005baa;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 7px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}
nav a:hover, nav a:focus {
    color: #0074d9;
    border-bottom: 2px solid #ffd700;
}
/* Menu phụ */
.subnav {
    background: #f1f7ff;
    border-bottom: 1.5px solid #e3eaf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 4px 0;
    font-size: 1.01rem;
    color: #005baa;
}
.subnav .subnav-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.subnav .clock {
    font-weight: 500;
    color: #0074d9;
    letter-spacing: 1px;
}
.subnav .subnav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.subnav a {
    color: #005baa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s;
}
.subnav a:hover { color: #0074d9; }
/* Banner/Section đầu */
.banner {
    background: linear-gradient(120deg, #e3f0ff 60%, #fff 100%);
    color: #005baa;
    text-align: center;
    padding: 0px 0 0px 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 2px 16px rgba(0,91,170,0.07);
}
.banner h2 {
    font-size: 2.3rem;
    margin: 0 0 12px 0;
    font-weight: 800;
    letter-spacing: 1px;
    color: #005baa;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.banner p {
    font-size: 1.15rem;
    color: #0074d9;
    margin-bottom: 0;
}
section {
    margin: 4px 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,91,170,0.07);
    padding: 9px 0 32px 0;
}
.about h3, .services h3, .auction-news h3, .real-estate h3, .contact-form h3 {
    color: #005baa;
    margin-bottom: 22px;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 800;
}
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #005baa 70%, #0074d9 100%);
    color: #fff;
    padding: 11px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 12px;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.btn:hover, .btn:focus {
    background: #003f6f;
    transform: translateY(-2px) scale(1.04);
}
/* Card layout */
.service-list, .news-list, .estate-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 18px;
}
.service-item, .news-list li, .estate-list li {
    background: #f8fbff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,91,170,0.07);
    padding: 26px 18px 22px 18px;
    min-width: 220px;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.18s;
    position: relative;
    overflow: hidden;
}
.service-item:hover, .news-list li:hover, .estate-list li:hover {
    box-shadow: 0 8px 32px rgba(0,91,170,0.13);
    transform: translateY(-6px) scale(1.03);
    background: #e3f0ff;
}
.service-item h4 {
    color: #005baa;
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 700;
}
.news-list, .estate-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li, .estate-list li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
    font-size: 1.04rem;
}
.news-list a, .estate-list a {
    color: #005baa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s;
}
.news-list a:hover, .estate-list a:hover {
    text-decoration: underline;
    color: #0074d9;
}
/* Đối tác slider */
.partner-slider {
    display: flex;
    align-items: center;
    gap: 32px;
    overflow-x: auto;
    padding: 18px 0;
    background: #f1f7ff;
    border-radius: 16px;
    margin: 0 0 24px 0;
    scroll-behavior: smooth;
}
.partner-slider img {
    height: 54px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,91,170,0.07);
    transition: transform 0.18s;
}
.partner-slider img:hover {
    transform: scale(1.08);
}
/* Footer */
footer {
    background: #0079be;
    color: #fff;
    text-align: center;
    padding: 24px 0 18px 0;
    margin-top: 44px;
    border-radius: 0 0 18px 18px;
    font-size: 1.08rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
}
/* --- Di chuyển từ <style> trong index.php sang style.css --- */
.banner-slideshow { height:400px; position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; background: #e3f0ff; }
.banner-slideshow .slide {
    position: absolute; top: 0; left: 0; width: 100%; opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), z-index 0s 0.7s;
    z-index: 1;
    transform: scale(0.98);
}
.banner-slideshow .slide.active {
    opacity: 1; z-index: 2; transform: scale(1);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), z-index 0s;
}
.banner-slideshow img {
    width: 100%; border-radius: 24px; max-height: 340px; object-fit: cover;
    transition: transform 1.1s cubic-bezier(.4,0,.2,1);
}
.banner-slideshow .slide.active img {
    transform: scale(1.04);
}
.slide-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    color: #fff; font-size: 2rem; font-weight: 700;
    text-align: center; text-shadow: 0 2px 12px #005baa,0 0 8px #222;
    letter-spacing: 1px;
    background: rgba(0,91,170,0.18);
    padding: 18px 0 24px 0; border-radius: 0 0 24px 24px;
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s, transform 0.7s;
}
.slide.active .slide-caption {
    opacity: 1; transform: translateY(0);
}
.slide-controls { text-align: center; margin-top: 10px; position: relative; z-index: 3; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #e3eaf2; margin: 0 5px; cursor: pointer; transition: background 0.2s; }
.dot.active { background: #005baa; }
@media (max-width: 700px) {
    .banner-slideshow img { max-height: 180px; }
    .slide-caption { font-size: 1.1rem; padding: 10px 0 14px 0; }
}

.main-categories { margin: 48px 0 32px 0; }
.category-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.category-col {
    background: linear-gradient(120deg, #f8fbff 80%, #e3f0ff 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px #0079be;
    padding: 32px 18px 24px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.22s, transform 0.18s;
    min-height: 220px;
    animation: fadeInUp 1s;
}
.category-col:hover {
    box-shadow: 0 8px 32px rgba(0,91,170,0.16);
    transform: translateY(-8px) scale(1.04);
    background: #e3f0ff;
}
.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    animation: popIn 0.8s;
}
.category-col h4 {
    color: #005baa;
    margin-bottom: 10px;
    font-size: 1.18rem;
    font-weight: 700;
}
.category-col ul {
    list-style: none; padding: 0; margin: 0 0 10px 0;
}
.category-col ul li {
    font-size: 1.01rem; color: #0074d9; margin-bottom: 4px; font-weight: 500;
    text-align: left; padding-left: 12px; position: relative;
}
.category-col ul li:before {
    content: '•'; color: #fdcb6e; position: absolute; left: 0; }
.cat-link {
    display: inline-block; margin-top: 8px; color: #005baa; font-weight: 600;
    text-decoration: none; border-bottom: 1.5px solid #fdcb6e; transition: color 0.18s, border 0.18s;
}
.cat-link:hover { color: #0074d9; border-bottom: 1.5px solid #0074d9; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 900px) {
    .category-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .category-columns { grid-template-columns: 1fr; }
}
.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 100% !important;
}
.contact-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 18px;
}
.contact-left, .contact-right {
    flex: 1 1 320px;
    min-width: 0;
}
.contact-right {
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-info {
     background: #f8fbff;
     border-radius: 18px;
     box-shadow: 0 2px 16px rgba(0,91,170,0.09);
     padding: 14px 24px 11px 22px !important;
     width: 100%;
     text-align: left;
     margin: 0 auto;
     border: 2.5px solid #fff;
}
.company-info p{
line-height: 22px;
}
.company-info h4{
 display: block;
     margin-block-start: 1.2em;
    margin-block-end: 1.2em;

    font-weight: bold;
   font-size: 18px;
}
@media (max-width: 900px) {
    .contact-columns { flex-direction: column; gap: 18px; }
    .contact-left, .contact-right { width: 100%; }
    .company-info { margin-top: 18px; }
}

.form-modern {
    margin: 0 auto 22px auto;
    background: #f8fbff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,91,170,0.09);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: fadeInUp 1.1s;
}
.form-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,91,170,0.06);
    padding: 0 12px;
    transition: box-shadow 0.18s, border 0.18s;
    border: 1.5px solid #e3eaf2;
}
.form-group:focus-within {
    box-shadow: 0 2px 12px #b2d6ff;
    border: 1.5px solid #0074d9;
}
.form-icon {
    font-size: 1.3rem;
    margin-right: 8px;
    color: #005baa;
    opacity: 0.8;
}
.form-modern input, .form-modern textarea {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.08rem;
    padding: 12px 0;
    width: 100%;
    color: #222;
    resize: none;
}
.form-modern textarea {
    min-height: 80px;
}
.form-btn {
    width: 100%;
    margin-top: 8px;
    font-size: 1.12rem;
    border-radius: 8px;
    background: linear-gradient(90deg, #005baa 70%, #0074d9 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.15s;
}
.form-btn:hover, .form-btn:focus {
    background: #003f6f;
    transform: translateY(-2px) scale(1.04);
}
/* --- Di chuyển từ <style> trong header.php sang style.css --- */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 180px;
}
.header-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 8px rgba(0,121,190,0.07);
    padding: 2px 8px 2px 14px;
    border: 1.5px solid #e3eaf2;
    transition: box-shadow 0.18s, border 0.18s;
    margin-bottom: 2px;
}
.header-search:focus-within {
    box-shadow: 0 2px 12px #b2d6ff;
    border: 1.5px solid #0079be;
}
.header-search input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    padding: 8px 0;
    width: 120px;
    color: #222;
}
.header-search button {
    background: none;
    border: none;
    color: #0079be;
    font-size: 1.1em;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.18s;
}
.header-search button:hover {
    background: #e3f0ff;
}
.header-hotline {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 16px;
    padding: 4px 14px;
    box-shadow: 0 2px 8px rgba(0,121,190,0.07);
    font-size: 1.08rem;
    font-weight: 600;
    color: #0079be;
    border: 1.5px solid #e3eaf2;
}
.hotline-label {
    color: #005baa;
    font-weight: 700;
}
.hotline-number {
    color: #d35400;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.08em;
    letter-spacing: 1px;
    transition: color 0.18s;
}
.hotline-number:hover {
    color: #0079be;
}

/* header-flex, logo, company-title, ... đã có ở trên, chỉ bổ sung nếu thiếu */

.new-article-info {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px;
    margin: 6px auto 4px auto;
    padding: 6px 0px;
    background: linear-gradient(90deg, #e3f0ff 100%, #b2d6ff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,121,190,0.07);
    font-size: 14px;
    font-weight: 500;
    color: #005baa;
    width: 100%;
    animation: fadeInUp 1s;
}
.new-article-label {
    color: #0079be;
    font-size: 1.08em;
    letter-spacing: 1px;
}
.new-article-title {
    color: #d35400;
    font-size: 1.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 750px;
}
@media (max-width: 600px) {
    .new-article-info { flex-direction: column; gap: 4px; font-size: 0.98rem; padding: 8px 6px; }
    .new-article-title { max-width: 180px; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    background: #0079be;
    border-radius: 16px;
    padding: 0px 0px;
    box-shadow: 0 2px 12px rgba(0,121,190,0.10);
    margin: 18px auto 0 auto;
    list-style: none;
    width: fit-content;
    min-width: 100%;
}
.main-menu li {
    position: relative;
    margin: 0 2px;
    transition: transform 0.18s;
}
.main-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    background: rgba(255,255,255,0.06);
}
.main-menu li a:hover, .main-menu li a:focus {
    background: #fff;
    color: #0079be;
    box-shadow: 0 4px 18px rgba(0,121,190,0.13);
    transform: translateY(-2px) scale(1.06);
}
@media (max-width: 900px) {
    .main-menu {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 4px;
        min-width: unset;
    }
    .main-menu li a {
        font-size: 1rem;
        padding: 8px 10px;
    }
        .banner-slideshow { height:250px; position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; }

}
@media (max-width: 600px) {
    .main-menu {
        flex-direction: column;
        align-items: stretch;
        border-radius: 10px;
        width: 100%;
        min-width: unset;
    }
    .main-menu li a {
        border-radius: 8px;
        margin: 2px 0;
    }
    .banner-slideshow { height:220px; position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; }
    .main-categories { margin: 0px 0 0px 0; }
}

/* --- CSS từ includes/header.php --- */

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 180px;
}
.header-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 8px rgba(0,121,190,0.07);
    padding: 2px 8px 2px 14px;
    border: 1.5px solid #e3eaf2;
    transition: box-shadow 0.18s, border 0.18s;
    margin-bottom: 2px;
}
.header-search:focus-within {
    box-shadow: 0 2px 12px #b2d6ff;
    border: 1.5px solid #0079be;
}
.header-search input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    padding: 8px 0;
    width: 120px;
    color: #222;
}
.header-search button {
    background: none;
    border: none;
    color: #0079be;
    font-size: 1.1em;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.18s;
}
.header-search button:hover {
    background: #e3f0ff;
}
.header-hotline {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 16px;
    padding: 4px 14px;
    box-shadow: 0 2px 8px rgba(0,121,190,0.07);
    font-size: 1.08rem;
    font-weight: 600;
    color: #0079be;
    border: 1.5px solid #e3eaf2;
}
.hotline-label {
    color: #005baa;
    font-weight: 700;
}
.hotline-number {
    color: #d35400;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.08em;
    letter-spacing: 1px;
    transition: color 0.18s;
}
.hotline-number:hover {
    color: #0079be;
}
@media (max-width: 900px) {
    .header-flex { flex-direction: column; gap: 12px; padding: 18px 0 6px 0; }
    .header-right { flex-direction: row; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
}
@media (max-width: 600px) {
    .header-right { flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
    .header-search input[type="text"] { width: 100px; font-size: 0.98rem; }
    .header-hotline { font-size: 0.98rem; padding: 4px 8px; }
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 0 8px 0;
    background: linear-gradient(90deg, #e3f0ff 0%, #f8fbff 100%);
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 24px rgba(0,121,190,0.07);
    position: relative;
    z-index: 2;
    animation: fadeInDown 1.1s;
}
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(0,121,190,0.13), 0 0 0 6px #fff;
    border: 3px solid #0079be;
    background: #fff;
    animation: popIn 1.2s;
}
.company-title {
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
    min-width: 0;
}
.company-name-animated {
    font-size: 2.1rem;
    font-weight: 800;
    color: #005baa;
    letter-spacing: 1px;
    line-height: 1.18;
    margin: 0;
    text-shadow: 0 2px 12px #e3eaf2, 0 1px 0 #fff;
    animation: textPop 1.2s;
}
.company-name-animated span {
    color: #0079be;
    font-size: 1.25em;
    font-weight: 900;
    letter-spacing: 2px;
    display: block;
    margin-top: 2px;
    text-shadow: 0 2px 12px #b2d6ff, 0 1px 0 #fff;
}
@media (max-width: 900px) {
    .header-flex { flex-direction: column; gap: 12px; padding: 18px 0 6px 0; }
    .company-title { text-align: center; justify-content: center; }
    .company-name-animated { font-size: 1.3rem; }
}
@media (max-width: 600px) {
    .header-flex { padding: 10px 0 4px 0; }
    .logo-img { width: 80px; height: 80px; }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes textPop {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (min-width: 992px) {
  .navbar.navbar-expand-lg { display: none !important; }
}
@media (max-width: 991.98px) {
  .navbar.navbar-expand-lg { display: block !important; }
  nav > ul.main-menu, nav .main-menu { display: none !important; }
}

.new-article-info {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px;
    margin: 6px auto 4px auto;
    padding: 6px 0px;
    background: linear-gradient(90deg, #e3f0ff 100%, #b2d6ff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,121,190,0.07);
    font-size: 14px;
    font-weight: 500;
    color: #005baa;
    width: 100%;
    animation: fadeInUp 1s;
}
.new-article-label {
    font-weight: none;
    color: #0079be;
    font-size: 1.08em;
    letter-spacing: 1px;
}
.new-article-title {
    font-weight: 0;
    color: #d35400;
    font-size: 1.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 750px;
}
@media (max-width: 600px) {
    .new-article-info { flex-direction: column; gap: 4px; font-size: 0.98rem; padding: 8px 6px; }
    .new-article-title { max-width: 180px; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
    background: #0079be;
    border-radius: 16px;
    padding: 0px 0px;
    box-shadow: 0 2px 12px rgba(0,121,190,0.10);
    margin: 18px auto 0 auto;
    list-style: none;
    width: fit-content;
    min-width: 100%;
}
.main-menu li {
    position: relative;
    margin: 0 2px;
    transition: transform 0.18s;
}
.main-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    background: rgba(255,255,255,0.06);
}
.main-menu li a:hover, .main-menu li a:focus {
    background: #fff;
    color: #0079be;
    box-shadow: 0 4px 18px rgba(0,121,190,0.13);
    transform: translateY(-2px) scale(1.06);
}
.main-menu .has-submenu > a {
    cursor: pointer;
    position: relative;
}
.main-menu .submenu-caret {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.main-menu .has-submenu:hover > a .submenu-caret,
.main-menu .has-submenu:focus-within > a .submenu-caret {
    transform: rotate(-180deg);
}
.main-menu .submenu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    min-width: 270px;
    background: #fff;
    color: #0079be;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,121,190,0.18), 0 1.5px 0 #e3eaf2;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 8px;
    z-index: 100;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.32s cubic-bezier(.4,0,.2,1), transform 0.32s cubic-bezier(.4,0,.2,1), visibility 0.32s;
}
.main-menu .has-submenu:hover > .submenu,
.main-menu .has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.main-menu .submenu li {
    margin: 0;
    padding: 0;
}
.main-menu .submenu a {
    color: #0079be;
    background: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 10px;
    display: block;
    transition: background 0.18s, color 0.18s;
    white-space: normal;
}
.main-menu .submenu a:hover, .main-menu .submenu a:focus {
    background: #e3f0ff;
    color: #d35400;
}
.main-menu .submenu li + li {
    border-top: 1px solid #e3eaf2;
}
@media (max-width: 900px) {
    .main-menu {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 4px;
        min-width: unset;
    }
    .main-menu li a {
        font-size: 1rem;
        padding: 8px 10px;
    }
    .main-menu .submenu {
        min-width: 180px;
        left: 0;
        right: auto;
    }
    .service-list, .news-list, .estate-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    margin-top: 18px;
}
}
@media (max-width: 600px) {
    .main-menu {
        flex-direction: column;
        align-items: stretch;
        border-radius: 10px;
        width: 100%;
        min-width: unset;
    }
    .main-menu li a {
        border-radius: 8px;
        margin: 2px 0;
    }
    .main-menu .submenu {
        position: static;
        margin-top: 0;
        box-shadow: 0 2px 12px rgba(0,121,190,0.10);
        border-radius: 10px;
        transform: none;
        min-width: 0;
        width: 100%;
    }
    .service-list, .news-list, .estate-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    margin-top: 18px;
}
}

/* Hiệu ứng nav-item cho Bootstrap navbar */
.navbar-nav .nav-item {
    position: relative;
    margin: 0 2px;
    transition: transform 0.18s, box-shadow 0.18s;
}
.navbar-nav .nav-link {
    color: #0079be !important;
    font-weight: 600;
    font-size: 1.08em;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(0,121,190,0.06);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    box-shadow: 0 1px 6px rgba(0,121,190,0.07);
    margin: 2px 0;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover {
    background: #0079be !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(0,121,190,0.13);
    transform: translateY(-2px) scale(1.06);
    text-shadow: 0 2px 8px #b2d6ff;
}
.navbar-nav .nav-link {
    text-shadow: 0 1px 0 #fff;
}
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        font-size: 1em;
        padding: 12px 10px;
        border-radius: 8px;
        margin: 2px 0;
    }
}
/* ...existing code... */
.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
}
.header-search input[type="text"] {
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid #e3eaf2;
    font-size: 1em;
    min-width: 180px;
    background: #f8fbff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.header-search input[type="text"]:focus {
    border-color: #0079be;
    box-shadow: 0 2px 8px rgba(0,121,190,0.08);
    background: #fff;
}
.header-search button[type="submit"] {
    background: linear-gradient(90deg, #0079be 70%, #005baa 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-search button[type="submit"]:hover,
.header-search button[type="submit"]:focus {
    background: #005baa;
    transform: translateY(-2px) scale(1.04);
}
/* ...existing code... */