@font-face { font-family: roboto; src: url(../css/fonts/roboto-regular.ttf); font-weight: 400; }
@font-face { font-family: roboto; src: url(../css/fonts/roboto-bold.ttf); font-weight: 700; }
@font-face { font-family: bachdanang; src: url(../css/fonts/uvn-bach-da-nang.ttf); font-weight: 400; }

:root{
	--green:#074733;
	--green-light:#257e4e;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: roboto !important;
    font-size: 16px;
    overflow-x: hidden;
}

.error-message { color:#FF0; font-size:.8em; margin-top:3px; }

a {
    text-decoration: none !important;
}
.mySwiper::part(button-next), .mySwiper::part(button-prev) { color:#FFF; text-shadow:0 0 5px #666; -webkit-filter:drop-shadow( 1px 1px 3px rgba(0, 0, 0, .7));
  filter:drop-shadow( 1px 1px 3px rgba(0, 0, 0, .7)); }
/* .swiper-button-next { background-color:#F00!important; }
.swiper-button-next svg, .swiper-button-prev svg { color:#FFF!important; }
.navbar-toggler:focus { box-shadow:unset!important; } */
/* SCROLL UP */
.scrollup {
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    line-height: 48px;
    position: fixed;
    bottom: 20px !important;
    right: 10px;
    display: none;
    font-size: 1.5em;
    text-align: center;
    transform: rotate(90deg);
    background-color: #004735 !important;
    border-radius: 100%;
    border: 1px solid #fff;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    z-index: 9999;
}

.scrollup:hover {
    background-color: var(--blue);
}

.scrollup:before {
    content: "\e91a";
    font-family: "icomoon" !important;
    color: #FFF;
    vertical-align: top;
    display: inline-block;
    margin-top: 1.5px;
}

/* / SCROLL UP */

header {
    width: 100%;
    max-width: 100%;

}

i {
    padding-right: 1rem;
}

.bars {
    padding-right: 0;
}

h2 {
    font-weight: 1000 !important;
}
h1, h2, h3, h1 strong, h2 strong, h3 strong { font-family:"bachdanang"; font-weight:normal!important; }

.container-navbar {
    height: 100% !important;
}

.container.heading {
    padding: 10px;
    margin-top: 50px;
}

.heading .container-title {
    margin-top: 40px;
    color: #004735;
    font-weight: 700;
}

.articles .article h2 a {
    font-size: 18px;
    line-height: 140%;
}

.main-content .contact {
    padding: 30px 30px 0 30px !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.main-content .contact .table {
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;

}

.main-content .contact label span {
    background-color: transparent;

}

.main-content .contact .logo {
    width: 100%;
    max-width: 200px;
    background-color: transparent;
}

.main-content .contact h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.main-content .contact label {
    background-color: transparent;
}

.main-content .contact .button-submit {
    background-color: transparent;
}

.main-content .contact .read-more {
    padding: 7px 15px;
    background-color: #198754;
}

.main-content .contact .c-content ul {
    list-style: none;
    padding: 0;
    background-color: transparent;
}

.main-content .contact .c-content ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.main-content .contact .c-content ul li strong {
    color: #333;
}

.main-content .contact .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-content .contact.contact-form input,
.main-content .contact .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #28a745;
    /* Xanh lá đậm hơn */
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.main-content .contact .contact-form input:focus,
.main-content .contact .contact-form textarea:focus {
    border-color: #218838;
    box-shadow: 0px 0px 5px rgba(40, 167, 69, 0.5);
    outline: none;
}

.main-content .contact .contact-form textarea {
    height: 120px;
    resize: none;
}

.main-content .contact .contact-form button {
    background-color: #28a745;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.main-content .contact .contact-form button:hover {
    background-color: #218838;
}

/*  */

.main-content .mc-others h4 {
    color: #004735;
    font-weight: 700;
}

.main-content .mc-others .mco-item .square-image {
    max-height: 300px;
}

.main-content .mc-others .mco-item {
    height: fit-content;
}

.main-content .mc-others .mco-item .mco-title {
	font-family:"roboto";
}

.main-content .mc-others .mco-item .mco-title a {
    font-size: 1em;
    font-weight: 700;
}

.main-content .mc-others .mco-item .mco-read-more {
    display: none !important;
}

.main-content .mc-others .mco-item .mco-read-more a::before {
    position: unset !important;
}

.main-content .mc-others .mco-item .mco-read-more {
    position: unset;
    padding: 0 15px;
    border-radius: 5px;
    color: #fff;
    background-color: #198754;
    margin-top: 15px;
}

.main-content .mc-others div.mco-item {
    border: 1px solid #c5c5c5;
    height: 100%;
}

.main-content .mc-others .mco-item .mco-title {
    display: inline-grid;
    width: 100%;
}


.tilte, .tilte-dich-vu {
    color: var(--green);
    display: inline-block;
	font-family:"bachdanang";
	font-weight:normal!important;
}

.tilte::after {
    content: "";
    display: block;
    width: 133%;
    /* Độ rộng đúng bằng chữ */
    height: 2px;
    /* Độ dày của đường gạch */
    background: repeating-linear-gradient(90deg, var(--green) 0px, var(--green) 5px, transparent 5px, transparent 10px);
    margin-top: 5px;
    /* Khoảng cách với chữ */

    left: 0;
    bottom: -5px;
    /* Dịch xuống dưới chữ */
}

.request-form button { width:100%; }

/* NAVBAR MENU */
nav {
    height: 60px;

}

.container-navbar {
    padding-right: 0 !important;
    padding-left: 0 !important;
    display: flex;
    align-items: center;
	height:50px;
}

.container-navbar button {
    margin-right: 1rem;
}

.navbar-logo {
    padding-left: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar-logo img { width:auto; height:50px; }

.navbar {
    background: transparent;
    width: 100vw;
    /* -webkit-backdrop-filter: blur(2px); */
    /* Làm mờ nền phía sau */
    /* backdrop-filter: blur(2px); */
    /* transition: 0.1s ease-in-out !important; */
    border-color: none;
    box-shadow: 0 0px 10px rgb(39, 49, 40);
}

#navbarNav {
    padding-top: 15px;
}

.navbar-nav .nav-link {
    font-weight: bold;
    font-size: 1em;
    color: #003300;
    transition: 0.3s;
	font-family:"bachdanang";
	font-weight:normal!important;
	letter-spacing:0.08em;
}

.nav-item {
    width: 150px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    align-items: center;
}

/* .navbar-nav .nav-link:hover, */
.navbar-nav .nav-link.active {
    background-color: #003300;
    color: white !important;
	border-radius:5px;
}


.banner {
    position: relative;
    width: 100%;
    height: auto;
}
.banner .owl-carousel {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.banner .square-image {
    position: relative;
    display: block;
}

.banner .square-image:before {
    content: "";
    display: block;
    width: 100%;
    height: auto;
    padding-top: 70%;
}

.banner .square-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.banner .owl-carousel .owl-nav {
    display: inline-block;
}

.banner .owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.banner .owl-carousel .owl-nav button.owl-next {
    left: unset;
    right: 0;
}

.banner .owl-carousel .owl-nav button i {
    color: var(--brown);
    font-size: 2em;
}
/* PUBLIC */
.banner-bg img {
    width: 100%;
    /* Chiều rộng bằng toàn bộ màn hình */
    height: auto;
    /* Giữ tỉ lệ hình ảnh */
    display: block;
    object-fit: cover;
    /* Đảm bảo hình ảnh không bị méo */
}

/* END PUBLIC */

/* SECTION 1 */

/* SECTION 2 */
.polygon-1 {
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: #cbe9dc;
    position: absolute;
    clip-path: polygon(0 0, 90% 0, 50% 100%, 0 100%);
    display: none;
}

.polygon-2 {
    z-index: 1;
    width: 100%;
    height: 90%;
	top:0;
    background-color: var(--green);
    position: absolute;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 80% 100%);
    display: none;
}

.wrap-home-section-2 {
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 4rem 0;
	width:96%;
	max-width:1250px;
}
.wrap-home-section-2 .img-fluid { margin-bottom:-100px; }

.container-gioi-thieu {
    position: relative;
    width: 100%;
}

.row-gioi-thieu {
    display: flex;
    background-color: #cbe9dc;
}

/* SECTION 3 */
.wrap-home-section-3 {
    margin: 0 auto;
    padding: 4rem 10rem 3rem 10rem;
    background-color: white;
}

.tilte-dich-vu::after {
    content: "";
    display: block;
    width: 100vw;
    /* Chiều rộng toàn màn hình */
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--green) 0px, var(--green) 5px, transparent 5px, transparent 10px);
    margin-top: 10px;
    position: absolute;
    left: 0;
}

