/*
Theme Name: Headless
Theme URI:
Description: A headless WordPress theme for modern web applications
Author: Huy Nguyen Minh
Author URI:
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: headless
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.landing-page {
  width: 100%;
}

.landing-page .sec-hero {
  width: 100%;
  background-color: #000;
  height: 100vh;
  padding-top: 40px;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pseudo elements for sec-hero */
.landing-page .sec-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 240px;
  background: #000;
  z-index: 2;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 60%,
    50% 100%,
    0% 60%
  );
}

.landing-page .sec-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 245px;
  background: #BE9E4B;
  z-index: 1;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 60%,
    50% 100%,
    0% 60%
  );
}

.landing-page .sec-hero .gradient-background {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 3;
}

.landing-page .top-logo {
  width: 700px;
  position: relative;
  z-index: 5;
}

.landing-page .coming-soon-text {
  position: relative;
  z-index: 5;
  font-size: 150px;
  line-height: 1;

  color: #fff;
  text-align: center;
  font-weight: 700;
  flex: 1;

  display: flex;
  justify-content: center;
  align-items: center;
}

.sec-hero .overlay-background {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0px;

  left: 0;
  z-index: 1;
}


.sec-hero .overlay-background .hero-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .landing-page .top-logo {
    width: 300px;
  }

  .landing-page .sec-hero {
    padding-top: 20px;
  }

  .landing-page .sec-hero::before{
    height: 105px;
    clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 75%,
    50% 100%,
    0% 75%
  );
  }

  .landing-page .sec-hero::after{
    height: 110px;
    clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 75%,
    50% 100%,
    0% 75%
  );
  }

  .landing-page .coming-soon-text {
    font-size: 50px;
  }

  .sec-form .form-title h2 {
    font-size: 30px;
  }

  .sec-form .form-content .you-are-field {
    flex-direction: column;
  }
}

.sec-form {
  background: #000;
  padding-bottom: 40px;
}

.sec-form .form-title h2{
  color:#fff;
  font-size: 40px;
}

.sec-form .form-content ul.gform_fields{
  padding-left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.sec-form .form-content li{
  padding-left: 0;
}

.sec-form .form-content  .gfield_course_option_wrapper{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sec-form .form-content .hidden_label label{
  display: none;
}

.sec-form .form-content .ginput_container {
  margin-top: 0 !important;
}

.sec-form .form-content .ginput_container input{
  width: 100% !important;
  margin-top: 0;
  height: 42px;
  color: #fff;

  background: rgba(255, 255, 255, 0.2);
  border: 0;
  outline: none;
  padding-left: 15px!important;

  padding-right: 15px!important;
}

.sec-form .form-content  .ginput_container_radio input{
  height: fit-content;
  padding-left: 0;
  padding-right: 0;
}

.sec-form .form-content .ginput_container_select {
  position: relative;
}

.sec-form .form-content .ginput_container select {
  width: 100% !important;
  margin-top: 0;
  height: 42px;
  color: #fff;

  background: rgba(255, 255, 255, 0.2);
  border: 0;
  outline: none;

  /* Ẩn arrow default của select */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Tùy chọn: Thêm custom arrow solid nếu muốn */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23ffffff" d="M6 9L1 4h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;

  padding-right: 35px;
  padding-left: 15px;
}

.sec-form .form-content .ginput_container textarea{
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  outline: none;
  color: #fff;

  padding-left: 15px;
  padding-right: 15px;
}

.sec-form .form-content .gfield_label {
  color: #fff;
}

.sec-form .form-content .you-are-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-form .form-content .you-are-field .gfield_label{
  color: #fff;
  font-weight: 400;
}

.sec-form .form-content .you-are-field ul {
  display: flex;
  color: white;
  padding-left: 0;
  gap: 15px;

  align-items: center;
}

.sec-form .form-content .you-are-field li {
  margin-bottom: 0;
  display: flex;
  /* align-items: center; */
}

.sec-form .form-content .gform_footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sec-form .form-content .gform_footer .gform_button{
  width: 100%;
  max-width: 250px;
  padding: 8px 40px;
  background: #BE9E4B;

  color: #fff;
  border-radius: 40px;
  margin-left: auto;
  margin-right: auto;
  
  border: 0;
}

@media (max-width: 768px) {
  .sec-form {
    padding-bottom: 10px;
  }

  .sec-form .form-content .you-are-field {
    align-items: flex-start;
  }

}

.sec-landing-footer {
  position: relative;
  height: 300px;
  width: 100%;
}

.sec-landing-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100px;
  background: #000;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 40%,
    50% 100%,
    0% 40%
  );

  z-index: 2;
}

.sec-landing-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 105px;
  background: #BE9E4B;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 42%,
    50% 100%,
    0% 42%
  );

  z-index: 1;
}

.sec-landing-footer .footer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.sec-landing-footer .copryright-text {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .sec-landing-footer {
    height: 120px;
  }
}
