@media screen and (max-width: 1270px) {


  .map {
    max-width: 770px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 44px;
  }
  .map_buttons {
    width: 100%;
    display: flex;
    border: none;
    outline: none;
    margin-top: -4px;
  }
  .map_child_button {
    color: var(--white);
    width: 14%;
    height: 50px;
  }
  .map_child_button button {
    font-weight: 500;
    font-size: 10px;
    line-height: 139.52%;
  }

  .end_section {
    display: flex;
    gap: 90px;
    max-width: 770px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
    padding-top: 260px;
    margin-bottom: 216px;
  }
  .end_left {
    max-width: 50%;
  }
  .end_section h2 {
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 20px;
  }
  .end_section p {
    font-size: 17px;
    line-height: 111.02%;
  }
  .end_right {
    max-width: 50%;
  }
  .end_right input {
    width: 100%;
    height: 20px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 20px;
  }
  .end_right :nth-child(5) {
    width: 100%;
    margin-top: 20px;
  }
  .end_right :nth-child(3) {
    margin-top: 0px;
    display: block;
  }
  #select {
    width: 100%;
    height: 20px;
  }
}
@media screen and (max-width: 620px){
.haq img{
  width: 200px;

}

.haq_write p{
  font-size: 35px;
}
.haq_write h3{
  font-size: 105px;
}
}
@media screen and (max-width: 1180px) {
    .header_head_container {
        margin-left: 20px;
        margin-right: 20px;
      }
}
@media screen and (max-width: 1100px){
  .haqs{
    gap: 10px;
  }
}
@media screen and (max-width: 1005px){
  .whatsapp_photo{
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    height: 400px;
    
  }
  .whatsapp_photo img{
    margin-top: 30px;
    width: 210px;
    height: 150px;
  }
  .whatsapp_photo p{
    font-size: 19px;
  }
  .whatsapp_photo h3{
    font-size: 45px;
  }
  .phone{
    gap: 10px;
  }
}
@media screen and (max-width: 500px){
  .phone{
    margin-left: auto;
    margin-right: auto;
    gap: 0px;
  }
.whatsapp_photo{
  margin-left: auto;
margin-right: auto;
  width: 300px;
  height: 300px;
  
}
.whatsapp_photo img{
  margin-top: 30px;
  width: 150px;
  height: 100px;
  /* margin-left: 50px; */
}
.whatsapp_photo p{
  font-size: 17px;
}
.whatsapp_photo h3{
  font-size: 35px;
}

}
@media screen and (max-width: 700px){
  .haqs{
    gap: 20px;
  }
}
@media screen and (max-width: 1000px) {
  .pivot{
   display: none;
  }
  h1 {
    font-weight: 700;
    font-size: 34px;
    line-height: 139.52%;
    max-width: 430px;
    letter-spacing: 0.03em;
    color: #fffbfb;
    margin-top: 225px;
    margin-left: 135px;
  }
  .header_button {
    padding: 8px 11px;
    align-items: center;
    height: 40px;
    font-weight: 600;
    font-size: 14px;
    line-height: 139.52%;
  }
  .header_head_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 16px;
    padding-left: 20px;
  }
  .nav_list img {
    top: 20px;
  }
  .build_container {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
  }
  .build_card_right{
    margin-top: -60px;
  }
  .photo img {
    height: 140px;

  }
  .build_card {
    
    max-width: 366px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .build_card button {
    padding: 8px 10px;
    font-size: 6px;
  }
  .build_card h3 {
    margin-top: 40px;
  
    font-size: 22px;
  }
  .build_card p {
    font-size: 20px;
  }
}
@media screen and (max-width: 1200px) {
.header_head_container{
  background: none;
}
}
@media screen and (max-width: 1005px) {
  .header_content h1 {
    margin-top: 100px;
    margin-left: 80px;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
  }
  .logo img {
    width: 130px;
    height: 70px;
    
  }
.nav_list{
  gap: 15px;
  font-size: 13px;
}
}
@media screen and (max-width: 804px) {
  .logo img {
    width: 100px;
    height: 50px;
    
  }
  .nav_list{
    gap: 11px;
    font-size: 11px;
  }
  .header_content h1 {
    margin-top: 100px;
    margin-left: 80px;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
  }
  }
