/* Large Devices (Desktops & Laptops) */
@media (min-width: 1200px) {
}

/* Medium Devices (Landscape Tablets & Medium Desktops) */
@media (min-width: 992px) and (max-width: 1199px) {
  .content-box-lg {
    padding: 80px 0;
  }
  .content-box-md {
    padding: 50px 0;
  }

  .vertical-heading h2 {
    font-size: 30px;
    line-height: 35px;
  }

  .navbar {
    padding: 20px 0;
  }

  #home-heading h1 {
    font-size: 40px;
  }
  #home-heading #home-heading-2 {
    font-size: 45px;
  }

  .service-tab .tab-bg {
    padding: 16px 30px;
    min-height: 300px;
    height: 100%;
  }
  .service-tab h2 {
    font-size: 38px;
    margin-bottom: 15px;
  }
  .service-tab h3 {
    font-size: 26px;
    margin-bottom: 25px;
  }
  .service-tab p {
    line-height: 20px;
  }
  .service-tab .tab-bg .btn-yellow {
    margin-bottom: 20px;
  }

  .horizontal-heading {
    margin-bottom: 0;
  }
}

/* IMPORT / EXPORT FOW */
@media (max-width: 992px) {
  .flux-row,
  .flux-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .flux-row.reverse .flux-text {
    order: 1;
  }
  .flux-row.reverse .flux-image {
    order: 2;
  }
  .flux-text h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 640px) {
  .services-flux {
    padding: 60px 5%;
  }
  .flux-intro {
    font-size: 1rem;
    margin-bottom: 50px;
  }
  .flux-text h3 {
    font-size: 1.7rem;
  }
}

/* Small Devices (Portrait Tablets & Small Desktops) */
@media (min-width: 768px) and (max-width: 991px) {
  /* Generic */
  .btn-general {
    padding: 8px 35px 8px 35px;
    font-size: 10px;
  }
  .vertical-heading h2 {
    font-size: 29px;
  }
  .horizontal-heading {
    margin-bottom: 0;
  }
  .content-box-lg {
    padding: 40px 0;
  }
  .content-box-md {
    padding: 30px 0;
  }

  .navbar-brand {
    padding: 0;
    width: 160px;
    z-index: 4;
  }

  /* Home */
  #home-text {
    width: 95%;
    margin: 0 auto;
  }
  #home-text p {
    font-size: 13px;
  }
  #home-heading h1 {
    font-size: 32px;
  }
  #home-heading #home-heading-2 {
    font-size: 35px;
  }
  #home-text p {
    margin-top: 20px;
    font-size: 14px;
    padding: 0 40px;
  }

  #about-right p:first-child {
    margin-bottom: 15px;
  }

  #statement h3 {
    font-size: 24px;
    line-height: 35px;
  }
  #statement > div {
    padding: 60px 0 50px;
  }

  #team-left .vertical-heading {
    min-height: 135px;
  }

  #services-01 img {
    margin: 25px 0;
    width: 100%;
    object-fit: cover;
    height: calc(100% - 40px);
  }
  .service .icon {
    font-size: 30px;
  }
  .service:hover .icon {
    transform: unset;
  }

  /* Services 02 */
  .r-tabs-accordion-title {
    text-align: center;
    margin-bottom: 10px;
  }
  .r-tabs-accordion-title a {
    text-decoration: none;
    font-family: var(--raleway);
    font-size: 13px;
    color: var(--black-russian);
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
  }
  .r-tabs-accordion-title.r-tabs-state-active a {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
    -webkit-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
  }

  .portfolio-item-overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }
  .portfolio-item-overlay h3 {
    transform: scale(1);
    font-size: 20px;
    font-weight: 300;
    padding: 15px 30px 10px;
    color: var(--primary-blue);
  }

  #contact-left p {
    margin: 15px;
    padding: 0 10px;
  }
  #offices {
    padding-top: 0px;
  }
  #offices h4 {
    font-size: 20px;
  }
  ul.office-details li i {
    font-size: 16px;
    width: 30px;
  }
  ul.office-details li a,
  ul.office-details li span {
    font-size: 14px;
  }
  ul.social-list li:nth-child(1) a {
    background: var(--linkedin);
    color: var(--white);
    border-color: transparent;
  }
  ul.social-list li:nth-child(2) a {
    background: var(--twitter);
    color: var(--white);
    border-color: transparent;
  }
  ul.social-list li:nth-child(3) a {
    background: var(--whatsapp);
    color: var(--white);
    border-color: transparent;
  }

  footer p {
    font-size: 16px;
    line-height: 20px;
  }

  /* BURGER MENU */
  #mobile-nav-open-btn {
    font-size: 30px;
    color: var(--primary-blue);
  }
}

