/* CATN hero slider - NukeViet 4 module slider */
.catn-hero,
.catn-hero * {
    box-sizing: border-box;
}

.catn-hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    overflow: hidden;
    margin: 0 0 15px;
}

.catn-hero-main,
.catn-hero-slider,
.catn-hero-slider .owl2-stage-outer,
.catn-hero-slider .owl2-stage,
.catn-hero-slider .owl2-item,
.catn-hero-slide {
    height: 380px;
    border-radius: 10px;
}

.catn-hero-slide {
    position: relative;
    overflow: hidden;
    background: #063a32;
}

.catn-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.01);
}

.catn-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(1, 41, 52, .86) 0%, rgba(1, 54, 61, .66) 34%, rgba(1, 54, 61, .20) 68%, rgba(0, 0, 0, .04) 100%);
}

.catn-hero-content {
    position: absolute;
    z-index: 2;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 440px);
    max-width: 680px;
    color: #fff;
}

.catn-hero-content h2,
.catn-hero-content h3,
.catn-hero-content p {
    color: #fff;
}

.catn-hero-content h2 {
    margin: 0 0 6px;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.catn-hero-content h3 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.catn-hero-content p {
    max-width: 660px;
    margin: 0 0 23px;
    font-size: 16px;
    line-height: 1.65;
}

.catn-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 11px 20px;
    border-radius: 5px;
    background: #007a45;
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
    transition: .2s ease;
}

.catn-hero-btn:hover {
    background: #c11815;
    color: #fff !important;
}

.catn-hero-btn-disabled {
    opacity: .8;
    cursor: default;
}

.catn-service-box {
    padding: 20px 17px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    border: 1px solid #e6e6e6;
}

.catn-service-box h3 {
    margin: 0 0 15px;
    color: #006b3f;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.catn-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.catn-service-grid a {
    display: flex;
    min-height: 82px;
    padding: 9px 6px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 1px solid #e1e8e4;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: .2s ease;
}

.catn-service-grid a:hover {
    border-color: #0a7b47;
    color: #006b3f;
    box-shadow: 0 5px 13px rgba(0, 107, 63, .12);
    transform: translateY(-1px);
}

.catn-service-grid i {
    color: #006b3f;
    font-size: 25px;
    line-height: 1;
}

.catn-report-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    padding: 20px 17px;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    background: linear-gradient(135deg, #00814a 0%, #005e36 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.catn-report-info h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
}

.catn-report-info p {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    line-height: 1.35;
}

.catn-report-info a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    background: #c11815;
    color: #fff !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
}

.catn-report-icon {
    flex: 0 0 70px;
    text-align: right;
}

.catn-report-icon i {
    color: #f4c542;
    font-size: 62px;
    line-height: 1;
}

/* Owl controls */
.catn-hero .owl2-controls {
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    bottom: 26px;
    pointer-events: none;
}

.catn-hero .owl2-dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.catn-hero .owl2-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .70);
    cursor: pointer;
}

.catn-hero .owl2-dot.active {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.catn-hero .owl2-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 23px;
    pointer-events: none;
}

.catn-hero .owl2-prev,
.catn-hero .owl2-next {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #007a45;
    color: transparent;
    font-size: 0;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.catn-hero .owl2-prev {
    left: calc(50% - 80px);
}

.catn-hero .owl2-next {
    right: calc(50% - 80px);
}

.catn-hero .owl2-prev:before,
.catn-hero .owl2-next:before {
    font-family: FontAwesome;
    color: #fff;
    font-size: 17px;
}

.catn-hero .owl2-prev:before {
    content: "\f104";
}

.catn-hero .owl2-next:before {
    content: "\f105";
}

.catn-hero .owl2-prev:hover,
.catn-hero .owl2-next:hover {
    background: #c11815;
}

@media (max-width: 1199px) {
    .catn-hero,
    .catn-hero-main,
    .catn-hero-slider,
    .catn-hero-slider .owl2-stage-outer,
    .catn-hero-slider .owl2-stage,
    .catn-hero-slider .owl2-item,
    .catn-hero-slide {
        height: 390px;
        min-height: 390px;
    }

    .catn-hero-content {
        left: 34px;
        width: calc(100% - 400px);
    }

    .catn-hero-content h2 {
        font-size: 30px;
    }

    .catn-hero-content h3 {
        font-size: 27px;
    }

    .catn-hero-right {
        right: 18px;
        width: 316px;
    }
}

@media (max-width: 991px) {
    .catn-hero {
        height: auto;
        min-height: 0;
        overflow: visible;
        background: #f5f7f6;
    }

    .catn-hero-main,
    .catn-hero-slider,
    .catn-hero-slider .owl2-stage-outer,
    .catn-hero-slider .owl2-stage,
    .catn-hero-slider .owl2-item,
    .catn-hero-slide {
        height: 360px;
        min-height: 360px;
    }

    .catn-hero-content {
        left: 26px;
        width: 72%;
        max-width: 620px;
    }

    .catn-hero-right {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        padding: 15px;
        background: #f5f7f6;
    }

    .catn-service-box,
    .catn-report-box {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .catn-hero .owl2-controls {
        bottom: 22px;
    }
}

@media (max-width: 767px) {
    .catn-hero-main,
    .catn-hero-slider,
    .catn-hero-slider .owl2-stage-outer,
    .catn-hero-slider .owl2-stage,
    .catn-hero-slider .owl2-item,
    .catn-hero-slide {
        height: 330px;
        min-height: 330px;
    }

    .catn-hero-overlay {
        background: linear-gradient(90deg, rgba(1, 41, 52, .88) 0%, rgba(1, 54, 61, .66) 70%, rgba(1, 54, 61, .28) 100%);
    }

    .catn-hero-content {
        left: 18px;
        width: calc(100% - 36px);
    }

    .catn-hero-content h2 {
        font-size: 24px;
    }

    .catn-hero-content h3 {
        margin-bottom: 12px;
        font-size: 21px;
    }

    .catn-hero-content p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 1.55;
    }

    .catn-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .catn-hero-main,
    .catn-hero-slider,
    .catn-hero-slider .owl2-stage-outer,
    .catn-hero-slider .owl2-stage,
    .catn-hero-slider .owl2-item,
    .catn-hero-slide {
        height: 310px;
        min-height: 310px;
    }

    .catn-hero-content h2 {
        font-size: 21px;
    }

    .catn-hero-content h3 {
        font-size: 19px;
    }

    .catn-hero-btn {
        min-height: 38px;
        padding: 10px 15px;
        font-size: 12px;
    }

    .catn-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catn-service-grid a {
        min-height: 76px;
    }

    .catn-report-box {
        align-items: center;
    }

    .catn-report-icon {
        flex-basis: 54px;
    }

    .catn-report-icon i {
        font-size: 48px;
    }

    .catn-hero .owl2-dots {
        gap: 8px;
    }

    .catn-hero .owl2-prev {
        left: calc(50% - 72px);
    }

    .catn-hero .owl2-next {
        right: calc(50% - 72px);
    }
}
