@import "./abstracts/mixins";

@media only screen and (min-width: 576px) {
  // testimonial
  .testimonial {
    .testimonial__slider-single {
      padding: 40px;
    }
  }

  .difference-two {
    .difference-two__progress {
      flex-direction: row;
      align-items: center;
    }

    .difference-progress-single {
      width: 50%;
      p {
        br {
          display: block;
        }
      }
    }
  }

  .award {
    .award__single {
      .content {
        margin-inline: 30px;
        width: calc(100% - 60px);
      }
    }
  }

  .overview {
    .overview__single {
      padding: 60px 40px;
    }
  }

  .difference-three {
    .help__content-list {
      li {
        width: calc(50% - 8px);
      }
    }
  }

  .donation-future {
    .donation-future__thumb {
      padding: 80px 40px;
    }
  }

  .help-three {
    .help-three__inner {
      padding: 5px 80px 80px;
    }
  }

  .counter {
    .counter__single {
      width: calc(50% - 8px);
    }
  }

  .testimonial-three {
    .testimonial-three__single {
      flex-direction: row;
      .thumb {
        min-width: 170px;
      }
    }
  }

  .contact {
    .contact__content {
      padding: 100px 80px;
    }
  }
  .checkout,
  .volunteer {
    .checkout__form {
      .input-group {
        .input-single {
          width: calc(50% - 15px);
        }
      }
    }

    .content {
      padding: 60px 40px;
    }
  }

  .cart-main {
    .coupon-wrapper {
      flex-direction: row;
      align-items: center;
      flex-wrap: wrap;
      .right-c {
        width: auto;
        form {
          flex-direction: row;
          align-items: center;
        }
      }
    }
  }

  .team-details,
  .volunteer {
    .team-details__list {
      margin-top: 30px;
      ul {
        li {
          width: calc(50% - 8px);
        }
      }
    }
  }

  .cm-details {
    .cm-details__list {
      margin-top: 30px;
      ul {
        li {
          width: calc(50% - 8px);
        }
      }
    }

    .cm-img-group {
      .cm-img-single {
        width: calc(50% - 15px);
      }
    }

    .cm-group {
      p {
        font-size: 18px;
      }
    }

    .cm-sidebar-widget {
      .single-item {
        flex-direction: row;
        align-items: center;
      }
    }

    .blog-comment {
      .comment-single {
        flex-direction: row;
      }
    }

    .comment__form {
      padding: 60px 40px;
      .form-group {
        .input-icon {
          width: calc(50% - 12px);
        }
      }
    }
  }

  .contact-main {
    .contact-main__inner {
      row-gap: 60px;
    }
    .contact-main__single {
      width: calc(50% - 8px);
    }
  }

  .blog-main {
    .blockquote-wrapper {
      padding: 24px 40px;
    }

    .details-footer {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }

  // footer
  .footer {
    .footer__newsletter {
      padding: 50px;
    }

    .footer__newsletter-form {
      form {
        flex-direction: row;
        align-items: center;
      }
    }

    .footer__bottom-left {
      li {
        &:nth-of-type(2),
        &:nth-of-type(4) {
          display: block;
        }
      }
    }
    .footer__list-items {
      a {
        font-size: 18px;
      }
    }

    .footer__list-group {
      &:nth-last-of-type(1) {
        p {
          &:nth-last-of-type(1) {
            a {
              font-size: 24px;
            }
          }
        }
      }

      a {
        font-size: 20px;
      }
    }
  }

  .footer-two__newsletter-form {
    form {
      input {
        border-radius: 30px;
        padding: 12px 24px;
      }
      button {
        min-width: 90px;
        height: 56px;
        border-radius: 30px;
      }
    }
  }

  // template settings
  .color-palate {
    max-width: 320px;
    .color-trigger,
    .close-color-trigger {
      width: 50px;
      height: 50px;
    }

    .color-trigger i {
      font-size: 20px;
    }

    .close-color-trigger i {
      font-size: 24px;
    }
  }
}

@media only screen and (min-width: 768px) {
  h1 {
    font-size: 60px;
    line-height: 70px;
  }

  h2 {
    font-size: 40px;
    line-height: 50px;
  }

  h3 {
    font-size: 30px;
    line-height: 40px;
  }

  h4 {
    font-size: 24px;
    line-height: 34px;
  }

  .sub-title {
    font-size: 24px;
  }

  .cta {
    margin-top: 55px;
  }
  .main-pagination {
    margin-top: 60px;
    a,
    button {
      @include box(50px);
      font-size: 16px;
    }
  }

  // header
  .header {
    .navbar-logo {
      img {
        max-width: 190px;
        height: 44px;
      }
    }
    .search-box {
      button {
        font-size: 25px;
      }
    }
    .main-header__menu-box {
      padding-top: 13px;
      padding-bottom: 13px;
    }
  }

  .header-secondary {
    .main-header__menu-box {
      padding-top: 17px;
      padding-bottom: 17px;
    }
  }

  .header-tertiary {
    .main-header__menu-box {
      padding-top: 20px;
      padding-bottom: 20px;
      padding-inline-start: 0px !important;
      padding-inline-end: 0px !important;
    }
  }

  // banner
  .common-banner {
    .sub-title {
      font-size: 24px;
    }
  }

  .banner-two {
    .banner-two__slider-content {
      h1 {
        max-width: 100%;
        br {
          display: block;
        }
        span {
          font-size: 70px;
        }
      }
    }
  }

  .banner-three {
    h1 {
      br {
        display: block;
      }
      span {
        font-size: 70px;
      }
    }
    p {
      font-size: 18px;
    }
  }

  .help {
    .help__content-cta,
    .help__content-icon-group {
      flex-wrap: nowrap;
    }
  }

  .community {
    .community-donation {
      padding: 60px;
    }
    .warning {
      padding: 16px 80px;
      border-radius: 80px;
      margin: 40px 0px;
      .line {
        display: block;
      }
    }
  }

  .volunteer {
    .warning {
      padding: 16px 80px;
      border-radius: 80px;
      margin: 40px 0px;
      .line {
        display: block;
      }
    }

    .volunteer__form {
      padding: 60px 40px;
    }
  }

  .cause-two {
    padding-top: 20px;
  }

  .difference-two {
    .difference-two__inner {
      flex-direction: row;
    }
    .difference-two__card {
      display: block;
      width: 200px;
      .card-group {
        .thumb {
          i {
            font-size: 50px;
          }
        }

        h6 {
          font-size: 20px;
        }
      }
    }
  }

  .help-two {
    .help-two__inner {
      flex-direction: row;
      align-items: center;
      .help-two-card-wrapper {
        min-width: 270px;
      }
    }
  }

  .cart-main {
    .cart-table {
      table {
        min-width: 100%;
      }
    }
  }

  .product-tab {
    .content-list {
      ul {
        li {
          width: calc(50% - 4px);
        }
      }
    }
  }

  .donate-inner {
    padding: 80px 40px 160px;
    margin-inline: 24px;
  }

  // footer
  .footer {
    .footer__support {
      a {
        font-size: 18px;
        padding: 37px 40px 37px 40px;
      }
    }
  }
}

@media only screen and (min-width: 992px) {
  .difference,
  .donation-future {
    padding-top: 120px;
  }

  .cm-details {
    .blog-comment {
      padding-top: 115px;
    }
  }

  .contact {
    .contact__content {
      padding: 120px 80px;
    }
  }

  .testimonial-alter {
    padding: 120px 0px !important;
  }

  .cause-three-alt {
    .mb-60 {
      margin-bottom: 52px !important;
    }
  }

  .help-three {
    padding-bottom: 120px;
  }

  .testimonial {
    padding: 260px 0px 120px;
  }

  .section__header {
    margin-bottom: 52px;
  }

  .section__header-secondary {
    margin-bottom: 60px;
  }

  // header
  .header {
    .main-header__menu-box {
      padding-inline-start: 28px;
      padding-inline-end: 28px;
    }
  }

  .header-primary {
    top: 47px;
    background-color: transparent;
  }

  .header-secondary {
    top: 50px;
    .main-header__menu-box {
      filter: none !important;
      width: calc(100% - 80px);
      margin-inline: auto;
      padding-inline-start: 24px;
      padding-inline-end: 24px;
    }
  }

  // banner
  .banner {
    margin-top: 60px;
    padding: 200px 0px;
  }

  .banner-two {
    .banner-two__slider-single {
      padding: 200px 0px;
    }

    .slider-navigation {
      inset-inline-end: 130px;
    }
  }

  .rtl {
    .banner-two {
      .slider-navigation {
        inset-inline-end: unset;
        inset-inline-start: 130px !important;
      }
    }
  }

  .banner-three {
    margin-top: 132px;
    padding: 140px 0px 190px;
  }

  .common-banner {
    padding: 160px 0px;
  }

  .cause {
    .cause__slider-wrapper {
      margin-top: 55px;
    }
  }

  .community {
    .community-donation__inner {
      max-width: 560px;
    }
  }

  .cause-two {
    padding-top: 50px;
  }

  .testimonial-two {
    .testimonial-two__content {
      padding: 0px;
      padding-inline: 20px;
    }
  }

  .help-three {
    .section__header {
      text-align: start;
      h2 {
        text-align: start !important;
      }
    }
    .help-cta {
      text-align: end;
    }
  }

  .rtl {
    .help-three .section__header h2 {
      text-align: end !important;
    }
  }

  .counter {
    .counter__single {
      height: 100%;
      width: auto;
    }
    .divider {
      display: block;
      height: 100%;
    }
  }

  .error {
    h2 {
      font-size: 130px;
      line-height: 1;
    }
  }

  .cm-details {
    .cm-sidebar-widget {
      padding: 40px 40px;
    }
  }

  // footer
  .footer {
    padding-top: 120px;
    .footer__content {
      max-width: 600px;
      text-align: start;
    }

    .footer__support {
      text-align: end;
    }
  }

  .footer-two,
  .footer-three {
    padding-top: 120px;
  }

  .rtl {
    .footer-two {
      .text-lg-start {
        text-align: right !important;
      }
    }
  }

  .footer-three {
    .footer-three__inner {
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
    }

    .footer-three__logo {
      text-align: start;
    }
  }
}

@media only screen and (min-width: 1200px) {
  h1 {
    font-size: 85px;
    line-height: 95px;
  }

  h2 {
    font-size: 55px;
    line-height: 65px;
  }

  h3 {
    font-size: 40px;
    line-height: 50px;
  }

  h4 {
    font-size: 32px;
    line-height: 42px;
  }

  h5 {
    font-size: 24px;
    line-height: 34px;
  }

  h6 {
    font-size: 20px;
    line-height: 30px;
  }

  .text-xl-start {
    text-align: start !important;
  }

  .offset-xl-1 {
    margin-left: 0px;
    margin-inline-start: 8.33333333%;
  }

  // topbar
  .topbar--secondary {
    .topbar__inner {
      padding: 12px 40px 13px;
    }
  }

  // header
  .header {
    .main-header__menu-box {
      padding: 0px;
      padding-inline-start: 24px;
    }
  }

  .header-primary {
    .navbar__mobile-options {
      .btn--primary {
        padding-block: 38px 37px;
        padding-inline: 36px 48px;
      }
    }
  }

  .header-secondary {
    .main-header__menu-box {
      padding: 17px 40px;
    }
  }

  // banner
  .banner {
    padding: 280px 0px;
  }

  .banner-two {
    .banner-two__slider-single {
      padding: 240px 0px;
      .banner-two__slider-content {
        h1 {
          span {
            font-size: 90px;
          }
        }
      }
    }

    .shape-left {
      top: 0%;
    }
  }

  .banner-three {
    margin-top: 142px;
    h1 {
      span {
        font-size: 90px;
      }
    }
  }

  // common banner
  .common-banner {
    h2 {
      font-size: 85px;
      line-height: 95px;
    }
  }

  .cause-two {
    padding-top: 60px;
  }

  // blog
  .blog {
    .blog__single-content {
      h5 {
        font-size: 22px;
        line-height: 30px;
      }
    }
  }

  .event {
    .event__content {
      h4 {
        font-size: 30px;
        line-height: 40px;
      }
    }
  }

  .volunteer {
    .volunteer__form {
      margin-inline-start: 40px;
    }
  }

  // footer

  .footer {
    .footer__content {
      h3 {
        font-size: 44px;
        line-height: 54px;
      }
    }

    .footer__support {
      a {
        font-size: 22px;
        max-width: 506px;
      }
    }

    .footer__list-center {
      margin-inline-start: 40px;
    }

    .footer__copyright-logo {
      margin: 0px;
    }
  }

  .footer-two {
    .footer-two__widget--alternate {
      padding-inline-start: 60px;
    }
  }

  .footer-three {
    .footer-two__widget-intro {
      margin-bottom: 40px;
    }
  }
}

@media only screen and (min-width: 1400px) {
  .offset-xxl-1 {
    margin-left: 0px;
    margin-inline-start: 8.33333333%;
  }

  .topbar {
    .container {
      max-width: 1400px;
    }
  }

  .header {
    .navbar__mobile-options {
      gap: 40px;
    }
  }

  .header-primary {
    filter: none;
    .main-header__menu-box {
      filter: drop-shadow(0px 4px 19px rgba(0, 0, 0, 0.07));
      padding-inline-start: 28px;
    }

    .container {
      max-width: 1560px;
    }

    .navbar__options {
      .btn--primary {
        padding-block: 38px 37px;
        padding-inline: 46px 66px;
      }
    }
  }

  .header-secondary {
    .navbar__mobile-options {
      gap: 20px;
    }

    .navbar__menu-wrapper {
      padding-inline-start: 55px;
    }

    .main-header__menu-box {
      padding: 15px 40px;
    }
  }

  .header-tertiary {
    .navbar__list {
      justify-content: flex-start;
      padding-inline-start: 60px;
    }
    .navbar__mobile-options {
      gap: 50px;
    }
  }

  .common-banner {
    padding: 200px 0px;
  }

  .difference {
    .difference__single {
      max-width: 384px;
      margin-inline: auto;
    }
  }

  .help {
    .help__thumb {
      padding-inline-start: 60px;
    }
  }

  .cause-two {
    padding-top: 80px;
  }

  .difference-two {
    .difference-two__content {
      padding-inline-start: 40px;
    }
  }

  .cta-section-two {
    .shape {
      bottom: -8px;
    }
  }

  .overview {
    .overview__inner {
      flex-direction: row;
      gap: 0px;
    }

    .overview__single {
      width: 50%;
      border-radius: 10px 0px 0px 10px;
    }

    .overview__right {
      border-radius: 0px 10px 10px 0px;
    }
  }

  .rtl {
    .overview {
      .overview__single {
        border-radius: 0px 10px 10px 0px;
      }
      .overview__right {
        border-radius: 10px 0px 0px 10px;
      }
      .cause__progress {
        direction: ltr;
      }
    }
  }

  .difference-three {
    .difference-three__content {
      padding-inline-start: 50px;
    }

    .differnce-quote {
      q {
        font-size: 20px;
      }
    }
  }

  .event {
    .event__content {
      padding: 40px;
    }
  }

  .product-details {
    .product-details__content {
      padding-inline-start: 50px;
    }
  }

  .checkout {
    .checkout__content {
      padding-inline-start: 60px;
    }
  }

  .team-details {
    .team-details__content {
      padding-inline-start: 50px;
    }
  }

  // footer
  .footer {
    .footer__bottom-list {
      gap: 30px;
    }
  }

  .footer-three {
    .footer-three__widget-alter {
      padding-inline-start: 60px;
    }

    .footer-three__widget-news {
      .content {
        a {
          font-size: 18px;
          line-height: 24px;
        }
      }
    }

    .single-address {
      i {
        font-size: 30px;
      }
    }
    .footer-three__widget--newsletter {
      p {
        font-size: 16px;
      }
      form {
        padding: 40px 30px;
      }
    }
  }
}

@media only screen and (min-width: 1600px) {
	.banner-five h1 {
		font-size: 140px;
	}
	.banner-five {
    	padding-block: 200px;
	}
  .topbar {
    .topbar__list,
    .topbar__items {
      gap: 40px;
    }
  }

  .testimonial,
  .difference {
    .slider-navigation {
      margin-top: 0px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      inset-inline: 0px;
      max-width: 1560px;
      margin-inline: auto;
      justify-content: space-between;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: var(--transition);
    }

    .testimonial__inner,
    .difference__inner {
      &:hover {
        .slider-navigation {
          opacity: 1;
          visibility: visible;
          pointer-events: all;
        }
      }
    }
  }


  .testimonial-two {
    .testimonial-two__inner {
      min-width: 1440px;
    }

    .testimonial-two__content {
      padding-inline-start: 50px;
      padding-inline-end: 0px;
    }
  }

  .cause-two {
    .cause-two__inner {
      width: calc(100% - 200px);
    }

    .slider-navigation {
      position: absolute;
      display: block;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 9;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      width: 100%;
      button {
        transform: translateX(-30px);
      }

      .slider-btn-next {
        transform: translateX(30px);
      }
    }
  }

  .cause-alt {
    .slider-navigation {
      margin-top: 0px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      inset-inline: 0px;
      max-width: 1560px;
      margin-inline: auto;
      justify-content: space-between;
    }
  }

  .cause-three {
    .cause__slider-wrapper {
      min-width: 1800px;
    }

    .cause__slider-single:hover .thumb img {
      transform: scale(1.2);
    }
  }
}

@media only screen and (max-width: 1739.98px) {
  // header
  .header-secondary {
    .contact-btn {
      display: none;
    }

    .navbar__menu {
      padding-inline-end: 40px;
    }
  }
}

@media only screen and (max-width: 1399.98px) {
  .mobile-menu--primary {
    .mega-menu {
      min-width: 100% !important;
      li {
        margin-bottom: 20px;
        &:nth-last-of-type(1) {
          margin-bottom: 0px;
        }
      }
      .mega-content-wrapper {
        width: 100%;
      }

      .mega-content {
        a {
          width: 160px;
        }
      }
    }
  }
}

@media only screen and (max-width: 1199.98px) {
  .mobile-menu {
    .mega-menu {
      min-width: 100% !important;
      li {
        margin-bottom: 20px;
        &:nth-last-of-type(1) {
          margin-bottom: 0px;
        }
      }
      .mega-content-wrapper {
        width: 100%;
      }

      .mega-content {
        a {
          width: 160px;
        }
      }
    }
  }
}

@media only screen and (min-width: 1400px) and (max-width: 1599.98px) {
  .topbar--secondary {
    .topbar__extra {
      display: none;
    }

    .topbar__list,
    .topbar__items {
      gap: 20px;
    }
  }

  .cta-section {
    .cta-section__single {
      h3 {
        font-size: 30px;
        line-height: 40px;
      }
    }
  }
}

@media only screen and (max-width: 767.98px) {
  // search popup
  .search-popup {
    .search-popup__group {
      input,
      button {
        height: 60px;
        line-height: 60px;
      }
    }
  }

  // offcanvas cart
  .sidebar-cart {
    width: 320px;
  }

  // banner
  .banner {
    h1 {
      font-size: 24px;
      line-height: 34px;
    }
  }
}
