@charset "utf-8";
:root {
    --primary: #0e7490;
    --primary-dark: #065666;
    --dark-bg: #1a2332;
    --dark-bg-light: #243044;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-card: 0 4px 20px -4px rgba(14, 116, 144, 0.12);
    --shadow-elevated: 0 8px 30px -8px rgba(14, 116, 144, 0.2);
    --color-1: #424f65;
    --color-2: #1960c2;
    --color-3: #6c7c93;
    --color-text: #1d2530;
    --color-bg: #fffff;
    --color-bg1: #fafbfb;
    --color-bg2: #e8eff8;
    --color-light: #e6e6e6;
    --color-gray: #ebe7e7;
    --color-footer: #adc6e9;
    --color-red: #ec2a2f;
    --color-white: #fff;
    --color-rate: #ffa800;
    --color-border:#ced4da;
    --transition-smooth: all 0.5s cubic-bezier(0.04, 1, 0.6, 0.97);
}
@font-face {
    font-family: 'SF UI Display';
    font-style: normal;
    font-weight: 400;
    src: local('SF UI Display'), url('fonts/sf-ui-display-regular.woff') format('woff');
}

@font-face {
    font-family: 'SF UI Display';
    font-style: normal;
    font-weight: 500;
    src: local('SF UI Display'), url('fonts/sf-ui-display-medium-58646be638f96.woff') format('woff');
}
@font-face {
    font-family: 'SF UI Display';
    font-style: normal;
    font-weight: 700;
    src: local('SF UI Display'), url('fonts/sf-ui-display-bold-58646a511e3d9.woff') format('woff');
}

.line-clamp{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.lclamp-1{-webkit-line-clamp: 1; }
.lclamp-2{-webkit-line-clamp: 2; }
.lclamp-3{-webkit-line-clamp: 3; }
.lclamp-4{-webkit-line-clamp: 4; }


/* ---------- Base ---------- */
body {
    font-family: var(--font-body);
    color: #1e293b;
}

h1, h2, h3, h4, h5, h6,
.heading-font {
    font-family: var(--font-heading);
}

.text-primary-custom {
    color: var(--primary) !important;
}

.text-justify {
    text-align: justify;
}

.letter-spacing {
    letter-spacing: 0.08em;
}

/* ---------- Top Bar ---------- */
.topbar-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.topbar-link {
    opacity: 0.9;
    transition: opacity 0.3s;
}

.topbar-link:hover {
    opacity: 1;
}

/* ---------- Navbar ---------- */
.nav-link-custom {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    position: relative;
    transition: color 0.3s;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link-custom:hover {
    color: var(--primary) !important;
}

.nav-link-custom:hover::after,.nav-link-custom.active::after {
    width: 100%;
}



/* ---------- Notification Bar ---------- */
.notification-bar {
    background-color: hsl(35, 95%, 50%);
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ---------- Hero Banner ---------- */
.hero-banner {
    height: 70vh;
    position: relative;
}

@media (min-width: 768px) {
    .hero-banner {
        height: 85vh;
    }
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
}

.hero-title {
    max-width: 800px;
    line-height: 1.15;
}

.hero-subtitle {
    max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow-elevated);
}

.btn-catalog {
    background-color: hsl(31, 95%, 50%);
    color: #fff;
    border: none;
}

.btn-catalog:hover {
    background-color: hsl(31, 95%, 42%);
    color: #fff;
}

.btn-whatsapp {
    background-color: hsl(142, 70%, 40%);
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    background-color: hsl(142, 70%, 32%);
    color: #fff;
}

.btn-viber {
    background-color: hsl(265, 60%, 50%);
    color: #fff;
    border: none;
}

.btn-viber:hover {
    background-color: hsl(265, 60%, 42%);
    color: #fff;
}

/* ---------- Section Headings ---------- */
.section-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.25rem;
    }
}

.section-subheading {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Background Sections ---------- */
.bg-section-muted {
    background-color: #f8f9fa;
}

.dark-section {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-light));
}

