/* nav  ---------------------- Home ---------------------------*/
 /* Responsive */
    @media (max-width: 1024px) {
      .nav-container {
        flex-direction: row;
      }.nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

      .nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
      }

      .menu-toggle {
        display: block;
      }

      .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        padding-left: 0;
        background:#1a73e8;
        margin-top: 10px;
      }

      .nav-menu.active {
        display: flex;
      }

      .nav-menu li {
        width: 100%;
      }

      .nav-menu a {
        padding-left: 20px;
      }

      .nav-menu ul {
        position: static;
      }

      .nav-menu ul ul {
        position: static;
      }

      .nav-menu ul a {
        padding-left: 40px;
      }
    }
     @media (max-width: 768px) {
  .nav-center h5 {
       display: none;
      }
       .nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);top: 9px;
      }
      .process-slider{
        width: 90%;
      }
    }@media (max-width: 468px) {
  .nav-center {
   top: 22px;
  }.process-slider-head{
    font-size: 20px;
  }
}
     @media (max-width: 768px) {
      .video-thumb {
        position: static;
        margin: 20px 0 0 0;
      }

      .hero-image {
        text-align: center;
      }

      .content-title {
        font-size: 28px;
      }

      .learn-btn {
        width: 100%;
        text-align: center;
      }
    }
/*  slider img */

    /* Responsive */
    @media (max-width: 768px) {
      .main-title {
        font-size: 2rem;
      }.step-card{
        width: 100%;
      }

      .slider-item {
        min-width: 140px;
        margin-right: 20px;
      }

      .circle-img {
        width: 130px;
        height: 130px;
      }
    }
    @media (max-width: 576px) {
      .circle-card .img-wrapper {
        width: 140px;
        height: 140px;
      }
      .circle-card h5 {
        font-size: 16px;
      }
    }

    @media (max-width: 480px) {
      .circle-img {
        width: 120px;
        height: 120px;
        border-width: 3px;
      }
.circle-slider{
  height: fit-content;
}
      .feature-title {
        font-size: 0.9rem;
      }.slide h1{
        line-height: 2.5rem;font-size: 20px;
      }
 
    }

    /* home page */
    /* ----------- Tablet & Mobile (1024px and below) ------------ */
@media screen and (max-width: 1024px) {
  .homepage {
    display: flex !important;
    flex-direction: column !important;   /* stack vertically */
    justify-content: center !important;  /* vertical center */
    align-items: center !important;      /* horizontal center */
    padding: 70px 5% !important;
    margin-left: 0 !important;
    height: auto !important;
    background-position: center top !important;
    background-size: cover !important;
    text-align: center !important;
  }

  .hometext {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    text-align: center !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    padding: 0 12px !important;
   
  }

  #tagline {
    font-size: 28px !important;
    margin: 0 auto 12px !important;
    display: block !important;
  }

  /* Contact button centering */
  .form-contact,
  .form-contact a,
  .form-contact button {
    display: inline-block !important;
    margin: 12px auto 0 !important;
    float: none !important;
  }
}

/* ----------- Tablet (768px) ------------ */
@media screen and (max-width: 768px) {
  .homepage {
    height: auto;
    padding: 40px 5%;
    margin-left: 0px;
    background-position: center top;
    background-size: cover;
    justify-content: center;
    text-align: center;
  }

  .hometext {
    /* position: static; */
    max-width: 100%;
     background-color: rgba(0, 0, 0, 0.68);
  }

  #tagline {
    font-size: 26px;
  }

  .form-contact {
    width: 80%;
  }}
