/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 80px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .5s;
}




.service-item.bg-white::after {
    border-color: transparent transparent var(--light) transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    opacity: 0;
}



  
  /*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid #ecf3f2;
  margin-bottom: 40px;
  justify-content: center;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-medium);
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 20px;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}
/*---------------------------------------
  TOPICS              
-----------------------------------------*/
.featured-section {
    background-color: var(--secondary-color);
    border-radius: 0 0 100px 100px;
    padding-bottom: 100px;
  }
  
  .featured-section .row {
    position: relative;
    bottom: 100px;
    margin-bottom: -100px;
  }
  
  .custom-block {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
  }
  
  .custom-block:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
  }
  
  .custom-block > a {
    width: 100%;
  }
  
  .custom-block-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-top: 35px;
  }
  
  .custom-block .rounded-pill {
    border-radius: 5px !important;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 20px;
  }
  
  .custom-block-overlay {
    height: 100%;
    min-height: 350px;
    padding: 0;
  }
  
  .custom-block-overlay > a {
    height: 100%;
  }
  
  .custom-block-overlay .custom-block-image {
    border-radius: var(--border-radius-medium);
    display: block;
    height: 100%;
    margin-top: 0;
  }
  
  .custom-block-overlay-text {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    padding: 30px;
  }
  
  .social-share {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    padding: 20px 35px;
  }
  
  .social-share .bi-bookmark {
    color: var(--white-color);
    font-size: var(--h5-font-size);
  }
  
  .social-share .bi-bookmark:hover {
    color: var(--secondary-color);
  }
  
  .bg-design {
    background-color: #00B0FF;
  }
  
  .bg-graphic {
    background-color: #00BFA6;
  }
  
  .bg-advertising {
    background-color: #F50057;
  }
  
  .bg-finance {
    background-color: #536DFE;
  }
  
  .bg-music {
    background-color: #F9A826;
  }
  
  .bg-education {
    background-color: #00BFA6;
  }
  
  
  /*---------------------------------------
    TOPICS               
  -----------------------------------------*/
  .topics-detail-block {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
  }
  
  .topics-detail-block-image {
    display: block;
    border-radius: var(--border-radius-medium);
  }
  
  blockquote {
    background-color: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    font-family: var(--title-font-family);
    font-size: var(--h4-font-size);
    font-weight: var(--font-weight-bold);
    display: inline-block;
    text-align: center;
    margin: 30px;
    padding: 40px;
  }
  
  .topics-listing-page .site-header {
    padding-bottom: 65px;
  }
  
  .custom-block-topics-listing-info {
    margin: 30px 20px 20px 30px;
  }
  
  .custom-block-topics-listing {
    height: inherit;
  }
  
  .custom-block-topics-listing .custom-block-image {
    width: 200px;
  }
  
  
  /*---------------------------------------
    PAGINATION              
  -----------------------------------------*/
  .pagination {
    margin-top: 40px;
  }
  
  .page-link {
    border: 0;
    border-radius: var(--border-radius-small);
    color: var(--p-color);
    font-family: var(--title-font-family);
    margin: 0 5px;
    padding: 10px 20px;
  }
  
  .page-link:hover,
  .page-item:first-child .page-link:hover,
  .page-item:last-child .page-link:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
  }
  
  .page-item:first-child .page-link {
    margin-right: 10px;
  }
  
  .page-item:first-child .page-link,
  .page-item:last-child .page-link {
    background-color: var(--section-bg-color);
    border-radius: var(--border-radius-small);
  }
  
  .active>.page-link, .page-link.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
  }
  