/*
    body {
        cursor: url(/frontend/images/covn.png), auto;
    }
*/
/* CSS 2-9 từ đây RƠ VÊ LẦM*/

.header-style-one {
    background: url(/frontend/images/bautroi6.png) !important;
}

.header-style-one .header-main-box .upper-row {
    background: transparent !important;
}

.main-info-section .features-list li .icon {
    background: #eb7c13cc !important;
    color: #ffffff !important;
}

.main-info-section .features-list li .inner:hover .icon {
    background: #04853ae8 !important;
    color: #fff;
}

.page-banner .image-layer {
    background-image: url(/frontend/images/title_bg-02-09-CUOI.jpg) !important;
    background-size: cover;
}

.page-banner .image-layer:before {
    background: #2828282e !important;
    opacity: 1 !important;
}



/* CSS 30-04 từ đây */
.sec-title-two .right-dots {
    right: -4px !important;
}

.service-block-three .inner-box .overlay-icon {
    /*background: #da251de3 !important;*/
    background: url(/frontend/images/bg-tintuc-30-4.jpg) no-repeat !important;
    background-size: cover !important;
    opacity: 0.8;
}

.services-carousel .owl-item .overlay-icon img {
    display: none !important;
}

.sec-title-two img {
    width: 80% !important;
}

/*
.main-info-section {
    background: url(/frontend/images/bg-ket-qua-kd-02-09-cuoi.webp) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}*/

/* Hình cũ là /frontend/images/main-slider/1.jpg */
.system-section {
    background: url(/frontend/images/hinhnen-hethonggs.png) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    background-position-y: -161px !important;
}