/* ----------- Mobile (468px) ------------ */
@media screen and (max-width: 468px) {
  #tagline {
    font-size: 20px;
  }

  .form-contact {
    width: 100%;
    font-size: 14px;
  }.hometext{
    padding: 80px;padding: 50px !important;border-radius: 20px;
  }

  .homepage {
    background-size: 100% auto;
    padding: 30px 15px;margin-top: 80px;
  }
}
/* modal */
/* Responsive - Small devices */
@media (max-width: 768px) {
  .modal-content {
    padding: 20px;margin: 30% auto;
  }

  .modal-content h2 {
    font-size: 20px;
  }
}@media (max-width: 540px) {
  .hometext {
    /* position: static; */
    max-width: 100%;
     background-color: rgba(0, 0, 0, 0.68);
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .search-bar-container {
    width: 90%;
    left: 30%;
  }
}
@media (max-width: 1024px) {
  .search-bar-container {
    width: 90%;
    left: 30%;
  }
}

 /* Responsive adjustments  */
 @media (max-width: 768px) {
 .line{
  background-color: black;
  width: 90px;height: 2px;
}
  
} @media (max-width: 545px) {
 .line{
  display: none;
}.feature-item{
  justify-content: center;
}
}
/* cards  */
/* <= 576px*/ 
@media (max-width: 576px) {
  .viewproject h5,
  .viewproject h3,
  .viewproject p {
    font-size: 0.9rem;
  }

  .enquiry-button {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .card {
    width: 100% !important;
    margin: 10px auto;
  }

  .items {
    width: 100%;
    margin: 20px auto;
  }

  #viewbtn {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  #heading {
    font-size: 1.1rem;
    text-align: center;
  }
}@media (max-width: 579px) {
  .carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .carousel .card {
    width: 100%;
    margin: 0 auto;
  }.nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
}


/* <= 480px */
@media (max-width: 480px) {
  .feature-box p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

/* <= 468px */
@media (max-width: 468px) {
  .secondpage {
    display: none;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    align-items: flex-start;
    width: 100%;
  }

  .right-section {
    width: 100%;
    justify-content: flex-end;
  }

  .enquiry-button {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .card {
    width: 100% !important;
    margin: 10px 0;
    font-size: 1rem;
  }

  .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .card-body {
    padding: 10px;
    line-height: 1.4;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.8rem;
  }

  .items {
    width: 100% !important;
    margin: 20px auto !important;
    padding: 0 10px;
  }
}

    @media (max-width: 480px) {
      .slider-container {
        /* padding: 25px 15px 70px; */
      margin-left: 6%;
      }

      .thumb {
        width: 40px;
        height: 40px;
      }
    }@media (max-width: 768px) {
  .stat-card {
    width: 160px;
  }.nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
}

@media (max-width: 468px) {
  .stat-card {
    width: 140px;
  }.stat-card p {
    font-size: 10px;
  }
}
/*  client - review */

/* Tablet view */
@media (max-width: 991px) and (max-width: 1024px) {
  .clients {
    flex-direction: column;
  height: fit-content;
    padding: 40px 20px;
  }

  .slider-container {
    position: relative;
    margin-top: 20px;
    max-width: 90%;
    padding: 20px 15px 60px;
  }

  .img-client-1 img,
  .img-client-2 img {
    position: static;
    width: 40%;
    border-radius: 20px;
    margin: 10px auto;
    display: block;
  }

  .head {
    position: static;
    width: 100%;
    text-align: center;
    font-size: 36px;
    margin-top: 20px;
  }

  .thumbnails {
    bottom: -40px;padding: 30px;
  }
}

/* Mobile view */
@media (max-width: 576px) {
  .clients {
    flex-direction: column;
    padding: 20px 10px;
  }

  .slider-container {
    max-width: 100%;
    padding: 15px 10px 50px;
    flex-direction: column;
  }

  .review p {
    font-size: 1rem;
  }

  .review h3 {
    font-size: 0.9rem;
  }

  .stars {
    font-size: 1.1rem;
  }

  .img-client-1 img,
  .img-client-2 img {
    width: 80%;
    border-radius: 20px;
  }

  .head {
    font-size: 26px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .thumbnails {
    gap: 10px;
    bottom: -30px;
  }

  .thumb {
    width: 40px;
    height: 40px;
  }
}
/*  contact -page */
/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 20px;
    border-radius: 0;
    
  }

  .contact-form,
  .contact-info {
    padding: 30px 20px;
  }.contact-info {
    padding: 30px 20px;
  
  }

  .contact-info .title {
    font-size: 28px;
  }
}

/* img scroll */

 /* Responsive adjustments */
    @media (max-width: 1200px) {
      .image-slider img {
        width: 200px;
        height: 240px;
      }

      .section-title h2 {
        font-size: 36px;
      }
    }

    @media (max-width: 992px) {
      .image-slider img {
        width: 160px;
        height: 200px;
      }

      .section-title h2 {
        font-size: 32px;}
      /* }.footer-buttons button{
       
      } */
    }

    @media (max-width: 768px) {
      .image-slider img {
        width: 140px;
        height: 180px;
      }

      .section-title h2 {
        font-size: 28px;
      }
    }

    @media (max-width: 480px) {
      .image-slider img {
        width: 110px;
        height: 140px;
      }.contact-form img{
margin-left: 20%;
}

      .section-title h2 {
        font-size: 22px;
      }.form-footer{
display: flex;
flex-direction: column;
      }.footer-bottom-links{
        display: flex;
        justify-content: space-evenly;
      }.footer-buttons{
        display: flex;
        flex-direction: column;
      }.footer-buttons a{
        font-size: 20px;
      }
    }

    @media (max-width: 320px) {
      .image-slider {
        padding: 10px;
        margin: 0 10px 40px;
        gap: 10px;
      }

      .image-slider img {
        width: 90px;
        height: 120px;
        border-radius: 12px;
      }

      .section-title h2 {
        font-size: 18px;
      }
    } /* Responsive */
    @media (max-width: 768px) {
      .box {
        width: 200px;
        height: 200px;
      }
      .contents h2 {
        font-size: 16px;
      }
      .contents p {
        font-size: 12px;
      }
    }
    /* blog card */
    @media (max-width: 768px) {
      .blog-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        padding: 20px;
      }

      .blog-card {
        flex-direction: column;
        height: auto;
      }

      .blog-card img {
        width: 100%;
        height: 200px;
      }

      .blog-card .content {
        width: 100%;
      }

      .blog-grid .blog-card:nth-child(2) {
        grid-row: span 1;
      }

      .blog-grid .blog-card:nth-child(2) img {
        height: 200px;
      }

      .blog-grid .blog-card:nth-child(2) .content {
        height: auto;
      }
    }

/* ---------------------- About Us ---------------------------------- 
----------------------------------------------------------------------*/

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }.page-banner-content{
      margin-top: 25%;
    }

    .page-banner-content h1 {
        font-size: 32px;
    }

    .page-banner-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .page-banner-content h1 {
        font-size: 24px;
    }.page-banner-content{
      margin-top: 25%;
    }

    .page-banner-content p {
        font-size: 14px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .image-col, .content-col {
        width: 100%;
        text-align: center;
    }
    .small-image {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
}

@media (max-width: 576px) {
    .content-col h2 {
        font-size: 28px;
    }
    .services-list .icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
/* register form  */
    /* Responsive */
    @media(max-width: 768px) {
      .container-contact-form {
        flex-direction: column;
      }
      .illustration {
        display: none;
      }
      .form {
        padding: 30px 20px;
      }
    }
/* RESPONSIVE */
@media (max-width: 768px) {
  .expert h2 {
    font-size: 22px;
  }
  .tech-card i {
    font-size: 42px;
  }
  .tech-card p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .expert {
    padding: 20px 10px;
  }
  .tech-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .tech-card {
    padding: 20px 10px;
  }
  .tech-card i {
    font-size: 16px;
  }
  .tech-card p {
    /* font-size: 13px;  */
  display: none;
  }
}
/* google ads */
/* Responsive adjustments */
@media (max-width: 768px) {
  #ads-hero {
    padding: 40px 15px;
  }
  #ads-hero .ads-text h2 {
    font-size: 26px;
  }
  #ads-hero .ads-text p {
    font-size: 15px;
  }
  #ads-hero .ads-btn {
    font-size: 15px;
    padding: 10px 22px;
  }
}

@media (max-width: 480px) {
  #ads-hero {
    padding: 30px 12px;
  }
  #ads-hero .ads-text h2 {
    font-size: 22px;
  }
  #ads-hero .ads-text p {
    font-size: 14px;
    line-height: 1.5;
  }
  #ads-hero .ads-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}
