/********** Template CSS **********/
:root {
    --primary: #6984c3;
    --secondary: #525368;
    --light: #EEEEEE;
    --lightpink: #F3D0D7;
    --dark: #20325a;
    --color-default: #364d59;
    --color-primary: #e71a1a;
    --color-secondary: #52565e;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
font-weight: 500 !important;
}

.h1-larger h1{
    font-size: 5rem;
}



/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    text-align: left;
    /* background: rgba(105, 132, 195, .6); */
    z-index: 1;
}

.carousel-caption .title {
    top: 00px;
    margin: 0 100px;
    left: 300px;
    width: 700px;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* text-align: left; */
    /* background: rgba(105, 132, 195, .6); */
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    /* border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary); */
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 55%;
        object-fit: cover;
    }
}

.page-header {
    /* background: linear-gradient(rgba(105, 132, 195, .6), rgba(105, 132, 195, .6)), url(../img/display/bottom_img.jpg) center center no-repeat; */
    background: url(../img/display/bottom_img.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-about {
    background: url(../img/display/bottom_img.jpg) center center no-repeat; 
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #20325a;
}

.breadcrumb-item,
.breadcrumb-item a {
    font-size: 18px;
    color: #6984C3;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    /* font-size: 18px;
    color: #6984C3; */
}


/*** Top Feature ***/
@media (min-width: 900px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

@media (max-width: 900px) {
    .top-feature {
        position: relative;
        margin-top: -200px;
        width: 100%;
        z-index: 1;
    }
}

/*** Facts & Quote ***/
/* .facts,
.quote {
    background: rgba(105, 132, 195, .6);
} */


/*** Service ***/
.service-container {
    display: flex;
    flex-wrap: wrap;
}

.service-card {
    position: relative;
    width: 25%;
    margin-right: 0%;
    margin-bottom: 20px;
}

.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item .service-text .title {
    text-align: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    height: 80px;
}

.service-item .service-text .describe {
    text-align: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    height: 200px;
}

@media (min-width: 1200px) {
    .service-item .service-text .describe {
        height: 160px;
    }
}

.service-item:hover .service-text {
    background: rgba(105, 132, 195, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    /* background: var(--lightpink); */
    background: #EEEEEE;
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--lightpink);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}

.service-item .service-text img{
    height: 75%;
    width: 75%;
}

/*** Process ***/
.process-item {
    position: relative;
    text-align: center;
}

.process-item .process-text {
    width: 100%;
    min-width: 10px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.process-item .process-text .describe {
    width: 100%;
    height: 120px;
    /* background: #FFFFFF; */
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s; */
}

@media screen and (max-width: 1200px) {
    .process-item .process-text .describe {
        height: 180px;
    }
}

@media screen and (max-width: 992px) {
    .process-item .process-text .describe {
        height: 260px;
    }
}

@media screen and (max-width: 768px) {
    .process-item .process-text .describe {
        height: 100px;
    }
}

.process-item .process-text .btn-square {
    width: 80px;
    height: 80px;
    background: transparent;
    transition: .5s;
}

.process-item:hover .process-text .btn-square {
    background: var(--lightpink);
}

.process-item .process-text .btn {
    width: 31px;
    height: 31px;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--lightpink);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.process-item .process-text .btn-text{
    font-weight: 900;
    font-size: larger;
}
  

/*** Project Portfolio ***/
#portfolio-flters {
    /* display: inline-block; */
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    /* transition: .5s; */
    /* border-bottom: 2px solid transparent; */
}

#portfolio-flters li:hover{
    color: var(--light);
    border-color: var(--dark);
    background-color: var(--primary);
}

#portfolio-flters li.active {
    color: var(--light);
    border-color: var(--dark);
    background-color: var(--dark);
}

.term a {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--light);
    cursor: pointer;
    /* transition: .5s; */
    /* border-bottom: 2px solid transparent; */
}

.term a:hover {
    color: var(--light);
    border-color: var(--dark);
    background-color: var(--primary);
}

.term a.active {
    color: white;
    border-color: var(--dark);
    background-color: var(--dark);
}

.container-service {
    display: flex;
    align-items: flex-start;
    width: 100%;
    /* margin: 0px auto; */
}

.container-service .container-menu {
    position: sticky;
    top: 100px;
    min-width: 145px;
    text-align: center;
}

.container-service .container-product {
    /* position: sticky; */
    top: 0px;
    width: 100%;
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
}