.container-footer .service-item {
	width:80%!important;
	max-width:200px;
    height: 100%;
}
.container-footer .footer-map iframe { width:100%; height:300px; margin-top:10px; }

#section-3-dich-vu .service-item a { position:relative; width:100%; display: block; border-radius: 10px; overflow: hidden; }
#section-3-dich-vu .service-item a:before { content:""; padding-top:134.375%; display:block; width:100%; }
#section-3-dich-vu .service-item a:hover img { transform:scale(1.1); }
#section-3-dich-vu .service-item img { position:absolute; top:0; left:0; width: 100%; height:100%; object-fit: cover; transition:all .3s;  }


#section-3-dich-vu .service-item .content-tilte { text-align: center; margin-top: 10px; font-size: 18px; height: 25%; text-transform:capitalize; }



/* SECTION 4 */

.polygon-3 {
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: #d0ebe319;
    position: absolute;
    clip-path: polygon(80% 0, 100% 0, 100% 100%, 55% 100%);

}

.polygon-4 {
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--green);
    position: absolute;
}

.polygon-5 {
    z-index: 3;
    width: 100%;
    height: 100%;
    position: absolute;
    background: radial-gradient(circle at top left, rgba(53, 166, 76, 0.373) 15%, transparent 60%);
}


.wrap-home-section-4 {
    z-index: 10;
    padding: 4rem 10rem 4rem 10rem;
    color: white;
}

