/* ===============================
   RESPONSIVE MEDIA QUERIES
================================ */

/* Large Tablets & Small Desktops (1200px - 1399px) */
@media (max-width: 1399px) {
  .showcase-card {
    flex: 0 0 calc((100vw - ((100vw - 1140px) / 2)) / 3);
  }

  .showcase-cards-wrapper {
    padding-left: calc((100vw - 1140px) / 2);
  }

  .process-step {
    width: 320px;
    margin-bottom: 80px;
  }

  .process-step:nth-child(5n + 1)::before {
    width: 380px;
    height: 280px;
  }
}

/* Tablets (992px - 1199px) */
@media (max-width: 1199px) {
  .container-fluid {
    padding: 0 20px !important;
  }
  .footer-top-left-add .media{
    margin-bottom: 20px;
  }
  .media.sales-response {
    gap: 20px;
  }
  .contact-item {
    max-width: 100%;
  }
  a.navbar-brand.d-none.d-lg-block {
    width: 180px;
  }
  .headerBtn span {
    padding: 10px;
  }
  a.navbar-brand.d-none.d-lg-block img {
    width: 100%;
  }
  .header .container-fluid {
    padding: 0 20px !important;
  }

  .py80 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pt80 {
    padding-top: 60px;
  }

  .pb80 {
    padding-bottom: 60px;
  }

  .tech-row {
    grid-template-columns: 120px 1fr;
  }

  .tech-card {
    height: 56px;
  }

  .tech-card img {
    width: 26px;
  }

  .showcase-card {
    flex: 0 0 calc((100vw - ((100vw - 960px) / 2)) / 2.5);
  }

  .showcase-cards-wrapper {
    padding-left: calc((100vw - 960px) / 2);
  }

  /* Process Steps - Adjust Layout */
  .process-step {
    width: 300px;
    margin-bottom: 70px;
  }

  .process-step:nth-child(5n + 1) {
    margin-left: 10%;
  }

  .process-step:nth-child(5n + 2) {
    margin-left: 40%;
  }

  .process-step:nth-child(5n + 5) {
    margin-left: 10%;
  }

  .looking_footer {
    max-width: 420px;
  }

  .footer-top {
    padding: 80px 0px 40px;
    margin-top: 200px;
  }

  .form_footer {
    margin-top: -200px;
  }
  .btn-block{
    flex-direction: column;
  }
  .detailCard  h3 img{
    display: none;
  }
  #phonepopup {
    padding-left: 100px !important;
}
}

