﻿/*!
 * home.css
 * Version - 1.0
 * Website: NoiThatPhuXuyen.Com
 * Author: Ghida
 * Copyright (c) 2025 gdavietnam.com
 */
.logo h1 {
  margin: 0;
  font-size: 1rem;
}

.gd_module {
  padding: 40px 0 50px;
}
.gd_module .gd_link {
  margin-top: 30px;
}
.gd_banner {
  clear: both;
}
.gd_banner_image {
  margin: 0;
}
.gd_banner .owl-nav [class^="owl-"] {
  color: #fff;
  line-height: 1;
  opacity: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: all 0.3s ease-in 0s;
  visibility: hidden;
  z-index: 100;
  height: 65px;
  width: 40px;
  cursor: pointer;
  font-size: 48px;
}
.gd_banner .owl-prev {
  left: 40px;
}
.gd_banner .owl-next {
  right: 40px;
}
.gd_banner:hover .owl-nav [class^="owl-"] {
  opacity: 1;
  visibility: visible;
}
.gd_banner .owl-nav.disabled {
  display: none;
}
.gd_banner .owl-dots {
  position: absolute;
  bottom: 25px;
  left: calc((100vw - var(--content-size)) / 2);
  display: flex;
  padding: 3px 10px;
  border-radius: 5px 5px 0 0;
}
.gd_banner .owl-dots::after,
.gd_banner .owl-dots:before {
  content: "";
  bottom: 0;
  position: absolute;
  display: none;
}
.gd_banner .owl-dots::after {
  border-left: 0 solid transparent;
  border-right: 15px solid transparent;
  right: -14px;
  border-bottom: 24px solid #fff;
}
.gd_banner .owl-dots::before {
  border-left: 15px solid transparent;
  border-top: 0 solid transparent;
  border-bottom: 24px solid #fff;
  left: -14px;
}
.gd_banner .owl-dot {
  padding: 5px;
}
.gd_banner .owl-dots .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #fff;
  transition: all 300ms ease-in 0ms;
}
.gd_banner .owl-dot.active span {
  width: 50px;
}
.gd_box_testimonial .owl-dots {
  background: none;
  bottom: -20px;
}
.owl-nav.disabled {
  display: none;
}
.gd_chooses {
  border-radius: 5px;
  padding: 10px 0;
}
.gd_choose__item {
}
.gd_choose__inner {
  transition: .2s border-color;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  border: 1px solid #a1a1a1;
  border-radius: 5px;
  height: 100%;
  transition: all ease-in 0.2s;
}
.gd_choose__inner:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.choose_icon {
    max-height: 120px;
    overflow: hidden;
    padding: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gd_choose__inner .img-fluid {
  max-width: 100px;
}
.choose_title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: normal;
  display: block;
}
.choose_desc {
    font-size: 1rem;
}
.gd_module__about {
  position: relative;
  clear: both;
}
.gd_module__about .video-about {
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
}
.gd_module__about .video-about img {
  display: block;
}
.gd_module__about .video-wrap {
  border: none;
  margin: 0;
  border-radius: 0;
}
.gd_module__about .gd_closed {
  position: absolute;
  color: #fff;
  top: 0;
  right: 10px;
}
.gd_module__about .video-link {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 50%;
  color: #fff;
  right: 0;
  z-index: 1;
  line-height: 100px;
  text-align: center;
  margin-right: -60px;
  border-radius: 50%;
  background: #263d84;
  font-size: 35px;
  border: 8px solid #ebebeb;
  cursor: pointer;
  box-sizing: content-box;
  margin-top: -60px;
}
.gd_module__about .video-link i.fas.fa-play {
  margin-left: 14px;
  transition: 0.9s;
  transform-origin: 40% 50%;
}
.gd_module__about .video-link:hover i.fas.fa-play {
  transform: rotateZ(360deg);
}
.gd_module__about .gd_box__title .gd_text {
  text-align: left;
}
.gd_about_content .gd_desc {
  padding-top: 50px;
  padding-bottom: 35px;
}
.gd_about_content .gd_desc h1, .gd_about_content .gd_desc h2 {
  font-size: 30px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}
