/* Comprehensive Responsive Fixes for Logixs Template */

/* Global Mobile Adjustments (Max 991px - Tablets and Phones) */
@media only screen and (max-width: 991px) {
  .sec-title h2 {
    font-size: 32px !important;
  }
  
  .navbar-collapse {
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .carousel-bg {
    height: 70vh !important;
  }

  .carousel-caption {
    top: 15% !important;
    text-align: center !important;
    padding: 0 15px !important;
    left: 5% !important;
    right: 5% !important;
  }

  .carousel-caption h2 {
    font-size: 36px !important;
  }

  .carousel-caption p {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  .about-section {
    padding: 60px 0 !important;
  }

  .about-banner {
    height: 400px !important;
    margin-bottom: 30px;
  }

  .about-section .about-content .about-info {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    padding: 20px !important;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }

  .fact-icon-card {
    height: 120px !important;
    width: 150px !important;
    margin-bottom: -40px !important;
  }

  .fact-card-body {
    padding: 50px 20px 20px !important;
    flex-direction: column;
    text-align: center;
  }

  .fact-card-body .cont-box, 
  .fact-card-body span {
    font-size: 40px !important;
    margin-right: 0 !important;
  }
}

/* Mobile Devices (Max 767px - Large Phones) */
@media only screen and (max-width: 767px) {
  .carousel-bg {
    height: 60vh !important;
  }

  .carousel-caption h2 {
    font-size: 28px !important;
    margin-bottom: 10px !important;
  }

  .service-section .card {
    margin-top: 60px !important;
    padding: 60px 15px 20px !important;
  }

  .work-area {
    margin-top: 0 !important;
    padding: 60px 0 !important;
  }

  .work-block {
    margin-top: 80px !important;
  }

  .work-card-body {
    padding: 70px 15px 20px !important;
    min-height: auto !important;
  }

  .work-card-body p {
    font-size: 14px !important;
    line-height: 20px !important;
    word-break: break-word;
  }

  .fact-card {
    margin-bottom: 30px !important;
  }
  
  .fact-section {
    padding-bottom: 60px !important;
  }

  .banner {
    height: 250px !important;
  }

  .banner .banner-info h1 {
    font-size: 32px !important;
  }

  .contact-details h2 {
    font-size: 28px !important;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .text-end {
    text-align: center !important;
    margin-top: 15px;
  }
}

/* Small Devices (Max 480px - Small Phones) */
@media only screen and (max-width: 480px) {
  .carousel-caption h2 {
    font-size: 24px !important;
  }

  .primary-btn {
    padding: 10px 25px !important;
    font-size: 12px !important;
  }

  .sec-title h2 {
    font-size: 24px !important;
  }
  
  .about-banner {
    height: 300px !important;
  }
}
