/* responsive.css – Tatshom Infotech */

/* ---------- Global Reset for Mobile & Tablet ---------- */
@media (max-width: 1199px) {
  section, .section, .wrapper, .content-wrapper {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 60px 15px !important;
  }

  .container, .row {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
  }

  img, .img-responsive {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all content boxes are visible */
  .text-block, .content-block, .service-box, .team-box, .about-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Headings */
  h1, h2, h3, h4 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }

  p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
}
@media (max-width: 767px) {
.navbar .navbar-brand img {
    max-width: 30% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto;
  }
}
/* ---------- Tablet (768px – 991px) ---------- */
@media (max-width: 991px) {
  .col-lg-6, .col-md-6, .col-md-4, .col-md-3 {
    width: 100% !important;
    float: none !important;
    padding: 15px !important;
    display: block !important;
  }

  /* Navbar Fix */
  .navbar-collapse {
    display: block !important;
    background: transparent !important;
    padding: 20px;
  }
  .navbar-nav {
    flex-direction: row !important;
    gap: 15px;
    text-align: center !important;
  }

  .hero, .banner {
    text-align: center !important;
  }
}

/* ---------- Mobile (max 767px) ---------- */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 1.3rem !important;
  }

  .hero p {
    font-size: 0.9rem !important;
  }

  .btn, .theme-btn {
    display: inline-block;
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
  }

  .service-box, .team-box, .about-content {
    text-align: center !important;
    margin-bottom: 20px !important;
  }
}

/* ---------- Extra Small (max 480px) ---------- */
@media (max-width: 480px) {
  h1 {
    font-size: 1.1rem !important;
  }
  h2 {
    font-size: 1rem !important;
  }
  p {
    font-size: 0.85rem !important;
  }
}
@media only screen and (max-width: 991px) {
  header .menu-list {
    background: transparent !important;
    min-height: 60px;  /* ताकि box छोटा न हो */
  }

  header .menu-list.open,
  header .menu-list.active,
  header .menu-list.show {
    background: #000 !important; /* जब hamburger खुले तो black */
  }
}