.portfolio-item {
    /* position: relative; */
    width: 25%;
    min-width: 260px;
    margin-right: 0%;
    margin-bottom: 20px;
    text-align: center;
}


@media screen and (max-width: 1440px) {
    .portfolio-container .portfolio-item {
        width: 45%;
    }
}

@media screen and (max-width: 800px) {
    .portfolio-container .portfolio-item {
        width: 90%;
    }
}

@media screen and (max-width: 630px) {
    .container-service .container-menu {
        top: 135px;
    }
    .container-service .container-product {
        left: -35px;
    }
}

/* @media screen and (max-width: 600px) {
    .portfolio-container .portfolio-item .text-center .title {
        height: 40px;
    }
    .h5 {
        font-weight: 100
    }
} */

.image-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 120%; /* 5:6 aspect ratio */
    position: relative;
    overflow: hidden;
  }
  
  .image-placeholder img {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

.text-left {
    height: 50px;
    text-align: left;
    padding-left: 15px;
    margin-bottom: 20px;
}

.text-center .title {
    height: 50px;
    text-align: center;
}

.text-center .price {
    height: 65px;
    text-align: center;
}

.program {
    min-height: 160px;
}

.portfolio-inner {
    position: relative;
}

.portfolio-inner .portfolio-text {
    position: relative;
    text-align: center;
    align-items: center;
}

/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E71A1A;
    background: #F3D0D7;
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.container-footer {
    /* display: flex; */
    /* align-items: flex-start; */
    /* margin: 0px auto; */
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
}

.container-service .col-sm-2 {
    position: sticky;
    top: 100px;
    width: 200px;
    text-align: center;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer-img {
    display: flex;
	justify-content: center;
	align-items: center;
	/* height: 400px; */
}

.footer-img img {
    width: 200px;
    display: block;
	margin: auto;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}





/*** About ***/
.about h2 {
    font-size: 48px;
    font-weight: 700;
    /* font-family: var(--font-secondary); */
    margin: 30px 0;
}

@media (min-width: 991px) {
    .about h2 {
        max-width: 65%;
        margin: 0 0 80px 0;
    }
}

.about .our-story {
    padding: 40px;
    background-color: #f5f6f7;
}

@media (min-width: 991px) {
    .about .our-story {
        padding-right: 35%;
    }
}

.about .our-story h4 {
    text-transform: uppercase;
    font-size: 18px;
    color: #838893;
}

.about .our-story h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.about .our-story p:last-child {
    margin-bottom: 0;
}

.about ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.about ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.about ul i {
    font-size: 20px;
    margin-right: 4px;
    color: var(--color-primary);
}

.about .watch-video i {
    font-size: 32px;
    transition: 0.3s;
    color: var(--color-primary);
}

.about .watch-video a {
    font-weight: 600;
    color: var(--color-secondary);
    margin-left: 8px;
    transition: 0.3s;
}

.about .watch-video:hover a {
    color: var(--color-primary);
}

.about .about-img {
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.about .about-text {
    text-align: center;
    position: absolute; 
    top: 100%;
    left: 0;
    right: 0;
}

@media (min-width: 992px) {
    .about .about-img {
        position: absolute;
        top: 0;
        right: 0;
    }
}

@media (max-width: 992px) {
    .about .about-img {
        position: relative;
        width: 100%;
        height: 200px;
    }
}


/* alt services */
.alt-services .img-bg {
    background-size: cover;
    background-position: center center;
    min-height: 400px;
  }
  
  .alt-services h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
  }
  
  .alt-services h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    left: 0;
    bottom: 0;
  }
  
  .alt-services .icon-box {
    margin-top: 50px;
  }
  
  .alt-services .icon-box i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-right: 25px;
    font-size: 28px;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    line-height: 0;
    box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: 0.3s;
  }
  
  .alt-services .icon-box:hover i {
    background-color: var(--color-primary);
    color: #fff;
  }
  
  .alt-services .icon-box h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  .alt-services .icon-box h4 a {
    color: #000;
    transition: 0.3s;
  }
  
  .alt-services .icon-box h4 a:hover {
    color: var(--color-primary);
  }
  
  .alt-services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
  }
  

/* our team */
.team .member {
    position: relative;
}
  
.team .member .member-img {
    margin: 0 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}
  
@media (max-width: 1024px) {
    .team .member .member-img {
        margin: 0 60px;
    }
}
  
.team .member .member-img img {
    position: relative;
    z-index: 1;
}
  
