/*
Theme Name: Du học VJ
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.vj-consult-float{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
}

.vj-consult-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff8a00;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(255, 138, 0, .35);
  animation: vj-consult-pulse 1.5s infinite;
}

.vj-consult-btn:hover{
  color: #fff;
  filter: brightness(.95);
}

.vj-consult-lightbox{
  background: transparent;
}

.vj-consult-popup{
  background: #15355b;
  padding: 26px 28px 22px;
  border-radius: 10px;
  color: #fff;
}

.vj-consult-title{
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .6px;
  margin-bottom: 18px;
  font-size: 18px;
}

.vj-consult-popup .form-coach{
  width: 48%;
  margin-left: 2%;
}

.vj-consult-popup .form-coach input,
.vj-consult-popup .form-coach textarea{
  background: #fff;
  border-radius: 8px;
  border: 0;
}

.vj-consult-popup .form-coach:first-child{
  margin-left: 0;
}

.vj-consult-popup .submit-form-coach{
  text-align: center;
  margin-top: 10px;
}

.vj-consult-popup .submit-form-coach input{
  background: #3b5a86;
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 24px;
}

.vj-school-archive .vj-school-grid{
  margin-top: 10px;
}

.vj-tag-filter{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
  justify-content: center;
  padding: 6px 0;
}

.vj-tag-filter .vj-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d9e1ea;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .35px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .08);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.vj-tag-filter .vj-tag:hover{
  color: #0f172a;
  background: #f8fafc;
  border-color: #c9d6e4;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
}

.vj-tag-filter .vj-tag:focus-visible{
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.vj-tag-filter .vj-tag.is-active{
  background: linear-gradient(135deg, #2d5b88, #1f3f63);
  color: #fff;
  border-color: #2d5b88;
  box-shadow: 0 8px 16px rgba(45, 91, 136, .35);
  transform: translateY(-1px);
}

.vj-tag-filter .vj-tag.is-active:hover{
  filter: brightness(1.05);
}

.vj-school-card{
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vj-school-thumb{
  display: block;
  background: #f3f4f6;
}

.vj-school-thumb img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.vj-school-thumb--placeholder{
  height: 180px;
  background: #e5e7eb;
}

.vj-school-body{
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vj-school-title{
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
}

.vj-school-title a{
  color: inherit;
}

.vj-school-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vj-badge{
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef2f7;
  color: #364152;
}

.vj-badge--top{
  background: #f6e7c2;
  color: #8a5a00;
  border: 1px solid #e8d3a5;
}

.vj-school-meta{
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  color: #334155;
}

.vj-school-meta li{
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.vj-school-meta li i{
  color: #d79a2b;
  min-width: 14px;
  margin-top: 2px;
}

.vj-school-meta .label{
  font-weight: 700;
  color: #111827;
}

.vj-school-btn{
  margin-top: 4px;
  display: inline-block;
  text-align: center;
  background: #2d5b88;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  padding: 8px 10px;
}

.vj-school-btn:hover{
  color: #fff;
  filter: brightness(.95);
}

@keyframes vj-consult-pulse{
  0%{
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 138, 0, .55);
  }
  70%{
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(255, 138, 0, 0);
  }
  100%{
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce){
  .vj-consult-btn{ animation: none; }
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  .vj-consult-float{
    left: 12px;
    bottom: 80px;
  }
  .vj-consult-btn{
    font-size: 12px;
    padding: 10px 14px;
  }
  .vj-consult-popup .form-coach{
    width: 100%;
    margin-left: 0;
  }

  .vj-school-thumb img,
  .vj-school-thumb--placeholder{
    height: 150px;
  }
  .vj-school-title{
    font-size: 14px;
  }
  .vj-school-btn{
    font-size: 12px;
    padding: 7px 8px;
  }

  .map-vj .row-map-1 > .col,
  .map-vj .row-map-2 > .col,
  .slide-dt > .col{
    flex: 0 0 50% !important;
    flex-basis: 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }

}

