/* =====================================================
   ICARE VIET NAM — Site Overrides
===================================================== */

/* ── Navbar wrapper (sticky) ─────────────────────── */
.icare-menu-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow var(--icare-transition);
}
.icare-menu--scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.15); }

/* ── Top bar: 2 red pills (copy từ bản gốc icarevina) ── */
.icare-lang {
    /* container trong suốt, chỉ chứa 2 pill đỏ */
}
.icare-llang {
    background: #ef5350;
    padding-left: 1rem;
    padding-right: .75rem;
    border-bottom-left-radius: 9px;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.icare-rlang {
    background: #ef5350;
    padding-right: 1rem;
    padding-left: .75rem;
    border-bottom-right-radius: 9px;
    display: flex;
    align-items: center;
}
.icare-lang-email {
    color: white;
    font-size: 0.8rem;
    text-decoration: none;
}
.icare-lang-email:hover { color: #ffe0e0; }
.icare-lang-item {
    color: #fff;
    margin-left: 0.7rem;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 0.7rem;
    text-decoration: none;
}
.icare-lang-item:hover {
    background-color: #2e2e2e;
    color: white;
}

/* ── Main white navbar ───────────────────────────── */
.icare-mainnav {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    padding: .6rem 0;
    overflow: visible; /* cho phép logo tràn ra ngoài */
}

/* Floating logo (giống .klogo + .f-logo của bản gốc) */
.icare-klogo {
    position: absolute;
    left: 15px;
    top: 0;
    z-index: 99;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.icare-flogo {
    position: relative;
    z-index: 99;
    background: white;
    width: 150px;
    border-radius: 8px;
    padding: 1.5rem 10px 6px;
    margin-top: -6px;
}

.icare-flogo a { display: block; }
.icare-flogo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Nav links — black uppercase */
.icare-mnav-link {
    color: #020202 !important;
    font-size: .95rem;
    text-transform: uppercase;
    font-weight: 500;
    padding: .5rem .75rem !important;
    border-radius: 5px;
    transition: color var(--icare-transition), background var(--icare-transition);
}
.icare-mnav-link:hover,
.icare-mnav-link.active {
    color: var(--icare-red) !important;
    background: #fffbfb;
}

/* Dropdown */
.icare-mainnav .dropdown-menu {
    border: none;
    box-shadow: 0 6px 12px rgba(0,0,0,.12);
    border-radius: var(--icare-radius);
    min-width: 220px;
}
.icare-mainnav .dropdown-item {
    font-size: .875rem;
    color: var(--icare-text);
}
.icare-mainnav .dropdown-item:hover {
    background: var(--icare-gray-light);
    color: var(--icare-navy);
}

/* Hotline CTA button (red pill) */
.icare-sq-btn {
    background-color: var(--icare-red);
    color: #ffffff !important;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    font-size: .82rem;
    transition: background .3s ease;
    white-space: nowrap;
}
.icare-sq-btn:hover { background-color: var(--icare-red-dark); color: #fff !important; }

/* Mobile */
@media (max-width: 991.98px) {
    .icare-mainnav { padding: .4rem 0; }
    .icare-llang { display: none; }
    .icare-sq-btn { margin-top: .5rem; }
}

/* ── Góc vuông cho tất cả ảnh trang chủ icare ────── */
.card-img-top,
.card-img,
.card img,
.m-pro img,
.blogs img,
.partners-logo img,
.assosiated-brands img,
.news img,
img.img-fluid,
img.grayhr {
    border-radius: 0 !important;
}

/* ── Hero text (.shop) ───────────────────────────── */
.shop {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}
.stitle {
    font-family: "Dosis", sans-serif;
    font-size: 2.7rem;
    font-weight: 300;
    text-align: center;
    color: var(--icare-text);
    margin-bottom: 0;
}
.shop h1 {
    font-family: "Dosis", sans-serif;
    color: var(--icare-navy);
    font-weight: 400;
    font-size: 2.7rem;
}
/* ── Services grid (.m-pro) ──────────────────────── */
.m-pro {
    padding-top: 3%;
    padding-bottom: 2%;
}
.m-pro .card {
    border: none;
    border-radius: 0;
    overflow: hidden;
}
.grayhr {
    transition: all .6s ease;
}
.grayhr:hover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transform: scale(1.05);
    transition: all .6s ease;
}

/* ── Welcoming section ───────────────────────────── */
.welcoming {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: #ffffff;
}
.welcoming .title {
    font-family: "Kanit", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2rem;
}
.welcoming .text-justify {
    text-align: justify;
    font-size: 1rem;
    color: #4a5568;
}
.welcoming ul {
    padding-left: 1.5rem;
    margin-top: .75rem;
}
.welcoming ul li {
    margin-bottom: .5rem;
}

/* ── News section ────────────────────────────────── */
.news {
    margin-top: 3%;
    padding-top: 1%;
    padding-bottom: 3%;
}
.news .grt {
    font-family: "Dosis", sans-serif;
    font-weight: 300;
    font-size: 2.7rem;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}
.blogs .card {
    border-radius: 0;
    border: none;
    overflow: hidden;
    height: 100%;
}
.blogs .card-title a {
    font-size: 1rem;
    color: #212529;
    text-decoration: none;
    font-weight: 600;
}
.blogs .card-title a:hover {
    color: var(--icare-red);
}
.blogs .card-body.nopadlf {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}
.s-date {
    font-size: .7rem;
    color: #757575;
    margin-bottom: .4rem;
}
.blogs .card-text {
    font-size: .9rem;
    color: #626262;
}

/* ── Partners carousel (.assosiated-brands) ──────── */
.assosiated-brands {
    margin-top: 3%;
    margin-bottom: 4%;
}
.assosiated-brands .grt {
    font-family: "Dosis", sans-serif;
    font-weight: 300;
    font-size: 2.7rem;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}
.partners-logo {
    margin-top: 1rem;
}
.partners-logo .card {
    border: none;
    border-radius: 0;
    padding: 0.25rem;
    background: transparent;
}
.partners-logo .card-img-top {
    object-fit: contain;
    width: 100%;
    border: 1px solid #ececec;
    padding: .5rem;
    background: #fff;
}
.carousel-indicators [data-bs-target] {
    background-color: var(--icare-navy);
}

/* ── Partners Swiper ─────────────────────────────── */
.icare-partners-swiper {
    padding: 0.5rem 2.5rem;
}
.icare-partner-card {
    border: 1px solid #ececec;
    border-radius: 0;
    padding: 0.5rem;
    background: #fff;
}
.icare-partner-card .card-img-top {
    object-fit: contain;
    width: 100%;
    height: 80px;
}
.icare-swiper-prev,
.icare-swiper-next {
    color: var(--icare-red) !important;
}
.icare-swiper-prev::after,
.icare-swiper-next::after {
    font-size: 1.2rem !important;
}

/* ── Contact CTA ─────────────────────────────────── */
.txt-thin {
    font-weight: 300;
    letter-spacing: .05em;
    color: #4a5568;
}
.txt-phone {
    color: var(--icare-red);
    font-weight: 700;
    font-size: 2rem;
}

/* ── icare Footer ────────────────────────────────── */
#icare-footer {
    padding-top: 3%;
    font-weight: 500;
    color: #ffffff;
    border-top: 14px solid var(--icare-red);
    background-image: linear-gradient(to right, var(--icare-red), #000000);
}

#icare-footer .f-ser > li > a {
    color: #ffffff;
    text-decoration: none;
}

#icare-footer .cp-right {
    padding-bottom: 0.5rem;
    margin-top: 2%;
    color: rgba(255,255,255,.7);
}

#icare-footer .soc {
    letter-spacing: 0.1rem;
    margin-top: 1.4rem;
}

#icare-footer .soc a {
    color: #ffffff;
    margin-right: .5rem;
}
#icare-footer .soc i {
    font-size: 1.6rem;
}

#icare-footer .pie-content {
    font-size: 14px;
    padding-top: 2rem;
}

#icare-footer .title-bold {
    text-transform: uppercase;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

#icare-footer .f-ser {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
    font-size: 0.94rem;
}

/* ── Tracking & Schedule page hero background ─── */
.cont-top.page-tracking {
    --page-hero-bg: url('/imgs/shared/backgrounds/contact-bg.webp');
}

/* ── Contact page quote section ─────────────────── */
.contact-quote {
    background-color: var(--color-primary-dark);
}
