@media (max-width: 980px) {
  section.design-section .head-data h2 {
    text-align: center;
    font-size: 30px;
  }
  section.design-section .col-md-3 {
    width: 50%;
  }
  .design-card h4 {
    font-size: 27px;
    line-height: 43px;
  }
 
  section.Blog-details img {
    min-width: 450px;
    width: 100%;
    max-width: 100%;
    margin-bottom: var(--m15);
    margin-right: 0;
    max-height: 400px;
    object-fit: cover;
    height: 100%;
  }
  section.Blog-details .container {
    display: flex;
    flex-direction: column;
  }
  a.sticky.main-btn {
    display: block !important;
    transform: rotate(-90deg);
    position: fixed;
    left: auto;
    right: -41px;
    top: 45%;
    z-index: 999;
    color: #fff !important;
    background: var(--secondary-color);
    padding: var(--p10) var(--p25);
    border-radius: 40px;
  }

  .btn_with_logo .Show_logo img {
    min-width: auto !important;
  }
   section.design-section {
    padding: 60px 10px;
  }
  .design-card{
    height: 300px;
  }
 section.revs-sec{
      padding-bottom: 20px;
 } 
 .banner h1{
          font-size: var(--f20);
 }
}
@media (max-width: 540px) {
  
  section.gallery .col-12{
    padding: 0;
  }
  section.gallery .col-lg-5{
    padding: 0;
  }
  #myModal2 .modal-info .col-4{
    width: 100%;
  }
  #myModal2 form .col-6{
    
    width: 100%;
  }
  section.design-section {
    padding: 40px 10px;
  }
  .design-card {
    height: 300px;
  }

  section.design-section .head-data h2 {
    text-align: center;
    font-size: 20px;
  }
  section.design-section .row {
    gap: 15px;
  }
  section.design-section .col-md-3 {
    width: 100% !important;
  }
  .design-card h4 {
    font-size: 27px;
    line-height: 43px;
  }

  .btn_with_logo .Show_logo img {
    min-width: 100% !important;
    min-height: auto !important;
  }

  section.revs-sec .col-12 {
    padding: 0;
  }

  section.revs-sec.after-before-sec .rev-info img {
    height: 300px;
  }

  .af-bootom-text {
    display: none;
  }

  h2.a-text.text-center {
    display: block;
    margin-top: 20px;
  }
  h2.b-text.text-center {
    display: block;
    margin-top: 20px;
  }
  .Blog-details {
    padding: var(--p40) var(--p12);
  }
  section.Blog-details .container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  section.Blog-details h1 {
    display: none;
  }
  section.Blog-details img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-right: 0;
    min-height: 300px;
    object-fit: cover;
    height: 300px;
    margin-bottom: 30px;
  }
  section.Blog-details .container div {
    width: 100%;
  }
  a.sticky.main-btn {
    display: block !important;
    transform: rotate(-90deg);
    position: fixed;
    left: auto;
    right: -41px;
    top: 45%;
    z-index: 999;
    color: #fff !important;
    background: var(--secondary-color);
    padding: var(--p10) var(--p25);
    border-radius: 40px;
  }
}
