@media screen and (max-width: 1399px) {
  .bann_hd {
    font-size: 40px;
    font-weight: 600;
  }
  .navbar-nav {
    gap: 6px !important;
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 14px;
  }
  .head_btn {
    padding: 8px 10px 5px 15px;
  }
  .head_btn i {
    font-size: 23px !important;
  }
  .bann_left h3 {
    font-size: 23px;
    font-weight: 600;
  }
  .bann_left .tag-hd {
    font-size: 17px;
  }
  .bann_right img {
    transform: scale(1.2);
  }
  .bann_pd {
    padding: 160px 0 0 0;
  }
  .bann_right::before {
    height: 400px;
    width: 400px;
    left: 30px;
    top: 0px;
  }
  .head_btn ul {
    margin-bottom: 0;
  }
  .s1_list ul li {
    font-size: 16px;
  }
  .sec-hd {
    font-size: 32px;
  }
  .s2_right .tag-hd {
    font-size: 12px;
  }
  .theme_btn1 {
    font-size: 14px;
  }
  .s2_left .img-2 {
    width: 170px;
  }
  .s2_left .img-1 {
    width: 400px;
  }
  .philos-box h4 {
    font-size: 20px;
    text-align: center;
  }
  .s3-circle {
    height: 220px;
    width: 220px;
  }
  .s3-index {
    font-size: 17px;
    height: 40px;
    width: 40px;
  }
  .tag-hd {
    font-size: 13px;
  }
  .sec-5 .nav-tabs .nav-link {
    font-size: 15px;
  }
  .testi-box .testi-img img {
    height: 85px;
    width: 85px;
  }
  .quote-box {
    height: 30px;
    width: 30px;
    top: -35px;
    right: 70px;
  }
  .blog-img img {
    height: 200px;
  }
  .blog-desc h5 {
    font-size: 17px;
  }
  .foot_list ul li {
    font-size: 14px;
  }
  .head_btn h4 a {
    font-size: 21px;
  }
  .collapse.navbar-collapse::before {
    top: -37px;
  }
  .navbar {
    padding: 20px 0 0 0;
  }
  .service-box .ser-content {
    padding: 17px;
  }
  .service-detail-sec .tag-hd,
  .contact-sec .tag-hd {
    margin-bottom: 10px !important;
  }
  .contact-sec .container .row {
    gap: 0 !important;
  }
  .contact-box p {
    font-size: 14px;
  }
  .contact-title i {
    font-size: 18px;
  }
  .contact-title h4 {
    font-size: 17px;
  }
  .h-phone-icon i {
    height: 80px;
    width: 80px;
    font-size: 27px;
  }
}

