@media only screen and (min-width: 1201px) {
  .navbar-brand .mobile {
    display: block;
  }

  .navbar-brand .desktop {
    display: block;
  }
}

/* Medium Layout: 1280px. */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .navbar-brand .mobile {
    display: block;
  }

  .navbar-brand .desktop {
    display: block;
  }
  .feature h5{
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .service h5 {
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

}

/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar {
    background: #fff;
  }
  .service h5 {
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.feature h5{
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .navbar ul li a {
    color: #000;
    font-weight: 500;
  }

  .navbar ul li:hover a {
    color: #fff4f4;
    background: transparent;
  }

  .navbar .dropdown-item:focus,
  .navbar .dropdown-item:hover {
    background: #fff;
    color: #008cfe;
  }

  .navbar-brand .mobile {
    display: block;
  }

  .navbar-brand .desktop {
    display: none;
  }
}

/* Mobile Layout: 320px. */
@media only screen and (max-width: 767px) {
  .navbar {
    background: #fff;
  }
.feature h5{
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .navbar ul li a {
    color: #000;
    font-weight: 500;
  }

  .navbar ul li:hover a {
    color: #505050;
    background: transparent;
  }

  .navbar .dropdown-item:focus,
  .navbar .dropdown-item:hover {
    background: #fff;
    color: #008cfe;
  }

  .navbar-brand .mobile {
    display: block;
  }

  .navbar-brand .desktop {
    display: none;
  }
  .service h5 {
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
}

/* Wide Mobile Layout: 480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {

  .navbar {
    background: #fff;
  }
.feature h5{
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .navbar ul li a {
    color: #000;
    font-weight: 500;
  }
  .service h5 {
    font-size: 16px;
    min-height: fit-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

  .navbar ul li:hover a {
    color: #ffffff;
    background: transparent;
  }

  .navbar .dropdown-item:focus,
  .navbar .dropdown-item:hover {
    background: #fff;
    color: #008cfe;
  }

  .navbar-brand .mobile {
    display: block;
  }

  .navbar-brand .desktop {
    display: none;
  }
}
@media only screen and (min-width: 479px) and (max-width: 767px){
  .bg_mobile {
    background-color: #1e336a;
    width: 100% !important;
}
 .header-1-text {
    margin: 32% 0 180px 3px;
}
.container {
    max-width: 100% !important;
}
.bg_mobile {
    background-color: #1e336a;
}
}
@media only screen and (max-width: 479px) {
  .bg_mobile {
    background-color: #1e336a;
}
  .navbar {
    background: #fff;
  }

  .navbar ul li a {
    color: #000;
    font-weight: 500;
  }

  .navbar ul li:hover a {
    color: #fff1f1;
    background: transparent;
  }

  .navbar .dropdown-item:focus,
  .navbar .dropdown-item:hover {
    background: #fff;
    color: #008cfe;
  }

  .header-1-text h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 35px;
  }

  .header-1-text h5 {
    font-size: 14px;
    line-height: 23px;
  }

  .header-1-text {
    margin: 32% 0 180px 3px;
}

  .header-inner-text h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 35px;
  }

  .header-inner-text h5 {
    font-size: 14px;
    line-height: 23px;
  }

  .header-inner-text {
    margin: 40% 0 0 0;
  }

  .navbar-brand .mobile {
    display: block;
  }

  .navbar-brand .desktop {
    display: none;
  }
  .header-1 {
    min-height: 580px;
}
}

@media (max-width: 767px) {
  .comments-avatar {
    float: none;
  }

  .latest-comments li.children {
    margin-left: 0;
  }

  .comments-text {
    margin-top: 15px;
  }

  .conatct-post-form {
    padding: 20px;
  }
  .header-1-text h1 {
    color: #ffa800 !important;
  }
  .header-1-text h4 {
    color: #ffa800 !important;
  }
  .btn-red {
    padding: 11px 32px;
    margin-left: 2px !important;
}

}

