/* Large Desktop */
@media (min-width: 1600px) {
  .container {
    max-width: 1480px;
  }
}

/* Full HD */
@media (min-width: 1920px) {
  .container {
    max-width: 1680px;
  }

  section {
    padding: 120px 0;
  }
}

/* 2K / 2560px */
@media (min-width: 2560px) {
  .container {
    max-width: 1920px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .floating-socials {
  position: fixed;
  bottom: 80px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999; /* Ensures it stays on top of other content */
}
  .small {
    display: block;
    transition: all 0.3s ease-in-out;
  }

  #main_header {
    display: none;
  }

  .small nav {
    padding: 15px 0;
  }

  .small img {
    width: 170px;
  }

  .small nav .container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .small nav .menu {
    width: 40px;
    height: 40px;
    background: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
  }

  .small nav .menu-2 {
    width: 40px;
    height: 40px;
    background: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
  }

  .small nav .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out;
    z-index: 1000;
  }

  .small.show .sidebar {
    left: 0;
  }

  .small nav .sidebar>ul {
    margin-top: 120px !important;
  }

  .small nav .sidebar>ul>li {
    padding: 10px;
  }

  .small nav .sidebar ul>li:last-child {
    border-bottom: none;
  }

  .small nav .sidebar ul>li>a {
    color: #000;
    padding: 4px;
    font-size: 20px;
    text-transform: capitalize;
  }

  .small nav .sidebar>ul>li.link-sm {
    position: relative;
  }

  .small nav .sidebar ul li.link-sm i {
    position: absolute;
    top: 3px;
    right: 0px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 19px;
    color: #1e1e1e;
    font-weight: 700;
  }

  .small nav .sidebar ul.sub-menu-sm {
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease-in-out;
    margin-top: 0 !important;
  }

  .small nav .sidebar ul.sub-menu-sm li {
    padding: 12px 16px;
  }

  .small .times {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #0e0e0e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
  }

  .small .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
  }

  .small.show .overlay {
    opacity: 1;
    pointer-events: all;
  }

  ul.list-unstyled.p-0.m-0.sub-menu-sm li a {

    font-size: 16px;
  }

  .small nav .sidebar.show {
    left: 0;
  }


  h1 {
    font-size: 55px;

  }

  h2 {
    font-size: 34px;
  }



  p br {
    display: none;
  }


  section {
    padding: 50px 0;
  }

  .banner_sec {
    padding: 60px 0px 458px;
    text-align: center;
    background: url(../image/banner_bg_mb.jpg) no-repeat bottom/ cover !important;
  }

  .banner_sec h1 br {
    display: none;
  }

  .banner_sec .banner_sec_info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

  }

  .banner_sec .banner_sec_info_item {
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .home_sec3 h2 br {
    display: none;
  }

  .home_sec4 h2 br {
    display: none;
  }

  .footer .right_side .footer_title {
    margin-top: 28px;
  }

  .footer .right_side .footer_items li {
    font-size: 16px;
  }

  .footer .right_side .quote_text {
    font-size: 14px;
  }

  .footer {
    padding-top: 50px;
  }

  .footer .footer_logo img {
    width: 234px;
  }

  .contact_sec .map {
    height: 350px;
  }

  .inner_area_banner .banner_content h1 {
    font-size: 38px;
  }

  .inner_area_banner {
    padding: 60px 0px 458px;
    background: url(../image/glasgow_city_suburbs_bg_mb.jpg) no-repeat bottom/ cover !important;
  }

  .area_sec .area-list {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Small tablets */
@media (max-width: 768px) {
  h1 {
    font-size: 40px;
  }

  .banner_sec .sub_heading {
    font-size: 14px;
  }

  .banner_sec .banner_sec_info {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .home_sec2 .home_sec2_tabs {
    gap: 5px;
  }

  .span-text {
    font-size: 14px;
  }

  .home_sec4 .counter_div {
    gap: 15px;
  }

  .home_sec4 .counter_div .item1 {
    padding-right: 15px;
  }

  .home_sec4 .counter_div .item3 {
    padding-left: 15px;
  }

  .home_sec5 .form_box {
    padding: 25px;
  }

  .home_sec5 .result {
    padding: 20px;
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }

  .home_sec5 .result h4 {
    font-size: 35px;
  }

  .estimator_modal .modal-body {
    padding: 25px;
  }

  .estimator_modal .estimator_modal_heading h3 {
    font-size: 22px;
  }

  .home_sec7 .review-prev,
  .home_sec7 .review-next {
    top: initial;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    user-select: none;
  }


  .home_sec7 .review-prev {
    left: 40%;
  }

  .home_sec7 .review-next {
    left: 60%;
  }

  .home_sec8 .accordion-button {
    font-size: 16px;
  }

  .home_sec7 {
    padding-bottom: 100px;
  }

  .home_sec9 .map-overlay {
    padding: 20px;
  }

  .home_sec9 .map-overlay h3 {
    font-size: 22px;
  }

  .home_sec9 .btn-theme {
    width: 100%;
  }

  .home_sec9 .coverage-map {
    min-height: 490px;
  }

  .home_sec9 .coverage-map img {
    height: 404px;
  }

  .home_sec11 .contact-form-box {
    padding: 30px;
  }

  .home_sec11 .section-title {
    font-size: 30px;
  }

  .home_sec11 .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home_sec12 .blog-box h4 {
    font-size: 20px;
    line-height: 1.4;
  }

  .main-sec h1 {
    font-size: 26px;
  }

  .login_form_card {
    padding: 24px;
  }

  .login_form_heading h2 {
    font-size: 26px;
  }

  .login_form_heading {
    margin-bottom: 28px;
  }

  .login_form_options {
    flex-direction: column;
    gap: 10px;
  }

  .inner_area_banner {
    padding: 50px 0px 228px;
  }

  .area_sec .area-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .services_sec1 .img_big {
    height: auto;
  }

  .services_sec1 .img_big img {
    height: auto;
  }


}

/* Mobile */
@media (max-width: 576px) {
  .banner_sec {
    padding: 60px 0px 258px;
  }

  .area_sec .area-list {
    grid-template-columns: repeat(1, 1fr);

  }
}




/* Small mobile */
@media (max-width: 480px) {}

/* Very small */
@media (max-width: 360px) {}