@media only screen and (min-width: 968px) {
  /* .ha-right img,.aq-left img {
    min-width: 500px;
    min-height: 500px;
  } */
}
@media only screen and (min-width: 1086px) {
  /* .ha-right img,.aq-left img {
    min-width: 550px;
    min-height: 550px;
  } */
}
@media only screen and (min-width: 1386px) {
  .home-det h4,
  .home-det h1,
  .about-h-det h3 {
    max-width: 70%;
  }
  .small-home img {
    min-height: 700px;
  }
}
@media only screen and (min-width: 1440px) {
  .head {
    padding: 0 2vw;
  }
  .head .max-widset {
    padding: 0;
  }
  .hpr-left {
    width: 150px;
    min-width: 150px;
    height: 150px;
  }
  .hpr-item {
    max-height: 150px;
  }
  .hpr-left img {
    max-height: 120px;
  }
  /* .ha-right img,.aq-left img {
    min-width: 700px;
    min-height: 700px;
  } */
}
@media only screen and (max-width: 1440px) {
  .head .max-widset {
    padding: 0 35px;
  }
  .hpr-group {
    column-gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 1386px) {
  .home-main::after,
  .small-home::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    /* background-color: #ffffff85; */
    top: 0;
    left: 0;
  }
  .home-det,
  .about-h-det {
    z-index: 2;
  }
  .head-list {
    gap: 1rem;
  }
  :root {
    --main-clr: #bf4738;
    --sub-head: 22px;
    --main-head: 45px;
    --mid-head: 30px;
    --big-head: 26px;
    --item-head: 16px;
    --normal-font: 16px;
    --link-head: 16px;
    --padding: 5vw;
    --extra-head: 22px;
  }
}

