/* --- FINAL RESPONSIVE CSS (NO EXTRA GAP) --- */

.menu-toggle {
    display: none;
}

@media (max-width: 992px) {
    .header-section {
        display: flex;
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        flex-wrap: wrap; /* Navlist ko niche lane ke liye zaroori hai */
    }

    .logo-box {
        display: flex;
        align-items: center;
    }

    .logo-box img {
        width: 55px;
    }

    .title {
        font-size: 18px;
        margin-left: 10px;
    }

    .menu-toggle {
        display: block;
        font-size: 20px;
        color: white;
        cursor: pointer;
    }

    /* NAVLIST - Auto height ke saath */
    .navlist {
        display: none; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin: 10px 0 0 0; /* Faltu margin hataya */
        list-style: none;
        border-radius: 8px;
        position: static !important;
        order: 3;
    }

    .navlist.active {
        display: flex; /* Sirf click par space lega */
    }

    .navlist li {
        width: 100%;
    }

    .navlist a {
        font-size: 13px;
        display: block;
        color: white !important;
    }

    /* SLIDER SECTION - Gap Fix */
    .slider-section {
        width: 100%;
        margin-top: 0 !important; /* Extra gap khatam */
        padding-top: 0 !important;
        position: relative;
    }

    /* Agar pehle se koi transform use kiya hai toh use reset karein */
    .slider-section.move-down {
        transform: none !important; 
    }

    .slider-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }

    .detail-box h1 {
        font-size: 26px;
    }

    .image-box img {
        width: 100% !important;
        height: auto !important;
        max-width: 350px;
        margin: 10px auto;
    }
}

