:root {
    --primary-blue: #1a3a6b;
    --primary-green:#009944;
    --accent-green: #009944;
    --dark-bg: #1a1a2e;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --text-muted: #666;
}
a {
    text-decoration: none;
}
/* Top Bar */
.top-bar {
    background-color: #000000;
    color: #fff;
    font-size: 0.85rem;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color:  #2e8b57;
}
.top-bar .dropdown-menu-end{
    position: absolute;
    top: 20px;
    z-index: 9999;
}
.top-bar .contact-items {
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    outline: none;
}

.top-bar .divider {
    color: rgba(255,255,255,0.3);
    margin: 0 15px;
}

.language-selector {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    position: relative;
}

.top-bar .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    padding: 10px 0;
    margin-top: 0 !important;
    min-width: 220px;
    display: none;
    left: 0;
    top: 100%;
    z-index: 9999;
}

.top-bar .nav-item-dropdown:hover > .dropdown-menu {
    display: block;
}

.top-bar .dropdown-menu .dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.2s;
}

.top-bar .dropdown-menu .dropdown-item:hover,
.top-bar .dropdown-menu .dropdown-item:focus {
    background: var(--light-gray);
    color: var(--primary-green);
}
.web_turn_page {
    margin: 30px 0;
    text-align: center;
    height: auto;
    clear: both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.web_turn_page span {
    text-align: center;
    display: inline-block;
    margin: 5px 5px;
    position: relative;
    border: 1px solid #DDDDDD;
}

.web_turn_page span:hover {
    background: #e9edeb
}

.web_turn_page span a,.web_turn_page span font {
    display: block;
    font-size: 16px;
    padding: 9px 18px;
    background: #f5f7f6;
    text-decoration: none;
    color: #333;
}

.web_turn_page span a.prev-next {
    padding: 9px 20px;
}

.web_turn_page span.active a {
    background: #555;
    color: #fff;
    cursor: default
}
.web_turn_page span.active a:hover{
    color: #fff;
}
.web_turn_page strong {
    padding: 0 5px;
    vertical-align: middle;
}
/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}
/* Navbar */
.main-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 0;
}
.main-navbar i,.top-bar i{
    color: #009944;
}
.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 220px;
}

.main-navbar .nav-link {
    color: var(--text-dark) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 26px 23px !important;
    transition: color 0.3s;
}
.navbar-expand-lg .navbar-collapse{flex-basis: 100%;}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary-green) !important;
}

.main-navbar .nav-link.active {
    background: #004199;
    color: #fff !important;
}
.navbar-nav>li.on:first-child a{background: #004199;color: #fff !important;}
.main-navbar .nav-item.dropdown .nav-link {
    position: relative;
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    padding: 10px 0;
    margin-top: 0 !important;
    min-width: 220px;
    display: none;
}

.main-navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

.main-navbar .dropdown-menu .dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.2s;
}
.dropdown-item.active{background: var(--light-gray);
    color: var(--primary-green);}
.main-navbar .dropdown-menu .dropdown-item:hover,
.main-navbar .dropdown-menu .dropdown-item:focus {
    background: var(--light-gray);
    color: var(--primary-green);
}

.main-navbar .dropdown-menu .dropdown-item i {
    color: var(--primary-green);
    font-size: 10px;
}

.main-navbar .dropdown-menu .dropdown-divider {
    margin: 8px 0;
    border-color: #eee;
}

.btn-whatsapp-nav {
    color:#221815;
    border-radius: 20px;
    padding: 6px 18px !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: solid 1px #000000;
}

.btn-whatsapp-nav:hover {
    color: var(--accent-green);
}
/* Mega Menu Dropdown */
.mega-menu {
    background-color: #555963;
    padding: 30px 0;
    width: 100%;
    border-radius: 0;
    margin-top: 0;
    border: none;
}

.mega-menu .category-header {
    color: #fff;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-green);
    display: flex;
    align-items: center;
    font-size: 15px;
    gap: 6px;
}

.mega-menu .category-header a {
    color: rgba(255,255,255,0.9)
}
.mega-menu .category-header i {
    color: var(--primary-green);
    font-size: 0.8rem;
}
.mega-menu .product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu .product-list li {
    padding: 6px 0;
}