.tilte-tu-van::after {
    content: "";
    display: block;
    width: 100vw;
    /* Chiều rộng toàn màn hình */
    height: 2px;
    background: repeating-linear-gradient(90deg, white 0px, white 5px, transparent 5px, transparent 10px);
    margin-top: 10px;
    position: absolute;
    left: 0;
}

.container-tu-van {
    position: relative;
    width: 100%;
}

.row-tu-van {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Căn giữa theo chiều ngang */
    align-items: center;
}



/* SECTION 5 */
.wrap-home-section-5 {
    margin: 0 auto;
    padding: 4rem 10rem 3rem 10rem;
    background-color: white;
}

#section-5-tin-tuc .tilte-news {
    margin-bottom: 8px !important;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3rem;
}
#section-5-tin-tuc .wrap-home-section-5 .mySwiper { margin-top:0; }

#section-5-tin-tuc .news-item {
    transition: all 0.4s;
}

#section-5-tin-tuc .news-item:hover {
    transform: translateY(-5px);
}
#section-5-tin-tuc .news-item .tilte-news {
    transition: all 0.4s;;
}
#section-5-tin-tuc .news-item .tilte-news:hover {
   color: #198754;
}

#section-5-tin-tuc .content-news {
    margin-bottom: 40px !important;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* Giới hạn tối đa 4 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Thêm dấu "..." khi bị cắt */
    max-height: 8rem;
    /* Đảm bảo không bị quá dòng */
}

#section-5-tin-tuc .news-item img {
    width: 100%;
    height: 195px;
    object-fit: cover;
}

#section-5-tin-tuc .news-item .tilte-news {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

/* SWIPER */
.swiper-pagination-clickable {
    bottom: -10px !important;
}


/* FOOTER */
#footer {
    background-color:var(--green-light);
    color: white;
}

#footer .container-footer {
    padding: 20px;
	line-height:1.5em;
	margin-top:0!important;
    /* padding-bottom: 4rem; */
}
#footer .container-footer .thong-tin-lien-he {
	line-height:2em;
}
#footer .container-footer .mb-5 { margin-bottom:10px!important; }
#footer h4 { font-size:1.5em; line-height:1.5em; padding-bottom:10px; margin-bottom:20px; border-bottom:2px dashed #FFF; }