@media screen and (max-width: 800px){
  .logo3{
    display: none;
  }
  .footer_card{
    padding-top: 50px;
  }
}
@media screen and (max-width: 1150px) {
  .haq p{
    font-size: 12px;
  }
  .haq h3{
    font-size: 17px;
  }
  .grid_card{
    width: 80px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 730px){
  .photo img{
    height: 90px;
  }
  .ourstaff_2{
    line-height:60px;
    font-size: 40px;
  }
  .ourstaff_p{
    font-size: 35px;
  }
}
@media screen and (max-width: 400px){
  .whatsapp_photo{
margin-left: 50px;
  }
  .whatsapp_write{
margin-left: 70px !important;
  }
}
@media screen and (max-width: 415px){
.whatsapp_write{
margin-top: 20px;
  max-width: 250px;
  font-size: 20px;
margin-left: auto;
margin-right: auto;
  
}
.whatsapp_write button{
  margin-left: -5px;
  width: 130px;
  height: 40px;
  font-size: 15px;


}
.whatsapp_photo img{
  margin-left: 5px;
}
}
@media screen and (max-width: 360px) {
.whatsapp_photo{
  margin-left: 30px;
}
.whatsapp_write{
  margin-left: 40px !important;
}
}
@media screen and (max-width: 600px){
.map1 button{
  width: 100px;
  height: 40px;
  font-size: 12px;
}
}
@media screen and (max-width: 710px) {
  .header_button {
  
    width: 120px;
    height: 50px;
  }
 
  .logo img{
   
    margin-left: 60px;
    width: 130px;
    height: 80px;
  }
  h1 {
    font-weight: 700;
    font-size: 24px;
    line-height: 139.52%;
    max-width: 300px;
    letter-spacing: 0.03em;
    color: #fffbfb;
    margin-top: 125px;
    margin-left: 55px;
  }
  .header_head_container {
    display: flex;
    justify-content: start;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    max-width: fit-content;

  }

  .nav_list {
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    margin-top: 0px;
    gap: 40px;
    width: 220px;
    font-size: 19px;
    /* padding: 20px; */
    background-color: rgba(0, 95, 3, 0.771);
    position: fixed;
    height: 400px;
    top: 0;
    left: -300px;
    transition: 0.8s;
    color: rgb(251, 255, 251);
  }
  .nav_list p{
    display: block;
    font-family: 'Open Sans', sans-serif;
  }
  .fa-bars {
    color: #fffbfb;
    display: block !important;
    right: 40px;
  }
  .nav_list img {
    display: none;
  }
  #x:checked ~ .nav_list {
    left: 0;
  }
  .logo3{
    display: none;
  }
  .footer_card{
    padding-top: 50px;
  }
}
@media screen and (max-width: 480px) {
  .map1 img{
    height: 400px;
  }
  .sekil2_xidmet p{
    margin-top: 140px;

  }
  .photo img{
    height:100px;
  }
  .header_button {
    font-size: 11px;
    width: 100px;
    height: 35px;
  }
  .card_xidmet{
    gap: 0px;
  }
  .card_xidmet img{
    width: 350px;
    height: 500px;
  }
  .logo img{
    margin-left: 10px;
    width: 110px;
    height: 60px;
  }
  /* .sekil_xidmet{
    top: 300px;
    height: 200px;
  } */
  .card_xidmet:hover .sekil_xidmet {
    top: 0;
  
  }
}
@media screen and (max-width: 350px){
  .card_haqqinda{
    width: 250px;
    height: 250px;
  }
  .card_haqqinda_sekil p{
    font-size:17px ;
  }
  .header_button {
    font-size: 11px;
    width: 100px;
    height: 35px;
  }
  .logo img{
    margin-left: -20px;
    width: 110px;
    height: 60px;
  }
}
@media screen and (max-width: 1170px) {
  .pivot img{
    width: 300px;
    height: 350px;
  }
  .sliter_buttons button {
    font-size: 6px;
    line-height: 139.52%;
    padding: 5px 10px;
  }
  .slider_container {
    max-width: 577px;
    margin-left: auto;
    margin-right: auto;
  }
  .slider_container_start {
    display: grid;
    max-width: 500px;
    grid-template-columns: repeat(auto-fill, minmax(577px, 1fr));
    margin-top: 35px;
    gap: 16px;
  }
  .slider_card {
    min-width: 577px;
  }
  .sldrr {
    width: 577px;
  }
  .slider_btn button {
    padding: 8px 5px;
    margin-left: 40px;
    border-left: none;
    border-top: none;
    border-bottom: none;
  }
  .slider_content {
    align-items: center;
  }
  .slider_content p {
    font-size: 14px;
  }
  .btn_view {
    padding: 3px 10px;
    border-radius: 7px;
    border: none;
    outline: none;
  }
  .slider_btn button img {
    width: 10px;
  }

  .filter {
    padding: 1px 20px;
  }
}
@media screen and (max-width: 577px) {
  .sliter_buttons button {
    font-size: 6px;
    line-height: 139.52%;
    padding: 5px 10px;
    color: var(--white);
    background: none;
    /* border: none; */
    border: 1px solid rgba(255, 251, 251, 0.35);
    outline: none;
    border-radius: 10px;
  }
  .slider_container {
    max-width: 377px;
    margin-left: auto;
    margin-right: auto;
  }
  .slider_container_start {
    display: grid;
    max-width: 500px;
    grid-template-columns: repeat(auto-fill, minmax(377px, 1fr));
    margin-top: 35px;
    gap: 16px;
  }
  .slider_card {
    min-width: 377px;
  }
  .sldrr {
    width: 377px;
  }

  .slider_btn button {
    padding: 4px 5px;
    margin-left: 10px;
    font-size: 16px !important;
    border-left: none;
    border-top: none;
    border-bottom: none;
  }
  .slider_content {
    align-items: center;
  }
  .slider_content p {
    font-size: 14px;
  }
  .btn_view {
    padding: 2px 10px;
    border-radius: 7px;
    margin-top: -2px;
    border: none;
    outline: none;
  }
  .sliter_buttons button {
    font-size: 9px;
  }

  .slider_btn button {
    padding: 4px 5px;
    margin-left: 10px;
    font-size: 20px;
    border-left: none;
    border-top: none;
    border-bottom: none;
  }
  .left {
    padding-bottom: 35.7%;
    padding-top: 140px;
    border-radius: 0px 4px 0px 0px;
  }
  .right {
    padding-bottom: 35.7% !important;
    padding-top: 140px;
    border-radius: 0px 4px 0px 0px;
  }
  .filter {
    padding: 1px 10px;
    font-size: 12px !;
  }
  .filter img {
    width: 10px;
  }
}