.gd_about_content .gd_desc blockquote {
  font-weight: 600;
  padding-left: 15px;
  border-left: 2px solid #008ed4;
}
.gd_about_content .gd_desc ol {
  list-style: none;
  padding: 0;
}
.gd_about_content .gd_desc li {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 50px;
  padding-top: 10px;
}
.gd_about_content .gd_desc li::before {
  content: attr(data-index);
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #263d84;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  font-size: 16px;
  left: 0;
  top: 0;
}
.gd_about_content .gd_desc a:first-child {
  margin-left: 0;
}
.gd_about_content .gd_desc a:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, .25);
  transform: translateY(-.75rem);
}
.gd_module__article {
  background-color: #f5f5f5;
}
.gd_module__article .gd_box__title {
  text-align: center;
}
.gd_post__item {
  margin-bottom: 30px;
}
.gd_post__image {
  height: calc(300/450 * (var(--content-size)/3 - 30px));
  background: -webkit-linear-gradient(45deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 2px 5px 10px 0px rgba(0,0,0, 0.3);
}
.gd_post__image a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.gd_post__image a::before {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border: 1px solid #fff;
  content: '';
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  -webkit-transform: translate3d(-15px, 0, 0);
  transform: translate3d(-15px, 0, 0);
  z-index: 1;
  display: none;
}
.gd_post__image:hover a::before {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.gd_post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  max-width: none;
  width: calc(100% + 60px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
}
.gd_post__image:hover img {
  opacity: .6;
  filter: alpha(opacity=60);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.gd_post__title .gd_text {
  font-size: 22px;
  color: #222;
  display: -webkit-box !important;
  max-width: 100%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gd_post__title .gd_text:hover {
  color: var(--color-primary);
}

/*********************************************
    Module du an
**********************************************/
.gd_module__project {
  background: var(--color-primary);
  color: #fff;
  margin-top: 30px;
  margin-bottom: 30px;
}
.gd_module__project .gd_box__title .gd_text {
  color: #fff;
}
.gd_module__project .gd_box__title .gd_text::after {
  background-color: var(--color-secondary);
}
.gd_filter_button_group {
}
.gd_button_group{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 30px;
}
    .gd_filter_button_group .gd_btn {
      font-size: 1rem;
      color: #222;
      border-radius: 0;
      margin: 0 10px;
      padding: 10px 20px;
      text-transform: uppercase;
      font-weight: 500;
      display: block;
      border: 1px solid #fff;
    }
        .gd_filter_button_group .gd_btn.active {
            color: #fff;
            background-color: var(--color-primary);
            border-color: var(--color-primary);
        }
        .gd_filter_button_group .gd_btn.focus, .gd_filter_button_group .gd_btn:focus {
            box-shadow: none;
        }
        .gd_filter_button_group .gd_btn:hover {
          background-color: var(--color-secondary);
          border-color: var(--color-secondary);
          color: #fff;
        }
        .gd_filter_button_group .gd_btn a {
          color: #fff;
        }
.gd_project__item {
  margin-bottom: 30px;
}
.gd_project__image {
  height: calc(300/400 * (var(--content-size)/3 - 30px));
  background: -webkit-linear-gradient(45deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 2px 5px 10px 0px rgba(0,0,0, 0.3);
}
.gd_project__image a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.gd_project__image a::before {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border: 1px solid #fff;
  content: '';
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  -webkit-transform: translate3d(-15px, 0, 0);
  transform: translate3d(-15px, 0, 0);
  z-index: 1;
  display: none;
}
.gd_project__image:hover a::before {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.gd_project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  max-width: none;
  width: calc(100% + 60px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
  transition: opacity 0.35s, transform 0.45s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
}
.gd_project__image:hover img {
  opacity: .6;
  filter: alpha(opacity=60);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.gd_project__title .gd_text {
  font-size: 22px;
  color: #fff;
  display: -webkit-box !important;
  max-width: 100%;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.45;
}
.gd_project__title .gd_text:hover {
  color: var(--color-secondary);
}
/*********************************************
    Module dịch vụ
**********************************************/
.gd_service_items {
    display: flex;
}
.gd_service_item {
    flex: 1;
    padding: 0 10px;
}
.gd_service_inner {
  overflow: hidden;
  display: block;
  color: #fff;
  position: relative;
  height: 550px;
}
.service_content {
    position: absolute;
    bottom: 0;
    padding: 1rem;
    z-index: 1;
}
.service_content .gd_text {
  font-size: 1.125rem;
  margin-bottom: 0;
}
.service_content .gd_subtext {
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.gd_service_inner::after {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    background: #00000082;
    top: 0;
    left: 0;
}
.gd_service_inner img {
  transition: 0.5s;
  height: 100%;
  object-fit: contain;
}
.gd_service_inner:hover img {
    transform: scale(1.1);
}
.service_no {
    position: absolute;
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff80;
    z-index: 1;
    right: 10px;
    top: 10px;
    line-height: 1;
}
.gd_service__desc {
    max-width: 80%;
    text-align: center;
    margin: auto;
    margin-bottom: 2rem;
}
/*********************************************
    Module sản phẩm
**********************************************/

.gd_p__image {
    height: 250px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-primary);
}
.gd_p__image img {
  height: 100%;
  object-fit: cover;
  transition: .3s ease all;
  width: 100%;
}
.gd_p__image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-left: 30px solid var(--color-primary);
  border-bottom: 30px solid transparent;
}
.gd_p__image::before {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #2a2a2ad6;
  top: 0;
  left: 0;
  content: '';
  transition: .3s ease all;
  opacity: 0;
}
.gd_p__image .gd_readmore {
  position: absolute;
  width: max-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-30%);
  z-index: 2;
  transition: .3s .2s ease all;
  opacity: 0;
}
.gd_p__image:hover::before {
  opacity: 1;
}
.gd_p__image:hover .gd_readmore {
  opacity: 1;
  transform: translate(-50%,-50%);
}
.gd_p__image:hover img {
  transform: scale(1.1);
}


/*********************************************
   Responsive
**********************************************/

@media screen and (min-width:1200px) {
.gd_choose__item {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    margin-bottom: 30px;
}
  .gd_choose__inner {
    padding: 10px;
  }
}
@media screen and (min-device-width:1200px) and (max-device-width:1440px) {
  .gd_services::before {
    width: calc(100% - 110px);
    left: 100px;
  }
  .choose_title {
    font-size: 1.25rem;
  }
  .gd_post__image {
    height: calc(30/45 * (var(--content-size)/3 - 30px));
  }
  .gd_choose__item {
    border-right: 1px solid #ccc;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media only screen and (max-width:1024px) and (min-width:768px) {
  .container {
    max-width: 100%;
    padding-left: 50px;
    padding-right: 50px;
  }
  .owl-item.active.center~.owl-item.active .gd_video__inner {
    padding-left: 0;
    padding-right: 90px;
  }
  .gd_module {
    padding: 0 0 40px;
  }
  .gd_choose__inner {
    flex-flow: column;
    text-align: center;
    padding: 0;
  }
  .choose_icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .widget_map,
  .widget_qc {
    margin-bottom: 40px;
  }
  .widget_map .link_map img.img-fluid {
    height: 30px;
  }
  .widget_map .img_map img {
    height: 100%;
    object-fit: cover;
  }
  .gd__p_item:nth-child(6) {
    display: none;
  }
  .gd_chooses {
    border: none;
  }
}
@media screen and (max-device-width:767px) {
  
  .gd_post__title .gd_text {
    font-size: 1.25rem;
  }
  .cta_hotline {
    display: none;
  }
  .gd_services {
    padding: 0;
    background: none;
  }
  .gd_choose__item {
    margin-bottom: 30px;
  }
  .choose_title {
    font-size: 1.25rem;
  }
  .gd_module__about {
    padding: 30px 0 0;
  }
  .gd_module__about .video-link {
    margin-right: -50px;
    right: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
  }
  .gd_about_content {
    margin-top: 30px;
  }
  .gd_module__about .video-about img {
    margin: auto;
  }
  .gd_about_content .gd_desc {
    padding: 0;
  }
  .gd_post__image {
    height: calc(30/45 * (var(--content-size)/2 - 30px));
  }
  .gd_service__image {
    height: calc(30/45 * (var(--content-size)/2));
  }
  .gd_service__item,
  .gd_post__item {
    margin-bottom: 30px;
  }
  .gd_video__inner {
    height: calc(300/450 * (var(--content-size)/2 - 30px));
    padding: 30px 0 30px 90px;
  }
  .owl-item.active.center~.owl-item.active .gd_video__inner {
    padding-left: 0;
    padding-right: 90px;
  }
  .gd_video__content {
    bottom: 45px;
  }
  .gd_service_items {
        flex-wrap: wrap;
        margin: 0 -5px;
  }
  .gd_service_item {
    flex: 0 0 50%;
    padding: 0 5px;
    margin-bottom: 10px;
  }
  .gd_readmore {
    padding: 7px 15px;
  }
}
@media only screen and (max-width:767px) and (min-width:577px) {
  .gd__p_item {
    flex: 0 0 33%;
    max-width: 33%;
    margin-bottom: 10px;
  }
  .gd__p_item:nth-child(10) {
    display: none;
  }
  .gd__p_content {
    padding: 0 5px 5px;
  }
}
@media screen and (max-width:576px) {
  .gd_p__image {
  height: 200px;
}
  .gd_button_group {
    padding: 0;
    flex-wrap: nowrap;
  }
  .gd_module__project .gd_box__title .gd_text {
    border: none;
  }
  .gd_project__image {
    height: calc(300/400 * (var(--content-size) - 30px));
  }
  .gd__p_item {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 10px;
  }
  .gd__p_content {
    padding: 0 5px 5px;
  }
  .gd_banner img.bg_slider {
    height: auto;
    width: 100%;
    max-width: none;
  }
  .gd_module {
    padding: 30px 0 30px;
  }
.gd_box__title .gd_text {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
  .gd_module__choose {
    background-size: cover;
  }
.gd_module__choose .gd_box__title {
  background-size: 100% auto;
  padding-top: 0;
  text-align: center;
}
  .gd_module__choose .gd_box__title .gd_text {
    margin-bottom: 30px;
  }
.gd_choose__item {
  padding: 0 15px;
  margin-bottom: 30px;
}
  .gd_choose__inner {
    margin-bottom: 0;
    height: 100% !important;
    padding: 15px 10px;
    justify-content: flex-start;
  }
  .choose_icon {
    flex: 0 0 65px;
    overflow: visible;
  }
  .gd_module__about {
    padding-bottom: 0;
  }
  .gd_module__about .video-link {
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    margin: 0;
  }
  .gd_about_image {
    display: none;
  }
  .gd_about_content {
    margin-top: 0;
  }
  .gd_about_content .gd_desc {
    padding: 10px 0 0;
  }
  .gd_module__about .gd_box__title .gd_text {
    margin-bottom: 15px;
  }
  .video-about .img-fluid {
    max-width: 100%;
    margin: auto;
  }
  .gd_about_content .gd_desc li {
    padding-top: 0;
  }
  .gd_about_content .gd_desc a {
    margin-left: 0;
    text-align: center;
    width: 210px;
    float: left;
  }
  .gd_service__item {
    margin-bottom: 30px;
  }
  .gd_module__article .gd_post__title {
    margin-left: 15px;
  }
  .gd_module__article .gd_post__inner {
    display: flex;
    margin-bottom: 1rem;
    background: none !important;
  }
  .gd_module__article .gd_post__image {
    flex: 0 0 150px;
    height: 100px;
    margin: 0;
  }
  .gd_service__desc {
    max-width: 100%;
  }
  .gd_service_inner {
    height: 350px;
  }
}
@media screen and (max-device-width:414px) {
  .module_article_tab .gd_post__excerpt {
    display: none;
  }
}
@media screen and (max-device-width:375px) {
  .gd_choose__item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}