/* Max Width 1500px */
@media (max-width: 1500px) {
  .Devices-calculate {
    display: none;
  }
	.cal-box{
		display:block;
	}
}

/* Max Width 1200px */
@media (max-width: 1200px) {
  .why-flex {
    flex-direction: column;
    gap: 0px;
  }

  .why-phonebuyback .container {
    padding-top: 0px;
  }

  .instant-quote-section {
    gap: 20px;
  }

  .testimonial-text {
    padding: 13px;
  }
}

/* Max Width 1199px */
@media (max-width: 1199px) {
  .main-navigation ul li a {
    font-size: 16px;
  }

  .footer-nav ul li a {
    font-size: 16px;
  }

  .iphone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0px;
    justify-items: center;
  }

  .i-phone-section,
  .section.how-it-works-section-iphone-inner {
    width: auto;
  }

  .testimonial-content {
    flex-direction: column;
	 align-items: center;
  }

  .left-content,
  .right-content {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Max Width 1024px */
@media (max-width: 1024px) {
  .banner-title {
    font-size: 48px;
  }

  .banner-subtitle,
  .trust-badge,
  .device-select {
    font-size: 16px;
  }

  .banner-section {
    padding-top: 50px;
  }

  .benefits-section,
  .shipping-label-section,
  .instant,
  .how-it-works,
  .testimonial-slider-section,
  .faq-section .container {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .shipping-label-section {
    margin: 50px 0;
  }

  .faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .faq-title {
    margin-bottom: 20px;
  }
}

/* Max Width 991px */
@media (max-width: 991px) {
  .banner-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    row-gap: 20px;
  }

  .banner-content {
    width: 100%;
    min-width: 0px;
  }

  .trust-badge {
    display: inherit;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .banner-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
    text-align: center;
	margin-top:10px;
  }

  .banner-title br {
    display: none;
  }

  .banner-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .device-select {
    width: 100%;
    max-width: 300px;
    padding: 13px;
    font-size: 16px;
    margin: 0 auto;
    display: block;
  }

  .sell-now-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #28af35;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    margin-top: 20px;
    text-decoration: none;
  }

  .banner-image {
    margin-top: 30px;
    width: 100%;
    text-align: center;
  }

  .banner-image img {
    max-width: 60%;
    height: auto;
  }

  .banner-content p {
    text-align: center;
  }

  .shipping-label-section {
    flex-direction: column;
    background-position: center;
    background-size: contain;
    padding: 40px 20px;
    text-align: center;
  }

  .two-card {
    width: auto;
  }

  .shipping-features {
    justify-content: end;
  }

  .carrier-logos {
    justify-content: center;
    gap: 12px;
  }

  .instant-quote-section {
    flex-direction: column;
  }

  .quote-content {
    padding-top: 25px;
  }

  .quote-content h2 {
    font-size: 38px;
    line-height: 48px;
  }

  .steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .testimonial-box .testimonial-img {
    display: none;
  }

  .testimonial-slider-section .testimonial-box {
    height: auto;
  }

  .custom-select-wrapper {
    width: 320px;
    margin: 0 auto;
  }

  .arrow-icon {
    top: 28px;
    right: 35px;
  }

  .iphone-grid {
    grid-template-columns: repeat(3, 1fr);
  }
	.heading-section h1 {
     font-size: 38px;
     line-height: 48px;
	}
	
	.sell-phone-section h1{
		 font-size: 38px;
     line-height: 48px;
	}
	
	section.how-it-works-section-iphone-inner{
		padding-top:10px;
		padding-bottom:50px;
	}
	
	.steps-container{
		justify-items:center;
	}
	
	.testimonial-section{
	  padding-top: 50px;
      padding-bottom: 50px;
	}
	.sell-phone-container{
	  padding-top: 50px;
      padding-bottom: 20px;
	}
}

/* Max Width 768px */
@media (max-width: 768px) {
  .two-card {
    flex-direction: column;
    align-items: center;
  }

  .btn-group {
    justify-content: center;
  }

  .why-text {
    text-align: center;
  }

  .why-card-1 ul {
    padding-top: 0px;
    width: auto;
  }

  .why-text h2 {
    font-size: 38px;
    line-height: 52px;
  }

  .steps-container {
    gap: 0px;
    justify-items: center;
    padding: 20px;
  } 
	
   .testimonial-box{
     	flex-wrap: wrap;
	}
}

/* Max Width 767px */
@media (max-width: 767px) {
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
	
  .iphone-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
	
	.other_Group{
		margin-top:10px;
		margin-bottom:25px;
		text-align:center;
	}
	
	.first-group{
		margin-top:10px !important;
	}
	
	.breadcrumb-nav{
		text-align:center;
	}
	
	#samsung-posts-container h2{
		 text-align: center;
	}
}

/* Max Width 575px */
@media (max-width: 575px) {
  .main-header .container .row .col-sm-6 {
    width: 50%;
  }

  .shipping-features {
    flex-direction: column;
    gap: 0px;
    row-gap: 10px !important;
  }

  .steps-container {
    justify-items: center;
    gap: 50px !important;
  }

  .testimonial-images {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-images img {
    width: 203px;
  }

  .testimonial-content .right-content {
    flex-direction: column;
    justify-items: center;
    align-items: center;
  }
	
   .next-arrow {
       bottom: 0px;
    }
	
	.review-section{
	   padding: 35px 0px;
	}
	
	section.how-it-works-section-iphone-inner{
		 padding-bottom: 0px;
	}
	
	.faq-title{
		font-size:38px;
	    line-height: 46px;
	}
}

/* Max Width 539px */
@media (max-width: 539px) {
  .footer-nav ul {
    display: block;
  }

  .footer-nav ul li {
    margin-top: 10px;
  }

  .site-footer {
    padding: 40px 20px;
  }

  .why-text h2 {
    font-size: 28px !important;
    line-height: 40px !important;
  }

  .btn-group {
    flex-direction: column;
    column-gap: 10px;
  }

  .banner-section {
    flex-wrap: nowrap;
  }

  .shipping-left h2 {
    font-size: 38px !important;
    line-height: 48px !important;
  }

  .how-title {
    font-size: 42px;
    line-height: 50px;
  }

  .how-buttons {
    flex-direction: column;
    align-items: center;
  }

  .iphone-grid {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* Max Width 375px */
@media (max-width: 375px) {
  .custom-select-wrapper {
    width: 280px;
    margin: 0 auto;
  }

  .arrow-icon {
    top: 31px;
    right: 13px;
  }

  .device-select {
    padding: 15px;
  }
	
	.right-content .main-photo{
	    width: 270px;
	}
}

@media (max-width: 425px) {
	.sell-phone-container{
		text-align:center !important;
	}
	.breadcrumb-nav{
		text-align:center;
	}
}