/* ---------- Product Cards ---------- */
.card-product {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.card-img-wrapper {
    overflow: hidden;
}

.card-img-wrapper img {
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-product:hover .card-img-wrapper img, .card-img-wrapper:hover img {
    transform: scale(1.05);
}

.card-img-capability {
    height: 220px;
    object-fit: cover;
}

.product-link {
    transition: gap 0.3s;
}

.product-link:hover {
    gap: 0.5rem;
}

.product-link i {
    transition: margin-left 0.3s;
}

.product-link:hover i {
    margin-left: 0.35rem !important;
}

/* ---------- Certificates ---------- */
.cert-card {
    transition: box-shadow 0.3s;
}

.cert-card:hover {
    box-shadow: var(--shadow-elevated);
}

.cert-img-wrapper {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f1f5f9;
}

.cert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cert-card:hover .cert-img-wrapper img {
    transform: scale(1.05);
}

/* ---------- Featured Projects ---------- */
.project-card {
    cursor: pointer;
}

.project-card img {
    transition: transform 0.7s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background 0.5s;
}

.project-overlay > div {
    transform: translateY(100%);
    transition: transform 0.5s;
}

.project-card:hover .project-overlay {
    background: rgba(30, 41, 59, 0.6);
}

.project-card:hover .project-overlay > div {
    transform: translateY(0);
}

/* ---------- Why Choose Us ---------- */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(14, 116, 144, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-elevated);
}

.testimonial-quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    color: rgba(14, 116, 144, 0.15);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
}

/* ---------- Contact Form ---------- */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(14, 116, 144, 0.15);
}

/* ---------- Footer ---------- */
.footer-logo {
    filter: brightness(2);
}

