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

/* ==========================================================================
   1. GOOGLE FONTS
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&family=Italianno&display=swap");

/* ==========================================================================
   2. BASE & TYPOGRAPHY
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif !important;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  overflow-x: hidden;
}

p {
  font-family: "Roboto", sans-serif !important;
  font-weight: 300;
}

a {
  text-decoration: none;
}

a.plain {
  color: #37a7a1;
}

h1 {
  font-family: "Fjalla One", sans-serif;
  font-size: 45px !important;
  font-weight: 700 !important;
  line-height: 65px !important;
}

h2 {
  font-family: "Italianno", cursive !important;
  font-weight: 500 !important;
  font-size: 65px !important;
  margin-bottom: 0;
}

h3 {
  font-family: "Fjalla One", sans-serif !important;
  font-weight: 400 !important;
  font-size: 2rem;
}

h4 {
  font-family: "Fjalla One", serif !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  font-size: 20px;
  color: #0d3c73;
}

.section h2 {
  margin-top: -23px;
  color: #29a6a2;
}

.section.dark h2 {
  margin-top: 20px;
  color: #fff;
}

.section h3 {
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
header {
  padding: 10px 0;
  background: linear-gradient(0deg, transparent, rgba(50, 50, 50, 0.83));
}

.transparent #logo img {
  min-height: 65px;
}

.header-main .nav > li > a {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  padding: 10px;
}

.header-main .nav > li > a:hover {
  color: #11a5a3;
}

.stuck .header-main .nav > li > a {
  color: #003c74;
  padding: 15px 10px;
}

.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before,
.nav-line > li > a:before {
  background-color: #11a5a3;
}

/* ==========================================================================
   4. CONTACT FORM 7
   ========================================================================== */
.wpcf7-form {
  margin-top: 10px;
}

.wpcf7-form-control {
  border-radius: 10px !important;
  margin-bottom: 10px !important;
}