.team .member .member-img .social {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-bottom: 20px;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}
  
.team .member .member-img .social a {
    transition: 0.3s;
    color: #fff;
    font-size: 20px;
    margin: 0 8px;
}
  
.team .member .member-img .social a:hover {
    color: var(--color-primary);
}
  
.team .member .member-info {
    margin-top: 30px;
}
  
.team .member .member-info h4 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 18px;
    color: var(--color-secondary);
}
  
.team .member .member-info span {
    font-style: italic;
    display: block;
    font-size: 15px;
    color: #838893;
    margin-bottom: 10px;
}
  
.team .member .member-info p {
    margin-bottom: 0;
    font-size: 14px;
}
  
.team .member:hover .member-img .social {
    padding-bottom: 0;
    visibility: visible;
    opacity: 1;
}

/* section header */
.section-header {
    text-align: center;
    padding-bottom: 70px;
  }
  
  .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    color: #2e3135;
  }
  
  .section-header h2:before,
  .section-header h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--color-primary);
    display: inline-block;
  }
  
  .section-header h2:before {
    margin: 0 15px 10px 0;
  }
  
  .section-header h2:after {
    margin: 0 0 10px 15px;
  }
  
  .section-header p {
    margin: 0 auto 0 auto;
  }
  
  @media (min-width: 1199px) {
    .section-header p {
      max-width: 60%;
    }
  }

/* bolg */
.blog-image {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    position: relative;
    overflow: hidden;
  }

  .blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-family: 'Lato',sans-serif;
    font-weight: 400;
    line-height: 1.43;
    color: #f6eeee;
    padding: 8px 20px 8px 60px;
}

.date:before {
    content: "\f073"; /* Font Awesome 中的日期图标代码 */
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 1;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: -1px;
    font-size: 17px;
    color: #fff;
}

.date::after {
    content: '';
    position: absolute;
    top: 0;
    right: -22px;
    bottom: 0;
    left: -100px;
    z-index: -1;
    background-color: rgba(11,11,11,0.7);
    -webkit-transform: skewX(-38deg);
    transform: skewX(-38deg);
}

.node--content {
    position: static;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    padding: 30px 20px;
    background-color: #fff;
}

.node-title {
    text-align: left;
    height: 72px;
    margin-bottom: 13px;
    font-size: 1.5rem;
    line-height: 1.5;
}

.node-text {
    margin-top: 10px;
    text-align: left;
    word-wrap: break-word; /* 单词换行 */
    max-height: 100px; /* 文本最大高度 */
    overflow: auto; /* 超出部分使用滚动条显示 */
}

.teaser-link {
    position:static;
    margin-top: auto;
    -ms-flex-item-align: end;
    /* align-self: flex-end; */
    text-decoration: none;
}

.btn-more {
    position: relative;
    z-index: 0;
    display: inline-block;
    margin: auto;
    padding: 10px 10px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none;
    color: #ffffff;
    /* cursor: pointer; */
    /* -webkit-tap-highlight-color: rgba(255,255,255,0); */
    margin-top: 0;
    background-color:#E71A1A;
    border-radius: 5px; /* 设置圆角半径 */
    /* padding: 10px 20px; */
    border: none;
}

.btn-more:hover {
    color: var(--dark);
    background: var(--lightpink);
}


.left-social-icons {
    right: 40px;
    display: block;
    position: fixed;
    bottom: 140px;
    z-index: 9;
    width: 40px;
    /* background-color: #072A19; */
}

.left-social-icons-2 {
    right: 118px;
    display: block;
    position: fixed;
    bottom: 220px;
    width: 40px;
    /* background-color: #072A19; */
}

.social-icons {
    position: relative;
    padding: 10px 20px; /* 按钮内边距 */
    font-size: 20px; /* 字体大小 */
    text-align: center;
    width: 50px; /* 按钮宽度 */
    height: 50px; /* 按钮高度 */
    display: inline-block;
    padding: 10px 10px;
    /* cursor: pointer; */
    /* -webkit-tap-highlight-color: rgba(255,255,255,0); */
    background-color: var(--dark);
    border-radius: 15px; /* 设置圆角半径 */
    /* padding: 10px 20px; */
    border: none;
}

.social-icons:hover {
    background-color: var(--primary);
}

.underlined-text {
    text-decoration: underline; /* 添加下划线 */
}

.row-avg {
    flex: 1; /* 平均分配高度 */
}