@media only screen and (max-width: 1024px) {
  :root {
    --main-clr: #bf4738;
    --sub-head: 20px;
    --main-head: 45px;
    --mid-head: 28px;
    --big-head: 23px;
    --item-head: 16px;
    --normal-font: 16px;
    --link-head: 16px;
    --slide-head: 18px;
    --extra-head: 22px;

    --padding: 4vw;
    --vert-pad: 2rem;
  }
  .h-c-contain.principals-single .hp-group .hp-item {
    width: unset;
  }
  .h-c-contain.principals-single .hp-group .hp-item.clients-n {
    width: unset;
  }
  .foot-links {
    column-gap: 1rem;
    row-gap: 0.5rem;
  }
  .foot-links li {
    /* width: 100%; */
    width: fit-content;
    /* width: calc(50% - 0.5rem); */
  }
  .foot .f-item:nth-child(3) {
    padding-right: 0rem;
  }
  .hpr-group {
    column-gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
  }
  .head-list {
    display: none;
  }
  .head {
    justify-content: space-between;
  }
  #nav-icon1 {
    display: flex;
  }
  .cm-group {
    gap: 1rem;
  }
}
@media only screen and (max-width: 984px) {
  :root {
    --main-clr: #bf4738;
    --sub-head: 18px;
    --main-head: 35px;
    --mid-head: 28px;
    --big-head: 23px;
    --item-head: 16px;
    --normal-font: 16px;
    --link-head: 16px;
    --slide-head: 18px;
    --extra-head: 20px;
    --padding: 4vw;
    --vert-pad: 2.5rem;
  }
  .h-c-contain.principals-single .hp-group .hp-item {
    /* width: 50%; */
  }
  .h-c-contain.principals-single .hp-group {
    gap: 2rem;
  }
  .news-item {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  .home-det button {
    margin-top: 1rem;
  }
  .home-about-contain {
    flex-direction: column-reverse;
  }
  .ha-left {
    width: 100%;
  }
  .ha-right {
    width: 100%;
  }
  .foot {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .foot-links-container {
    width: calc(50% - 00.5rem);
    padding: 0;
    max-width: unset;
  }
  .f-item {
    width: calc(50% - 00.5rem);
  }
  .foot-logo img {
    padding-right: 0;
  }
  .product-group {
    grid-template-columns: repeat(2, 1fr);
  }
  .am-group {
    flex-direction: column-reverse;
  }
  .about-qoute-contain {
    flex-direction: column;
  }
  .aq-left {
    width: 100%;
  }
  .aq-right {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .am-left {
    width: 100%;
  }
  .am-right {
    width: 100%;
  }
  .cm-group {
    flex-direction: column;
  }
  .cmg-left,
  .cmg-right {
    width: 100%;
  }
  .service-item,
  .service-group .service-item:nth-child(even) {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .service-group {
    gap: 1.5rem;
  }
  .service-left,
  .service-right {
    width: 100%;
  }
  .h-c-contain.principals-single .hp-group.clients-n {
    flex-wrap: wrap;
  }
  .hp-item.clients-n .hpi-logo {
    width: 180px;
  }
  /* .h-c-contain.principals-single .hp-group .hp-item.clients-n {
  width: 15%;
} */
}
@media only screen and (max-width: 768px) {
  :root {
    --main-clr: #bf4738;
    --sub-head: 18px;
    --main-head: 35px;
    --mid-head: 26px;
    --big-head: 20px;
    --item-head: 16px;
    --normal-font: 15px;
    --link-head: 15px;
    --slide-head: 16px;
    --extra-head: 16px;
    --padding: 3vw;
    --vert-pad: 2.5rem;
  }
  .h-c-contain.principals-single .hp-group {
    gap: 1rem;
  }
  .foot-links-container h3 {
    text-align: center;
  }
  /* .h-c-contain.principals-single .hp-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  } */
  .product-item img {
    padding-bottom: 40px;
  }
  .news-item .hnews-item .hnews-left,
  .news-item .hnews-item .hnews-right {
    width: 100%;
  }
  .foot {
    row-gap: 2rem;
  }
  .fl-right p {
    text-align: center;
  }
  .product-item {
    min-height: 250px;
  }

  .foot-location {
    align-items: center;
  }
  .home-det button {
    /* margin-top: 0rem; */
  }
  .home-det {
    gap: 0.5rem;
  }
  .fl-item {
    justify-content: center;
    align-items: baseline;
  }
  .hpr-group {
    padding-left: 20px !important;
  }
  .product-group {
    grid-template-columns: repeat(1, 1fr);
  }
  .fl-item {
    width: 100%;
  }
  .hpr-item {
    margin-left: 20px;
  }
  .foot-links li h3,
  .foot-location h3,
  .foot-contacts > h3 {
    /* font-weight: 600; */
    margin-bottom: 0;
  }
  .f-item {
    align-items: center;
    gap: 5px;
  }
  .foot .foot-links {
    align-items: center;
    text-align: center;
    row-gap: 5px;
    justify-content: center;
  }
  .fl-item {
    margin: 0;
  }
  .foot {
    justify-content: center;
  }
  .foot .foot-links {
    width: 100%;
    padding: 0;
  }
  .foot .f-item:nth-child(3) {
    width: 100%;
  }
  .foot .f-item {
    width: 100%;
  }
  .hnews-item {
    flex-direction: column;
  }
  .hnews-left img {
    min-height: 180px;
    max-height: 180px;
  }
  .ha-left,
  .ha-right,
  .hnews-left,
  .hnews-right {
    width: 100%;
  }
  .home-about-contain {
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .home-det button,
  .ha-left a,
  .home-product > a,
  .aq-right button,
  .am-left a,
  .product-item a,
  .cmg-left form .c-btn input {
    padding: 5px 20px;
  }
  .home-det {
    position: relative;
    padding-top: unset;
    /* align-items: center; */
    /* text-align: center; */
    /* padding-top: 1rem; */
    padding-bottom: 0;
  }
  .home-main {
    gap: 1rem;
  }
}
@media only screen and (max-width: 567px) {
  :root {
    --main-clr: #bf4738;
    --sub-head: 17px;
    --main-head: 30px;
    --mid-head: 23px;
    --big-head: 19px;
    --item-head: 16px;
    --normal-font: 15px;
    --link-head: 15px;
    --slide-head: 16px;
    --padding: 3vw;
  }
  .h-c-contain.principals-single .hp-group .hp-item {
    width: calc(50% - 0.5rem);
  }
  .h-c-contain.principals-single .hp-group .hp-item.clients-n {
    width: calc(50% - 0.5rem);
  }
  .h-c-contain.principals-single .hp-group {
    /* gap: 0.5rem; */
  }
  .hp-item {
    min-height: unset;
  }

  .hp-item .hpi-logo {
    width: 120px;
    height: 80px;
  }
  .hp-item.clients-n .hpi-logo {
    width: 120px;
    height: 80px;
  }
  .home-main::after,
  .small-home::after {
    display: none;
  }
  .home-main {
    gap: 1rem;
  }
  .home-det,
  .about-h-det {
    position: relative;
    padding-top: unset;
    /* align-items: center; */
    /* text-align: center; */
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* padding-bottom: 0; */
  }
  .hpr-group {
    row-gap: 2rem;
  }
  .home-product > a {
    margin-top: 1rem;
  }
  .hpr-group {
    margin: 20px;
  }
  .hp-item {
    gap: 0;
  }
  .service-right a {
    padding: 10px 15px;
    text-align: center;
  }
  .logo {
    min-width: unset;
    width: 100%;
  }
  .head .max-widset {
    padding: 0 10px;
  }
  .modal-quote .cmg-left {
    padding: 0;
  }
  .hnews-group {
    padding: 0 15px;
  }
  .hpr-item {
    max-height: unset;
  }
  .hpr-left {
    background: var(--main-clr);
    width: 80px;
    min-width: 80px;
    height: 80px;
  }

  .hpr-left img {
    width: 100%;
    height: 100%;
    max-height: 50px;
  }
  .home-news {
    padding: 3rem 0;
  }
  .logo img {
    width: 200px;
  }
  .foot-logo img {
    width: 220px;
  }
  .accordion-flush .accordion-item .accordion-button,
  .accordion-flush .accordion-item .accordion-button.collapsed {
    justify-content: left;
  }
  .accordion-button::after {
    right: 3px;
    width: 18px;
  }
  .p-item-contain {
    padding: 0;
  }
  .cmg-left {
    padding: 1rem;
  }
  .c-input {
    flex-direction: column;
  }
  .cmg-left form .c-input label {
    width: 100%;
  }
}
@media only screen and (max-width: 380px) {
  /* .h-c-contain.principals-single .hp-group {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  } */
  .hp-item {
    min-height: unset;
  }
}
