.about-section {
    line-height: 1.8;
}

/* Style dropdown menu */
.navbar .dropdown-menu {
    border-radius: 8px;
    /* bo góc */
    padding: 8px 0;
    /* khoảng cách bên trong */
    border: none;
    /* bỏ viền */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    /* đổ bóng nhẹ */
    min-width: 220px;
    /* độ rộng tối thiểu */
}

/* Style item trong dropdown */
.navbar .dropdown-menu .dropdown-item {
    padding: 10px 18px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
    /* bo góc item */
}

/* Hover item */
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #8BC34A;
    /* xanh lá nhạt */
    color: #fff;
    /* chữ trắng */
}

/* Dropdown mở khi hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeIn 0.3s ease-in-out;
    /* hiệu ứng mượt */
}

/* Hiệu ứng fade */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Logo css */
.logo-circle {
    margin-right: 10px;
    height: 70px;
    width: 70px;
    /* nên để bằng nhau để bo tròn đẹp */
    border-radius: 50%;
    /* bo tròn */
    object-fit: cover;
    /* giữ hình không méo */
    border: 3px solid #8BC34A;
    /* viền xanh lá đồng bộ với web */
    padding: 3px;
    /* cách viền một chút nếu muốn */
    background: white;
    /* nền trắng để viền nổi bật hơn */
}

/*Menu*/
.navbar {
    padding: 12px 20px;
    /* border-bottom: 1px solid #eee; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

/* Nav link */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #4CAF50 !important;
    /* xanh lá */
}

.navbar-nav .nav-link.active {
    color: #4CAF50 !important;
    font-weight: 600;
}

/* Gạch chân khi hover */
.navbar-nav .nav-link::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: #4CAF50;
    transition: width 0.3s;
    margin: auto;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Dropdown menu */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.dropdown-menu .dropdown-item {
    border-radius: 6px;
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background: #4CAF50;
    color: #fff;
}

/*thêm */
/* ========= ẨN MŨI TÊN DROPDOWN (giữ nguyên logic) ========= */
.navbar .dropdown-toggle::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
    background: none !important;
}

/* ========= SEARCH: mặc định chỉ hiện kính lúp, bấm mới mở ========= */
/* Form search ở trạng thái thu gọn */
#headerSearchForm {
    width: 44px;
    /* chỉ thấy icon kính lúp */
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px;
    overflow: hidden;
    gap: 6px;
    transition: width .25s ease, border-color .2s ease, box-shadow .2s ease;
}

/* Ẩn input khi thu gọn */
#headerSearchForm .form-control {
    width: 0;
    min-width: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    background: transparent;
    color: #333;
    transition: width .25s ease, opacity .2s ease, padding .2s ease;
}

/* Màu kính lúp (theo xanh của bạn) */
#headerSearchForm .btn {
    color: #4CAF50 !important;
}

#headerSearchForm .btn:hover {
    color: #43A047 !important;
}

/* Khi focus trong form hoặc có class .open (JS đã thêm) -> mở rộng */
#headerSearchForm:focus-within,
#headerSearchForm.open {
    width: clamp(300px, 35vw, 200px);
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, .18);
}

#headerSearchForm:focus-within .form-control,
#headerSearchForm.open .form-control {
    width: 100%;
    opacity: 1;
    padding: .6rem .5rem;
    pointer-events: auto;
}

#headerSearch::placeholder {
    color: #9aa4b2;
}

/* Nhỏ màn hình: mở rộng vừa phải */
@media (max-width: 576px) {

    #headerSearchForm:focus-within,
    #headerSearchForm.open {
        width: min(90vw, 360px);
    }
}

/* === Search popup: compact list, thấy được nhiều item === */
#searchPopup {
    width: min(640px, 100%);
    max-height: min(60vh, 420px);
    padding: .25rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    overflow: auto;
}

/* Item kiểu list, thấp – để hiện được nhiều */
#searchPopup .sug-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem .6rem;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background .12s ease, border-color .12s ease, transform .08s ease;
}

#searchPopup .sug-item+.sug-item {
    margin-top: .25rem;
}

#searchPopup .sug-item:hover {
    background: #f8fafc;
    border-color: #e5e7eb;
    transform: translateY(-1px);
}

/* Ảnh thu nhỏ cố định – tránh bị phóng to như hình bạn gửi */
#searchPopup .sug-item img {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
}