/* Small Tablets (768px - 991px) */
@media (max-width: 991px) {
  .top-header-bar ul {
    gap: 15px;
    font-size: 12px;
  }

  .navbar-collapse {
    background-color: var(--dark-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 8px;
  }

  .navbar-nav {
    gap: 10px;
  }

  .form-block {
    margin-top: 30px;
  }

  .services-card .card-img {
    max-height: 200px;
  }

  .tech-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tech-label {
    text-align: center;
  }

  .tech-grid {
    justify-items: center;
  }

  .testimonial-card {
    min-width: 350px;
  }

  .showcase-card {
    flex: 0 0 calc((100vw - ((100vw - 720px) / 2)) / 2);
  }

  .showcase-cards-wrapper {
    padding-left: calc((100vw - 720px) / 2);
  }

  /* Process - Simpler Layout */
  .process-step {
    width: 100%;
    max-width: 360px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 60px;
  }

  .process-step::before {
    display: none !important;
  }

  .process-step::after {
    left: 50% !important;
    transform: translateX(-50%);
  }

  .looking_footer {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .looking_footer:after,
  .looking_footer:before {
    display: none;
  }

  .footer-top-left-add {
    margin-top: 30px;
  }

  .footer_bottom ul:not(.socal) li {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .form_footer {
    margin-top: 0;
    margin-bottom: 30px;
  }

  .footer-top {
    margin-top: 80px;
    padding: 60px 0px 40px;
  }

  .left_form-footer {
    margin-left: 0px;
    margin-top: 30px;
  }
    /* Menu container */
  #navbarTogglerDemo01 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 1000%;
    max-width: 100%;
    height: 100vh;
    background: #1d1d1d;
    padding: 30px 20px;
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
    margin-top: 0 !important;
  }

  /* Active state */
  #navbarTogglerDemo01.active {
    right: 0;
  }

  /* Menu items vertical */
  #navbarTogglerDemo01 .navbar-nav {
    align-items: flex-start !important;
    gap: 15px !important;
    margin-top: 50px !important;
  }
    .menu-close-btn {
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
  }
  .navbar.navbar-expand-lg{
    padding-top: 0 !important;
  }
  .position-absolute.w-100.h-100  img{
    object-fit: cover;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 90%;
  }
}
/* Mobile Landscape & Small Tablets (576px - 767px) */
@media (max-width: 767px) {
  .py40 {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .modal-dialog {
    max-width: 1320px;
    padding: 0 0px;
}
.development-process{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
  .pt40 {
    padding-top: 30px;
  }

  .btn1,
  .btn2 {
    padding: 12px 20px;
    font-size: 14px;
  }

  .headerBtn span {
    padding: 8px 12px;
    font-size: 14px;
  }

  .section-badge .text-line {
    width: 100px;
    height: 8px;
  }

  .logo-marquee {
    gap: 40px;
  }
  .row {
    gap: 20px 0;
    --bs-gutter-y: 0;
  }
  .logo-marquee img {
    max-width: 80px;
  }

  .services-card {
    padding: 15px;
    gap: 15px;
  }

  .services-card .card-img {
    max-height: 180px;
  }

  .chips-wrapper {
    gap: 8px;
  }

  .chips-wrapper span {
    padding: 8px;
    font-size: 14px;
  }

  .custom-accordion > li {
    padding: 12px;
  }

  .custom-accordion > li > a {
    padding: 10px 0;
  }

  .tech-stack-wrapper {
    padding: 30px 15px;
  }

  .tech-card {
    height: 48px;
  }

  .tech-card img {
    width: 22px;
  }

  .testimonial-section {
    padding: 20px 0;
    border-radius: 20px;
  }

  .testimonial-card {
    min-width: 280px;
    padding: 18px;
  }

  .marquee-content {
    gap: 15px;
  }

  .rating-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
  }

  .rating-item {
    gap: 4px;
  }

  .rating-item img {
    height: 16px;
  }

  .vrline {
    display: none;
  }

  .showcase-card {
    flex: 0 0 calc(100vw - 80px);
  }

  .showcase-cards-wrapper {
    padding-left: 40px;
  }

  .process-card {
    padding: 18px 20px;
  }

  .stats-wrapper .stats {
    padding: 15px;
    width: calc(50% - 15px);
  }

  .looking_footer ul.list-unstyled {
    flex-wrap: wrap;
    gap: 15px;
  }

  .looking_footer li {
    padding: 0px 10px;
  }

  .looking_footer li:first-child {
    border-right: none;
    border-bottom: 1px solid #f3b58b;
    padding-bottom: 15px;
    text-align: center;
    width: 100%;
  }

  .top-heading-form .inner h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .top-heading-form .inner h6 {
    font-size: 16px;
  }

  .footer_bottom {
    padding: 60px 0px 40px;
  }

  .copy p {
    font-size: 12px;
  }

  .copy p a {
    padding: 0 10px;
    display: inline-block;
    margin: 5px 0;
  }
   .top-header-bar{
    display: none;
   }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .py80 {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .navbar-brand img{
        width: 185px !important;
  }
  #phonepopup {
    padding-left: 70px !important;
}
  button.btn-closee {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 16px;
}
button.btn-closee i {
    margin-top: 10px;
    margin-right: 10px;
}
.est-right{
  display: none;
}
.est-left {
    width: 100%;
    padding: 18px;
}
.est-btn-next{
  padding: 15px;
}
.est-right{
  display: none;
}
.est-progress span{
  width: 20px;
  height: 7px;
}
.est-progress span.is-active{
  width: 30px;
}
.est-step{
  min-height: auto;
}
  .stats-wrapper{
    flex-wrap: wrap;
  }
  .media.sales-response {
    flex-direction: column;
    gap: 15px;
  }
  .pt80 {
    padding-top: 40px;
  }
  .tech-label {
    min-width: 85px;
  }

  .pb80 {
    padding-bottom: 40px;
  }

  .py40 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  p {
    font-size: 16px;
    line-height: 24px;
  }

  .top-header-bar ul {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
.top-header-bar ul li{
  width:calc(50% - 4px);
  margin: 0 !important;
}
  .header-dividerr {
    display: none;
  }

  .btn1,
  .btn2 {
    padding: 10px 16px;
    font-size: 13px;
    width: 100%;
  }

  .btn1 img,
  .btn2 img {
    width: 20px;
  }

  .headerBtn {
    width: 100%;
    justify-content: space-between;
  }

  .section-badge .text-line {
    width: 80px;
    height: 6px;
  }

  .logo-marquee {
    gap: 30px;
  }

  .logo-marquee img {
    max-width: 180px;
  }

  .services-card {
    padding: 12px;
  }

  .custom-accordion > li {
    padding: 10px;
  }

  ul.inner-list p {
    margin-bottom: 15px;
  }

  .tech-stack-wrapper {
    padding: 20px 10px;
  }

  .tech-card {
    height: 42px;
  }

  .tech-card img {
    width: 18px;
  }

  .testimonial-card {
    min-width: 260px;
    padding: 15px;
  }

  .client-img {
    width: 40px;
    height: 40px;
  }

  .client-info h4 {
    font-size: 16px;
  }

  .client-info p {
    font-size: 13px;
  }

  .rating-icon {
    width: 32px;
    height: 32px;
  }

  .testimonial-card p {
    font-size: 14px;
  }

  .rating-bar {
    padding: 8px 12px;
  }

  .rating {
    font-size: 12px;
  }

  .star {
    font-size: 12px;
  }

  .showcase-cards-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .showcase-card {
    flex: 0 0 calc(100vw - 60px);
    padding: 8px;
    border-radius: 20px;
  }

  .showcase-card img {
    border-radius: 14px;
  }

  .process-step {
    margin-bottom: 40px;
  }

  .process-card {
    padding: 15px 18px;
    border-radius: 12px;
  }

  .stats-wrapper .stats {
    padding: 12px;
  }

  .looking_footer {
    padding: 20px 15px;
  }

  .looking_footer ul.list-unstyled h6 {
    font-size: 14px;
  }

  .looking_footer ul.list-unstyled p,
  .looking_footer ul.list-unstyled h5 {
    font-size: 16px;
  }

  .top-heading-form .inner {
    padding: 20px 15px;
  }

  .top-heading-form .inner h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .top-heading-form .inner h6 {
    font-size: 14px;
  }

  .form_footer .bottom-form .inner {
    padding: 15px;
  }

  .btn.inquiry {
    padding: 12px 24px;
    font-size: 14px;
  }

  .footer-top-left-add .media {
    margin-bottom: 25px;
  }

  .footer-top-left-add .media-body {
    padding-left: 15px;
  }

  .footer-top-left-add .media-body span {
    font-size: 14px;
  }

  .footer-top-left-add .media-body h4 {
    font-size: 18px;
  }

  .footer_bottom h3 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer_bottom ul.socal li a {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .copy {
    padding: 20px 0px;
  }

  .copy p a {
    border: none;
    display: block;
    padding: 5px 0;
  }

  .footerLinks a {
    display: block;
    margin: 8px 0;
  }
}

/* Extra Small Mobile (up to 374px) */
@media (max-width: 374px) {
  .testimonial-card {
    min-width: 240px;
  }

  .showcase-card {
    flex: 0 0 calc(100vw - 40px);
  }

  .rating-bar {
    padding: 6px 10px;
  }

  .logo-marquee img {
    max-width: 180px;
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .py80 {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn1,
  .btn2,
  .form-block {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }
}