/* Laptop/Desktop ke liye reset */
@media (min-width: 993px) {
    .header-section {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .navlist {
        display: flex !important;
        position: fixed !important; /* Laptop par purana style */
        top: 20px;
        right: 50px;
        width: auto;
        background: none;
    }
    .menu-toggle {
        display: none;
    }
}

.services-grid{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

/* ========== Tablet ========== */

@media (max-width:992px){

.services-grid{
  grid-template-columns: repeat(2,1fr);
  gap:25px;
}

.heading-container h2{
  font-size:30px;
}

.heading-container p{
  font-size:16px;
}

}

/* ========== Mobile ========== */

@media (max-width:600px){

.services-grid{
  grid-template-columns:1fr;
  width:95%;
}

.service-card{
  padding:15px;
}

.card-img{
  width:100px !important;
  height:100px !important;
}

.heading-container h2{
  font-size:26px;
}

.heading-container p{
  font-size:15px;
  padding:0 10px;
}

.heading-container h5{
  font-size:15px;
  padding:0 10px;
}

.btn-box button{
  width:160px;
}

}


/* Tablet view */
@media (max-width: 992px) {

    .heading-detail {
        width: 100%;
        float: none;
        text-align: center;
        margin-top: 20px;
    }

    .heading-img {
        text-align: center;
        padding: 20px;
        margin-top: 0;
    }

    .heading-img img {
        width: 80%;
    }

    .heading-center {
        padding: 40px 20px;
    }

    .heading-center h2 {
        margin-top: 0;
    }

    .heading-detail h3 {
        margin-top: 20px;
    }
}


/* Mobile view */
@media (max-width: 576px) {

    .about-section {
        height: auto; /* fixed height remove */
        padding: 20px 10px;
    }

    .heading-center {
        padding: 20px 10px;
    }

    .heading-center h2 {
        font-size: 26px;
        margin-top: 0;
    }

    .heading-center p {
        font-size: 14px;
    }

    .heading-detail {
        width: 100%;
        float: none;
        text-align: center;
    }

    .heading-detail p {
        font-size: 14px;
        line-height: 1.5;
    }

    .heading-img {
        padding: 10px;
        text-align: center;
    }

    .heading-img img {
        width: 100%;
    }

    .heading-detail a {
        padding: 8px 20px;
        font-size: 14px;
    }
}



/* 🔥 Responsive Tweaks */
@media (max-width: 768px) {
  .why-section h2 {
    font-size: 26px;
  }

  .img-box {
    width: 80px;
    height: 80px;
  }

  .img-box img {
    width: 40px;
  }
}

@media (max-width: 480px) {
  .why-box p {
    font-size: 13px;
  }
}
/* Tablet */
@media (max-width: 992px) {
    .team-box {
        width: 45%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .team-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .team-box {
        width: 90%;
    }

    .heading-container h2 {
        font-size: 24px;
    }
}
/* ===== Mobile (0 - 576px) ===== */
@media (max-width: 576px) {

    .heading-layout h2 {
        font-size: 22px;
    }

    .slider .clinet-card {
        width: 95%;
        padding: 60px 15px 25px;
        margin: 50px auto;
    }

    .img-container {
        width: 70px;
        height: 70px;
        top: -35px;
        left: 20px;
    }

    .detail-clinet h6 {
        font-size: 16px;
    }

    .detail-clinet p {
        font-size: 13px;
        line-height: 20px;
    }

    .owl-nav button {
        width: 45px;
        height: 40px;
    }
}


/* ===== Tablet (577px - 991px) ===== */
@media (min-width: 577px) and (max-width: 991px) {

    .heading-layout h2 {
        font-size: 26px;
    }

    .slider .clinet-card {
        width: 92%;
        padding: 65px 18px 28px;
    }

    .img-container {
        width: 85px;
        height: 85px;
    }

    .detail-clinet h6 {
        font-size: 18px;
    }
}


/* ===== Laptop/Desktop (992px+) ===== */
@media (min-width: 992px) {

    .heading-layout h2 {
        font-size: 32px;
    }

    .slider .clinet-card {
        width: 85%;
    }
}
/* Tablet */
@media (max-width: 992px){
  .gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px){
  .gallery{
    grid-template-columns: 1fr;
  }

  .heading-gallery h2{
    font-size: 28px;
  }

  .card p{
    font-size: 12px;
  }
}
@media (max-width:768px){

.menu-toggle{
display:block;
}

.navlist{
width:100%;
flex-direction:column;
align-items:flex-start;
gap:20px;
display:none;
padding:20px 30px;
}

.navlist.active{
display:flex;
}

}
@media (max-width:768px){

.slider-content{
flex-direction:column;
text-align:center;
}

.detail-box{
max-width:100%;
}

.image-box img{
width:100%;
height:auto;
}

}

@media (max-width:768px){

.slider-content{
flex-direction:column;
text-align:center;
padding:20px;
}

.image-box img{
width:100%;
height:auto;
}



.box{
padding-bottom:100px;
}

}
/* ========== Laptop (default) ========== */

.services-grid{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

/* ========== Tablet ========== */

@media (max-width:992px){

.services-grid{
  grid-template-columns: repeat(2,1fr);
  gap:25px;
}

.heading-container h2{
  font-size:30px;
}

.heading-container p{
  font-size:16px;
}

}

/* ========== Mobile ========== */

@media (max-width:600px){

.services-grid{
  grid-template-columns:1fr;
  width:95%;
}

.service-card{
  padding:15px;
}

.card-img{
  width:100px !important;
  height:100px !important;
}

.heading-container h2{
  font-size:26px;
}

.heading-container p{
  font-size:15px;
  padding:0 10px;
}

.heading-container h5{
  font-size:15px;
  padding:0 10px;
}

.btn-box button{
  width:160px;
}

}


/* Tablet view */
@media (max-width: 992px) {

    .heading-detail {
        width: 100%;
        float: none;
        text-align: center;
        margin-top: 20px;
    }

    .heading-img {
        text-align: center;
        padding: 20px;
        margin-top: 0;
    }

    .heading-img img {
        width: 80%;
    }

    .heading-center {
        padding: 40px 20px;
    }

    .heading-center h2 {
        margin-top: 0;
    }

    .heading-detail h3 {
        margin-top: 20px;
    }
}


/* Mobile view */
@media (max-width: 576px) {

    .about-section {
        height: auto; /* fixed height remove */
        padding: 20px 10px;
    }

    .heading-center {
        padding: 20px 10px;
    }

    .heading-center h2 {
        font-size: 26px;
        margin-top: 0;
    }

    .heading-center p {
        font-size: 14px;
    }

    .heading-detail {
        width: 100%;
        float: none;
        text-align: center;
    }

    .heading-detail p {
        font-size: 14px;
        line-height: 1.5;
    }

    .heading-img {
        padding: 10px;
        text-align: center;
    }

    .heading-img img {
        width: 100%;
    }

    .heading-detail a {
        padding: 8px 20px;
        font-size: 14px;
    }
}



/* 🔥 Responsive Tweaks */
@media (max-width: 768px) {
  .why-section h2 {
    font-size: 26px;
  }

  .img-box {
    width: 80px;
    height: 80px;
  }

  .img-box img {
    width: 40px;
  }
}

@media (max-width: 480px) {
  .why-box p {
    font-size: 13px;
  }
}
/* Tablet */
@media (max-width: 992px) {
    .team-box {
        width: 45%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .team-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .team-box {
        width: 90%;
    }

    .heading-container h2 {
        font-size: 24px;
    }
}
/* ===== Mobile (0 - 576px) ===== */
@media (max-width: 576px) {

    .heading-layout h2 {
        font-size: 22px;
    }

    .slider .clinet-card {
        width: 95%;
        padding: 60px 15px 25px;
        margin: 50px auto;
    }

    .img-container {
        width: 70px;
        height: 70px;
        top: -35px;
        left: 20px;
    }

    .detail-clinet h6 {
        font-size: 16px;
    }

    .detail-clinet p {
        font-size: 13px;
        line-height: 20px;
    }

    .owl-nav button {
        width: 45px;
        height: 40px;
    }
}


/* ===== Tablet (577px - 991px) ===== */
@media (min-width: 577px) and (max-width: 991px) {

    .heading-layout h2 {
        font-size: 26px;
    }

    .slider .clinet-card {
        width: 92%;
        padding: 65px 18px 28px;
    }

    .img-container {
        width: 85px;
        height: 85px;
    }

    .detail-clinet h6 {
        font-size: 18px;
    }
}


/* ===== Laptop/Desktop (992px+) ===== */
@media (min-width: 992px) {

    .heading-layout h2 {
        font-size: 32px;
    }

    .slider .clinet-card {
        width: 85%;
    }
}
/* Tablet */
@media (max-width: 992px){
  .gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px){
  .gallery{
    grid-template-columns: 1fr;
  }

  .heading-gallery h2{
    font-size: 28px;
  }

  .card p{
    font-size: 12px;
  }
}
/* ========================= */
/* RESPONSIVE CSS */
/* ========================= */

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px){
    .contact{
        padding:40px;
    }

    .info-section{
        flex-wrap: wrap;
        gap:30px;
    }

    .Address-box,
    .info-box,
    .Links-box,
    .subscribe-box{
        width:45%;
    }
}

/* Mobile */
@media (max-width: 768px){
    .contact{
        padding:30px 20px;
    }

    .info-section{
        flex-direction: column;
        gap:25px;
    }

    .Address-box,
    .info-box,
    .Links-box,
    .subscribe-box{
        width:100%;
    }

    h3{
        font-size:18px;
    }

    .bottom-footer{
        font-size:12px;
        padding:10px;
    }
}