/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* =========================
   1. FONTS & TYPOGRAPHY
========================= */
@font-face {
  font-family: "SVN-Gilroy";
  src: url("/wp-content/fonts/SVN-Gilroy/SVN-Gilroy.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("/wp-content/fonts/SVN-Gilroy/SVN-Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("/wp-content/fonts/SVN-Gilroy/SVN-Gilroy-SemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("/wp-content/fonts/SVN-Gilroy/SVN-Gilroy-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "SVN-Gilroy";
  src: url("/wp-content/fonts/SVN-Gilroy/SVN-Gilroy-Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
}

body {
  font-family: "SVN-Gilroy";
}

h1, h2 {
  font-weight: 800 !important;
}

h3, h4, strong, bold {
  font-weight: 600 !important;
}

h5, h6 {
  font-weight: 500 !important;
}

/* =========================
   2. ICON FONTS
========================= */
@font-face {
  font-family: "Flaticon";
  src: url("fonts/flaticon.eot");
  src: url("fonts/flaticon.eot?#iefix") format("embedded-opentype"),
       url("fonts/flaticon.woff") format("woff"),
       url("fonts/flaticon.ttf") format("truetype"),
       url("fonts/flaticon.svg#flaticon") format("svg");
}

.flaticon {
  font-family: Flaticon;
  font-size: inherit;
  font-style: normal;
}

/* =========================
   3. GLOBAL ELEMENTS
========================= */
.cus-image-about img {
  border-radius: 0px 70px !important;
}

.is-divider {
  background-color: var(--primary-color);
}

.post-item .is-divider {
  display: none;
}

/* =========================
   4. SIDEBAR & WIDGET
========================= */
.post-sidebar .widget,
#shop-sidebar .widget {
  background: white;
  box-shadow: 0 1px 12px -2px rgb(12 34 113 / 18%);
  padding: 20px;
  border-radius: 20px;
}

.post-sidebar .widget_search {
  padding: 0px !important;
  box-shadow: unset !important;
}

/* =========================
   5. FORM STYLES
========================= */
.row-form .wpcf7-submit {
  text-align: center;
  width: 100%;
  border-radius: 99px;
  background: #0c2271;
}

.row-form input {
  min-height: 46px;
  border-radius: 99px;
}

.row-form .col {
  padding-bottom: 0px;
}

.row-form-ngoai {
  border: 2px dashed #cdcdcd;
  padding: 24px;
  margin: 0 10px;
  width: calc(100% - 20px);
}

.row-form-ngoai form {
  margin-bottom: 0px;
}

.wpcf7-spinner {
  display: none;
}

/* =========================
   6. ANIMATIONS
========================= */
.box-dien-thoai img {
  margin-top: -15px !important;
  animation: tada 1500ms ease-out infinite;
}

@keyframes tada {
  0% { transform: scale(1); }
  10%,20% { transform: scale(0.9) rotate(-3deg); }
  30%,50%,70%,90% { transform: scale(1.1) rotate(3deg); }
  40%,60%,80% { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}

/* =========================
   7. HEADER & NAVIGATION
========================= */
.header-main .menu-item .nav-dropdown li a {
  text-transform: initial;
  font-weight: 500;
  font-size: 16px;
  color: black;
}

/* =========================
   8. FOOTER
========================= */
.footer-section .icon-box {
  align-items: center;
}

.footer-section .icon-box h3 {
  margin-bottom: 0px;
}

.footer-section h3 {
  font-weight: 500;
}

.footer-section .widget_nav_menu {
  padding: 0;
}

.footer-section .widget_nav_menu li a:before {
  content: "\f061";
  font-family: "Font Awesome 6 Pro";
  padding-right: 5px;
}

/* =========================
   9. PORTFOLIO
========================= */
.portfolio-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
}

.portfolio-box .box-text {
  padding: 100px 25px 30px;
  z-index: 999;
}

.portfolio-box .portfolio-box-title {
  font-size: 20px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease-in-out;
}

.portfolio-box:hover .portfolio-box-title {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   10. SERVICES SECTION
========================= */
.section-dich-vu {
  background-color: #f8f8f8;
  background-image: url(images/servicebanner.png.webp);
  background-position: center left;
  background-repeat: no-repeat;
}

.section-dich-vu .box {
  background: white;
  box-shadow: 0 1px 12px -2px rgba(12, 34, 113, 0.07);
  padding: 20px;
  margin-top: 10px;
  border-radius: 20px;
}

.section-dich-vu .box:hover {
  background: #0c2271;
}

.section-dich-vu .box:hover a,
.section-dich-vu .box:hover h5,
.section-dich-vu .box:hover p {
  color: white;
}

/* =========================
   11. BLOG
========================= */
.blog-archive .post-item .box-text h5 {
  font-size: 25px;
}

.blog-home .post-item .post-meta {
  background: var(--primary-color);
}

.blog-home .post-item:hover .post-meta {
  background: white;
  color: black;
}

/* =========================
   12. TEAM SECTION
========================= */
.section-doi-ngu .box .social-icons a {
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: all 0.4s;
}

.section-doi-ngu .box:hover .social-icons {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   13. BUTTONS
========================= */
.button-lien-he {
  background-image: linear-gradient(90deg, #c1352c, #f84430, #c1352c);
  border-radius: 10px;
  padding: 6px 27px;
}

.button-lien-he:hover {
  box-shadow: 0 2px 10px rgba(230, 58, 39, 0.5);
}

/* =========================
   14. TITLES
========================= */
.title-small {
  background: #e63a27;
  color: white;
  border-radius: 99px;
  padding: 8px 20px;
  font-size: 15px;
}

.title-home {
  font-size: 37px;
  line-height: 49px;
}

/* =========================
   15. RESPONSIVE
========================= */
@media (max-width: 855px) {
  .title-home {
    font-size: 25px;
    line-height: 42px;
  }
}

@media (min-width: 1023px) {
  .tab-xay-dung .nav-vertical {
    width: 30% !important;
  }
}