.footer-copyright { background-color:var(--green); color:#FFF; font-size:.8em; }

/* SUPPORT ICONS */
.support-icons { position:fixed; bottom: 80px; right:5px; z-index:9999; width:auto; height:auto; text-align:right; line-height:40px; overflow:hidden; }
.support-icons.messenger { bottom:180px; }
.support-icons a span {display:inline-block; background-color:#FFF; color:#000; padding:0 10px; border-radius:5px; line-height:1.5em; margin-right:5px; box-shadow:0 0 2px #666; }
.support-icons [class^="icon-"] {display:inline-block; width:45px; height:45px; line-height:45px; background-color:#FFF; color:#000; border-radius:100%; text-align:center; vertical-align:middle; margin-bottom:5px; transition:all 1s; font-size:1.5em; margin-right:5px; }
.support-icons [class^="icon-"]:hover {background-color:var(--yellow); color:#FFF;}
.support-icons .icon-phone { background-color:var(--green); color:#FFF; }
.support-icons .zs-container img { width:60px; height:auto; }
.support-icons div.si-container a i { display:none; }
.support-icons div.si-container {height:0; width:auto; overflow:hidden; transition:height 1s;}
.support-icons div.si-container a { font-size:1.2em; margin-left:1px; }
.support-icons.active div.si-container { height:90px; }
.support-icons.active div.si-container.rows-2 { height:90px; }
.support-icons.active div.si-container.rows-3 { height:135px; }
.support-icons.active > a span {display:none;}
.support-icons.active div.si-container a:hover span { background-color:var(--green); color:#FFF; }
.support-icons.active .icon-support { transform:rotate(45deg); }


/* ------- MEDIA --------- */
@media (min-width: 2000px) {
	
    .wrap-home-section-5, .wrap-home-section-3,
    .wrap-home-section-2,
    .container-footer {
        max-width: 1300px !important;
    }
}

@media (min-width: 1024px) {
    .navbar-nav .nav-link:hover {
        background-color: #003300;
        color: white !important;
        border-radius: 5px;
    }
}

@media (max-width: 1024px) {
	.wrap-home-section-2, .wrap-home-section-3, .wrap-home-section-4, .wrap-home-section-5 {
        padding: 3rem 2rem 2rem;
    }
}

@media (max-width: 993px) {
    .navbar-nav {
        background-color: white;
        display: flex;
        width: 90%;
        /* Kích thước vừa với nội dung bên trong */
        margin: auto;
        /* Đẩy menu về bên phải */
        gap: 5px;
        /* Khoảng cách giữa các mục menu */
        padding: 10px 0 !important;
		box-shadow:0 0 5px #666;
		border-radius:5px;
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: start;
    }

    .navbar-nav .nav-link {
        text-decoration: none;
        padding: 10px 15px;
        /* Tạo khoảng cách dễ nhìn hơn */
        color: #333;
    }
}

@media (max-width: 576px) {
    #footer .container-footer {
        margin-top: 0;
        padding-bottom: 2rem;
    }
}

@media (min-width: 576px) {
    .polygon-1 {
        display: block;
    }

    .polygon-2 {
        display: block;
    }

    .row-gioi-thieu {
        background-color: #fff;
    }
}


@media (min-width: 480px) {
    .main-content .mc-others div.mco-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
	
	.banner .square-image:before { padding-top:42%; }
		
    .main-content .mc-others div.mco-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
	
	.navbar-expand-lg .navbar-toggler { display:none!important; }
    #navbarNav {
		width:auto;
		opacity:1; 
        display: inline-flex;
        width: auto !important;
        justify-content: center;
        padding: 0;
        margin: 0 auto;
    }
	.navbar-collapse { flex-basis:unset!important; flex-grow:unset!important; }
	.navbar-nav { width:auto; display:inline-block; flex-direction:row!important; box-shadow:unset; background:unset; font-size:.8em; padding:0 0 0 50px!important; }
	.navbar-nav .nav-item { display:inline-block; width:auto; padding:0; }
	.navbar-nav .nav-link { font-size:inherit; padding:10px 20px; }
	
	#footer .container-footer { padding:50px 20px; }
	
	.container-footer .service-item { width:90%!important; max-width:300px; }
}

@media (min-width: 996px) {
	.container-navbar { justify-content:left!important; }
	#navbarNav { margin:0 0 0 50px; width:100%!important; justify-content:start; }
	#navbarNav .navbar-nav { width:100%; justify-content:right; font-size:.9em; }
	#navbarNav .navbar-nav .nav-item { padding:0 5px; }
	#navbarNav .navbar-nav .nav-item a { padding:10px 30px; }
    .main-content .mc-others div.mco-items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
	.wrap-home-section-2  { padding:5rem 0; }
	.wrap-home-section-2 .text-desc-gt { max-width:450px; }
	
	.container-footer .footer-phone { display:inline-block; margin-right:20px;  }
	.container-footer .footer-map iframe { height:200px; }
}

@media (min-width:1200px){
	.container-navbar { justify-content:center!important; }
	#navbarNav { width:auto!important; margin:0; }
	#navbarNav .navbar-nav { font-size:1em; }
	#navbarNav .navbar-nav .nav-item { padding:0 10px; }
	#navbarNav .navbar-nav .nav-item a { padding:7px 35px; }
	
	.navbar { height:80px; }
	.navbar-nav { padding:0 0 0 100px; }
	.navbar-logo img { height:76px; }
	
	
	.wrap-home-section-2 { max-width:1250px; }
	.wrap-home-section-2 .img-fluid { height:400px; margin-bottom:-150px; margin-left:-100px!important; }
	
	.wrap-home-section-3, .wrap-home-section-4, .wrap-home-section-5 {
        padding: 4rem 2rem 2rem;
		max-width:1250px;
    }
	
	.container-footer .footer-phone-list { padding-left:30px; }
	.container-footer .footer-map { padding-left:20px; }
}

@media (min-width:1400px){
	.wrap-home-section-2 .text-desc-gt { max-width:600px; }
	.wrap-home-section-2 .img-fluid { height:500px; }
}