.contact-header{ padding: 150px 0 90px 0; font-size: 50px;  font-family: 'Inter-Black';}

.tab-nav{ display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0, 0, 0, .1);}
.tab-nav li{ flex: 1;}
.tab-nav li a{ display: block; padding: 25px 0; position: relative; text-align: center; color: var(--color-black); font-size: 16px;}
.tab-nav li a:hover{ color: #666;}
.tab-nav li a::after{ content: ''; transition: all .5s; position: absolute; left: 0; bottom: 0; width: 100%; height: 0; line-height: 0;  background-color: rgba(0, 0, 0, 0);}
.tab-nav li.active a::after{ height: 4px; background-color: var(--color-orange);  box-shadow: 0 10px 15px 0 rgba(255, 81, 0, .2);}
.tab-content{ padding: 20px 0 100px 0;}
.tab-content .item{ display: none;}
.tab-content .item.active{ display: block;}

.contact-item ul{ display: flex; justify-content: space-between; margin-left: -40px; max-width: 1200px; margin: auto;}
.contact-item ul li{ width: calc(100% / 4);}
.contact-item a{display: flex; flex-direction: column; justify-content:end; height: 300px; padding:0 25px; margin-left: 40px; background-color: #FFF; border: 1px solid #1d69cb; border-radius: 10px; color: #1d69cb;}
.contact-item a:hover{ color: #fff; background-color: #1d69cb;  box-shadow: 0 0 20px 0  rgba(0, 153, 255, 0.2);}
.contact-item a{ background-position: right 15px top 15px; background-repeat: no-repeat; background-size: 120px 120px;}
.contact-item ul li:nth-child(1) a{ background-image: url(../img/contact/icon1_active.png);}
.contact-item ul li:nth-child(1) a:hover{ background-image: url(../img/contact/icon1.png);}
.contact-item ul li:nth-child(2) a{ background-image: url(../img/contact/icon3_active.png);}
.contact-item ul li:nth-child(2) a:hover{ background-image: url(../img/contact/icon3.png);}
.contact-item ul li:nth-child(3) a{ background-image: url(../img/contact/icon4_active.png);}
.contact-item ul li:nth-child(3) a:hover{ background-image: url(../img/contact/icon4.png);}
.contact-item ul li:nth-child(4) a{ background-image: url(../img/contact/icon5_active.png);}
.contact-item ul li:nth-child(4) a:hover{ background-image: url(../img/contact/icon5.png);}

.contact-item a p:nth-child(1){ font-size: 26px; font-family: 'Inter-Black'; }
.contact-item a p:nth-child(2){ padding: 20px 0 25px 0;}

.office{ display: flex; justify-content: space-between; margin-top: 50px;}
.office-header{ font-size: 18px;}
.office .office-info{ padding-top: 50px;}
.office .office-info p:nth-child(1){ font-size: 18px; line-height: 28px;}
.office .office-info p:nth-child(2){ font-size: 16px; line-height: 26px; color: #666; margin-top: 10px;}

.office .left{ flex: 1;}
.office .right img{ width: 100%;}

/* dark model */
.dark-menu .header .top-menu li>a{ transition: all 1s;}
.dark.dark-menu .header {
    background-color: #FFF;
}
body.dark .tab-nav li a { color: #EEE;}
body.dark .tab-nav {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}
body.dark .office .office-info p:nth-child(2) {
    color: #CCC;
}
body.dark .office .office-info a{ color: #EEE;}


  /* HTML marker styles */
  .markPoint {
    width: 16px;
    height: 16px;
    border-radius: 30px;
    position: relative;
    left: 2px;
    top: 2px;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    background-color: #fb571e;
  }
  .markPoint::before,  .markPoint::after{ 
    content: ''; 
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
    border-radius: 50%;
    left: 0;
    top: 0;
    opacity: 0;
    background-color: #fb571e;
    -webkit-animation: animationSignal cubic-bezier(0,.55,.55,1) 2s;
  animation: animationSignal cubic-bezier(0,.55,.55,1) 2s;
  transform-origin: 50% 50%;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}
.markPoint::before {
    animation-delay: .78s;
}

.markPoint::after{
  animation-delay: 1s;
}
.googlemaps{ margin-top: 50px; width: 560px; height: 380px; background-color: #EEE;}
 

@keyframes animationSignal {
  0% {
      opacity: 0;
      transform: scale(0)
  }
  1% {
      opacity: .25
  }
  20% {
      opacity: .25
  }
  60% {
      transform: scale(10);
      opacity: 0
  }
}
@media screen and (max-width: 1200px) {
    .contact-item a{ background-size: 100px 100px; height: 260px; }
    .contact-item a p:nth-child(1){ font-size: 22px;}
}
@media screen and (max-width: 980px) {
    .contact-item ul{ flex-wrap: wrap; margin-left: -20px;}
    .contact-item ul li {
        width: calc(100% / 2);
        margin-top: 20px;
    }
    .contact-item a{ background-size: 70px 70px; height: 180px; margin-left: 20px; padding: 0 0 0 10px; background-position: right 10px top 10px;}
    .contact-item a p:nth-child(1){ font-size: 16px;}
    .contact-item a p:nth-child(2) {
        padding: 10px 0 15px 0;
        font-size: 13px;
    }
}
@media screen and (max-width: 640px) {
    .googlemaps{ margin-top: 0; width: 100%; height: 300px;}

    .contact-header {
        padding: 80px 0 20px 0;
        font-size: 28px;
    }
    .tab-nav li a {
        padding: 15px 0;
    }
    .office{ flex-direction: column; padding: 0 5%;}
    .office .office-info {
        padding-top: 0;
    }
    .office .right{ margin-top: 40px;}
    .office .right>div {
        width: auto;
        height: 200px !important;
    }
    .office .office-info p:nth-child(1) {
        font-size: 16px;
        line-height: 24px;
    }
    .office .office-info p:nth-child(2) {
        font-size: 14px;
        line-height: 22px;
    }

    
}
