/* Reset Code */


/*=========================================================
      CTA style start
=========================================================*/
.cta-btn .cta-link {
  position: relative;
  display: inline-block;
  background: #d2d6ef;
  color: #081c2d;
  font-size: 15px;
  min-width: 220px;
  text-align: center;
  letter-spacing: 0.050em;
  line-height: 18px;
  font-weight: 400;
  padding: 15px 30px;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.cta-btn .cta-link.cta-block {
  display: block;
  width: 100%;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

.cta-btn .cta-link i {
  margin-right: 5px;
}

.cta-btn .cta-link:hover {
  background: #081c2d;
  color: #d2d6ef;
  box-shadow: 0px 5px 20px rgba(0, 33, 71, 0.4);
}

/*--	CTA style end--*/


/*=========================================================
	推薦商品
=========================================================*/
.recommended {
  width: 100%;
  height: auto;
  padding: 5rem 0 3rem;
}

.recommended img {
  width: 100%;
  height: auto;
}

/*--responsive media-quries--*/
@media (max-width: 768px) {
  .recommended_start {
    margin: 82px 0 0 0;
  }

  .recommended {
    width: 100%;
    height: auto;
    margin: 2rem 0;
  }

}

@media (max-width: 600px) {}



/*==============================================================
	banner Style start
==============================================================*/
.banner-wrap {
  height: auto;
  position: relative;
  overflow: hidden;
}

.banner-slider {
  height: 100%;
}

.banner-slider>.banner-slide {
  display: none;
}

.banner-slider>.banner-slide:first-child {
  display: block;
}

.banner-slide {
  min-height: 100vh;
  position: relative;
  z-index: 0;
  display: grid;
  align-items: center;
  padding: 3em 0;
}

.slick-initialized .banner-slide {
  position: relative;
  min-height: 950px;
  padding-bottom: 100px;
  display: flex !important;
  align-items: center;
}

.banner-slider .slick-arrow {
  position: absolute;
  right: 25px;
  bottom: 50%;
  font-size: 0;
  border: 0;
  width: 50px;
  height: 50px;
  z-index: 1;
  outline: none;
  cursor: pointer;
  border-radius: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
  background: url(../images/right.png) no-repeat center;
}

.banner-slider .slick-arrow.slick-prev {
  right: 0;
  left: 25px;
}

.banner-slider .slick-arrow.slick-next {
  right: 25px;
  background: url(../images/left.png) no-repeat center;
}

.hero-image {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center center;
}

.banner-wrap .container {
  position: relative;
  z-index: 12;
}

.hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  color: #ffffff;
}

.hero-content p {
  font-size: 16px;
  line-height: 32px;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgb(255 255 255 / 12%);
  display: inline-block;
  padding: 6px 30px;
  border-radius: var(--border-radius-full);
}

.blog-detail-banner .hero-content {
  max-width: 900px;
}

.blog-detail-banner .hero-content h1 {
  font-size: 53px;
}

.hero-content h3 {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 12px;
  margin-left: 6px;
}

.hero-content h1 {
  font-size: 65px;
  line-height: 75px;
  margin-bottom: 18px;
  color: #fff;
  max-width: 90%;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 1px 1px 7px rgb(73 73 73);
}

.hero-content h1 span {
  font-weight: 100;
}

.hero-content .cta-btn {
  padding-top: 30px;
}

.hero-content .cta-btn .cta-link.cta-outline-white:hover {
  background: #ffffff;
  color: #002147;
}

@media (max-width: 1280px) {
  .hero-content h1 {
    font-size: 55px;
    line-height: 65px;
  }
}

@media (max-width: 991px) {
  .slick-initialized .banner-slide {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 50px;
    line-height: 60px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 45px;
    line-height: 55px;
  }

  .slick-initialized .banner-slide {
    min-height: 450px;
    padding-bottom: 40px;
  }
}

@media (max-width: 670px) {
  .banner-slider .slick-arrow.slick-prev {
    left: 15px;
  }

  .banner-slider .slick-arrow.slick-next {
    right: 15px;
  }

  .banner-slider .slick-arrow {
    right: 15px;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 600px) {
  .banner-slider .slick-arrow.slick-prev {
    left: 5px;
  }

  .banner-slider .slick-arrow.slick-next {
    right: 5px;
  }

  .banner-slider .slick-arrow {
    right: 5px;
  }
.banner-slider .slick-arrow {
    bottom: 45%;
  }
  .hero-content {
    margin: 0 1em;
  }
}

@media (max-width: 568px) {
    .hero-content h1 {
        font-size: 32px;
        line-height: 35px;
    }

  .slick-initialized .banner-slide {
    min-height: 320px;
    padding-bottom: 0px;
  }

  .hero-content {
    margin: -5em 2em;
  }
  .hero-content h1 {
  margin-bottom: 0;
}
  .hero-content p {
    font-size: 14px;
    line-height: 1.5;
    padding: 5px 15px;
  }

  .hero-content .cta-btn {
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
 .hero-content {
    margin: 0 2em;
  }
  .hero-content h1 {
    font-size: 28px;
    line-height: 30px;
  }

  .slick-initialized .banner-slide {
    min-height: 350px;
  }

  .banner-slider .slick-arrow:before {
    font-size: 14px;
    line-height: 42px;
  }
}

@media (max-width: 430px) {
  .banner-slider .slick-arrow {
    bottom: 40%;
    }
  .hero-content p {
    line-height: 1.2;
    padding: 5px 15px;
}
  .hero-content h1 {
    font-size: 24px;
    line-height: 24px;
  }
  .slick-initialized .banner-slide {
      min-height: 250px;
  }
}

/* //banner */

/*=========================================================
	 home page service grids
=========================================================*/

.home-services {
  background-color: var(--bg-light);
}

.box-wrap {
  padding: 40px 30px;
  transition: all 0.5s ease 0s;
  border-radius: var(--border-radius);
  box-shadow: 0 0.5rem 0.5rem rgb(0 0 0 / 5%);
  position: relative;
  background-color: var(--bg-color);
}

.box-wrap:hover {
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
}

.box-wrap:hover h4.number {
  opacity: .2;
  transition: 0.3s ease-in-out;
}

.box-wrap h4 a {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  display: block;
  color: var(--heading-color);
}

.box-wrap h4 a:hover {
  color: #f54748;
}

a.read {
  font-size: 17px;
  padding: 0;
  border-bottom: 2px solid #f54748;
  color: var(--heading-color);
  transition: 0.3s ease-in-out;
  font-weight: 600;
  border-radius: 0;
  margin-top: 20px;
  display: inline-block;
  text-transform: capitalize;
}

.box-wrap p {
  margin: 0;
  color: var(--para-color);
}

/*--responsive media-quries--*/
@media (max-width: 768px) {
  .box-wrap {
    padding: 24px 16px;
  }

  h4.index_member-number {
    font-size: 32px;
    line-height: 30px;
    margin: 15px 0;
  }

  .index_member-name_line-y,
  .index_member-name_line-b,
  .index_member-name_line-g {
    font-size: 18px;
  }
}

@media (max-width: 550px) {
  .box-wrap {
    box-shadow: 0 0.2rem 0.2rem rgb(0 0 0 / 5%);
  }
}

/*======================================
  About block 
========================================*/
.about {
  background: var(--bg-light);
}

.content1 {
  background: url(../images/bg1.jpg);
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  position: relative;
  background-attachment: fixed;
  background-position: bottom-right;
  background-repeat: no-repeat;
  width: 100%;
  padding: 6em 0;
}

.content1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--layer);
  z-index: -1;
}

/*--responsive media-quries--*/
@media (max-width: 600px) {
.content1 {
    padding: 3rem 1rem;
}
.about {
    padding: 3rem 1rem;
}
}

/* //content block */


/*======================================
  works block 
========================================*/
.works-grids .d-grid {
  display: grid;
}

.works-grids .grid-col-2 {
  grid-template-columns: 1fr 1fr;
}

.works-grids .grid-col-3 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.works-grids a.action {
  border: none;
  color: #304659;
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  display: inline-block;
}

.works-grids a.action img {
  margin-left: 4px;
}

.works-grids .grid-top-9 {
  padding: 60px 0;
}

.works-grids .left-texthny-3 {
  background: var(--bg-light);
}

.works-grids h4.text-grid-9 a {
  font-size: 22px;
  line-height: 32px;
  color: var(--heading-color);
  margin-bottom: 0px;
  display: inline-block;
  font-weight: bold;
}

.works-grids p.sub-para {
  font-size: 16px;
  line-height: 25px;
  font-weight: normal;
  margin-top: 10px;
}

.works-grids .grid-bg1 {
  background: url(../images/bg2.jpg) no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  padding: 50px 30px;
  min-height: 400px;
  display: grid;
  align-content: end;
  position: relative;
  z-index: 1;
}

.works-grids .grid-bg2 {
  background: url(../images/bg3.jpg) no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  padding: 50px 30px;
  min-height: 400px;
  display: grid;
  align-content: end;
  position: relative;
  z-index: 1;
}

.works-grids .grid-bg3 {
  background: url(../images/bg4.jpg) no-repeat bottom;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  padding: 50px 30px;
  min-height: 400px;
  display: grid;
  align-content: end;
  position: relative;
  z-index: 1;
}


.works-grids .margin-top {
  margin-top: 20px;
}

/* .works-grids .left-grid-ele-9:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.4;
  background: #000;
  z-index: -1;
} */

.works-grids .sub-wid-grid-9 {
  text-align: center;
}

.works-grids .grid-col-2 {
  grid-template-columns: 1fr 1fr;
}

.works-grids i {
  color: var(--primary-color);
  font-size: 36px;
}

@media (max-width: 1080px) {
  .works-grids .left-grid-ele-9 {
    padding: 90px 40px 85px;
  }
}

@media (max-width: 900px) {
  .works-grids .grid-col-3 {
    grid-template-columns: 1fr 1fr;
  }

  .works-grids .grid-col-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .works-grids .left-grid-ele-9 {
    padding: 80px 40px 75px;
  }

  .works-grids h4.text-grid-9 a {
    font-size: 33px;
  }
}

@media (max-width: 667px) {
  .works-grids .left-grid-ele-9 {
    padding: 40px;
  }

  .works-grids .left-texthny-3 {
    background: var(--bg-light);
    padding: 40px;
  }

  .works-grids .grid-col-3 {
    grid-template-columns: 1fr;
  }

  .works-grids h4.text-grid-9 a {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .works-grids .grid-element-9 {
    grid-template-columns: 1fr;
  }
}

/* //works block */