@use "variables" as *;
@use "mixins" as *;
@use "placeholders" as *;

/* Setting Style
======================*/
*,
:focus {
  outline: 0 !important;
  scroll-behavior: smooth;
}
::selection {
  background-color: $main_color !important;
  color: #fff !important;
}

body {
  overflow: hidden;
  width: 100%;
  background-color: #f8f8f8;
  text-align: start;
  position: relative;
  font-family: $main_font;
  font-weight: $weight_reg;
  letter-spacing: 0;
}
@include mediaquery(max, desktop) {
  .container {
    max-width: 640px;
  }
}
.mt-25 {
  margin-top: 25px !important;
}
.mb-15 {
  margin-bottom: 15px !important;
}
.mt-50 {
  margin-top: 50px !important;
}

/* Scroll Bar
======================*/
/* width */
::-webkit-scrollbar {
  background-color: #f1f1f1;
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  @include border_radius(25px);
  background-color: $second_color;
}

/* Loading 
==========================*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  @include flex(row, center, center);
  background-color: #fff;
  img {
    &.logo_img {
      width: 120px;
      position: absolute;
      right: 0;
      left: 0;
      top: 0;
      bottom: 0;
      margin: auto;
    }
  }
}

/* Lists  
======================*/
ul {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    display: inline-block;
  }
}

/* Links 
======================*/
a,
a:hover,
a:focus {
  cursor: pointer;
  text-decoration: none;
}

/*Images
======================*/
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Form
=======================*/
label {
  font-weight: $weight_bold;
  font-size: 14px;
  margin: 10px 0;
}
.form-control {
  padding: 0 15px;
  font-size: 14px;
  line-height: 50px;
  height: 50px;
  color: $black_color;
  border: 1px solid #cecece;
  letter-spacing: 0px;
  @include border_radius(3px);
  @include box_no_shadow;
  &:hover,
  &:focus {
    border: 1px solid #cecece;
    @include box_no_shadow;
  }
}
textarea.form-control {
  resize: none;
  height: 110px;
  padding: 10px 15px;
  @include border_radius(5px);
}

/* Contact
====================*/
.contact_form {
  border-top: 10px solid $main_color;
  background-color: #fff;
  padding: 40px;
  margin-top: -100px;
  .section_title::before {
    display: none;
  }
  .link {
    margin: 15px auto 0;
  }
  @include mediaquery(max, mobile) {
    padding: 15px;
  }
}

/* Page Setting
=====================*/
section {
  z-index: 9997;
  position: relative;
  padding: 80px 0;
  background-color: #fff;
  &.colored {
    background-color: #f8f8f8;
  }
  @include mediaquery(max, desktop) {
    padding: 35px 0;
  }
  @include mediaquery(max, mobile) {
    padding: 25px 0;
  }
}
.section_img {
  background: url(../images/bc.jpg) center no-repeat fixed;
  background-size: cover;
  text-align: center;
  color: #fff;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba($black_color, 0.9);
  }
  .container {
    position: relative;
    z-index: 999;
  }
  .hint {
    font-weight: $weight_bold;
    font-size: 36px;
    max-width: 768px;
    margin: 0px auto 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 50px;
    span {
      color: $main_color;
    }
  }
}
.mb-50 {
  margin-bottom: 50px !important;
}

/* Section Title
=======================*/
.section_title {
  position: relative;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: $weight_xbold;
  color: $black_color;
  line-height: 25px;
  padding-bottom: 15px;
  margin: 0 0 30px 0;
  &::before {
    content: " ";
    width: 100px;
    height: 2px;
    background-color: $main_color;
    position: absolute;
    left: 0;
    bottom: -1px;
    border-radius: 25px;
  }

  a {
    float: right;
    margin: 0;
    padding: 0 15px;
  }
  @include mediaquery(max, mobile) {
    font-size: 18px;
    a {
      font-size: 12px;
      padding: 0 10px;
    }
  }
}

/* Page Head
=======================*/
.page_head {
  background: url(../images/bc.jpg) center no-repeat;
  background-size: cover;
  padding: 160px 0 80px;
  text-align: center;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba($black_color, 0.9);
  }
  h3 {
    color: #fff;
    font-size: 32px;
    font-weight: $weight_bold;
    text-align: center;
    margin: 0 0 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  li {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    a {
      font-size: 16px;
      display: block;
      color: $main_color;
      padding: 0 15px;
      margin-inline-end: 5px;
      position: relative;
      &::after {
        content: " / ";
        position: absolute;
        top: 0;
        right: 0px;
        font-size: 18px;
        color: $main_color;
      }
    }
  }
}