.footer-link {
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff !important;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ---------- Smooth Scroll ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- Scroll Animations ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Dropdown Multi-level ---------- */
.dropdown-menu-custom {
    min-width: 260px;
    border-radius: 0.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.dropdown-item-custom {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item-custom:hover {
    background-color: #f8f9fa;
    color: var(--primary);
}

.nav-logo{height: 30px;width: auto;}


/* ---------- Page Banner ---------- */
.page-banner{height: 300px;}
.page-banner img {
    object-fit: cover;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.4);
}

/* ---------- Accent Bars ---------- */
.accent-bar {
    width: 64px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.accent-bar-sm {
    width: 48px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ---------- Value Cards (About page) ---------- */
.value-card {
    transition: box-shadow 0.3s;
}

.value-card:hover {
    box-shadow: var(--shadow-elevated);
}

.value-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 0.375rem;
    background: rgba(14, 116, 144, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Product Detail Buttons ---------- */
.btn-quote-orange {
    background-color: #f99406;
    color: #fff;
    border: 2px solid #f99406;
    transition: all 0.3s;
}

.btn-quote-orange:hover {
    background-color: #e08500;
    border-color: #e08500;
    color: #fff;
}

.btn-outline-quote-orange {
    background: transparent;
    color: #f99406;
    border: 2px solid #f99406;
    transition: all 0.3s;
}

.btn-outline-quote-orange:hover {
    background-color: #f99406;
    color: #fff;
}

/* ---------- Product Detail Tabs ---------- */
.nav-tabs-custom .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: color 0.3s, border-color 0.3s;
}

.nav-tabs-custom .nav-link:hover {
    color: var(--primary);
    border-color: transparent;
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

/* ---------- Thumbnail Button ---------- */
.thumb-btn {
    background: none;
    cursor: pointer;
    transition: border-color 0.3s;
}

.border-primary-custom {
    border-color: var(--primary) !important;
}

/* ---------- Pagination Custom ---------- */
.page-link {
    color: var(--primary);
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-link:hover {
    color: var(--primary-dark);
    background-color: #f0f9ff;
}

/* ---------- Remove item hover ---------- */
.btn-remove-item:hover {
    color: #dc3545 !important;
}
.idrop,.sdrop{display: none;font-weight: normal;margin-right: -0.5rem;}
.dropdown .idrop,.dropdown-submenu .sdrop{display: inline-block;}

.search-control::placeholder {
    color: #d4e6ea;
}
.search-control::-moz-placeholder {
    color: #d4e6ea;
}
.search-control:-ms-input-placeholder {
    color: #d4e6ea;
}
.search-control::-ms-input-placeholder {
    color: #d4e6ea;
}

#menumb
{
    width:100%;
    margin:auto;
    display:none;
    overflow:hidden;
    position:absolute;
    top:41px;left:0;
    z-index:109;
    padding:0;
    border-top: 1px solid var(--color-gray);
}

.menumb{
    width: 100%;
    height: 100%;
    overflow: auto;
    position:relative;
    background-color:var(--color-white);
    border:1px solid #fff;
}
.mobi-nav {
    display:block;
    font-size:16px;
}
.mobi-nav ul{list-style:none;padding:0;margin:0;}
.nav-list {
    text-align:left;
}
.nav-item {
    zoom:1;
    position:relative;
}
.nav-item a {
    display:block;
    color:var(--color-1);
    padding:5px 20px 5px 10px;
    border-bottom:1px solid var(--color-gray);
    line-height:30px;
    text-decoration:none;
}
.nav-item:last-child a{border-bottom:none;}
.nav-item .nav-submenu-item:last-child a{border-bottom:1px solid var(--color-gray);}
.nav-item > a:hover {
    text-decoration:none;
}
.nav-item:hover .nav-submenu {
    display:block;
    width:100%;

}
/* Navigation submenu */
.nav-submenu {
    display:none;
    background-color:var(--color-white);
}
.nav-submenu-item a {
    border-bottom:1px solid var(--color-gray);
    display:block;
    padding:8px 15px 6px 20px !important;
    text-decoration:none;
}

.nav-submenu-item a:hover {
    background:#520203;
}

.nav-submenu-item1 a{padding:8px 15px 6px 30px !important;}
.nav-click {
    position:absolute;
    top:0;
    right:0;
    display:block;
    height:40px;
    width:38px;
    cursor:pointer;
}
.nav-click i {
    display:flex;
    height:38px;
    width:36px;
    /*background:url(../images/drop.png) no-repeat center center;*/
    background-size:20px;
    justify-content: center;
    align-items: center;
    color:var(--color-1);
    font-size:34px;
}

.nav-rotate {
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -ms-transform:rotate(180deg);
    -o-transform:rotate(180deg);
    transform:rotate(180deg);
}
.v-nav{border-bottom: 1px solid var(--color-light);}

.slick-prev,
.slick-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    width: 40px;
    height: 40px;
    padding-top: 5px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    z-index: 2;
    cursor: pointer;
    outline: none;
    color:#73b6f4;
    background:#1b74e4;
    border:none;
    border-radius: 5px;
    text-decoration:none;
    opacity:0.5;
}
.slick-prev:hover,
.slick-prev:hover i,
.slick-next:hover,
.slick-next:hover i{color:#fff;}
.slick-prev i,
.slick-next i{font-size:1.6rem;color:#73b6f4;}
.slick-prev i{margin-right:0.25rem;}
.slick-next i{margin-left:0.25rem;}
.slick-prev {left: 2rem;}
.slick-next {right: 2rem;}
.slick-hover:hover .slick-prev,.slick-hover:hover .slick-next{ opacity: 0.5; }

.slick-dots
{
    display: block;
    box-sizing:border-box;
    width: 100%;
    padding-top: 20px;
    list-style: none;
    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 10px;
    height: 10px;
    margin: 0 2px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 10px;
    height: 10px;
    padding: 0px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #73b6f4;
    -o-border-radius: 5px;-icab-border-radius: 5px;-khtml-border-radius: 5px;-moz-border-radius: 5px;
    -webkit-border-radius: 5px; -moz-border-radius: 5px;border-radius: 5px;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-size: 0px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    content: '•';
    text-align: center;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -o-border-radius: 5px;-icab-border-radius: 5px;-khtml-border-radius: 5px;-moz-border-radius: 5px;
    -webkit-border-radius: 5px; -moz-border-radius: 5px;border-radius: 5px;
}
.slick-dots li.slick-active button:before
{
    background:var(--color-2);
}
.slick-prev.sl_off{left:-0.75rem;}
.slick-next.sl_off{right:-0.75rem;}
.slick-prev.srpic{left:-0.25rem;}
.slick-next.srpic{right:-0.25rem;}

#productCarousel,
.bn-prothumb.is-classic,
.fancybox__toolbar,
.fancybox__nav,.f-thumbs__slide {
    --f-button-width: 40px;
    --f-button-height: 40px;
    --f-button-border-radius: 4px;
    --f-button-color: #0d0c22;
    --f-button-hover-color: var(--color-1);

    --f-button-bg: #f1f5f9;
    --f-button-hover-bg: #e2e8f0;
    --f-button-active-bg: #e2e8f0;

    --f-button-svg-width: 20px;
    --f-button-svg-height: 20px;
    --f-button-svg-stroke-width: 2.25;
    --f-button-svg-filter: none;
    --f-button-svg-disabled-opacity: 0.2;
}

.bn-prothumb{position:relative;}
.bn-prothumb .bn-pronum{position:absolute;bottom:0.5rem;width:100%;}

.bn-prothumb .f-carousel__slide {
    display: flex;
    align-items: center;
    justify-items: center;
}

.bn-prothumb.is-classic {
    --f-thumb-width: 100px;
    --f-thumb-height: 100px;
    --f-thumb-gap: 8px;
    --f-thumb-border-radius:5px;

    --f-thumb-opacity: 1;
    --f-thumb-selected-opacity: 1;

    --f-thumb-outline: 1px;
    --f-thumb-outline-color: var(--color-1);

    --f-button-next-pos: 8px;
    --f-button-prev-pos: 8px;
}

.bn-prothumb.is-classic .f-thumbs__slide__img{border:1px solid #dee2e6;border-radius:var(--f-button-border-radius)}
.bn-prothumb.is-classic .f-thumbs__slide__button{--f-thumb-opacity:1;}


.bn-prothumb.is-classic.is-horizontal {
    padding: 0 56px;
}

.bn-prothumb.is-classic.is-vertical {
    padding: 56px 0;
}

.bn-prothumb .f-carousel__viewport.is-draggable{cursor:zoom-in;}

#productCarousel .f-carousel__nav {
    opacity: 0;
    transition: opacity 0.15s;
}

@media (hover: hover) {
    #productCarousel:hover .f-carousel__nav {
        opacity: 1;
    }
}

.cursor-pointer{
    cursor:pointer;
}
.hide{display: none;}
.bn-rate{color:var(--color-rate);font-size:1.1rem;margin:0 1px;}
.captbox{padding-top: 0.12rem;padding-bottom: 0.12rem;text-align: center;}

.page-link.active.page{background-color:var(--primary)!important; }
.page-link.active:hover{color: #fff;}

.bg-fg{background: #5DB849;background: linear-gradient(180deg,rgba(93, 184, 73, 1) 0%, rgba(16, 162, 77, 1) 100%);}
.btn-fg{border-radius: 6px; background:var(--primary) ;color: #fff;width: 35px;height: 35px;padding-left: 0;padding-right: 0;text-align: center;margin: 0 0.25rem;}
.btn-fg:hover{color: #fff;background: var(--color-2) ;color: #fff;}


.banner-prev,
.banner-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    width: 40px;
    height: 40px;
    padding-top: 5px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    z-index: 2;
    cursor: pointer;
    outline: none;
    color:var(--color-1);
    background:var(--color-white);
    border:none;
    border-radius: 5px;
    text-decoration:none;
    opacity: 0;
}
.banner-prev:hover,
.banner-prev:hover i,
.banner-next:hover,
.banner-next:hover i{color:var(--color-2);}
.banner-prev i,
.banner-next i{font-size:1.6rem;color:var(--color-1);}
.banner-prev i{margin-right:0.25rem;}
.banner-next i{margin-left:0.25rem;}
.banner-prev {left: 1rem;}
.banner-next {right: 1rem;}
.slideshow {overflow:hidden;}
.slideshow:hover .banner-prev,.slideshow:hover .banner-next{ opacity: 0.5; }

#showmess{display:none;}
#showmess .box{width:300px;text-align:center;background:rgba(102,12,13,0.8);color:#fff;display: flex;justify-content: center;padding:20px 0;}
#showmess .icon{font-size:36px;color:#fff;height:40px;line-height:40px;width:40px;margin-right:10px;float:left;}
#showmess .txt{height:40px;line-height:40px;font-weight:bold;float:left;}

/* Desktop hover dropdown */
@media (min-width: 768px) {
    .dropdown-hover:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -0.5rem;
        margin-left: 0.125rem;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
    .nav-logo{height: 50px;}
}

/* Mobile submenu accordion */
@media (max-width: 767.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static !important;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
    }

    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }

    #productTabs{
        display:none;
    }

    .tab-content{border: none!important;}

    /* Hiện toàn bộ content */
    .tab-content .tab-pane{
        display:block !important;
        opacity:1 !important;
    }

    /* Bỏ fade bootstrap */
    .tab-content .fade{
        opacity:1;
    }

}
