/* CTA Section Mobile Fixes */

/* Mobile CTA Image Positioning */
@media (max-width: 991px) {
  .cta4-section-area .cta-circle-area {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  
  .cta4-section-area .cta-circle-area .bg1 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
    max-width: 500px;
  }
  
  .cta4-section-area .cta-circle-area .bg1 img {
    width: 100%;
    height: auto;
  }
  
  .cta4-section-area .cta-circle-area .img1 {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  
  .cta4-section-area .cta-circle-area .img1 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
  }
}

@media (max-width: 767px) {
  .cta4-section-area {
    padding: 60px 0 0 !important;
  }
  
  .cta4-section-area .cta-content-area {
    text-align: center;
    padding: 0 20px;
  }
  
  .cta4-section-area .cta-content-area h2 {
    font-size: 28px !important;
    line-height: 36px !important;
  }
  
  .cta4-section-area .cta-content-area p {
    font-size: 16px !important;
    line-height: 24px !important;
  }
  
  .cta4-section-area .cta-content-area .btn-area1 {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .cta4-section-area .cta-content-area .btn-area1 a {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
  
  .cta4-section-area .cta-circle-area {
    margin-top: 30px;
    min-height: 380px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  
  .cta4-section-area .cta-circle-area .bg1 {
    max-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .cta4-section-area .cta-circle-area .bg1 img {
    height: 100%;
    object-fit: cover;
  }
  
  .cta4-section-area .cta-circle-area .img1 {
    max-width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
  }
  
  .cta4-section-area .cta-circle-area .img1 img {
    max-height: 380px;
    width: auto;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 575px) {
  .cta4-section-area {
    padding: 50px 0 0 !important;
  }
  
  .cta4-section-area .cta-content-area h2 {
    font-size: 24px !important;
    line-height: 32px !important;
  }
  
  .cta4-section-area .cta-content-area p {
    font-size: 15px !important;
    line-height: 22px !important;
  }
  
  .cta4-section-area .cta-circle-area {
    min-height: 320px;
  }
  
  .cta4-section-area .cta-circle-area .img1 img {
    max-height: 310px;
  }
}

/* Ensure image touches bottom edge */
@media (max-width: 991px) {
  .cta4-section-area {
    overflow: hidden;
  }
  
  .cta4-section-area .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .cta4-section-area .row {
    margin-bottom: 0 !important;
  }
  
  .cta4-section-area .cta-circle-area {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .cta4-section-area .cta-circle-area .img1 {
    margin-bottom: -5px;
  }
}