/* Tiêu đề 2 dòng, không tràn; giá nhỏ gọn */
#searchPopup .sug-item .title {
    font-weight: 600;
    color: #0f172a;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#searchPopup .sug-item .price {
    color: #475569;
    font-weight: 700;
    font-size: .95rem;
}

/* Bỏ highlight chữ trùng (mark) — nhìn như text bình thường */
#searchPopup mark {
    background: transparent !important;
    color: inherit !important;
    font-weight: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* One-line nav trên màn ≥ xl */
@media (min-width: 1200px) {

    /* Toàn khối navbar không wrap */
    .navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap !important;
        gap: 16px;
        min-width: 0;
        /* cho phép co giãn hợp lý */
    }

    /* Brand + search + nav + utilities phân bổ theo 1 hàng */
    .navbar .navbar-brand {
        margin-right: 12px;
        flex: 0 0 auto;
    }

    .header-search {
        flex: 0 1 360px;
        min-width: 260px;
    }

    /* chỉnh tùy bạn */
    .navbar-nav {
        flex: 1 1 auto;
        justify-content: center;
        flex-wrap: nowrap !important;
        /* quan trọng */
        white-space: nowrap;
        /* không xuống dòng */
        min-width: 0;
    }

    .navbar-nav .nav-item {
        flex: 0 0 auto;
    }

    .navbar-nav .nav-link {
        padding: .6rem .8rem !important;
        /* thu padding để đủ chỗ */
    }

    .navbar .d-flex.ms-auto.nav-utilities {
        flex: 0 0 auto;
    }
}

/* Với màn hẹp 1200–1366: co thêm để vẫn 1 hàng */
@media (min-width: 1200px) and (max-width: 1366px) {
    .navbar-nav .nav-link {
        font-size: .98rem;
        padding: .55rem .7rem !important;
    }

    /* nếu search đang chiếm chỗ, thu nhỏ chút khi mở */
    #headerSearchForm:focus-within,
    #headerSearchForm.open {
        width: clamp(220px, 24vw, 320px);
    }
}

:root {
    --brand: #63C047;
    --brand-600: #43a72f;
    --brand-700: #2f8e22;
    --brand-soft: rgba(99, 192, 71, .12);
    --brand-border: rgba(99, 192, 71, .24);
    --muted: #6b7280;
}

/* Hero */
.contact-hero {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, rgba(99, 192, 71, .14), rgba(67, 167, 47, .08)),
        url('https://preview.redd.it/updated-my-desk-setup-v0-ije9ih7ndyta1.jpg?width=640&crop=smart&auto=webp&s=2ee5946dabb7bb3cc16880523935160f48fd023e') center/cover no-repeat;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .35));
}

.contact-hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.contact-hero h1 {
    font-weight: 900;
    letter-spacing: .2px;
}

/* Section titles */
.section-title {
    font-weight: 900;
    letter-spacing: .2px;
    color: var(--brand-700);
}

/* Contact info */
.contact-info li {
    margin-bottom: .5rem;
    color: #1f2937;
}

.contact-info i {
    width: 20px;
    text-align: center;
    color: var(--brand-700);
    margin-right: .4rem;
}

/* Map */
.contact-map {
    height: 220px;
    border: 1px solid var(--brand-border);
    background: #f6f8fb;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Inputs */
.input-group-text {
    background: #fff;
    border: 1px solid var(--brand-border);
    color: var(--brand-700);
}

.form-control,
.form-control-lg,
textarea.form-control {
    border: 1px solid var(--brand-border);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control:focus,
.form-control-lg:focus,
textarea.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem var(--brand-soft);
}

.form-check-input {
    border: 1.8px solid var(--brand-border);
}

.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem var(--brand-soft);
}

/* Buttons */
.btn-primary,
.btn-success {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-primary:hover,
.btn-success:hover {
    background: var(--brand-600) !important;
    border-color: var(--brand-600) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(99, 192, 71, .25);
}

.btn-outline-success {
    border-color: var(--brand);
    color: var(--brand-700);
}

.btn-outline-success:hover {
    background: var(--brand);
    color: #fff;
}

.btn-ghost {
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    color: var(--brand-700);
}

.btn-ghost:hover {
    background: rgba(99, 192, 71, .18);
    border-color: var(--brand);
}

/* Cards */
.card {
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 575.98px) {
    .contact-hero {
        height: 180px;
    }

    .input-group-lg>.form-control,
    .input-group-lg>.input-group-text {
        font-size: 1rem;
    }
}