.about-section-one {
    background: url(/frontend/images/bg-gioithieu-dn-30-04-2026.png) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.service-section {
    background: url(/frontend/images/nen30-04-dichvu1.png) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position-x: center !important;
    background-position-y: 44px !important;
}

.page-banner .image-layer:before {
    background: #b6b6b642 !important;
    opacity: 1 !important;
}

.sticky-header {
    background: linear-gradient(90deg,
    #c8130f 0%,
    #ff2520 50%,
    #c8130f 100%) !important;
    background-size: 200% 100%;
    animation: gradient-shadow 3s ease infinite;
    box-shadow: 0 4px 15px rgba(200, 19, 15, 0.5);
}

@keyframes gradient-shadow {

    0%,
    100% {
        background-position: 0% 50%;
        box-shadow: 0 4px 15px rgba(200, 19, 15, 0.5);
    }

    50% {
        background-position: 100% 50%;
        box-shadow: 0 4px 25px rgba(255, 37, 32, 0.8);
    }
}

/* Đổi màu chữ và các biểu tượng thành màu trắng để dễ đọc trên nền đỏ */
.sticky-header .navigation>li>a,
.sticky-header .dropdown-btn,
.sticky-header .search-btn .theme-btn,
.sticky-header .fa {
    color: white !important;
}

/* Hiệu ứng hover cho menu */
.sticky-header .navigation>li>a:hover {
    color: #FFFF00 !important;
    /* Màu vàng khi hover */
}

/* Thêm ngôi sao vàng ở phía trước menu */
.sticky-header .auto-container::before {
    content: "★";
    color: #FFFF00;
    font-size: 28px;
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Thêm ngôi sao vàng ở phía sau menu */
.sticky-header .auto-container::after {
    content: "★";
    color: #FFFF00;
    font-size: 28px;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Hiệu ứng pulse */
@keyframes pulse {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    }

    50% {
        transform: translateY(-50%) scale(1.2);
        text-shadow: 0 0 20px rgba(255, 215, 0, 1),
        0 0 30px rgba(255, 165, 0, 0.8);
    }
}

/* Điều chỉnh dropdown menu để đảm bảo đọc được */
.sticky-header .dropdown ul.dropdown {
    background-color: white;
}

.sticky-header .dropdown ul.dropdown li a {
    color: #333 !important;
}

/* Đảm bảo nút tìm kiếm cũng phù hợp với theme */
.sticky-header .search-btn .theme-btn {
    color: #FFFF00 !important;
}


.header-top-one {
    height: 60px !important;
    background-color: transparent !important;
}

.flag-banner {
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.flag-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.flag {
    width: 40px;
    height: 50px;
    background-color: #DA251D;
    /* Màu đỏ cờ Việt Nam */
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    position: relative;
    transform-origin: top center;
    margin: 0 15px;

}

.flag::after {
    content: "★";
    position: absolute;
    color: #FFFF00;
    /* Màu vàng ngôi sao */
    font-size: 16px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Dây treo cờ */
.flag-string {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #cdcdcd69;
}

/* Thêm hiệu ứng bóng đổ nhẹ */
.flag {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

/* Thêm hiệu ứng chuyển động 3D */
.flag-container {
    transform-style: preserve-3d;
    perspective: 800px;
}

/* Hiệu ứng hover khi di chuột qua lá cờ */
.flag:hover {
    animation-play-state: paused;
    transform: rotate(0) scale(1.1);
    z-index: 10;
}

@keyframes flagWave {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(6deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Thêm hiệu ứng phụ cho dải cờ */
.flag-container {
    animation: bannerSway 15s ease-in-out infinite;
}

@keyframes bannerSway {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

/* Thêm media queries cho thiết bị di động */
@media screen and (max-width: 768px) {
    .flag-banner {
        height: 40px;
        /* Giảm chiều cao trên mobile */
    }

    .flag {
        width: 31px;
        /* Giảm kích thước cờ */
        height: 36px;
        margin: 0 8px;
        /* Giảm khoảng cách giữa các cờ */
    }

    .flag::after {
        font-size: 12px;
        /* Giảm kích thước sao */
    }

    .header-top-one {
        height: 40px !important;
    }

    .page-banner .image-layer {
        background-image: url(/frontend/images/bg-30-04-mobile.png) !important;
    }
}

/* Đảm bảo hiển thị trên màn hình siêu nhỏ */
@media screen and (max-width: 480px) {
    .flag {
        width: 31px;
        height: 36px;
        margin: 0 5px;
    }

    .header-top-one {
        height: 40px !important;
    }

    .about-section-one {
        background-size: contain !important;
        background-position: bottom !important;
        padding-bottom: 74px !important;
    }

    .features-section {
        background: url(/frontend/images/nen-gioithieu-30-04.png) !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: bottom !important;
        padding-bottom: 74px !important;
    }


    .service-section {
        background: url(/frontend/images/nen-gioithieu-30-04.png) !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .system-section {
        background-position-y: -102px !important;
    }

    .page-banner .image-layer {
        background-image: url(/frontend/images/bg-30-04-mobile.png) !important;
    }
}

@media screen and (max-width: 480px) {
    .about-section-one {
        background-size: cover !important;
        background-position: -1920px center !important;
        padding-bottom: 74px !important;
    }
}


.page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    /* Điều chỉnh height theo nhu cầu */
    overflow: hidden;
}

/* Video background */
.page-banner .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.page-banner .video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay để tạo độ tối cho text dễ đọc */
.page-banner .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 27%);
    /* Điều chỉnh độ tối */
    z-index: -1;
}

/* Đảm bảo content hiển thị trên video */
.page-banner .auto-container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* hoặc center tùy design */
}


.page-banner .bread-crumb {
    padding: 0;
    margin: 0;
}

.page-banner .bread-crumb li,
.page-banner .bread-crumb a {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }
}

/* Ẩn Dịch Vụ theo ý NHẫn ngày 27-08-2025 */
.service-section {
    display: none !important;
}


/*  ========== MASCOT GAS SOUTH - GIF ========== */
 .mascot-container {
        position: fixed;
        top: 140px;
        left: 10px;
        z-index: 9999;
        pointer-events: none;
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        animation: mascot-appear 0.8s ease-out 1s forwards;
    }

    @keyframes mascot-appear {
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .mascot-img {
        width: 88%;
        height: auto;
        filter: drop-shadow(3px 5px 8px rgba(0,0,0,0.2));
    }

    .mascot-close {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 18px;
        height: 18px;
        background: #e74c3c;
        border: 2px solid white;
        border-radius: 50%;
        color: white;
        font-size: 10px;
        cursor: pointer;
        pointer-events: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .mascot-container:hover .mascot-close {
        opacity: 1;
    }

    .mascot-close:hover {
    background: #c0392b;
}

@media (max-width: 1200px) {
    .mascot-container {
        top: 65px;
        left: 8px;
    }

    .mascot-img {
        width: 75px;
    }
}

@media (max-width: 768px) {
    .mascot-container {
        top: auto;
        bottom: 190px;
        left: 10px;
    }

    .mascot-img {
        width: 123px;
    }
}

@media (max-width: 480px) {
    .mascot-container {
        bottom: 180px;
        left: 8px;
    }

    .mascot-img {
        width: 113px;
    }
}


    .banner-section .owl-nav button{
            width: 30px;
            height: 30px;
            background: #ffffff75 !important;

    }

    .banner-section.banner-one .owl-item{
        margin-top:0px !important;
    }