@media screen and (max-width: 991px) {
  section.about-s1.pm-s1 .row > div:nth-child(2) img {
    object-fit: contain;
  }
}
@media (max-width: 767px) {
  img {
    max-width: 100%;
  }

  h1 {
    font-size: 22px !important;
    line-height: 32px !important;
  }

  h2 {
    font-size: 19px !important;
    line-height: 30px !important;
  }

  h3 {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  h4 {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  h5 {
    font-size: 18px !important;
    line-height: 26px !important;
  }

  h6 {
    font-size: 18px !important;
    line-height: 26px !important;
  }

  p {
    font-size: 13px !important;
    line-height: 22px !important;
  }

  footer ul {
    flex-wrap: wrap;
  }
  .first-modal .modal-dialog {
    max-width: 88%;
  }
  .first-modal {
    z-index: 9999999999;
  }
  header .top-header ul li a {
    font-size: 10px;
  }

  header .top-header ul li {
    margin-right: 0;
  }

  header .top-header .row > div {
    padding: 0 15px;
  }

  header .top-header ul {
    justify-content: space-between;
  }

  header .top-header ul li a img {
    margin-right: 3px;
  }

  header .top-header ul.social-icon {
    padding-top: 0;
    justify-content: center;
  }

  section.bottom-header img {
    max-width: 25%;
  }

  .slim-container .slim-bar {
    background: transparent;
  }

  .slim-container .slim-bar a span {
    background: #74bec1;
  }

  .slim-container .slim-bar a {
    color: #74bec1;
  }

  header .bottom-header .row > div:nth-child(2) {
    position: absolute;
    width: 100%;
    padding: 0;
    top: 0px;
    left: 0;
  }

  .bottom-header .row > div:nth-child(1) {
    position: relative;
    z-index: 9999999;
    width: 280px;
  }

  header .bottom-header .search {
    position: absolute;
    z-index: 9999999;
    width: 50%;
    right: 46px;
    padding: 0;
  }

  header .bottom-header input[type="search"] {
    height: 39px;
  }

  header .bottom-header .search::after {
    top: 11px;
  }

  .banner .banner-bg > img {
    position: absolute;
  }

  .banner .banner-bg .banner-content {
    position: relative;
  }

  .banner .banner-bg .banner-content {
    text-align: center;
  }

  .banner {
    padding: 30px 0 82px;
  }

  .banner .banner-bg .banner-content a {
    font-size: 13px;
    padding: 9px 12px;
  }

  .section2 .sec-2-card {
    padding: 13px;
  }

  .section2 p {
    margin-top: 0;
  }

  .section2 .sec-2-card .card-txt h4 {
    font-size: 14px !important;
    line-height: 18px !important;
  }

  .section2 .sec-2-card .circle {
    height: 50px;
    width: 50px;
  }

  .section2 .sec-2-card .circle img {
    width: 32%;
  }

  .section2 .sec-2 > div {
    margin-bottom: 13px;
    width: 50%;
  }

  .section2 .sec-2-card {
    flex-wrap: wrap;
  }

  .section2 .sec-2-card .card-txt {
    width: 100%;
    margin-left: 0;
  }

  header .bottom-header ul {
    flex-direction: column;
  }

  header .bottom-header ul li:last-child {
    margin-right: 0px !important;
  }

  header .bottom-header ul li {
    margin-right: 0;
  }

  .slim-container .slim-nav ul li a {
    font-size: 12px;
  }

  .slim-container .slim-nav {
    background: #1d154f;
    margin-top: 47px;
  }

  .slim-container .slim-nav ul li a {
    padding: 8px 5%;
  }

  .section2 .sec-2-card .card-txt p {
    font-size: 12px !important;
  }

  .section2 .sec-2-card {
    min-height: 219px;
  }

  .section2 .sec-2 > div:last-child {
    width: 100%;
  }

  .section2 .sec-2 > div:nth-child(1) {
    padding-right: 7px;
  }

  .section2 .sec-2 > div:nth-child(2) {
    padding-left: 7px;
  }

  .section2 .sec-2-card {
    text-align: center;
    align-items: flex-start;
  }

  .section2 .sec-2-card .circle {
    margin: auto;
  }

  .section2 {
    text-align: center;
  }

  .section2 h3,
  .section2 h2 {
    text-align: center;
  }

  .section2 .sec-3 {
    margin-top: 30px;
  }

  .section2 .sec-3-card {
    padding: 16px;
    text-align: center;
    margin: 16px 0;
  }

  .section2 .sec-3-card a {
    margin-right: 0;
  }

  .section2 h4 {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    font-size: 14px !important;
  }

  header .bottom-header ul li {
    padding-right: 0;
  }

  .slim-container .slim-nav ul li li a {
    padding-left: 5%;
    color: #fff;
    width: 100%;
    opacity: 1 !important;
  }

  .slim-container .slim-nav ul li a.slim-expand {
    height: 14px;
    line-height: 14px;
  }

  .section2 .circle {
    margin: auto;
  }

  .section2 a.btn {
    font-size: 13px;
    padding: 9px 12px;
    margin-top: 4px;
    margin-bottom: 18px;
  }

  .current-menu-item {
    background: #140f36;
  }

  .section2 {
    padding-bottom: 30px;
  }

  .section3 {
    padding: 30px 0;
  }

  .section2 .circle {
    width: 50px;
    height: 50px;
  }

  .section3 .feature-card .circle {
    width: 50px;
    height: 50px;
    margin: auto;
  }

  .section3 .feature-card .circle img {
    margin: auto;
    width: 32%;
  }

  .section2 .circle img {
    margin: auto;
    width: 32%;
  }

  .section3 .feature-card {
    animation: unset;
    background-size: cover;
    min-height: unset;
  }

  .section3 .feature-card:hover {
    transform: unset;
    animation: unset;
  }

  .section3 .feature-card a {
    right: 30px !important;
  }

  .section3 .feature-card:hover {
    background-size: cover;
  }

  .section3 .feature-card h4,
  .section3 .feature-card p {
    text-align: center;
  }

  .section3 .feature-card a {
    bottom: 10px;
    margin: 12px 0;
    margin-bottom: 0;
  }

  .section3 .feature-card a {
    height: 40px;
    width: 40px;
  }

  .section3 .feature-card h4 {
    margin: 12px 0;
    margin-bottom: 0;
  }

  .section4 ul li {
    width: 50%;
  }

  .section4 h2 {
    margin-bottom: 22px;
  }

  .section5 > img {
    position: relative;
    object-fit: cover;
  }

  .section5 {
    padding-top: 0;
    min-height: unset;
    padding-bottom: 30px;
    text-align: center;
  }

  .section5 a {
    font-size: 12px;
  }

  .section4 {
    padding-bottom: 0;
  }

  .section5 h2 {
    margin: 16px 0;
    text-align: center;
  }

  .section6 {
    padding: 18px 0;
  }

  .section6 .blog-card {
    text-align: center;
  }

  .section6 .blog-card h5 {
    font-size: 14px !important;
  }

  .section6 .blog-card p {
    text-align: center;
  }

  .section6 .blog-card a {
    margin-top: 6px;
    font-size: 12px;
  }

  .section6 .blog-card {
    padding: 10px 18px 23px;
  }

  .section7 {
    padding: 30px 0;
    text-align: center;
  }

  .section7 form input[type="submit"] {
    padding: 13px 28px;
  }

  .section7 form input:not([type="submit"]) {
    padding-right: 100px;
    font-size: 12px;
  }

  .section7 small {
    line-height: 22px;
  }

  .contact ul li {
    margin-bottom: 20px;
  }

  .contact ul {
    margin-top: 20px;
  }

  .contact {
    padding: 23px 0 21px;
  }

  .contact input[type="text"] {
    height: 40px;
  }

  .contact .row > div:last-child img {
    margin-top: 16px;
  }

  .contact h3 {
    margin-bottom: 0;
  }

  .contact .sub-btn {
    margin-top: 20px;
  }

  .contact input[type="submit"] {
    padding: 012px 22px;
    font-size: 12px;
  }

  footer {
    padding: 30px 0;
    text-align: center;
  }

  footer ul.text-links {
    justify-content: center;
    margin-bottom: 16px;
  }

  footer ul {
    justify-content: center;
  }

  footer ul li {
    margin-right: unset !important;
    margin: 0 12px !important;
  }

  footer h5 {
    margin-bottom: 16px;
  }

  footer .copyright {
    margin-top: 16px;
  }

  footer img {
    max-width: 30%;
    margin-bottom: 16px;
  }

  footer .copyright .row > div {
    flex-direction: column;
  }

  footer .copyright ul {
    margin-left: unset !important;
    justify-content: center;
  }

  footer ul li a {
    font-size: 12px;
  }

  footer .copyright p {
    margin-bottom: 0;
  }

  footer {
    padding-top: 16px;
    padding-bottom: 0;
  }

  footer .copyright {
    padding-top: 10px;
  }

  .hero-ban {
    height: 150px;
  }

  .pm-s1 {
    padding: 26px 0;
  }

  .about-s1 .pro-man {
    flex-wrap: wrap;
  }

  .about-s2 {
    padding: 0;
  }

  .about-s2 h6 {
    margin-top: 10px;
  }

  .vdo {
    padding: 30px 0;
  }

  .post {
    margin-top: 0;
    padding-bottom: 0;
  }

  .post .archive ul li a {
    font-size: 14px;
  }

  .post .search {
    margin-bottom: 30px;
  }

  .archive ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .post .archive ul li {
    width: 50%;
  }

  .post .archive ul li a {
    padding-left: 10px;
  }

  .archive ul {
    margin-bottom: 0;
  }

  .post .post-txt h6 {
    font-size: 15px !important;
  }

  .contact {
    padding-top: 0;
  }

  .post .post-txt h6 {
    font-size: 12px !important;
  }

  .post .post-txt {
    padding: 12px 0;
  }

  .post .post-txt:after {
    content: none;
  }

  .post .post-card:hover .post-txt h6,
  .post .post-card:hover .post-txt a {
    color: #000;
  }

  .post .post-txt a {
    font-size: 11px;
  }

  .contact ul li a {
    font-size: 12px;
  }

  .contact ul li p {
    font-size: 12px !important;
    margin-left: 16px;
  }

  .blog-details-sec .blog-details .bd-con input[type="text"] {
    margin-top: 15px !important;
  }

  .blog-details-sec .blog-details .bd-con {
    margin-bottom: 22px;
  }

  .blog-details-sec .right-bar .category-section ul li a {
    font-size: 13px;
  }

  .blog-details-sec .right-bar .category-section ul li {
    line-height: 43px;
  }

  .blog-details-sec .right-bar .category-section ul li a {
    line-height: 43px;
  }

  .contact {
    padding-top: 17px;
  }

  .contact-section2 .card-contact {
    min-height: unset;
    margin-bottom: 12px;
    text-align: center;
  }

  .contact-section2 .card-contact .image {
    margin: auto;
  }

  .contact-section2 .card-contact h6 {
    font-size: 14px !important;
  }

  .contact-section2 .card-contact h5 {
    margin-bottom: 7px !important;
    margin-top: 12px;
  }

  .contact-section2 .card-contact a {
    justify-content: center;
  }

  .contact {
    text-align: center;
  }

  .contact .row > div:last-child img {
    margin-top: 16px;
    margin: 16px auto 0;
  }

  .creative-section1 img {
    margin-bottom: 23px;
  }

  .pm-s1 p {
    text-align: center;
  }

  .contact ul li p {
    text-align: left;
    width: 100%;
  }

  .dm-3 .image-back {
    width: 140px;
    height: 140px;
  }

  .dm-5 {
    margin: 0;
  }

  .pm-s2 .row {
    margin-bottom: 0;
  }

  .dm-3 {
    margin-bottom: 0;
  }

  .pm-s2 {
    text-align: center;
  }

  .dm-4 a {
    padding: 14px 22px;
    font-size: 12px;
  }

  .pm-s2 {
    padding: 0px 0 0;
  }
}

@media screen and (max-width: 480px) {
  section.about-s1.pm-s1 .row > div:nth-child(2) img {
    object-fit: cover;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  header .top-header ul li a {
    font-size: 10px;
  }

  .contact ul li {
    margin-bottom: 10px;
  }

  header .top-header ul li {
    margin-right: 0;
  }

  .contact ul {
    margin-top: 13px;
  }

  header .top-header .row > div {
    padding: 0 15px;
  }

  header .top-header ul {
    justify-content: space-between;
  }

  header .top-header ul li a img {
    margin-right: 3px;
  }

  header .top-header ul.social-icon {
    padding-top: 0;
    justify-content: center;
  }

  header .bottom-header ul {
    flex-direction: column;
  }

  header .bottom-header ul li:last-child {
    margin-right: 0px !important;
  }

  header .bottom-header ul li {
    margin-right: 0;
  }

  .slim-container .slim-nav ul li a {
    font-size: 12px;
  }

  .slim-container .slim-nav {
    background: #1d154f;
    margin-top: 52px;
  }

  .slim-container .slim-nav ul li a {
    padding-left: unset;
    padding: 8px 5% !important;
  }

  header .bottom-header ul li {
    padding-right: 0;
  }

  .slim-container .slim-nav ul li li a {
    padding-left: 6.5% !important;
    color: #fff;
    width: 100%;
    opacity: 1 !important;
  }

  .slim-container .slim-nav ul li a.slim-expand {
    height: 14px;
    line-height: 10px;
    right: 15px;
  }

  section.bottom-header img {
    max-width: 50%;
  }

  header .bottom-header {
    padding: 18px 0;
  }

  .slim-container .slim-bar {
    background: transparent;
  }

  .slim-container .slim-bar a span {
    background: #74bec1;
  }

  .slim-container .slim-bar a {
    color: #74bec1;
  }

  header .bottom-header .row > div:nth-child(2) {
    position: absolute;
    width: 100%;
    max-width: 100% !important;
    padding: 0;
    top: 22px;
    left: 0;
  }

  .bottom-header .row > div:nth-child(1) {
    position: relative;
    z-index: 9999999;
    width: 280px;
  }

  header .bottom-header .search {
    position: absolute;
    z-index: 9999999;
    width: 50%;
    right: 46px;
    padding: 0;
  }

  header .bottom-header input[type="search"] {
    height: 39px;
  }

  header .bottom-header .search::after {
    top: 11px;
  }

  .post .search::before {
    width: 9%;
  }

  .pm-s1 {
    padding: 31px 0 0;
  }

  .section6 .blog-card .admin {
    right: 17px;
    top: 205px;
  }

  .section6 .blog-card .date {
    left: 17px;
    top: 205px;
  }

  .pm-s2 img {
    width: 100%;
  }

  .section5 > img {
    width: 100%;
  }

  header .bottom-header ul li {
    padding-right: 23px;
  }

  header .bottom-header ul li a {
    font-size: 12px;
  }

  .section7 form input:not([type="submit"]) {
    padding-right: 190px;
  }

  .blog-details-sec .blog-details .bd-con input[type="text"] {
    margin-top: 15px !important;
  }

  .pm-s2 .row {
    margin-bottom: 0px;
  }

  header .bottom-header .search::after {
    right: 35px;
  }

  .section2 .sec-2-card {
    flex-wrap: wrap;
  }

  .section2 .sec-2-card .card-txt {
    width: 100%;
  }

  .section2 .sec-2-card {
    text-align: center;
    min-height: 343px;
  }

  .section2 .sec-2-card .circle {
    margin: auto;
  }

  .section2 .sec-2-card .circle {
    margin-bottom: 20px;
  }

  .banner .banner-bg .banner-content h3 {
    font-size: 22px;
  }

  .banner .banner-bg .banner-content h1 {
    font-size: 34px;
    margin-bottom: 0;
  }

  .banner {
    height: 495px;
  }

  .section2 .sec-3-card {
    text-align: center;
    margin-top: 40px;
  }

  .section2 h4 {
    display: block;
    width: 100%;
    margin-left: 0 !important;
  }

  .section2 .circle {
    margin: auto;
    margin-bottom: 22px;
  }

  .section2 a.btn {
    margin-top: 6px;
  }

  p {
    font-size: 16px !important;
  }

  .section2 p {
    font-size: 14px;
  }

  .section2 .sec-3-card {
    min-height: 410px;
  }

  .section7 form {
    max-width: 600px;
    margin: 35px auto;
    position: relative;
  }

  .section5 > img {
    position: relative;
  }

  .section5 {
    padding-top: 0;
    padding-bottom: 50px;
    text-align: center;
  }

  .section5 h2 {
    margin-top: 30px;
    font-size: 22px;
    margin-bottom: 16px;
  }

  .section2 .sec-3-card a {
    margin-right: 0;
  }

  .section3 .feature-card:hover {
    background-size: cover;
    animation: none;
  }

  .section3 .feature-card a {
    right: 30px;
  }

  .section3 .feature-card {
    background-size: cover;
    animation: none;
    min-height: 422px;
  }

  .post {
    margin-top: 0;
  }

  footer .copyright {
    margin-top: 30px;
  }

  footer {
    padding: 43px 0 0;
  }

  .contact {
    padding-top: 0;
  }

  .blog-details-sec .right-bar .recent-news-section .news-card {
    flex-direction: column;
  }

  .blog-details-sec .right-bar .recent-news-section .news-card .text {
    margin-left: 0;
  }

  .blog-details-sec .right-bar .recent-news-section .news-card .text {
    width: 100%;
  }

  .contact .row > div:last-child img {
    width: 100%;
  }

  .contact {
    padding-top: 19px;
  }

  .contact-section2 .card-contact {
    margin-bottom: 32px;
  }

  .contact .row > div:last-child img {
    width: unset;
  }

  header .top-header ul.social-icon {
    padding-top: 0;
    padding-bottom: 0;
    justify-content: center;
  }
}

@media (min-width: 1001px) and (max-width: 1024px) {
  .post .search::before {
    width: 26%;
  }

  header .bottom-header ul li {
    padding-right: 25px;
  }

  .pm-s2 img {
    width: 100%;
  }

  .section3 .n-card {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .section3 .n-card .n-wrap {
    margin-left: 9px !important;
  }

  .section3 .row:nth-child(2) > div:nth-of-type(4n + 3) .n-wrap,
  .section3 .row:nth-child(2) > div:nth-of-type(4n + 4) .n-wrap {
    order: 2;
  }

  .section3 .n-card .n-wrap {
    text-align: center;
  }

  .section11 ul.branches-list-image li {
    width: 40%;
  }

  .section2 .sec-2-card {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 30px 5px;
    min-height: 310px;
  }

  .section2 .sec-2-card .circle {
    margin-bottom: 22px;
  }

  .section2 .sec-2-card h4 {
    min-height: 200px !important;
  }

  .section2 .circle {
    height: 43px;
    width: 43px;
  }

  .section2 h4 {
    font-size: 15px;
  }

  footer ul.text-links li a {
    font-size: 13px;
  }

  footer ul.text-links li {
    margin-right: 24px;
  }

  header .bottom-header ul li a {
    font-size: 14px;
  }

  .section3 .feature-card {
    animation: none;
  }

  .section3 .feature-card:hover {
    animation: none;
    background-size: cover;
  }

  .section2 .sec-3-card a {
    margin-right: 0;
  }

  .section3 .feature-card:hover {
    background-size: cover;
    animation: none;
  }

  .section3 .feature-card a {
    right: 30px;
  }

  .section3 .feature-card {
    background-size: cover;
    animation: none;
  }
}

@media (min-width: 900px) and (max-width: 1000px) {
  header .bottom-header .row > div:nth-child(2) {
    top: 37px;
  }

  .slim-container .slim-nav {
    margin-top: 78px;
  }

  header .top-header ul.social-icon {
    padding-top: 0;
    padding-bottom: 0;
    justify-content: center;
  }
}

/**adding extra css */

.section4 ul li {
  transform: translate(0px, -150px);
  opacity: 0;
}
.section4.fix-it ul li:nth-child(1) {
  /* animation: scroll 0.5s 0s; */
  transform: translate(0px, 0px);
  opacity: 1;
  transition: all ease 0.3s 0s;
}
.section4.fix-it ul li:nth-child(2) {
  /* animation: scroll 0.5s 0.5s; */
  transform: translate(0px, 0px);
  opacity: 1;
  transition: all ease 0.3s 0.5s;
}
.section4.fix-it ul li:nth-child(3) {
  /* animation: scroll 0.5s 1s; */
  transform: translate(0px, 0px);
  opacity: 1;
  transition: all ease 0.3s 1s;
}
.section4.fix-it ul li:nth-child(4) {
  /* animation: scroll 0.5s 1.5s; */
  transform: translate(0px, 0px);
  opacity: 1;
  transition: all ease 0.3s 1.5s;
}
.section4.fix-it ul li:nth-child(5) {
  /* animation: scroll 0.5s 2s; */
  transform: translate(0px, 0px);
  opacity: 1;
  transition: all ease 0.3s 2s;
}
.section4.fix-it ul li:nth-child(6) {
  /* animation: scroll 0.5s 2.5s; */
  transform: translate(0px, 0px);
  opacity: 1;
  transition: all ease 0.3s 2.5s;
}
.section4.fix-it ul li:nth-child(7) {
  /* animation: scroll 0.5s 3s; */
  transform: translate(0px, 0px);
  opacity: 1;
  transition: all ease 0.3s 3s;
}