/* Extra Small Devices (Landscape Phones & Portrait Tablets) */
@media (max-width: 767px) {
  section {
    padding: 7px;
  }

  /* Home */
  #home-text {
    width: 100%;
    margin: 0 auto;
  }

  #about-right p,
  #team-left p {
    text-align: justify;
  }
  .content-box-lg {
    padding: 40px 0;
  }
  .content-box-md {
    padding: 30px 0;
  }
  .vertical-heading {
    text-align: center;
  }
  .vertical-heading h5 {
    transform: unset;
    top: 0;
    left: 0;
  }
  .vertical-heading h2 {
    margin: 5px 0 15px 0;
  }
  .horizontal-heading {
    margin-bottom: 0;
  }

  #home-heading h1 {
    font-size: 24px;
    margin-bottom: 3px;
  }
  #home-heading #home-heading-2 {
    font-size: 30px;
  }
  #home-text p {
    margin-top: 20px;
    font-size: 16px;
    padding: 0;
  }
  #home-text p:first-of-type {
    margin-top: 0;
  }

  #about-right {
    margin-bottom: 30px;
  }
  /* #about-right p:first-child {
    margin-bottom: 10px;
  } */

  .about-item {
    margin-bottom: 20px;
  }

  #team-left .vertical-heading {
    min-height: unset;
  }
  #team-left p {
    margin-bottom: 25px;
  }
  ul.social-list {
    justify-content: center;
  }

  #statement h3 {
    font-size: 20px;
    line-height: 26px;
  }

  #services-01 img {
    margin: 30px 0 0;
    border-radius: 5px;
  }
  .service {
    text-align: center;
  }
  .service:hover .icon {
    transform: unset;
  }
  .service h4 {
    font-size: 20px;
  }
  /* Services 02 */
  .service-tab .tab-bg {
    padding: 30px 20px;
  }
  .r-tabs-accordion-title {
    text-align: center;
    margin-bottom: 10px;
  }
  .r-tabs-accordion-title a {
    text-decoration: none;
    font-family: var(--raleway);
    font-size: 13px;
    color: var(--black-russian);
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
  }
  .r-tabs-accordion-title.r-tabs-state-active a {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
    -webkit-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
  }

  .portfolio-item-overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }
  .portfolio-item-overlay span {
    display: inline;
    color: var(--white-smoke);
    padding: 0 10px;
  }
  .portfolio-item-overlay h3 {
    transform: scale(1);
    font-size: 20px;
    font-weight: 300;
    padding: 15px 30px 10px;
    color: var(--primary-blue);
  }

  #contact {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: var(--white-smoke);
  }
  #contact-left p {
    margin: 30px 0 20px;
    padding: 0;
    /* padding: 0 10px; */
  }
  #offices {
    padding-top: 0;
  }
  #offices .row > .col-md-6:last-of-type,
  #offices + .row > .col-md-6:last-of-type {
    display: none;
  }
  #contact .social-list {
    justify-content: start;
    gap: 16px;
  }
  ul.social-list li:nth-child(1) a {
    background: var(--linkedin);
    color: var(--white);
    border-color: transparent;
  }
  ul.social-list li:nth-child(2) a {
    background: var(--twitter);
    color: var(--white);
    border-color: transparent;
  }
  ul.social-list li:nth-child(3) a {
    background: var(--whatsapp);
    color: var(--white);
    border-color: transparent;
  }

  .btn-back-to-top {
    opacity: 0.7;
  }

  .navbar-brand {
    padding: 0;
    width: 160px;
    z-index: 4;
  }

  #mobile-nav-open-btn {
    font-size: 30px;
    color: var(--primary-blue);
  }
}