.mega-menu .product-list li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.mega-menu .product-list li a::before {
    content: ">";
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

.mega-menu .product-list li a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.dropdown-menu.mega-menu {
    width: 100vw;
    max-width: 1296px;
    left: 50%;
    transform: translateX(-50%);
}
.nav-item{position:unset;}
/* FAQ Section */
.faq-section {
    padding: 30px 0;
    background: #f5f5f5;
}
/*.faq-section .faq-content{*/
/*    padding: 30px 20px;*/
/*}*/
.faq-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #004199;
}

.faq-accordion{
    margin-top: 20px;
    margin-bottom: 20px;
}
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 0 !important;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-size: 15px;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 0 !important;
}
/*.faq-accordion .accordion-button.collapsed{*/
/*    background: #333;*/
/*}*/
/*.faq-accordion .accordion-button:not(.collapsed) {*/
/*    outline: none;*/
/*    box-shadow: none;*/
/*    background: #004199;*/
/*}*/

/*.faq-accordion .accordion-button::after {*/
/*    filter: brightness(0) invert(1);*/
/*}*/

.faq-accordion .accordion-body {
    padding: 20px 20px 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

.faq-accordion .accordion-body ul {
    padding-left: 20px;
}

.faq-accordion .accordion-body li {
    margin-bottom: 5px;
}

/* Contact Form Section */
.contact-section {
    padding: 60px 0;
    background: var(--light-gray);
}
.contact-section .contact-content{background: #fff;padding: 0 20px;}
.contact-header {
    background: #004199;
    color: #fff;
    text-align: center;
    padding: 25px;
}

.contact-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-header p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 30px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.contact-form-wrapper .form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 138, 78, 0.15);
}

.contact-form-wrapper textarea.form-control {
    min-height: 100px;
}

.btn-send {
    background: #004199;
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.btn-send:hover {
    background: #244a85;
    color: #fff;
}

.btn-reset {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.btn-reset:hover {
    background: var(--accent-green);
    color: #fff;
}
/* =========================================================
   Product Card
   ========================================================= */
.product-card {
    background: #e5e8eb;
    border: 1px solid var(--zx-border);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--zx-ease), box-shadow 0.3s var(--zx-ease),
    border-color 0.3s var(--zx-ease);
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--zx-shadow-md);
    border-color: var(--zx-blue);
}
.product-card:hover .product-card__title a{
    color: var(--zx-blue);
}
.product-card.is-active {
    border-color: var(--zx-blue);
    box-shadow: 0 6px 18px rgba(13, 74, 138, 0.15);
}

.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-bottom: 1px solid var(--zx-border);
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-card__body {
    padding: 12px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
}

.product-card__title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: var(--zx-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card.is-active .product-card__title {
    color: var(--zx-blue);
}

.product-card__title a {
    color: inherit;
}

.product-card__title a:hover {
    color: var(--zx-blue);
}

.product-card__spec {
    font-size: 14px;
    color: var(--zx-muted);
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 1.5;
}

.product-card__spec p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.product-card__spec a {
    color: var(--zx-muted);
}

.product-card__spec a:hover {
    color: var(--zx-blue);
}
/* Cases Section */
.cases-section {
    padding: 40px 0;
}
.cases-section .recommend{
    background: #004199;
    color: #fff;
    padding: 10px 20px;
}
.cases-section .recommend h2{
    font-size: 1.4rem;
}
.cases-section .recommend a{
    text-decoration: none;
    color: #fff;
    font-size: 1.4rem;
}
.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: solid 1px #004199;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.case-content {
    padding: 15px;
}

.case-content h5 {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 8px;
}

.case-content h5 a{
    color: #595757;
    text-decoration: none;
}


/*service*/
.lifecycle-section {
    display: flex;
}

.lifecycle-left {
    background-color: #004199;
    color: #ffffff;
    flex: 1;
}

.lifecycle-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lifecycle-right .image-full {
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: brightness(0.5);
    position: absolute;
    top: 0;
    left: 0;
}

.lifecycle-right-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 30px;
    max-width: 500px;
}

.lifecycle-right-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.lifecycle-right-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.service-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:last-child {
    border-bottom: none;
}

.service-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.service-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991px) {
    .lifecycle-section {
        flex-direction: column;
    }

    .lifecycle-right-content h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .service-icon {
       display: none;
    }

}

@media (max-width: 576px) {

    .lifecycle-right-content h1 {
        font-size: 1.6rem;
    }

    .lifecycle-right-content p {
        font-size: 0.95rem;
    }

    .service-item {
        gap: 16px;
        padding: 20px 0;
    }
}
/* Main Content */
.msg-main-content {
    margin: 0 auto;
}

