/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
body {
    font-size: 14px;
    color: #333;
    font-family: Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

[class*=am-u-] {
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

.am-form select,
.am-form textarea,
.am-form input[type="text"],
.am-form input[type="password"],
.am-form input[type="datetime"],
.am-form input[type="datetime-local"],
.am-form input[type="date"],
.am-form input[type="month"],
.am-form input[type="time"],
.am-form input[type="week"],
.am-form input[type="number"],
.am-form input[type="email"],
.am-form input[type="url"],
.am-form input[type="search"],
.am-form input[type="tel"],
.am-form input[type="color"],
.am-form-field {
    font-size: 14px;
    border-color: #e6e6e6;
    border-radius: 5px;
    padding: .8em 1em;
}

.am-form select.am-radius,
.am-form textarea.am-radius,
.am-form input[type="text"].am-radius,
.am-form input[type="password"].am-radius,
.am-form input[type="datetime"].am-radius,
.am-form input[type="datetime-local"].am-radius,
.am-form input[type="date"].am-radius,
.am-form input[type="month"].am-radius,
.am-form input[type="time"].am-radius,
.am-form input[type="week"].am-radius,
.am-form input[type="number"].am-radius,
.am-form input[type="email"].am-radius,
.am-form input[type="url"].am-radius,
.am-form input[type="search"].am-radius,
.am-form input[type="tel"].am-radius,
.am-form input[type="color"].am-radius,
.am-form-field.am-radius {
    border-radius: .3em;
    padding-left: 1em !important;
    height: 41px;
    line-height: 41px;
}

a {
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: #0557b7;
}

img {
    max-width: 100%;
    transition: transform 1s ease;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.am-with-topbar-fixed-top {
    padding-top: 0;
}

.am-container {
    max-width: 1280px;
    padding: 0;
    margin: 0 auto;
}

.am-container-sm {
    max-width: 980px;
    margin: 0 auto;
}

.am-container-avg {
    max-width: 1310px;
    margin: 0 auto;
}

.am-container-avg-sm {
    max-width: 1180px;
    margin: 0 auto;
}

.am-bg-main {
    background-color: #f0f3f6;
}

.am-bg-primary {
    background-color: #0557b7;
}

.am-bg-white {
    background-color: #fff;
}

.am-p-main {
    padding: 12rem 0;
}

.am-por-re {
    position: relative;
}

.am-d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.am-fixed {
    position: fixed;
}

.am-box {
    overflow: hidden;
    display: block;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.am-text-white {
    color: #fff;
}

.am-text-main {
    color: #f6f6f6 !important;
}

.am-text-gray {
    color: #666;
}

.am-text-primary {
    color: #0557b7 !important;
}

.am-text-success {
    color: #01886b;
}

.am-text-danger {
    color: #cd1601;
}

.am-text-right {
    text-align: right;
}

.am-txt-lh {
    line-height: 2.1;
}

.am-en {
    text-transform: capitalize;
}

.am-en-max {
    text-transform: uppercase;
}

.am-a-bold {
    font-weight: bold;
}

.am-a-hover {
    display: inline-block;
}

.am-a-hover:hover {
    transform: translate3d(6px, 0, 0);
}

/* Font Size Classes */
.f-12 {
    font-size: 12px;
}

.f-14 {
    font-size: 14px;
}

.f-16 {
    font-size: 16px;
}

.f-18 {
    font-size: 18px;
}

.f-20 {
    font-size: 2rem;
}

.f-24 {
    font-size: 2.4rem;
}

.f-30 {
    font-size: 3rem;
}

.f-36 {
    font-size: 3.6rem;
}

.f-48 {
    font-size: 4.8rem;
}

.f-60 {
    font-size: 6rem;
}

.f-90 {
    font-size: 9rem;
}

.f-120 {
    font-size: 12rem;
}

.f-150 {
    font-size: 15rem;
}

.f-180 {
    font-size: 18rem;
}

.f-200 {
    font-size: 20rem;
}

.f-210 {
    font-size: 21rem;
}

.f-240 {
    font-size: 24rem;
}

/* ==========================================================================
   SPACING UTILITIES
   ========================================================================== */
/* Margin Bottom */
.mb6 {
    margin-bottom: 0.6rem;
}

.mb10 {
    margin-bottom: 1rem;
}

.mb15 {
    margin-bottom: 1.5rem;
}

.mb30 {
    margin-bottom: 3rem;
}

.mb60 {
    margin-bottom: 6rem;
}

/* Padding */
.pl60 {
    padding-left: 6rem;
}

.pr60 {
    padding-right: 6rem;
}

.pr30 {
    padding-right: 3rem;
}

.pr15 {
    padding-right: 1.5rem;
}

.pt6 {
    padding-top: 0.6rem;
}

.pt15 {
    padding-top: 1.5rem;
}

.pt30 {
    padding-top: 3rem;
}

.pt60 {
    padding-top: 6rem;
}

.pb15 {
    padding-bottom: 1.5rem;
}

.pb30 {
    padding-bottom: 3rem;
}

.pb45 {
    padding-bottom: 4.5rem;
}

.pb60 {
    padding-bottom: 6rem;
}

.p15 {
    padding: 1.5rem;
}

.p24 {
    padding: 2.4rem;
}

.p30 {
    padding: 3rem;
}

.p45 {
    padding: 4.5rem;
}

.p60 {
    padding: 6rem;
}

.pv6 {
    padding: 0.6rem 0;
}

.pv15 {
    padding: 1.5rem 0;
}

.pv30 {
    padding: 3rem 0;
}

.pv45 {
    padding: 4.5rem 0;
}

.pv60 {
    padding: 6rem 0;
}

.pw15 {
    padding: 0 1.5rem;
}

.pw30 {
    padding: 0 3rem;
}

.pw45 {
    padding: 0 4.5rem;
}

.pw60 {
    padding: 0 6rem;
}

/* ==========================================================================
   BUTTONS - ENHANCED WITH GLASS EFFECT
   ========================================================================== */
.am-btn {
    font-size: 14px;
    border-radius: 5px;
    padding: 0.9em 1.5em !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.am-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.am-btn:hover::before {
    left: 100%;
}

/* Button Variants */
.am-btn-white {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: #333;
}

.am-btn-primary {
    background: linear-gradient(135deg, #0557b7, #003d88);
    border-color: #0557b7;
    color: #fff;
}

.am-btn-default {
    background-color: transparent;
    border-color: #e6e6e6;
}

/* Button Hover Effects */
.am-btn-white:hover {
    background: #0557b7;
    border-color: #0557b7;
    color: #fff;
    transform: translate3d(0, -6px, 0);
    box-shadow: 3px 6px 12px rgba(0, 54, 163, 0.3);
}

.am-btn-main:hover,
.am-btn-primary:hover {
    background: linear-gradient(135deg, #003d88, #0557b7);
    border-color: #003d88;
    color: #fff;
    transform: translate3d(0, -6px, 0);
    box-shadow: 3px 6px 12px rgba(0, 54, 163, 0.3);
}

.am-btn-hover:hover {
    background: #de6800;
    border-color: #de6800;
    color: #fff;
    transform: translate3d(0, -6px, 0);
    box-shadow: 3px 6px 12px rgba(0, 54, 163, 0.3);
}

.am-btn-hover:hover,
.am-btn-hover:focus {
    background-color: #de6800;
    border-color: #de6800;
    color: #fff;
}

/* Icon Button */
.am-btn-icon {
    background-image: url(../images/btn-icon.png);
    background-position: center right;
    background-repeat: no-repeat;
    padding: 1em 2.4em 1em 1.5em !important;
    transition: all 1.2s ease-in-out;
}

.am-btn-icon:hover {
    background-position: 180px center;
    padding: 0.9em 1.5em !important;
}

/* ==========================================================================
   COMPONENTS: HOVER EFFECTS
   ========================================================================== */
.am-img-hover:hover {
    transform: scale(1.2);
    transition: transform 1s ease;
    overflow: hidden;
}

.am-scale {
    transform: scale(1.1);
    transition: transform 1.2s ease;
}

.am-scale-hover:hover {
    transform: scale(1.1);
}

.am-ani-jump {
    animation: jump-icon 1.2s infinite alternate cubic-bezier(0.65, 0.05, 0.36, 1);
    transition: all 1.2s;
}

.am-bg-primary-hover:hover {
    color: #fff;
    background-color: #0557b7;
}

/* ==========================================================================
   COMPONENTS: BOX SHADOWS
   ========================================================================== */
.am-boxadow {
    box-shadow: 3px 6px 12px rgba(0, 54, 163, 0.09);
    border-radius: 5px;

}

.am-boxadow-inset {
    box-shadow: inset 10px 9px 12px 0px rgba(0, 54, 163, 0.09);
    border-radius: 5px;
}

.am-boxadow-hover {
    border-radius: 5px;
    box-shadow: 3px 6px 12px rgba(0, 54, 163, 0.03);
    transition: all 1.2s ease;
}

.am-boxadow-hover:hover {
    box-shadow: 3px 6px 12px rgba(0, 54, 163, 0.1);
    transform: translate3d(0, -6px, 0);
}

/* ==========================================================================
   COMPONENTS: BORDER RADIUS
   ========================================================================== */
.border-radi {
    border-radius: 5px;
}

.border-radi-sm {
    border-top-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.border-radi-fr {
    border-top-right-radius: 6rem;
    border-bottom-left-radius: 6rem;
}

.border-t-fl {
    border-top-left-radius: 6rem;
}

.border-b-fr {
    border-bottom-right-radius: 6rem;
}

.t-after {
    position: relative;
}

.t-after::after {
    position: absolute;
    content: '';
    height: 3px;
    width: 48px;
    background: #333;
    left: 50%;
    margin-left: -24px;
    bottom: 0;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
[class*="am-animation-"] {
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

@keyframes jump-icon {
    0% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(12px);
    }
}

@keyframes scale-icon {
    0% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(3px);
    }
}

@keyframes rotate_in {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scale-bg {
    0% {
        background-size: 100% auto;
    }

    50% {
        background-size: 110% auto;
    }

    100% {
        background-size: 100% auto;
    }
}

@keyframes slide-bg {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0 0;
    }
}

/* ==========================================================================
   MODAL & TABS
   ========================================================================== */
.am-modal-dialog {
    border-radius: .3em !important;
}

.am-nav-tabs a.am-active {
    background: #0557b7;
    color: #fff;
}

.am-nav-tabs,
.am-tabs-bd {
    border: none;
}

.am-tabs-bd .am-tab-panel {
    padding: 0;
}

.am-nav>li {
    display: inline-block;
    float: none;
}

.am-nav>li>a {
    border-radius: .3em;
}

.am-nav>li>a:hover,
.am-nav>li>a:focus,
.am-nav-tabs>li.am-active>a,
.am-nav-tabs>li.am-active>a:hover,
.am-nav-tabs>li.am-active>a:focus {
    border: none;
    background: #0557b7;
    color: #fff;
}

ul.am-dropdown-content>.am-active>a,
ul.am-dropdown-content>.am-active>a:hover,
ul.am-dropdown-content>.am-active>a:focus {
    background-color: #0557b7;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.head {
    background-color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: all 1s ease-in-out;
    position: relative;
    z-index: 99;
    box-shadow: 3px 6px 15px rgba(0, 0, 0, .15);
}

.navmenu {
    padding-left: 6rem;
}

.navmenu a {
    text-transform: capitalize;
}

.navmenu .navmenu-item {
    position: relative;
    text-align: center;
    line-height: 50px;
}

.nav-father {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    position: relative;
}

.nav-father:hover,
.nav-active .nav-father {
    color: #0557b7;
}
 

.navmenu .subNav {
    position: absolute;
    width: 150%;
    background-color: #fff;
    box-shadow: 0 5px 3rem -1rem rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    left: 50%;
    margin-left: -75%;
    top: 100px;
    opacity: 0;
    transition: all .6s ease-in-out;
    padding: 0 1rem;
    z-index: 6;
    pointer-events: none;
}

.navmenu .subNav-show {
    display: block;
    opacity: 1;
    transition: all .6s ease-in-out;
    top: 6rem;
    pointer-events: all;
}

.navmenu-item:hover .subNav-icon {
    color: #0557b7;
}

.nav-active .subNav-icon {
    color: #fff;
}

.navmenu .subNav-icon {
    position: absolute;
    right: 1.8rem;
    top: 0;
    font-size: 1.8rem;
}

.subNavIcon {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 100%;
    height: 15px;
}

.nav-child {
    padding: 0;
    line-height: 45px;
    font-size: 14px;
    color: #333;
    display: block;
    border-bottom: 1px solid #e6e6e6;
    white-space: nowrap;
}

.nav-child:last-child {
    border: none;
}

.subNavIcon:after {
    content: "";
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.head-fr {
    position: relative;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.head-search {
    display: inline-block;
    position: relative;
    width: 4rem;
}

.head-lang {
    display: inline-block;
}

.head-lang-icon {
    background: url(/uploads/images/lang-icon.png) no-repeat center;
    overflow: hidden;
    width: 4rem;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    cursor: pointer;
}

.head-search::after {
    content: '';
    height: 20px;
    width: 1px;
    background: #333;
    position: absolute;
    top: 1.5rem;
    right: 0;
}

.search .am-btn {
    position: absolute;
    top: 9px;
    right: 0px;
    font-size: 18px;
}

.search-form button {
    right: 0 !important;
    top: 6px !important;
}

.search-form {
    position: relative;
    padding: 3rem;
}

/* ==========================================================================
   BANNER SECTIONS
   ========================================================================== */
.banner-swiper {
    background: #333;
    width: 100%;
    height: 82rem;
}

.banner-item {
    overflow: hidden;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 9;
    width: 1rem;
    height: 5px;
    border-radius: 5px;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #0557b7;
}

.banner-max {
    height: 90vh !important;
}

.banner-map {
    height: 90vh !important;
}

.iabout-img {
    position: absolute;
    right: 0;
    height: 100%;
    top: 6rem;
    overflow: hidden;
    border-radius: 5px;
}

.iabout-img img {
    height: 100%;
}

.iproduct-bg {
    overflow: hidden;
    background: url(/uploads/images/iproduct-bg.jpg) no-repeat center;
    background-size: cover;
    height: 100%;
    animation: slide-bg 15s linear infinite;
}

.map-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    background-attachment: fixed;
    background-color: #363636;
    position: relative;
    display: flex;
    align-items: center;
}

.map-content {
    overflow: hidden;
    margin-top: 6rem;
}

.map-txt {
    overflow: hidden;
    color: #e6e6e6;
    line-height: 2;
    max-height: 300px;
    overflow-y: scroll;
}

.map-txt::-webkit-scrollbar {
    background-color: #013db5;
    width: 6px;
}

/* ==========================================================================
   INNER BANNER
   ========================================================================== */
.inner-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 60vh;
    background-attachment: fixed;
    background-color: #363636;
    position: relative;
    color: #fff;
    animation: slide-bg 15s linear infinite;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(54, 54, 54, 0.4) 0%,
            rgba(54, 54, 54, 0.6) 50%,
            rgba(54, 54, 54, 0.4) 100%);
    pointer-events: none;
}

.inner-banner-info {
    text-align: center;
}

.inner-banner h2 {
    text-transform: uppercase;
}

.inner-banner p {
    max-width: 400px;
    margin: 0 auto;
    font-size: 18px;
    color: #fff;
}

.inner-banner-icon {
    position: absolute;
    bottom: 60px;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    text-align: center;
    line-height: 60px;
    animation: jump-icon 1.2s infinite alternate cubic-bezier(0.65, 0.05, 0.36, 1);
    background: url(/uploads/images/mouse.png) no-repeat center;
}

.search-banner {
    height: 45rem !important;
    background-position: bottom center;
    animation: none;
}

/* ==========================================================================
   ARTICLE STYLES
   ========================================================================== */
.article-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 45rem;
    background-attachment: fixed;
    background-color: #363636;
    position: relative;
    color: #e6e6e6;
    animation: slide-bg 15s linear infinite;
}

.article-banner-info {
    padding-top: 15vh;
    overflow: hidden;
    position: relative;
}

.article-banner-info a {
    position: absolute;
    right: 0;
    bottom: 0;
    border-radius: 5px;
}

.am-article-product-hd {
    overflow: hidden;
}

.am-article-thumb {
    overflow: hidden;
    padding-bottom: 45rem;
    position: relative;
    background-color: #e6e6e6;
    border: 1px solid #e6e6e6;
}

.am-article-thumb img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.am-article-thumb-tit {
    padding-left: 3rem;
    overflow: hidden;
}

.am-article-bd img {
    display: inline-block;
    border-radius: 0em;
}

.am-article-bd {
    line-height: 1.8;
}

.am-article-meta {
    margin-bottom: 3rem;
}

.am-article-hd {
    border-bottom: 1px solid #e6ece8;
    margin-bottom: 3rem;
    position: relative;
}

.am-article-desc {
    padding: 15px;
    overflow: hidden;
    color: #999;
    font-size: 14px;
    border: 1px solid #f6f6f6;
    margin-bottom: 3rem;
    background: #fbfbfb;
}

.am-article-meta {
    font-size: 14px;
}

.am-article-lead {
    font-size: 14px;
}

.am-article-prne a {
    margin: 0 1rem;
    font-size: 1.8rem;
}

/* ==========================================================================
   SIDEBAR & TITLE STYLES
   ========================================================================== */
.sidebar a {
    display: inline-block;
    font-weight: bold;
    position: relative;
}

.sidebar a.am-active,
.sidebar a:hover {
    color: #fff;
    background-color: #0557b7;
}

.title {
    overflow: hidden;
}

.title h3 {
    position: relative;
}

.title h3::after {
    position: absolute;
    width: 6rem;
    margin-left: -3rem;
    left: 50%;
    background: #0557b7;
    height: 6px;
    content: '';
    bottom: -15px;
}

.title-after {
    overflow: hidden;
    position: relative;
}

.title-after::after {
    position: absolute;
    width: 9rem;
    left: 0;
    background: #0557b7;
    height: 6px;
    content: '';
    bottom: 1.5rem;
}

.title-center-after {
    overflow: hidden;
    position: relative;
}

.title-center-after::after {
    position: absolute;
    width: 9rem;
    left: 50%;
    margin-left: -4.5rem;
    background: #333;
    height: 6px;
    content: '';
    bottom: 1.5rem;
}

.title-center-after-white::after {
    position: absolute;
    width: 9rem;
    left: 50%;
    margin-left: -4.5rem;
    background: #fff;
    height: 6px;
    content: '';
    bottom: 1.5rem;
}

.title-center-after-primary::after {
    background: #0557b7 !important;
}

.time-after-item h3 {
    overflow: hidden;
    position: relative;
}

.time-after-item h3::after {
    position: absolute;
    width: 100%;
    left: 0;
    background: #0557b7;
    height: 2px;
    content: '';
    bottom: 1.5rem;
}

.time-after-item h3::before {
    content: ' ';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #0557b7;
    bottom: .84rem;
    left: 60%;
    border-radius: 5px;
    border: 3px solid #7f9fe0;
    transition: all 1.2s;
    animation: scale-icon 1.2s infinite alternate cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* ==========================================================================
   SIDEBAR NAVIGATION - Enhanced styling
   ========================================================================== */
.navside {
    position: relative;
    padding: 0;
}

.navside .am-container {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.navside a {
    font-weight: bold;
    position: relative;
    text-transform: capitalize;
    padding: 10px 15px;
    background: rgba(1, 61, 181, 0.05);
    border: 1px solid rgba(1, 61, 181, 0.1);
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.navside a:hover,
.navside a.am-active {
    color: #fff;
    border-color: #0557b7;
    background: #0557b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 87, 183, 0.3);
}

.navside .am-active {
    color: #0557b7;
}


/* ==========================================================================
   TABS STYLING - Consistent with navside
   ========================================================================== */
.am-nav-tabs {
    border: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0;
    padding: 20px;
}

.am-nav-tabs>li {
    display: block;
    margin: 0;
    float: none;
}

.am-nav-tabs>li>a {
    border-radius: 5px !important;
    border: none !important;
    padding: 12px 15px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(1, 61, 181, 0.05);
    border: 1px solid rgba(1, 61, 181, 0.1) !important;
    color: #333;
    text-align: center;
    display: block;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.am-nav-tabs>li>a:hover,
.am-nav-tabs>li>a:focus,
.am-nav-tabs>li.am-active>a,
.am-nav-tabs>li.am-active>a:hover,
.am-nav-tabs>li.am-active>a:focus {
    background: #0557b7 !important;
    color: #fff !important;
    border-color: #0557b7 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 87, 183, 0.3);
}

.am-tabs-bd {
    border: none;
}

.am-tabs-bd .am-tab-panel {
    padding: 0;
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */
.case-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e5ecf5 0%, #f0f3f6 100%);
    position: relative;
    overflow: hidden;
}

.case-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridFlow 30s linear infinite;
    pointer-events: none;
}

.case-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    animation: lightFlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes gridFlow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

@keyframes lightFlow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.case-section .title h2 {
    text-transform: uppercase;
}

.case-swiper {
    padding: 0 15px 80px;
}

.case-swiper-prev {
    bottom: 0;
    top: auto;
    left: 50%;
    margin-left: -125px;
}

.case-swiper-next {
    bottom: 0;
    top: auto;
    right: 50%;
    margin-right: -125px;
}

.case-more-btn {
    position: absolute;
    left: 50%;
    margin-left: -55px;
    bottom: 0;
}

/* ==========================================================================
   LIST & GRID ITEMS
   ========================================================================== */
.corporate-item {
    min-height: 230px;
}

.list-img-item {
    overflow: hidden;
    position: relative;
        
}

.list-img-item:hover {
    background: #fff;
}

.list-img-pic {
    overflow: hidden;
    position: relative;
    padding-bottom: 75%;
}

.list-img-pic-small {
    padding-bottom: 45%;
}

.list-img-pic-mid {
    padding-bottom: 68%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.list-img-pic img {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.list-img-info {
    overflow: hidden;
    position: relative;
}

.list-time-item {
    overflow: hidden;
    position: relative;
    display: flex;
     border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.list-time-date {
    overflow: hidden;
    background: #0557b7;
    color: #e6e6e6;
    text-align: center;
}

.list-time-date h3 {
    position: relative;
}

.list-time-date h3::after {
    position: absolute;
    content: '';
    height: 1px;
    width: 80%;
    left: 50%;
    margin-left: -40%;
    background: #fff;
    bottom: 0.75rem;
}

.list-time-info {
    overflow: hidden;
    position: relative;
  
}

.list-time-more {
    align-items: center;
    display: flex;
}

.hot-news-content {
    padding-left: 1.5rem;
    padding-top: 1.5rem;
    overflow: hidden;
}

.hot-news h2 span {
    position: relative;
}

.hot-news h2 span::before {
    position: absolute;
    height: 2px;
    width: 45%;
    background: #0557b7;
    content: '';
    left: -50%;
    top: 1.8rem;
}

.hot-news h2 span::after {
    position: absolute;
    height: 2px;
    width: 45%;
    background: #0557b7;
    content: '';
    right: -50%;
    top: 1.8rem;
}

.hot-news a {
    display: block;
    border-bottom: 1px solid #e6e6e6;
}

/* ==========================================================================
   IMAGE SWIPER
   ========================================================================== */
.list-img-swiper {
    padding-bottom: 150px;
}

.list-img-next {
    background: url(../images/icon-right.png) no-repeat center #0557b7;
    line-height: 6rem;
    width: 6rem;
    height: 6rem;
    border-radius: 5px;
    bottom: 0;
    top: auto !important;
    right: 50%;
    margin-right: -75px;
}

.list-img-prev {
    background: url(../images/icon-left.png) no-repeat center #0557b7;
    line-height: 6rem;
    width: 6rem;
    height: 6rem;
    border-radius: 5px;
    left: 50%;
    margin-left: -75px;
    bottom: 0;
    top: auto !important;
}

.list-img-next:hover,
.list-img-prev:hover {
    background-color: #de6800;
}

.list-img-swiper-item {
    overflow: hidden;
    position: relative;
    padding-bottom: 75%;
    border: 2rem solid #e6e6e6;
    border-bottom: 2rem solid #c6c6c6;
    border-top: 2rem solid #c6c6c6;
    box-shadow: 0px 1rem 2rem rgba(0, 0, 0, 0.3);
}

.list-img-swiper-item img {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.aspect-ratio-4-3 {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
}

.aspect-ratio-4-3>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aspect-ratio-4-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.am-pagination {
    margin: 6rem 0;
    overflow: hidden;
    text-align: center;
}

.am-pagination ul {
    padding: 0;
}

.am-pagination li {
    list-style: none;
    padding-right: 1rem;
    display: inline-block;
}

.am-pagination li.active span,
.am-pagination li a:hover {
    background: #0557b7;
    color: #e6e6e6;
}

.am-pagination a,
.am-pagination span {
    display: block;
    padding: .8em 2em;
    border: 1px solid #e6ece8;
    background: #fff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
}

/* ==========================================================================
   SWIPER NAVIGATION
   ========================================================================== */
.swiper-button-next {
    background: url(../images/icon-right.png) no-repeat center #0557b7;
    line-height: 45px;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    opacity: 0;
    transition: all ease 1s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.swiper-button-prev {
    background: url(../images/icon-left.png) no-repeat center #0557b7;
    line-height: 45px;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    opacity: 0;
    transition: all ease 1s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #de6800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(222, 104, 0, 0.3);
}

/* ==========================================================================
   LIVE CHAT COMPONENT
   ========================================================================== */
.live-chat {
    position: fixed;
    right: 20px;
    bottom: 10%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

.live-chat li {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 15px;
}

.live-chat li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.live-chat li:hover::before {
    left: 100%;
}

.live-chat li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding: 0;
}

.live-chat li img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.live-chat li:hover img {
    transform: scale(1.1);
}

.live-chat li:nth-child(1) {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.live-chat li:nth-child(1):hover {
    background: linear-gradient(135deg, #0069d9, #004a9c);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

.live-chat li:nth-child(2) {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.live-chat li:nth-child(2):hover {
    background: linear-gradient(135deg, #1da851, #0d7d5f);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.live-chat li:nth-child(3) {
    background: linear-gradient(135deg, #6c757d, #495057);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.live-chat li:nth-child(3).show {
    opacity: 1;
    visibility: visible;
}

.live-chat li:nth-child(3):hover {
    background: linear-gradient(135deg, #5a6268, #343a40);
    box-shadow: 0 20px 40px rgba(108, 117, 125, 0.3);
}

.live-chat li::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.live-chat li:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    overflow: hidden;
    background: #232323;
    color: #e6e6e6;
}

.ifooter {
    overflow: hidden;
    background: url(/uploads/images/ifooter-bg.jpg) no-repeat center #e3e3e3;
    background-size: cover;
    color: #333;
    display: flex;
    align-items: center;
    height: 100%;
}

.ifooter-logo {
    overflow: hidden;
}

.footer a {
    color: #e6e6e6;
}

.footer a:hover {
    color: #0557b7;
}

.footer-navson a {
    display: block;
    margin-bottom: .5rem;
}

.footer-copyright {
    background: #000;
    color: #e6e6e6;
    line-height: 40px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media screen and (max-width: 800px) {
    html {
        font-size: 7px;
    }

    .am-btn {
        font-size: 1.8rem;
    }

    .am-container {
        padding: 0 1.5rem;
    }

    /* Mobile Spacing Utilities */
    .wap-p0 {
        padding: 0;
    }

    .wap-pb30 {
        padding-bottom: 3rem;
    }

    .wap-pt30 {
        padding-top: 3rem;
    }

    .wap-pw0 {
        padding-left: 0;
        padding-right: 0;
    }

    .wap-pw15 {
        padding: 0 1.5rem;
    }

    .wap-pw30 {
        padding: 0 3rem;
    }

    .wap-pv30 {
        padding: 3rem 0;
    }

    .wap-p15 {
        padding: 1.5rem;
    }

    .wap-p30 {
        padding: 3rem;
    }

    .wap-p45 {
        padding: 4.5rem;
    }

    .am-container-avg {
        padding: 0 1.5rem;
    }

    .am-btn-icon {
        background-image: none;
        padding: .9em 1.5em !important;
    }

    /* Mobile Header */
    .am-header-default {
        background: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        z-index: 999;
    }

    .am-header-default .am-header-nav>a {
        color: #333;
    }

    .am-menu-dropdown1 .am-menu-toggle {
        right: auto;
        left: 5px;
        top: -43px;
        color: #013db5;
    }

    .am-menu-dropdown1 .am-menu-nav>li>a {
        background: #fff;
        border-color: #e6e6e6;
        color: #333;
    }

    .am-menu-dropdown1 .am-menu-nav>li.am-parent>a::before {
        top: 14px;
        right: 10px;
    }

    .am-menu-dropdown1 .am-menu-nav>li.am-parent.am-open>a {
        background-color: #0557b7;
    }

    .logo {
        width: 100%;
    }

    .banner-next,
    .banner-prev {
        display: none;
    }

    .inner-banner {
        height: 36vh;
        margin-top: 50px;
    }

    .banner-max {
        height: 60vh !important;
    }

    .banner-map {
        height: 90vh !important;
    }

    .solution-swiper .list-img-item {
        display: block;
    }

    .am-scale {
        transform: scale(1);
        transition: all 1.2s;
    }

    .service .am-ani-jump {
        animation: none;
    }

    .list-img-info p {
        font-size: 14px;
    }

    .am-pagination a,
    .am-pagination span {
        padding: .9rem 2.4rem;
    }

    .article-banner {
        height: 45vh;
    }

    .article-banner-info {
        padding: 15rem 6rem;
    }

    .article-banner-info a {
        position: relative;
        margin-top: 3rem;
    }

    .banner-item {
        padding: 0 3rem;
    }

    .banner-pagination {
        right: auto;
        left: 0 !important;
        text-align: center;
    }

    .banner-pagination .swiper-pagination-bullet {
        height: 6px;
        width: 6px;
    }

    .search {
        position: relative;
        height: 50px;
        margin-right: 3rem;
        padding-top: 9px;
    }

    .search .am-btn {
        position: absolute;
        top: 9px;
        right: 0px;
    }

    .search-form button {
        right: 0 !important;
        top: 7px !important;
        height: 36px;
        line-height: 36px;
    }

    .search-form {
        position: relative;
        padding: 3rem;
    }

    .iabout-img {
        position: relative;
        height: 42rem;
        top: 3rem;
    }

    .list-img-pic-small {
        padding-bottom: 45rem;
    }

    .footer-nav li {
        padding-bottom: 1.5rem;
    }

    .footer-navson a {
        font-size: 12px;
    }

    .footer-logo img {
        max-height: 3rem;
    }

    .footer-tt img {
        max-height: 4.5rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .footer-copyright {
        padding-bottom: 9rem;
    }

    /* Mobile Navigation Grid */
    .navside .am-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 20px;
    }

    .navside a:nth-child(odd) {
        grid-column: 1;
    }

    .navside a:nth-child(even) {
        grid-column: 2;
    }

    /* Mobile Tabs */
    .am-nav-tabs {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 10px;
    }

    .am-nav-tabs>li:nth-child(odd) {
        grid-column: 1;
    }

    .am-nav-tabs>li:nth-child(even) {
        grid-column: 2;
    }



    /* Mobile Live Chat */
    .live-chat {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }

    .live-chat li {
        width: 50px;
        height: 50px;
    }

    .live-chat li img {
        width: 20px;
        height: 20px;
    }

    .live-chat li h3 {
        font-size: 9px !important;
    }
}

/* Tablet Landscape */
@media screen and (min-width: 801px) and (max-width: 1024px) {
    .am-container {
        padding: 0 20px;
    }

    .navside .am-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .am-nav-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop - Full Grid */
@media screen and (min-width: 1025px) {


    .am-nav-tabs {
        display: flex;
        justify-content: center;
        padding: 0 0 10px;
    }
}

/* Print Styles */
@media print {

    .live-chat,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}