/* === DESKTOP FIRST === */

/* xl <= Extra extra large (xxl) */
@media (max-width : 1900px) {
  .home-section {
    background-size: cover;
  }
}

/* lg <= Extra large (xl) */
@media (max-width : 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 100%;
  }
}

@media (max-width : 1050px) {
  nav ul li {
    display: inline-block;
    margin: 0 20px;
  }

  .text-home h1 {
    font-size: 64px;
    line-height: 130%;
  }

  .text-home .first-line-text {
    font-size: 24px;
    line-height: 130%;
  }

  .text-home .two-line-text {
    font-size: 18px;
    line-height: 170%;
  }

  .text-home .btn {
    padding: 18px 33px;
    margin-top: 40px;
  }

  .home-section {
    height: 660px;
    background-position: left -100px center;
    background-size: cover;
  }
}

/* md <= Large (lg) */
@media (max-width : 992px) {
  .logo img {
    width: 120px;
  }

  nav {
    display: none;
  }

  .btn {
    font-size: 13px;
    line-height: 16px;
    padding: 14px 28px;
  }

  #menu-icon {
    display: block;
  }

  header {
    border: none;
  }

  .header-row {
    border-top: 1px solid #DADADB;
  }

  h2 {
    font-size: 36px;
    line-height: 130%;
  }

  .grid-text {
    font-size: 14px;
    line-height: 170%;
  }

  .benefit-items .item .number {
    font-size: 54px;
    line-height: 65px;
  }

  .benefit-items .item .text {
    font-size: 14px;
  }

  .partner-list {
    grid-template-columns: repeat(3, 1fr);
  }

  #sample-grid.terms {
    grid-template-columns: 1fr;
  }

  #sample-grid.terms .term {
    width: 650px;
    max-width: 100%;
    margin-bottom: 30px;
  }
  #contacts {
    display: block;
  }
  .text-contact {
    padding: 20px 30px;
  }
  .contact-left {
    height: 380px;
  }
}

/* sm <= Medium (md) */
@media (max-width : 768px) {
  .text-home h1 {
    font-size: 38px;
    line-height: 130%;
  }

  .text-home .first-line-text {
    font-size: 16px;
    line-height: 130%;
  }

  .text-home .two-line-text {
    font-size: 14px;
    line-height: 170%;
  }

  .text-home .btn {
    padding: 18px 33px;
    margin-top: 40px;
  }

  #sample-grid {
    display: block;
  }

  .mt-70 {
    margin-top: 40px;
  }

  h2 {
    margin-bottom: 15px;
  }

  .benefit-items {
    display: block;
  }

  .benefit-items .item {
    padding: 15px;
    border-bottom: 1px solid #6ea0ff;
  }

  .benefit-items .item:last-child {
    border: none
  }

  .partner-list {
    column-gap: 12px;
    row-gap: 12px;
  }

  .p-item {
    height: 104px;
  }
  .icon-bullet {
    width: 14px;
    height: 14px;
    background-size: 14px;
  }
}

/* xs <= Small (sm) */
@media (max-width : 650px) {
  .top {
    display: none;
  }

  .header-row {
    padding: 5px 0;
  }

  .header-row .btn {
    display: none;
  }

  .mobile-nav {
    background-color: #fff;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    height: 100vh;
    padding: 10px 0.75rem;
  }

  .mobile-nav nav ul {
    display: block;
    height: auto;
    border: none
  }

  .mobile-nav nav ul li {
    display: block;
    text-align: center;
    padding: 15px 0;
  }

  .logo-nav {
    display: block;
    margin: 30px 0;
  }

  .header-nav {
    display: flex;
    border-bottom: 1px solid #DADADB;
    padding-bottom: 5px;
  }

  nav ul li a {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
  }

  .footer-nav {
    margin-top: 30px;
    border-top: 1px solid #DADADB;
    padding-top: 40px;
  }

  .footer-nav {
    display: block;
    text-align: center;
  }

  .footer-nav a {
    display: block;
    padding-left: 0;
    margin-bottom: 20px;
    background-image: none;
  }

  .footer-nav a.top-email {
    margin-right: 0;
  }


  .mobile-nav .btn-contact {
    display: block;
    width: 300px;
    text-align: center;
    max-width: 100%;
    padding: 18px 53px;
    margin: 40px auto;
  }

  .home-section {
    height: 460px;
  }
  .text-home {
    width: 350px;
  }

  .partner-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .term-items {
    display: block;
  }

  .term-item {
    display: flex;
    margin-top: 30px;
  }

  .term-icon {
    min-width: 70px;
    margin-right: 20px;
  }

  .term-item p strong {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 8px;
  }
  .term-item p {
    font-size: 14px;
line-height: 150%;
  }
  h2 {
    font-size: 30px;
    line-height: 130%;
  }
  .all-text-bullet {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  .text-bullet {
    top: auto!important;
    left: auto!important;
    right: auto!important;
    position: absolute;
    margin-bottom: 30px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .text-home {
    padding-left: 20px;
  }
  .bullet-contact a {
    display: block;
    margin-top: 20px;
  }
}



/* === MOBILE FIRST === */

/* Custom (xs) */
@media (min-width : 0) {}

/* Small (sm) */
@media (min-width : 576px) {}

/* Medium (md) */
@media (min-width : 768px) {}

/* Large (lg) */
@media (min-width : 992px) {}

/* Extra large (xl) */
@media (min-width : 1200px) {}

/* Extra extra large (xxl) */
@media (min-width : 1920px) {
 
}