.msg-row-custom {
    display: flex;
    flex-wrap: wrap;
}

/* Left Column - Info */
.msg-col-left {
    flex: 1;
    min-width: 300px;
    background-color: #f2f4f6;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
}
.msg-col-left .msg-info-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 1.2rem;
}
.msg-col-left .msg-info-text {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.msg-info-block {
    margin-bottom: 1.2rem;
}
.msg-info-block .msg-info-heading {
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 0.3rem;
}
.msg-info-block .msg-info-body {
    color: #555;
    padding-left: 0.8rem;
    border-left: 3px solid #c8d8e8;
    line-height: 1.6;
}
.msg-info-block .msg-info-body .msg-sub {
    display: block;
    margin-top: 0.4rem;
}
.msg-info-note {
    color: #666;
    font-style: italic;
    margin-top: 1.5rem;
}

/* Right Column - Form */
.msg-col-right {
    flex: 1.2;
    min-width: 320px;
    background-color: white;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 2.5rem;
}
.msg-form-section-title {
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e0e8f0;
}
.msg-form-label {
    color: #555;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.msg-form-control-custom {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.55rem 0.75rem 0.55rem 2.5rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
    background-color: #fafafa;
}
.msg-form-control-custom:focus {
    border-color: #1a3a5c;
    box-shadow: 0 0 0 2px rgba(26, 58, 92, 0.1);
    background-color: white;
}
.msg-input-icon-wrap {
    position: relative;
}
.msg-input-icon-wrap .msg-input-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}
.msg-input-icon-wrap .msg-form-control-custom {
    padding-left: 2.4rem;
}
.msg-textarea-icon-wrap {
    position: relative;
}
.msg-textarea-icon-wrap .msg-textarea-icon {
    position: absolute;
    left: 0.7rem;
    top: 0.75rem;
    color: #aaa;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}
.msg-textarea-icon-wrap .msg-form-control-custom {
    padding-left: 2.4rem;
    resize: vertical;
    min-height: 120px;
}
.msg-select-wrap {
    position: relative;
}
.msg-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.85rem;
    padding: 0.55rem 2rem 0.55rem 0.75rem;
    width: 100%;
    background-color: #fafafa;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.msg-select-wrap select:focus {
    border-color: #1a3a5c;
    box-shadow: 0 0 0 2px rgba(26, 58, 92, 0.1);
    background-color: white;
}
.msg-select-wrap::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    font-size: 0.8rem;
}
.msg-required-star {
    color: #d93025;
    font-weight: 700;
}

/* Buttons */
.msg-btn-submit {
    background-color: #1a3a5c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.7rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.msg-btn-submit:hover {
    background-color: #14304d;
    color: white;
}
.msg-btn-reset {
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.7rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.msg-btn-reset:hover {
    background-color: #1b5e20;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .msg-hero-banner h1 {
        font-size: 1.4rem;
    }
    .msg-col-left, .msg-col-right {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .msg-row-custom {
        flex-direction: column;
    }
     .dropdown-menu.mega-menu {
        display: none;
    }
}
/* Footer */
.main-footer {
    background: url("../images/a17.jpg")no-repeat center;
    color: #fff;
    padding: 50px 0 20px;
    background-size: cover;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.footer-logo img{
    max-width: 250px;
}
.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.footer-logo .brand-name {
    font-size: 16px;
    font-weight: 700;
}

.footer-logo .brand-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

.footer-desc {
    color: #ffffff;
    margin-top: 20px;
}

.footer-col h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-green);
}

.footer-contact p {
    font-size: 13px;
    color:#fff;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary-green);
}

.footer-qr {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-qr-item {
    text-align: center;
}

.footer-qr-item img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 5px;
    margin-bottom: 8px;
}

.footer-qr-item span {
    font-size: 15px;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color:#fff;
}
@media (max-width: 768px) {
    .top-bar {
        font-size: 11px;
    }

    .top-bar a {
        margin-right: 10px;
    }

    .top-box {
        width: 100%;
        justify-content: space-between !important;
    }
    .faq-section h2{font-size: 22px;}
    .btn-send{margin-bottom: 10px;}
    .btn-whatsapp-nav{display: none;}
    .main-navbar .nav-link{padding: 10px!important;}
}