/**
 * CloudSoft Solution - Mobile Responsive Styles
 * یہ فائل موبائل اور چھوٹی اسکرینوں کے لیے ہے۔
 * Live پر اپلوڈ کرنے کے بعد ویب سائٹ موبائل پر درست دکھے گی۔
 */

/* ========== Tablet & below (max 991px) ========== */
@media (max-width: 991px) {
  .industrey-topbar .d-flex {
    justify-content: center !important;
    gap: 1rem !important;
  }
  .industrey-topbar {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }
  .industrey-header .navbar-brand {
    font-size: 1.5rem;
  } 
  .industrey-about,
  .industrey-testimonials {
    padding: 2.5rem 0;
  }
  .industrey-stats {
    padding: 2rem 0;
  }
  .industrey-stats .stat-number {
    font-size: 2rem;
  }
  .industrey-cta {
    padding: 2.5rem 1rem;
  }
  .industrey-cta h2 {
    font-size: 1.5rem;
  }
  .industrey-cta .lead {
    font-size: 1rem;
  }
}

/* ========== Mobile (max 768px) ========== */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }

  /* Top bar - compact */
  .industrey-topbar {
    padding: 0.35rem 0;
    font-size: 0.75rem;
  }
  .industrey-topbar a {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  /* Header / Nav */
  .industrey-header {
    padding: 0.5rem 0;
  }
  .industrey-header .navbar-brand {
    font-size: 1.35rem;
  }
  .industrey-header .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--ind-header-border, #e5e7eb);
  }
  .industrey-header .nav-link {
    padding: 0.6rem 1rem !important;
    display: block;
    border-radius: 6px;
  }
  .industrey-header .nav-link.btn-cta {
    margin-top: 0.25rem;
    text-align: center;
  }

  /* Hero Slider */
  .industrey-hero .slider-slide,
  .home-slider .slider-slide {
    height: 280px !important;
    min-height: 240px !important;
  }
  .industrey-hero .slider-title,
  .slider-title {
    font-size: 1.35rem !important;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  .industrey-hero .slider-text,
  .slider-text {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  .slider-caption {
    padding: 0.75rem 1rem;
  }
  .industrey-hero .btn-light,
  .slider-caption .btn {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }
  .home-slider .carousel-control-prev,
  .home-slider .carousel-control-next {
    width: 2.5rem;
  }
  .home-slider .carousel-indicators {
    margin-bottom: 0.5rem;
  }

  /* Section titles */
  .industrey-sec-label {
    font-size: 0.75rem;
  }
  .industrey-sec-title {
    font-size: 1.4rem !important;
    margin-bottom: 0.75rem;
  }

  /* About section */
  .industrey-about {
    padding: 2rem 0;
  }
  .industrey-about .row {
    flex-direction: column-reverse;
  }
  .industrey-about .col-lg-6.mb-4 {
    margin-bottom: 1rem !important;
  }
  .industrey-about .lead {
    /*font-size: 1rem;*/
  }
  
  .about_description
{
    font-size: 11px;
    line-height: 2.2 !important;
    text-align: justify;
}

  .industrey-about img.img-fluid {
    /*margin-bottom: 1rem;*/
    display: none;
  }

  /* Stats */
  .industrey-stats {
    padding: 1.75rem 0;
  }
  .industrey-stats .industrey-sec-title {
    font-size: 1.25rem !important;
    margin-bottom: 1rem;
  }
  .industrey-stats .stat-number {
    font-size: 1.75rem;
  }
  .industrey-stats .stat-label {
    font-size: 0.85rem;
  }
  .industrey-stats .row.g-4 {
    /*gap: 1rem !important;*/
  }

  /* Product cards */
  .industrey-card .card-img-top,
  .card .card-img-top {
    height: 180px !important;
  }
  .industrey-card .card-body,
  .industrey-card .card-title {
    font-size: 1rem;
  }
  .industrey-card .card-text {
    font-size: 0.9rem;
  }
  .industrey-card .btn {
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
  }
  .industrey-card:hover {
    transform: none;
  }
  section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Testimonials */
  .industrey-testimonials {
    padding: 2rem 0;
  }
  .industrey-testimonials .card-body {
    padding: 1rem;
  }
  .industrey-testimonials .card-body .fst-italic {
    font-size: 0.95rem;
  }

  /* CTA */
  .industrey-cta {
    padding: 2rem 1rem;
  }
  .industrey-cta h2 {
    font-size: 1.35rem;
  }
  .industrey-cta .lead {
    font-size: 0.75rem;
    margin-bottom: 1rem !important;
  }
  .industrey-cta .btn-light {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Blog section */
  .industrey-blog .card-img-top {
    height: 160px !important;
  }
  .industrey-blog .card-title {
    font-size: 0.8rem;
            
  }
  .industrey-blog .card-text {
    font-size: 0.65rem;
    line-height: 2.7;
  }

  /* Footer */
  .industrey-footer {
    padding: 2rem 0 1.5rem !important;
  }
  .industrey-footer .row > div {
    margin-bottom: 1.25rem !important;
    text-align: center;
  }
  .industrey-footer .row > div:last-child {
    margin-bottom: 0 !important;
  }
  .industrey-footer h5 {
    font-size: 1.1rem;
  }
  .industrey-footer h6 {
    font-size: 1rem;
  }
  .industrey-footer ul.list-unstyled {
    padding-right: 0;
  }
  .industrey-footer .copyright {
    font-size: 0.8rem;
    margin-top: 1rem;
  }

  /* Contact page */
  .container.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .container .row [class*="col-lg-6"] {
    margin-bottom: 1.5rem;
  }
  .container h1.industrey-sec-title {
    font-size: 12px !important;
  }
  .rtl-content {
    padding: 0 12px 0px 12px;
    text-align: justify;
}
  .form-control,
  .form-select {
    font-size: 16px; /* prevents zoom on focus on iOS */
  }

  /* About / content pages */
  .content.rtl-content h2 {
    font-size: 1rem;
  }
  .content.rtl-content h3 {
    font-size: 0.9rem;
  }
  
  .h5, h5 {
   font-size: 0.80rem;
   line-height: 2.2;
    }
.blog_sdesc{
     font-size: 0.65rem;
    line-height: 2.2;
}
  dl, ol, ul {
    font-size: 10px;
}
  .content.rtl-content p {
    font-size: 0.65rem;
  }
}

/* ========== Small mobile (max 576px) ========== */
@media (max-width: 576px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .industrey-topbar a {
    max-width: 140px;
  }
  .industrey-header .navbar-brand {
    font-size: 1.2rem;
  }
  .industrey-hero .slider-slide,
  .home-slider .slider-slide {
    height: 220px !important;
    min-height: 200px !important;
  }
  .industrey-hero .slider-title,
  .slider-title {
    font-size: 0.7rem !important;
    
  }
  .carousel-caption {
    right: 0%;
  }
  .industrey-hero .slider-text,
  .slider-text {
    font-size: 0.85rem;
  }
  
  

  .industrey-sec-title {
    font-size: 0.95rem !important;
  }
  .industrey-stats .stat-number {
    font-size: 0.95rem;
  }
  .industrey-stats .stat-label {
    font-size: 0.8rem;
  }
  .industrey-card .card-img-top,
  .card .card-img-top {
    height: 160px !important;
  }
  .industrey-cta h2 {
    font-size: 1.2rem;
  }
  .industrey-footer h5 {
    font-size: 1rem;
  }
  .industrey-footer .copyright {
    font-size: 0.75rem;
  }
}

/* ========== Touch-friendly & images ========== */
@media (max-width: 768px) {
      .btn, .nav-link, a.btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-top: 14px;
        padding-bottom: 14px;
        font-size: 12px;
        /*font-weight: bold;*/
    }
  }
  .navbar-toggler {
    padding: 0.4rem 0.5rem;
  }
  img.img-fluid,
  .content img,
  .card-img-top {
    max-width: 100%;
    height: auto;
  }
}