@media screen and (max-width: 1199px) {
  .head_btn ul {
    gap: 10px !important;
  }
  .head_btn ul p {
    font-size: 12px;
  }
  .head_btn h4 a {
    font-size: 18px;
  }
  .head_btn {
    padding: 8px 8px 5px 8px;
  }
  .head_btn i {
    font-size: 18px !important;
  }
  .navbar-brand {
    width: 21%;
  }
  .bann_left .tag-hd {
    font-size: 14px;
  }
  .bann_hd {
    font-size: 30px;
  }
  .bann_left h3 {
    font-size: 20px;
  }
  .bann_right img {
    transform: scale(1.2);
  }
  .bann_right::before {
    height: 300px;
    width: 300px;
    left: 55px;
    top: 15px;
  }
  .bann_pd {
    padding: 145px 0 0 0;
  }
  .collapse.navbar-collapse::before {
    top: -31px;
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 13px;
  }
  .s1_list ul li {
    font-size: 13px;
  }
  .sec-hd {
    font-size: 28px;
  }
  .s2_left .img-2 {
    width: 140px;
  }
  .s2_left .img-1 {
    width: 300px;
  }
  .tag-hd {
    font-size: 11px;
  }
  .s3-circle {
    height: 200px;
    width: 200px;
  }
  .philos-box h4 {
    padding: 10px;
  }
  .s3-index {
    font-size: 15px;
    height: 30px;
    width: 30px;
  }
  .team-detail h4 {
    font-size: 19px;
  }
  .s4-heading,
  .s6-heading {
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  .s5-heading .tag-hd {
    width: auto !important;
  }
  .s5-heading h2,
  .s5-heading p {
    width: 100% !important;
  }
  .testi-box {
    width: 95% !important;
  }
  .testi-box {
    padding: 65px 25px 25px 20px;
  }
  .testi-box .testi-img img {
    height: 70px;
    width: 70px;
  }
  .quote-box {
    height: 21px;
    width: 21px;
    top: -26px;
    right: 70px;
    font-size: 11px;
  }
  .sec-pd {
    padding: 60px 0 60px 0;
  }
  .blog-desc {
    padding: 13px 13px 13px 13px;
  }
  .blog-desc h4 {
    margin-bottom: 0;
  }
  .blog-img img {
    height: 160px;
  }
  .newsletter-form .form-group,
  .newsletter-form button {
    width: auto;
  }
  footer .row {
    padding-bottom: 10px;
  }
  .foot_box p {
    font-size: 14px;
  }
  .foot_box .social_icon a i {
    height: 30px;
    width: 30px;
    font-size: 14px;
  }
  .ser-content p {
    line-height: unset;
  }
  .contact-sec .row .col-lg-2 {
    width: 25% !important;
  }
  .chat-ban {
    padding: 25px 0 0 0;
  }
  .h-phone-icon {
    margin-bottom: 10px !important;
  }
}

@media (max-width: 991px) {
  .head_btn {
    position: absolute;
    top: 15px;
    right: 205px;
  }

  .navbar-light .navbar-toggler {
    order: 1;
    position: absolute;
    top: 15px;
    right: 120px;
  }
  .navbar-collapse {
    background-color: #763c2e;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    flex-basis: 80%;
    flex-grow: unset;
  }
  .navbar-nav .nav-link {
    color: #fff !important;
    padding: 10px 0;
  }
  .collapse.navbar-collapse::before {
    content: none;
  }
  .dropdown-menu {
    visibility: hidden;
    opacity: 1;
    display: none !important;
  }
  .dropdown:hover .dropdown-menu {
    display: block !important;
    margin-top: 0;
  }
  .navbar-light .navbar-nav .nav-link {
    color: #fff !important;
  }
  .navbar-nav {
    gap: 24px !important;
  }
  .navbar-brand {
    width: 35%;
  }
  .dropdown-item {
    font-size: 13px;
  }
  .bann_right img {
    transform: unset;
  }
  .bann_right::before {
    content: none;
  }
  .bann_hd {
    font-size: 27px;
  }
  .bann_left h3 {
    font-size: 17px;
  }
  .bann_pd {
    padding: 145px 0 0px 0;
  }
  .bann_left .tag-hd {
    font-size: 11px;
  }
  .sec-2.cta-sec .row {
    gap: 0px !important;
  }
  .s2_left .img-1 {
    width: 240px;
  }
  .s2_left .img-2 {
    width: 100px;
  }
  .philos-box h4 {
    font-size: 15px;
  }
  .s3-circle {
    height: 150px;
    width: 150px;
    padding: 9px;
  }
  .s3-index {
    font-size: 13px;
    height: 25px;
    width: 25px;
  }
  .s3-heading {
    margin-bottom: 7px !important;
  }
  .sec-pd {
    padding: 50px 0 50px 0;
  }
  .s1_right p {
    font-size: 14px;
  }
  .team-img img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
  .s4-heading,
  .s6-heading {
    width: 100% !important;
    margin-bottom: 0px !important;
  }
  .blog-box {
    width: 100%;
  }
  .foot_box a.w-75.d-inline-block {
    width: 40% !important;
  }
  .head_right.social_icon {
    margin-bottom: 40px;
  }
  .newsletter-form {
    justify-content: flex-start !important;
    padding-bottom: 20px;
  }
  .bann_right {
    padding: 10px 0;
  }
  .navbar-light .navbar-nav .nav-link:hover {
    color: #fff !important;
  }
  .service-detail-sec ul li,
  .service-detail-sec p {
    font-size: 14px;
  }
  .service-detail.mb-5 {
    margin-bottom: 10px !important;
  }
  .service-video iframe {
    width: 100%;
    max-width: 100%;
    height: 400px;
  }
  .tabs-sec .row {
    flex-direction: column-reverse;
  }
  .tabs-sec .row .service-heading {
    order: 4;
  }
  .tabs-sec .row h3.fw-bold.mb-4 {
    order: 2;
  }
  .contact-sec .row .col-lg-2 {
    width: 40% !important;
  }
  .contact-title ul {
    justify-content: center;
  }
  .contact-box {
    height: 200px;
  }
  .contact-form-sec .row {
    justify-content: center;
  }
  .form-heading {
    text-align: center;
  }
  .client-quote {
    position: static;
    width: 100%;
    padding: 10px;
  }
  .client-quote p {
    font-size: 14px;
    margin-bottom: 0 !important;
  }
  .qoute-icon i {
    font-size: 31px;
  }
}

@media (max-width: 767px) {
  .bann_left {
    text-align: center;
  }
  .head_btn ul p {
    font-size: 10px;
  }
  .head_btn h4 a {
    font-size: 15px;
    display: inline-block;
  }
  .head_btn i {
    font-size: 14px !important;
  }
  .bann_right img {
    max-width: 80%;
  }
  .bann_right {
    text-align: center !important;
  }
  .s1_list,
  .s1_right {
    margin-top: 13px;
  }
  .s2_left {
    margin-bottom: 45px;
  }
  .s2_left .img-1 {
    width: 160px;
  }
  .s2_left .img-2 {
    right: 0px;
  }
  .s2_left .img-2 {
    width: 50px;
  }
  .team-detail {
    margin-top: 0;
  }
  .testi-box {
    width: 100% !important;
  }
  .blog-sec .row {
    justify-content: center;
    gap: 15px 0;
  }
  .sec-5.portfolio-sec {
    overflow: hidden;
  }
  .service-box .ser-img img {
    height: auto;
    max-width: 100%;
    position: static;
    border-radius: unset;
  }
  .serv-detail .btn-container.mt-5 {
    margin: 10px 0 !important;
  }
  .contact-sec .row .col-lg-2 {
    width: 50% !important;
  }
  .client-img {
    margin-bottom: 20px;
  }
  .client-quote {
    width: 80%;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    width: 30%;
  }
  .navbar-light .navbar-toggler {
    right: 60px;
  }
  .head_btn {
    right: 120px;
  }
  .bann_right img {
    max-width: 50%;
  }
  .bann_hd {
    font-size: 24px;
  }
  .sec-hd {
    font-size: 23px;
  }
  .theme_btn1 {
    font-size: 12px;
    padding: 10px 17px;
  }
  .s2_right .tag-hd {
    font-size: 10px;
  }
  .s1_left {
    text-align: center;
  }
  .s1_list {
    text-align: left;
  }
  .s1_left img {
    max-width: 70% !important;
  }
  .s2_left .img-2 {
    right: 170px;
  }
  .s2_right {
    text-align: center;
  }
  .sec-pd {
    padding: 35px 0 35px 0;
  }
  .s3-circle {
    margin: auto;
  }
  .team-detail h4 {
    font-size: 16px;
  }
  .team-detail p {
    font-size: 11px;
    font-weight: 600;
  }
  .btn_container.mt-5.text-center {
    margin-top: 10px !important;
  }
  .portfolio-img {
    margin: 10px 0;
  }
  .modal-body p {
    font-size: 14px;
  }
  p.text-center.text-white.mb-0.py-3,
  .testi-box p {
    font-size: 13px;
  }
  .head_btn h4 a {
    font-size: 14px;
  }
  .bread-crumb {
    padding: 0 20px;
  }
  .inner-pd {
    padding: 130px 0 0px 0;
  }
  .serv-detail li {
    padding: 0 0 0 15px;
  }
  .serv-detail ul li::before {
    left: 0px;
    top: 3px;
    font-size: 12px;
  }
  p {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .navbar-light .navbar-toggler {
    right: 20px;
  }
  .head_btn {
    right: 85px;
  }
  .s2_left {
    display: none;
  }
  .testi-box h4 {
    font-size: 17px;
  }
  .head_btn i {
    display: none;
    content: none !important;
  }
  .head_btn li {
    width: 100%;
  }
  .head_btn ul {
    gap: 0 !important;
    flex-wrap: wrap !important;
  }
  .head_btn h4 a {
    font-size: 13px;
  }
  .newsletter-form {
    flex-wrap: wrap;
  }
  .newsletter-form .form-group,
  .newsletter-form button {
    width: 100% !important;
  }
  .service-heading.text-center.mb-5 {
    margin-bottom: 15px !important;
  }
  .contact-sec .row .col-lg-2 {
    width: 100% !important;
  }
  .contact-box {
    height: auto;
  }
}