.wpcf7-submit {
  background-color: #29a6a2 !important;
  border-radius: 10px;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-response-output {
  display: none;
}

/* ==========================================================================
   5. COMMON COMPONENTS & UTILITIES
   ========================================================================== */
.primary {
  background-color: #0d8985;
}

.absolute-footer {
  background-color: #0c385a;
}

.box-text .fas {
  padding: 0 7px;
}

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

.lightbox-gallery .box-text {
  display: none;
}

/* Gradient Text */
.gradient-text {
  background-image: linear-gradient(90deg, #139694 0%, #0a548d 100%);
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

h3.gradient-text {
  font-size: 70px;
}

span.gradient-text {
  font-size: 26px;
  font-weight: bold;
}

/* Accordion */
.accordion-title.active {
  background-color: unset;
}

.icon-angle-down:before,
.active .icon-angle-down:before {
  content: "\2b";
}

/* Slider Controls */
.slider-nav-circle .flickity-prev-next-button svg,
.slider-nav-circle .flickity-prev-next-button .arrow {
  border: 2px solid #00546b;
  background: #00546b;
  border-radius: 0;
  color: #fff;
}

/* ==========================================================================
   6. SECTION BACKGROUNDS & HIGHLIGHTS
   ========================================================================== */
.section.dangkynhantin .bg,
.section.quymotoankhu .bg {
  background-position: center right;
  opacity: 0.5;
  background-repeat: no-repeat;
  background-size: contain !important;
}

.section.chudautu .bg,
.section.giaithuong .bg {
  background-position: top left;
  background-repeat: no-repeat;
  background-size: contain !important;
  opacity: 0.5;
}

.section.footer .bg {
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain !important;
  opacity: 0.5;
}

.section.dangkynhantin .fa-check {
  width: 30px;
  height: 30px;
  background-color: #29a6a2;
  padding: 6px 9px;
  color: #fff;
  border-radius: 20px;
  margin-right: 10px;
}

/* ==========================================================================
   7. PAGE SECTIONS SPECIFIC STYLES
   ========================================================================== */

/* Section: Giới thiệu */
.gioithieu .row {
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.gioithieu .row.align-equal {
  background-image: linear-gradient(90deg, #00546b 0%, #003c74 100%);
  padding: 0 30px;
}

.gioithieu .large-12:first-child {
  padding: 0;
  margin-top: -100px;
  background-color: transparent;
}

.gioithieu .large-12:first-child img {
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.gioithieu .large-12 .col-inner {
  background-color: transparent !important;
}

.gioithieu .row .large-12 {
  padding: 0;
}

.gioithieu .large-6 .col-inner {
  padding: 20px 15px;
  border-radius: 20px;
  background: linear-gradient(90deg, #00546b 0%, #003c74 100%);
  display: flex;
  align-items: center;
  box-shadow: 1px 1px 7px 1px #656565;
  margin-top: -30px;
  margin-bottom: 20px;
}

.gioithieu .large-6 .col-inner .text h3 {
  font-size: 25px;
}

.gioithieu .large-6 .col-inner .text h4 {
  color: #ff6600;
  font-size: 30px;
}

.gioithieu .large-6 .col-inner .text p {
  font-size: 14px;
  font-style: italic;
}

/* Section: Sản phẩm */
.sanpham .box-image {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.sanpham .box-text {
  padding: 20px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.sanpham .box-text h4 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.sanpham .box-text p {
  font-size: 14px;
  color: #686868;
}

/* Section: Quy mô toàn khu */
.quymotoankhu .icon-box-text p {
  font-size: 13px;
  color: #0d3c73;
}

/* Section: Khởi công */
.khoicong .icon-box-text h4 {
  font-size: 25px;
  font-weight: 400 !important;
  color: #139694;
}

.khoicong .icon-box-text p {
  font-size: 14px;
}

/* Section: Sở hữu hôm nay */
.sohuuhomnay h3 {
  font-size: 26px;
}

.sohuuhomnay p {
  font-size: 16px;
}

/* ==========================================================================
   8. RESPONSIVE / MEDIA QUERIES
   ========================================================================== */

/* Desktop Screens */
@media screen and (min-width: 1024px) {
  .quymotoankhu .large-3 {
    max-width: 20%;
    -ms-flex-preferred-size: 25%;
    flex-basis: 20%;
  }
}

/* Mobile & Tablet Screens */
@media only screen and (max-width: 48em) {
  .col {
    padding-bottom: 7px;
  }

  .section h2 {
    margin-top: -10px;
    font-size: 42px !important;
  }

  h3.gradient-text {
    font-size: 40px;
    line-height: 1.3;
  }

  .banner h1 {
    font-size: 22px !important;
    line-height: 30px !important;
  }

  .banner p {
    font-size: 16px;
  }

  h1 {
    font-size: 1.7rem !important;
    line-height: 1.5 !important;
  }

  h3,
  h4 {
    font-size: 1.3rem;
  }

  h5 {
    font-size: 2rem !important;
  }

  p {
    font-size: 90%;
  }

  .box-text h5 {
    font-size: 16px !important;
  }

  .is-full-height {
    height: 100%;
  }

  .gioithieu h3 {
    font-size: 18px !important;
  }

  .gioithieu .row {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .gioithieu .row.align-equal {
    padding: 0 15px;
  }

  .gioithieu .large-12:first-child img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .form-flat .ml-half {
    margin: 0;
  }

  .form-flat .wpcf7-submit {
    width: 100%;
  }

  .sohuuhomnay h3 {
    font-size: 20px;
  }

  .sohuuhomnay p {
    font-size: 14px;
  }

  .dangkynhantin .img-inner img {
    display: none;
  }

  table span {
    font-size: 0.7rem;
  }

  table tbody tr > td:first-child {
    width: 35% !important;
  }

  .flickity-page-dots {
    display: none;
  }
}