/* ===== MOBILE ===== */
@media (max-width:768px){

.header-section{
flex-direction:column;   /* 👈 ADD करो */
align-items:flex-start;
}

.menu-toggle{
display:block;
position:static;   /* 👈 CHANGE करो */
margin-top:10px;
}

.logo-box img{
width:60px;
}

.title{
font-size:18px;
}

@media (max-width:768px){

.navlist{
  position: absolute;   /* 👈 fixed हटाओ */
  top: 80%;            /* 👈 menu के नीचे */
  left: 50%;
  transform: translate(-50%, 10px); /* 👈 थोड़ा gap */
  width: 90%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
}

/* open होने पर */
.navlist.active{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 15px); /* 👈 smooth drop */
}

}



.slider-content{
flex-direction:column;
text-align:center;
padding:20px;
}

.detail-box h1{
font-size:26px;
}

.detail-box p{
font-size:14px;
}

.image-box img{
width:100%;
height:auto;
}

.btn1{
padding:10px 25px;
font-size:14px;
}

}


/* ===== TABLET ===== */
@media (min-width:769px) and (max-width:1024px){

.navlist{
gap:20px;
top:20px;
}

.slider-content{
padding:30px;
}

.detail-box h1{
font-size:30px;
}

.detail-box p{
font-size:15px;
}

.image-box img{
width:350px;
height:auto;
}

}


/* ===== LAPTOP ===== */
@media (min-width:1025px){

.slider-content{
padding:50px;
}

.detail-box h1{
font-size:38px;
}

.image-box img{
max-width:100%;
height:auto;
}

}
@media (max-width:768px){
.slider-section{
margin-top:100px;
}
}

@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;
}

}
/* --- Global Styles & Reset --- */
* {
    box-sizing: border-box;
}

.heading-container {
    text-align: center;
    padding: 20px;
}

.heading-container h2 {
    font-size: clamp(28px, 5vw, 36px); /* मोबाइल पर छोटा, डेस्कटॉप पर बड़ा */
    font-weight: bold;
}

.our-text { color: black; }
.services-text { color: #00c8ff; }

.heading-container p {
    color: black;
    font-size: 16px;
    max-width: 800px;
    margin: 10px auto;
    line-height: 1.6;
}

.heading-container h5 {
    color: black;
    font-size: clamp(14px, 4vw, 18px);
    margin: 20px auto;
    max-width: 90%;
}

/* --- Responsive Services Grid --- */
.services-grid {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto; /* मार्जिन को ऑटो किया ताकि सेंटर में रहे */
    display: grid;
    /* डेस्कटॉप के लिए 3 कॉलम */
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
    margin: 0 auto 15px auto;
}

.service-card h5 {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

.service-card a {
    color: #00204a;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.service-card a:hover {
    color: #00bbf0;
}

/* --- Button Box --- */
.btn-box {
    width: 100%;
    text-align: center;
    margin: 40px 0;
}

.btn-box button {
    background-color: #00bbf0;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-box button:hover {
    background-color: #00204a;
}

/* --- Modal Styles (Responsive) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

#modal-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.close-btn-bottom {
    margin-top: 20px;
    background: #00204a;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
}

/* --- Media Queries (The Magic) --- */

/* टैबलेट के लिए (Laptop/Tablets) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 कॉलम */
        width: 95%;
    }
}

/* मोबाइल के लिए (Mobile Phones) */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 कॉलम */
        gap: 20px;
    }
    
    .heading-container p {
        font-size: 14px;
    }

    .service-card {
        padding: 15px;
    }
}

/* 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;
    }
}