@media screen and (max-width: 380px) {
  .slider_container {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .slider_container_start {
    display: grid;
    max-width: 500px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-top: 35px;
    gap: 16px;
  }
  .slider_card {
    min-width: 300px;
  }
  .sldrr {
    width: 300px;
  }

  .slider_btn button {
    padding: 4px 5px;
    margin-left: 10px;
    font-size: 10px !important;
    border-left: none;
    border-top: none;
    border-bottom: none;
  }
  .slider_content {
    align-items: center;
  }
  .slider_content p {
    font-size: 14px;
  }
  .btn_view {
    padding: 2px 10px;
    border-radius: 7px;
    margin-top: -2px;
    border: none;
    outline: none;
  }
  .sliter_buttons button {
    font-size: 5px;
  }
  .sliter_buttons {
    font-size: 1px;
    line-height: 1%;
    padding: 1px 0px;
    color: var(--white);
  }

  .slider_btn button {
    padding: 4px 5px;
    margin-left: 10px;
    font-size: 20px;
    border-left: none;
    border-top: none;
    border-bottom: none;
  }
  .left {
    padding-bottom: 31.5% !important;
    padding-top: 140px;
    border-radius: 0px 4px 0px 0px;
    padding-top: 120px;
  }
  .right {
    padding-bottom: 31.5% !important;
    padding-top: 140px;
    border-radius: 0px 4px 0px 0px;
    padding-top: 120px;
  }
  .filter {
    padding: 1px 10px;
    font-size: 12px !;
  }
  .filter img {
    width: 10px;
  }
  .map {
    max-width: 300px !important;
  }
}
@media screen and (max-width: 780px) {
  .map {
    max-width: 570px;
  }
  .map_buttons {
    width: 100%;
    display: flex;
    margin-top: -4px;
  }

  .map_child_button button {
    font-weight: 500;
    font-size: 6px;
    line-height: 139.52%;
  }

}
@media screen and (max-width: 577px) {
  .map {
    max-width: 370px;
  }
  .map_buttons {
    width: 100%;
    display: flex;
    margin-top: -4px;
  }

  .map_child_button button {
    font-weight: 500;
    font-size: 5px;
  }
  .map_child_button img {
    width: 6px;
  }
  .map_buttons {
    width: 100%;
    display: flex;
    border: none;
    outline: none;
    margin-top: -4px;
  }
  .map_child_button {
    color: var(--white);
    width: 14%;
    height: 20px;
  }
  .y button {
    font-size: 4px;
  }
  .map_img {
    margin-top: 12px;
  }
  .map h2 {
    font-size: 22px;
  }
  .map p {
    font-size: 10px;
  }

}
@media screen and (max-width: 800px) {
  .end_section {
    display: flex;
    gap: 50px;
    flex-direction: column;
    max-width: 470px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
    padding-top: 60px;
    padding-bottom: 16px;
  }

  .end_right :nth-child(3) {
    margin-top: 10px;
  }
  .end_right :nth-child(5) {
    width: 100%;
    margin-top: 60px;
  }
  #select {
    width: 100%;
  }
  .end_left {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
  .end_right {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer_container {

    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;

    margin-top: -120px;
    align-items: center;

  }
  .footer_card{
    max-width: 213px;
  
  }
  .footer_icons{
    display: flex;
    gap: 72px;
    margin-top: 27px;
  }
  .footer_icons svg{
  border:none;
  width: 20px;
  height: 20px;
  font-size: 20px;
  border-radius: 8px;
  }
}