@media (max-width: 2560px) {
  .custom-container {
    max-width: 1920px;
  }

  .jat-home-slider,
  .carousel-item {
    height: 80vh;
  }

  .carousel-header {
    height: 50vh;
  }
}

@media (max-width: 1920px) {
  .custom-container {
    max-width: 1536px;
  }

  .hero-main-header h1 {
    width: 56%;
    line-height: 80px;
  }

  .jat-suggest-products img {
    width: 150px;
  }

  .dropdown-label {
    padding: 13px 16px;
  }

  .jat-about-us-inner-wrapper.home-main-aboutus {
    padding: 140px 100px;
  }
}

@media (max-width: 1600px) {
  .jat-suggest-products img {
    width: 130px;
  }

  .jat-paint-calculator {
    padding: 60px 30px;
  }

  .jat-cal-image-banner {
    padding: 180px 74px;
  }

  .image-compaire-carousal.paint-review-carousal .owl-carousel .owl-nav button.owl-prev,
  .image-compaire-carousal.paint-review-carousal .owl-carousel .owl-nav button.owl-next {
    top: 340px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav {
    bottom: 360px;
  }

  .jat-home-slider,
  .carousel-item {
    height: 100vh;
  }

  .carousel-header {
    height: 65vh;
  }

  .header-testamonial {
    left: 150px;
  }

  .banner-search-main-wrapper {
    bottom: 3vh;
  }
}

@media (max-width: 1536px) {
  .custom-container {
    max-width: 1400px;
  }

  .jat-about-us-inner-wrapper {
    padding: 120px 70px;
  }

  .jat-paragraph {
    font-size: 18px;
    line-height: 26px;
  }

  .hero-main-header,
  .jat-inner-hero-banner {
    height: 70vh;
  }

  .navbar {
    height: 120px;
  }

  .my-profile .header-dropdown-toggle {
    padding: 10px 28px;
  }

  .navbar ul .my-profile.jat-main-header-btn ul {
    width: 160px;
  }

  .nav-item a {
    font-size: 18px;
  }

  .hero-main-header h1 {
    font-size: 65px;
  }

  .jat-register-form form {
    width: 88%;
  }

  .jat-reg-form {
    margin-top: 150px;
  }

  .card-expand-section,
  .card-expand-mobile-section {
    margin: 0 0 110px;
  }

  .section-padding {
    padding: 70px 0px 0px;
  }

  .carousel-header h1 {
    font-size: 60px;
    width: 650px;
  }

  .header-testamonial img {
    width: 50px;
  }

  .testamonial-details p {
    font-size: 12px;
  }

  .testamonial-details h4 {
    font-size: 20px;
  }

  .image-compaire-carousal.paint-review-carousal .owl-carousel .owl-nav button.owl-next,
  .image-compaire-carousal.paint-review-carousal .owl-carousel .owl-nav button.owl-prev,
  .image-compaire-carousal.paint-review-carousal .owl-carousel button.owl-dot {
    color: var(--jat-primary);
    font-size: 70px;
    position: absolute;
  }

  .image-compaire-carousal .before-after.twentytwenty-container {
    height: 60vh !important;
  }

  .image-compaire-carousal .owl-carousel .owl-item img {
    height: 60vh;
  }

  .image-compaire-carousal.paint-review-carousal.add-review-section .owl-carousel .owl-item img {
    height: 40vh;
  }

  .image-compaire-carousal.paint-review-carousal.add-review-section .before-after.twentytwenty-container {
    height: 40vh !important;
  }

  .dropdown-label {
    padding: 9px 16px;
  }
}

@media (max-width: 1400px) {
  .custom-container {
    max-width: 1366px;
  }

  .send-massage-form {
    padding: 50px;
  }

  .jat-suggest-products img {
    width: 100%;
  }

  .jat-suggest-products {
    padding: 35px 12px;
  }

  .carousel-header h1 {
    font-size: 55px;
    width: 590px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-next {
    right: -30px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-prev {
    left: -30px;
  }

  .image-compaire-carousal-main.owl-carousel .owl-nav {
    bottom: 300px;
  }

  .image-compression-discription-wrapper {
    width: 80%;
    padding: 10px 20px;
  }

  .image-compression-discription h1 {
    font-size: 28px;
  }

  .jat-paragraph {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 1399px) {
  .home-painter-jat-filter-wrapper {
    display: flex;
    justify-content: center;
  }

  .filter-sec-search-bar-position {
    bottom: 12px;
    right: auto;
    left: auto;
  }

  input[type="search"] {
    width: 400px;
  }

  .search-btn .jat-main-btn {
    padding: 16px 44px;
  }
}

@media (max-width: 1366px) {
  .custom-container {
    max-width: 1200px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-prev {
    right: -355px;
  }

  .jat-header-discount {
    font-size: 54px;
  }

  .blog-artical {
    padding: 20px 0px 30px 20px;
  }

  .profile-name {
    padding: 20px 10px;
  }

  .profile-card {
    padding: 20px;
  }

  .profile-details {
    margin-top: 10px;
  }

  .jat-main-btn {
    min-width: 190px;
  }

  .about-us-carousal {
    padding: 80px 0px;
  }
}

@media (max-width: 1200px) {
  .custom-container {
    max-width: 1024px;
  }

  .navbar {
    grid-template-columns: 1fr 4fr;
  }

  .navbar img {
    width: 34%;
  }

  .nav-item a {
    font-size: 17px;
  }

  .navbar ul .my-profile.jat-main-header-btn ul {
    width: 137px;
  }

  .navbar ul .my-profile ul {
    top: 70%;
  }

  .hero-main-header h1 {
    width: 70%;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-prev {
    right: -300px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-next {
    right: 3px;
  }

  .jat-header-discount {
    font-size: 40px;
    line-height: 54px;
  }

  .footer-margin {
    margin-bottom: 50px;
  }

  .footer-social-media {
    border-left: none;
  }

  .link-section {
    padding: 80px 50px;
  }

  footer h1 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  footer p {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .jat-register-form.jat-register-form-width form {
    width: 64%;
  }

  .home-painter-section.section-padding {
    padding: 100px 0px 50px;
  }

  .filter-sec-search-bar-position {
    bottom: 6px;
  }

  input[type="search"] {
    width: 390px;
  }

  .number-counter-section .odometer {
    font-size: 60px;
  }

  .jat-paint-calculator {
    padding: 0px 0px 80px;
  }

  .jat-suggest-products img {
    width: 180px;
  }

  .jat-cal-image-banner {
    padding: 120px 100px;
  }

  .testamonial-details {
    width: 50%;
  }

  .jat-register-form .google-reg {
    width: 80%;
  }

  .jat-inner-aboutus-section {
    padding-top: 50px;
  }

  .navbar ul {
    gap: 35px;
  }

  .header-testamonial {
    left: 90px;
  }
}

@media (max-width: 1199px) {
  .jat-home-aboutus-section {
    padding: 40px 0px;
  }

  .jat-about-us-inner-wrapper {
    padding: 0px 70px;
  }

  .navbar ul {
    gap: 26px;
  }
}

@media (max-width: 1024px) {
  .custom-container {
    max-width: 992px;
  }

  .number-counter-section .odometer {
    font-size: 54px;
  }

  .testamonial-details {
    padding-bottom: 0px;
  }

  .header-testamonial img {
    width: 40px;
  }

  .testamonial-details p {
    margin-bottom: -10px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-next,
  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-prev,
  .image-compaire-carousal-main .owl-carousel button.owl-dot {
    font-size: 82px;
  }

  .jat-about-us-inner-wrapper.home-main-aboutus {
    padding: 80px 100px;
  }

  .navbar ul {
    gap: 30px;
  }
}

@media (max-width: 991px) {

  body.no-scroll,
  html.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
  }

  .custom-container {
    max-width: 768px;
  }

  .jat-about-us-inner-wrapper {
    padding: 0px 15px;
    max-width: 768px;
  }

  .navbar img {
    width: 80px;
    margin: auto 40px;
  }

  .features {
    flex-direction: column;
    padding: 50px;
  }

  .profile-btn {
    display: none;
  }

  .my-profile.hide-mobile {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .my-profile.hide-mobile .header-dropdown-toggle {
    background: transparent;
    color: var(--jat-black);
    padding: 10px;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
  }

  .my-profile {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Target the login dropdown UL inside my-profile */
  .my-profile .header-btn-dropdown,
  .my-profile ul {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 200px;
    text-align: center;
    top: 100%;
    margin-top: 5px;
    background: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Add shadow for visibility */
    border-radius: 8px;
    /* Optional rounded corners */
    z-index: 1000;
  }

  .navbar {
    grid-template-columns: 6fr 5fr 2fr;
    height: 120px;
    position: fixed;
    width: 100%;
  }

  .navbar ul.no-search {
    display: flex;
    flex-direction: column;
    position: fixed;
    justify-content: flex-start;
    top: 0;
    left: 0;
    gap: 6px;
    background-color: #fff;
    width: 100%;
    height: 100vh;
    transform: translate(-101%);
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: 0px;
    flex-wrap: nowrap;
    padding-bottom: 50px;
    padding-top: 120px;
    z-index: 998;
  }

  .navbar ul li.my-profile ul {
    transform: none;
  }

  .navbar li {
    padding: 14px 10px;
  }

  .navbar .header-btn-dropdown li,
  .navbar .header-reg-btn-dropdown li {
    padding: 0px 10px;
  }

  .navbar li:first-child {
    margin-top: 50px;
  }

  .navbar .header-btn-dropdown li:first-child,
  .navbar .header-reg-btn-dropdown li:first-child {
    margin-top: 0px;
  }

  .navbar li a {
    font-size: 18px;
  }

  .nav-item a {
    color: var(--jat-black);
  }

  .navbar>a {
    position: relative;
    z-index: 999;
  }

  .menu-toggle,
  .bar {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 999;
  }

  .mobile-nav {
    transform: translate(0%) !important;
  }

  .my-profile .header-dropdown-toggle {
    padding: 14px 35px;
  }

  .navbar .header-btn-dropdown li a,
  .navbar .header-reg-btn-dropdown li a {
    font-size: 15px;
  }

  .hero-main-header,
  .jat-inner-hero-banner {
    height: 60vh;
  }

  .hero-main-header h1 {
    font-size: 60px;
    line-height: 70px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-prev {
    right: 620px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-next {
    right: -10px;
  }

  .about-us-carousal .owl-carousel .owl-item .about-us-carousal-image img {
    width: 60%;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-next,
  .about-us-carousal .owl-carousel .owl-nav button.owl-prev,
  .about-us-carousal .owl-carousel button.owl-dot {
    top: -120px;
  }

  .jat-inner-aboutus-section {
    padding: 50px 0px 0px;
  }

  .jat-header {
    font-size: 42px;
  }

  .jat-paragraph {
    font-size: 18px;
    line-height: 32px;
  }

  .jat-header-discount {
    font-size: 32px;
    line-height: 46px;
  }

  .jat-main-btn {
    padding: 14px 30px;
    min-width: 180px;
  }

  .jat-discount-header {
    width: 94%;
  }

  .jat-reg-form {
    margin-top: 170px;
  }

  .jat-register-form.jat-register-form-width form {
    width: 90%;
  }

  .home-painter-section.section-padding {
    padding: 50px 0px 10px;
  }

  .jat-home-header-width {
    width: 100%;
  }

  .jat-inner-contactus-section {
    padding: 40px 0px 20px;
  }

  .jat-googel-map {
    padding-bottom: 80px;
  }

  .send-massage-form {
    margin: 50px 0px;
  }

  .painter-dropdown dropdown {
    margin: 6px 0px 0px;
  }

  .painter-dropdown dropdown label,
  .painter-dropdown dropdown ul li {
    width: 244px;
  }

  .filter-sec-search-bar-position {
    z-index: 0;
  }

  input[type="search"] {
    width: 362px;
  }

  .number-counter-section {
    margin-bottom: 30px;
  }

  .number-counter-section .odometer {
    font-size: 70px;
  }

  .home-faq-header .jat-header {
    width: 100%;
    text-align: center;
    padding-bottom: 14px;
  }

  .jat-home-faq-section .jat-paragraph.jat-header-paragraph {
    text-align: center;
  }

  .card-expand-mobile-section {
    display: flex;
  }

  .card-expand-section {
    display: none;
  }

  .jat-suggest-products img {
    width: 150px;
  }

  .jat-cal-image-banner {
    padding: 100px 70px;
  }

  .carousel-header p {
    width: 500px;
  }

  .carousel-header h1 {
    font-size: 50px;
    width: 560px;
  }

  .header-testamonial {
    display: none;
  }

  .profile-details {
    padding: 10px 5px;
  }

  .profile-icon img {
    width: 80%;
  }

  .profile-icon.section-two-profile-icon img {
    width: 70%;
  }

  .contact-details.blog-contact-details .footer-social-links a i {
    font-size: 15px;
    color: var(--jat-white);
  }

  .contact-details.blog-contact-details .footer-social-links a {
    width: 34px;
    height: 34px;
  }

  .profile-details {
    background-color: transparent;
  }

  .painter-profile-name-rate {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-compression-discription h1 {
    font-size: 24px;
  }

  .image-compression-discription p {
    font-size: 14px;
    line-height: 22px;
  }

  .image-compression-discription-wrapper {
    width: 80%;
    padding: 10px 20px;
  }

  .home-painter-section.section-padding {
    padding: 40px 0px;
  }

  .image-compaire-carousal.paint-review-carousal .owl-carousel .owl-nav {
    bottom: 770px;
  }

  .image-compaire-carousal.paint-review-carousal .owl-carousel .owl-nav button.owl-prev {
    left: -30px;
  }

  .image-compaire-carousal.paint-review-carousal .owl-carousel .owl-nav button.owl-next {
    right: -30px;
  }

  .hero-main-header.hero-profile-header.user-profile-main-header {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .hero-main-header.hero-profile-header h1 {
    font-size: 50px;
    width: 100%;
  }

  .edit-profile-btn {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .user-pill-card-header .profile-name {
    font-size: 26px;
  }

  .user-pill-card-header p {
    padding: 3px 18px;
    font-size: 16px;
  }

  .profile-pills .nav-tabs .nav-link {
    font-size: 18px;
  }

  .jat-main-btn.user-pill-btn {
    min-width: 100px;
    padding: 10px 30px;
  }

  .jat-register-form .google-reg {
    width: 90%;
  }

  .home-painter-section.section-padding.inner-painer-review-section {
    margin: 50px 0px 0px;
  }

  .image-compaire-carousal .before-after.twentytwenty-container {
    height: 50vh !important;
  }

  .image-compaire-carousal .owl-carousel .owl-item img {
    height: 50vh;
  }

  .image-compaire-carousal.paint-review-carousal.add-review-section .owl-carousel .owl-item .customer-image img {
    width: 30%;
    height: auto;
  }

  .jat-label-name img {
    width: 10%;
  }

  .dropdown-label {
    padding: 12px 16px;
  }

  .jat-painter-search {
    padding: 12px 40px;
  }

  .search-btn .jat-main-btn {
    padding: 13px 44px;
  }

  .jat-about-us-inner-wrapper.home-main-aboutus {
    padding: 80px 0px;
  }

  .navbar {
    overflow: inherit;
    padding-top: unset;
    padding-bottom: unset;
  }
}

@media (max-width: 768px) {
  .jat-about-us-inner-wrapper {
    max-width: 576px;
  }

  .link-section {
    padding: 60px 30px;
  }

  footer h1 {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .footer-social-text {
    font-size: 13px;
    line-height: 20px;
  }

  .footer-margin {
    margin-bottom: 30px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-next,
  .about-us-carousal .owl-carousel .owl-nav button.owl-prev,
  .about-us-carousal .owl-carousel button.owl-dot {
    top: -370px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-prev {
    right: 430px;
  }

  .about-us-carousal .owl-carousel .owl-item .about-us-carousal-image img {
    width: 80%;
  }

  .jat-header-discount {
    font-size: 30px;
    line-height: 42px;
  }

  .home-discount-main-wrapper {
    flex-direction: column;
  }

  .jat-discount-header {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }

  .jat-register-form form {
    width: 100%;
  }

  .jat-reg-form {
    margin-top: 160px;
  }

  .change-link p {
    font-size: 16px;
  }

  .register-card-header p {
    font-size: 16px;
  }

  .jat-cal-form.jat-register-form {
    padding: 0px 30px 100px;
  }

  .jat-register-form.jat-register-form-width form {
    width: 100%;
  }

  .jat-googel-map {
    padding-bottom: 70px;
  }

  .painter-dropdown .paint-wrapper {
    display: flex;
    justify-content: space-between;
  }

  .home-jat-card {
    padding: 30px 0px;
  }

  .card-expand-mobile-content h1 {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .jat-home-client-description img {
    width: 40px;
  }

  .jat-suggest-products img {
    width: 130px;
  }

  .jat-cal-image-banner {
    padding: 70px;
  }

  .carousel-header {
    width: 76%;
  }

  .carousel-header h1 {
    font-size: 40px;
    width: 100%;
  }

  .carousel-header p {
    width: 90%;
    font-size: 14px;
  }

  .jat-register-form .google-reg {
    width: 100%;
  }

  .home-painter-section.section-padding.image-compaire-section {
    padding: 0px;
  }
}

@media (max-width: 767px) {
  .publisher-details {
    margin-top: -100px;
  }

  .profile-icon img {
    width: 65%;
  }

  .custom-container {
    max-width: 576px;
  }

  .hero-main-header.hero-profile-header {
    align-items: center;
  }

  .edit-profile-btn {
    justify-content: center;
  }

  .edit-profile-btn .jat-main-btn {
    padding: 14px;
    min-width: 160px;
  }

  .hero-main-header.hero-profile-header.user-profile-main-header {
    justify-content: center;
  }

  .calculator-section.inner-page-cal-section {
    padding: 0px;
  }

  .profile-icon.section-two-profile-icon img {
    width: 92%;
  }
}

@media (max-width: 650px) {
  .header-search input[type="search"] {
    width: 250px;
  }

  .carousel-header {
    height: 58vh;
  }
}

@media (max-width: 576px) {
  .custom-container {
    max-width: 480px;
  }

  /* Modern Mobile Search Section */
  .painter-dropdown {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 360px;
  }

  .paint-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .paint-wrapper>.mobile-center {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .dropdown-one,
  .dropdown-two,
  .dropdown-three,
  .dropdown-four {
    width: 100%;
  }

  .dropdown-label {
    margin: 6px 0px !important;
    padding: 14px 18px !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 12px !important;
    min-height: 56px !important;
    transition: all 0.3s ease;
    background: #fafafa;
    width: 100%;
  }

  .dropdown-label:hover {
    background: #ffffff;
    border-color: #f1662370 !important;
  }

  .dropdown-label:active,
  .dropdown-label:focus {
    border-color: var(--jat-primary) !important;
    box-shadow: 0 0 0 4px rgba(241, 102, 35, 0.12);
    background: #ffffff;
  }

  .dropdown-label p {
    font-size: 15px;
    font-weight: 500;
    color: #231f20;
  }

  .dropdown-label img {
    max-height: 20px;
    opacity: 0.7;
  }

  .jat-dropdown-icon i {
    font-size: 16px;
    color: #6b6869;
    transition: transform 0.3s ease;
  }

  .dropdown-label:hover .jat-dropdown-icon i {
    transform: translateY(2px);
  }

  .jat-main-btn.painter-search {
    width: 100%;
    margin-top: 12px;
  }

  .jat-main-btn.painter-search a {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px 24px !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .link-section {
    padding: 50px 20px 30px;
  }

  .footer-main-links {
    margin: 0 auto;
    max-width: 95%;
  }

  footer h1 {
    font-size: 13px;
    margin-bottom: 8px;
    text-align: center;
  }

  footer p {
    font-size: 10px;
    text-align: center;
    margin-bottom: 4px;
    line-height: 1.5;
  }

  .footer-painters,
  .footer-quick-links,
  .footer-support,
  .footer-social-media {
    text-align: center;
  }

  .footer-social-text {
    font-size: 11px;
    line-height: 16px;
    text-align: center;
  }

  .footer-margin {
    margin-bottom: 25px;
  }

  .footer-painters,
  .footer-quick-links,
  .footer-support {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .footer-social-links {
    justify-content: center;
    gap: 12px;
  }

  .footer-social-links a {
    width: 42px;
    height: 42px;
  }

  .footer-social-links a i {
    font-size: 17px;
  }

  .footer-copyright {
    font-size: 11px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3a3637;
  }

  .jat-about-us-inner-wrapper {
    max-width: 480px;
  }

  .navbar img {
    width: 70px;
  }

  .my-profile .header-dropdown-toggle {
    padding: 14px 27px;
  }

  .hero-main-header h1 {
    font-size: 42px;
    line-height: 50px;
  }

  .hero-main-header.hero-profile-header h1 {
    font-size: 46px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-next,
  .about-us-carousal .owl-carousel .owl-nav button.owl-prev,
  .about-us-carousal .owl-carousel button.owl-dot {
    top: -570px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-prev {
    right: 340px;
  }

  .jat-header {
    font-size: 36px;
  }

  .register-card-header h1 {
    font-size: 32px;
  }

  .jat-register-form form {
    padding: 50px 40px;
  }

  .register-card-header p {
    width: 80%;
  }

  .jat-reg-form {
    margin-top: 140px;
  }

  .send-massage-form .sub-header {
    margin-bottom: 30px;
  }

  .number-counter-section .odometer {
    font-size: 60px;
  }

  .number-counter-section {
    margin-bottom: 20px;
  }

  .count-container {
    padding: 40px 0px;
  }

  .jat-faq-dropdown__title {
    line-height: 15px;
  }

  .card-mobile-expand:hover .card-expand-mobile-content {
    padding: 20px 40px;
  }

  .card-expand-mobile-section {
    margin: 0 0 80px;
  }

  .user-pill-card-bg {
    padding: 30px 10px;
    margin: 0px 0px 30px;
  }

  .header-search input[type="search"] {
    width: 250px;
  }

  .header-search a img {
    left: 16px;
    bottom: 25px;
    width: 17px;
  }

  .header-search {
    padding: 6px 14px 10px;
  }

  .image-compaire-carousal .owl-carousel .owl-item img {
    height: 50vh;
  }

  .image-compaire-carousal .before-after.twentytwenty-container {
    height: 50vh !important;
  }

  .home-jat-cal.user-jat-login.jat-pro-edit input {
    margin-bottom: 10px;
  }

  .jat-update-btn {
    margin-bottom: 30px;
  }

  .user-pill-card-bg.painter-pill-card-bg {
    padding: 30px 0px 10px;
    margin: 0px;
  }

  .jat-about-us-inner-wrapper.home-main-aboutus {
    padding: 50px 0px;
  }

  .section-padding {
    padding: 30px 0px 0px;
  }

  .home-painter-jat-filter-wrapper {
    margin-bottom: 12px;
  }
}

@media (max-width: 576px) {

  html,
  body {
    max-width: 100vw;
    width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
  }

  /* Shift the our painter text lef to center */
  .home-painter-profile-main-header {
    padding-left: 0;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
  }

  .menu-toggle .bar {
    background-color: var(--jat-primary);
  }

  .jat-home-header-width {
    width: 100% !important;
  }

  .jat-header {
    font-size: 32px;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .custom-container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .jat-home-slider .carousel-item>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .carousel-header {
    width: 95%;
    margin-top: 0;
  }

  .carousel-header h1 {
    font-size: 30px;
    width: 100%;
    line-height: 40px;
  }

  .carousel-header p {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 575px) {
  .painter-dropdown .paint-wrapper {
    justify-content: center;
  }

  .mobile-center {
    display: flex;
    justify-content: center;
  }

  input[type="search"] {
    width: 390px;
    margin-right: 16px;
  }

  .jat-register-form.jat-register-form-width .email-verification {
    width: 100%;
  }

  .jat-label-name img {
    width: 8%;
  }

  .profile-icon.section-two-profile-icon img {
    width: 90%;
  }

  .profile-icon.section-two-profile-icon {
    padding: 0 !important;
  }

  .home-painter-jat-filter-wrapper {
    width: 90%;
  }
}

@media (max-width: 500px) {
  .header-search input[type="search"] {
    width: 150px;
  }

  .header-search {
    padding: 6px 8px 10px;
  }

  input[type="search"] {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .custom-container {
    max-width: 420px;
  }

  .jat-about-us-inner-wrapper {
    max-width: 420px;
  }

  /* Modern Mobile Search Section - Smaller Screens */
  .painter-dropdown {
    max-width: 340px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .dropdown-label {
    margin: 5px 0px !important;
    padding: 13px 16px !important;
    min-height: 54px !important;
    border-radius: 11px !important;
  }

  .dropdown-label p {
    font-size: 14px;
  }

  .dropdown-label img {
    max-height: 19px;
  }

  .jat-main-btn.painter-search a {
    padding: 13px 20px !important;
    font-size: 15px;
    border-radius: 11px;
  }

  .link-section {
    padding: 35px 12px 20px;
  }

  .footer-main-links {
    max-width: 92%;
  }

  footer h1 {
    font-size: 12px;
    margin-bottom: 6px;
  }

  footer p {
    font-size: 9px;
    margin-bottom: 3px;
    line-height: 1.4;
  }

  .footer-social-text {
    font-size: 10px;
    line-height: 15px;
  }

  .footer-margin {
    margin-bottom: 20px;
  }

  .footer-painters,
  .footer-quick-links,
  .footer-support {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .footer-social-links {
    gap: 10px;
  }

  .footer-social-links a {
    width: 38px;
    height: 38px;
  }

  .footer-social-links a i {
    font-size: 15px;
  }

  .footer-copyright {
    font-size: 10px;
    margin-top: 15px;
    padding-top: 15px;
  }

  .navbar {
    grid-template-columns: 4fr 4fr 1fr;
  }

  .navbar img {
    margin-left: 10px;
    margin-top: 0px;
  }

  .menu-toggle {
    margin: 0px 14px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-next,
  .about-us-carousal .owl-carousel .owl-nav button.owl-prev,
  .about-us-carousal .owl-carousel button.owl-dot {
    top: -700px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-prev {
    right: auto;
    left: -10px;
  }

  .jat-paragraph {
    font-size: 16px;
    line-height: 30px;
  }

  .jat-cal-form.jat-register-form {
    padding: 0px 12px 50px;
  }

  .jat-register-form form {
    padding: 40px 20px;
  }

  .home-painter-section.section-padding {
    padding: 50px 0px;
  }

  .send-massage-form {
    padding: 50px 30px;
  }

  input[type="search"] {
    width: 300px;
  }

  .card-mobile-expand:hover .card-expand-mobile-content {
    padding: 20px;
  }

  .jat-suggest-products img {
    width: 100px;
  }

  .carousel-header h1 {
    font-size: 30px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-next,
  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-prev,
  .image-compaire-carousal-main .owl-carousel button.owl-dot {
    font-size: 50px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-next {
    right: -20px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav button.owl-prev {
    left: -20px;
  }

  .image-compaire-carousal-main .owl-carousel .owl-nav {
    bottom: 215px;
  }

  .jat-painer-job-image img {
    width: 60px;
  }

  .user-prof-btn-jat {
    width: 34px;
    height: 34px;
  }

  .section-padding {
    padding: 20px 0px 0px;
  }

  .image-compression-discription {
    margin-bottom: 0px;
  }

  .image-compression-discription h1 {
    font-size: 18px;
  }

  .image-compression-discription p {
    font-size: 12px;
    line-height: 16px;
  }

  .image-compaire-carousal .owl-carousel .owl-item img {
    height: 40vh;
  }

  .image-compaire-carousal .before-after.twentytwenty-container {
    height: 40vh !important;
  }

  .image-compression-discription-wrapper {
    width: 95%;
    padding: 10px;
  }

  .home-painter-section.section-padding.inner-painer-review-section {
    margin: 0px 0px 0px;
  }

  .modal-body,
  .modal-header {
    padding: 20px 10px;
  }

  .customer-image {
    width: 42%;
  }

  .jat-label-name img {
    width: 7%;
  }

  .jat-about-us-inner-wrapper.home-main-aboutus {
    padding: 30px 0px;
  }

  .jat-header {
    line-height: 60px;
  }

  .jat-inner-faq-section {
    padding: 70px 0px;
  }

  .cal-input-margin {
    margin-bottom: 15px;
  }

  .jat-inner-aboutus-section {
    padding: 40px 0px 0px;
  }

  .search-bar-width {
    width: 80%;
  }

  .banner-hyperlink-popup {
    margin-top: 8px;
  }

  .banner-search-main-wrapper {
    bottom: 2vh;
  }
}

@media (max-width: 420px) {
  .custom-container {
    max-width: 380px;
  }

  .jat-about-us-inner-wrapper {
    max-width: 380px;
  }

  /* Scoped login page responsiveness */
  .jat-login-banner .custom-container {
    max-width: 100%;
  }

  .jat-register-form form {
    padding: 30px 15px;
  }

  .register-card-header p {
    width: 100%;
  }

  .jat-cal-form.jat-register-form {
    padding: 0px 10px 40px;
  }

  /* Fix for register page form width */
  .jat-register-form.jat-register-form-width form {
    width: 100%;
  }

  .link-section {
    padding: 30px 10px 15px;
  }

  .footer-main-links {
    max-width: 90%;
  }

  footer h1 {
    font-size: 11px;
    margin-bottom: 5px;
  }

  footer p {
    font-size: 8px;
    margin-bottom: 2px;
    line-height: 1.3;
  }

  .footer-social-text {
    font-size: 9px;
    line-height: 14px;
  }

  .footer-margin {
    margin-bottom: 18px;
  }

  .footer-painters,
  .footer-quick-links,
  .footer-support {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .footer-social-links {
    gap: 8px;
  }

  .footer-social-links a {
    width: 36px;
    height: 36px;
  }

  .footer-social-links a i {
    font-size: 14px;
  }

  .footer-copyright {
    font-size: 9px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .hero-main-header h1,
  .hero-main-header.hero-profile-header h1 {
    font-size: 38px;
    line-height: 48px;
  }

  .hero-main-header,
  .jat-inner-hero-banner {
    height: 56vh;
  }

  .about-us-carousal .owl-carousel .owl-item .about-us-carousal-image img {
    width: 70%;
  }

  .jat-header {
    font-size: 32px;
  }

  .filter-sec-search-bar-position {
    justify-content: center;
  }

  .search-btn .jat-main-btn {
    padding: 12px 2px;
    min-width: 87px;
  }

  input[type="search"] {
    width: 196px;
  }

  .jat-cal-image-banner {
    padding: 46px;
  }

  .user-pill-card-header .profile-name {
    font-size: 24px;
  }

  .user-pill-card-header p {
    padding: 3px 14px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .custom-container {
    max-width: 320px;
  }

  .jat-about-us-inner-wrapper {
    max-width: 320px;
  }

  .link-section {
    padding: 25px 8px 10px;
  }

  .footer-main-links {
    max-width: 88%;
  }

  footer h1 {
    font-size: 10px;
    margin-bottom: 4px;
  }

  footer p {
    font-size: 8px;
    margin-bottom: 2px;
    line-height: 1.3;
  }

  .footer-social-text {
    font-size: 9px;
    line-height: 13px;
  }

  .footer-margin {
    margin-bottom: 15px;
  }

  .footer-painters,
  .footer-quick-links,
  .footer-support {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .footer-social-links {
    gap: 8px;
  }

  .footer-social-links a {
    width: 34px;
    height: 34px;
  }

  .footer-social-links a i {
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 9px;
    margin-top: 10px;
    padding-top: 10px;
  }

  .my-profile .header-dropdown-toggle {
    padding: 12px 17px;
  }

  .navbar img {
    margin-left: 20px;
  }

  .about-us-carousal .owl-carousel .owl-nav button.owl-next,
  .about-us-carousal .owl-carousel .owl-nav button.owl-prev,
  .about-us-carousal .owl-carousel button.owl-dot {
    bottom: 250px;
  }

  .hero-main-header.hero-profile-header h1 {
    font-size: 42px;
    line-height: 50px;
    width: 95%;
  }

  .hero-main-header h1 {
    font-size: 30px;
    line-height: 40px;
    width: 95%;
  }

  .jat-googel-map {
    padding-bottom: 50px;
  }

  .header-search input[type="search"] {
    padding: 10px 10px 10px 28px;
    width: 112px;
  }

  .carousel-header p {
    font-size: 12px;
  }

  .jat-main-btn {
    padding: 12px 30px;
  }

  .cal-main-header {
    padding: 50px 16px;
  }
}

@media (max-width: 320px) {
  .my-profile .header-dropdown-toggle {
    padding: 8px 14px;
  }

  .navbar img {
    margin-left: 12px;
  }

  .jat-suggest-products img {
    width: 110px;
  }

  .jat-about-us-inner-wrapper.home-main-aboutus {
    padding: 20px;
  }
}