@media (min-width: 1680px) {
  .video-cont h1 {
  }
}

@media (min-width: 1800px) {
  .video-cont h1 {
  }
}
@media (max-width: 1366px) {
  .search-bar form {
    width: 95%;
  }
  .about_section .about_content {
    margin-left: 55px;
  }
  section.cta .content {
    width: 80%;
  }
  section.home-list img.img-fluid {
    height: 250px;
  }
  .attractions .image-box img {
    height: 400px;
  }
  .attractions .lower-box {
    left: 30px;
    right: 30px;
  }
}
@media (max-width: 1024px) {
  #art-slider-section .content {
    top: 41%;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  section.home-list .rating {
    width: 25%;
  }
  .guest-content-section {
    height: 415px;
    overflow: hidden;
  }
  .search-bar form {
    width: 100%;
  }
  .search-bar .check {
    width: 50%;
  }

  .banner-wrapper {
    height: 750px;
  }
  .about_section .about_content {
    margin-left: 25px;
  }
  section.new-about-us .inner-content h2 {
    font-size: var(--f50);
  }
  section.property-new-sec h4 {
    display: block;
    white-space: inherit;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }
  .attractions .lower-box {
    left: 20px;
    right: 20px;
  }

  .video-cont h1 {
    font-size: var(--f50);
  }
  section.home-list .row {
    gap: 30px 0%;
  }
  section.home-list img.img-fluid {
    height: 300px;
  }
  section.home-list .property-categories img,
  section.home-list .property-categories {
    height: 300px;
  }
  section.cta .content {
    width: 90%;
  }
  section.about-owner .col-6.col-md-6.col-sm-12.cont,
  section.about-owner .col-6.col-md-6.col-sm-12.img {
    width: 100%;
  }
  section.about-owner .abt-img {
    position: relative;
    width: 100%;
  }
  section.about-owner .row {
    gap: 30px;
  }
  section.about-owner img {
    height: 550px;
  }
  .col-1.md-12.sm-12.srch-btn {
    padding-right: 10px;
  }
  section.home-list .col-4 {
    width: 49%;
  }
}
@media (max-width: 980px) {
  .luxury-legacy-section {
    padding: var(--p50) var(--p12);
  }
  .luxury-legacy-section .legacy-title {
    font-size: 40px;
    line-height: 1.5;
  }
  .banner-wrapper {
    height: 850px;
  }
  .video-cont .search-bar {
    display: block;
  }
  .video-cont h1 {
    text-shadow: 0px 0px 6px #000;
    font-size: var(--f50);
  }
  .search-bar .col-3:before {
    display: none;
  }
  .search-bar {
    position: relative;
    width: 100%;
    bottom: -20px;
    left: 0;
    padding: 10px;
  }
  .select::after,
  .search-bar .main-check::after {
    display: none;
  }
  .check.right.icns.mb-lg-0.position-relative.datepicker-common-2.check-out:before {
    display: none;
  }
  .search-bar .datepicker-common-2 {
    width: 50%;
  }
  .search-bar form {
    width: 100%;
    position: relative;
    bottom: 0px;

    padding: var(--p20);
    background: var(--white-color);
    box-shadow: 0px 0px 10px rgb(0 0 0 / 12%);
  }
  .search-bar .col-3 {
    width: 100%;
    margin-bottom: var(--m16);
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--p6);
    padding-right: var(--p6);
  }
  .search-bar input,
  input#show-target-data,
  input#show-target-data1 {
    line-height: 34px;
    font-weight: 400;
    border-radius: 25px;
    padding: var(--p12) var(--p22) var(--p11) var(--p48);
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0;
    color: var(--primary-text);
  }
  .search-bar select {
    line-height: 34px;
    font-weight: 400;
    height: 59px;
    border-radius: 25px;
    padding: var(--p12) var(--p22) var(--p11) var(--p10);
    background: #f5f5f5;
    text-indent: 30px;
    border: 1px solid #e0e0e0;
    color: var(--primary-text);
  }
  input#show-target-data,
  input#show-target-data1 {
    height: 59px;
  }
  .search-bar input::placeholder,
  input#show-target-data::placeholder,
  input#show-target-data1::placeholder {
    color: var(--primary-text);
  }
  .search-bar .check i,
  .search-bar .col-3 i {
    top: 1.2rem;
    left: 20px;
    font-size: var(--f18);
    color: var(--secondary-color);
    width: 25px;
  }
  .datepicker {
    right: 0;
  }
  .search-bar .main-check {
    padding-left: var(--p6);
    padding-right: var(--p6);
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0px;
    width: 100%;
  }
  .search-bar .check.left input#start_date,
  .search-bar .check.left input#start_date1 {
    border-right: 0px solid;
    border-radius: 25px 0px 0px 25px;
  }
  .search-bar .check.right input#end_date,
  .search-bar .check.right input#end_date1 {
    border-left: 0px solid;
    border-radius: 0 25px 25px 0;
  }
  .search-bar .check:before {
    top: 20px;
    right: 10px;
    width: 2px;
    background: var(--secondary-color);
    z-index: 1;
    height: 20px;
  }
  .search-bar input#end_date,
  .search-bar input#end_date1 {
    padding-left: 48px;
  }
  input#demo17,
  input#demo171 {
    height: 59px !important;
    top: 0px !important;
  }
  .search-bar .col-3.srch-btn {
    padding-left: 6px;
    margin-bottom: 0px;
  }
  .search-bar .form-control:focus {
    box-shadow: none !important;
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
  }
  .search-bar button.main-btn {
    height: 55px;
    width: 100%;
    border-radius: 25px;
  }
  .video-cont {
    background: transparent;
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 45px;
    margin-top: 100px;
  }
  .hero-content p {
    font-size: 18px;
  }
  .video-sec {
    height: 550px;
  }
  section.new-about-us .container-fluid .img {
    width: 100%;
  }
  .about_section .about_content {
    margin-left: 0;
  }
  section.about_section .row {
    gap: 30px 0;
  }
  section.cta .head-sec h2 {
    text-align: center;
  }
  section.new-about-us .img-part img {
    height: 450px;
  }
  section.new-about-us .container-fluid .col-6.content {
    width: 100%;
  }
  section.new-about-us .container-fluid .inner-content {
    padding: var(--p30);
    padding-bottom: 40px;
  }
  section.new-about-us .inner-content h2 {
    font-size: var(--f50);
  }
  section.home-list {
    padding: var(--p50) var(--p12);
  }
  section.home-list .col-6.col-md-6.col-sm-12.prop-card.aos-init.aos-animate {
    width: 100%;
  }
  section.property-new-sec .owl-nav {
    width: 100%;
    left: 0;
  }
  section.property-new-sec .img-sec img {
    height: 350px;
  }
  section.cta .content {
    width: 90%;
    padding: var(--p40);
  }
  section.home-list .col-4 {
    width: 50%;
  }
  section.home-list .row {
    gap: 30px 0%;
  }
  section.home-list i {
    margin-right: 4px;
  }
  section.about-owner .col-6.col-md-6.col-sm-12.img,
  section.about-owner .col-6.col-md-6.col-sm-12.cont {
    width: 100%;
    height: auto;
  }
  section.about-owner .abt-img {
    position: relative;
    width: 100%;
    height: 450px;
  }
  section.about-owner .row {
    gap: 30px;
  }
  .attractions .row {
    gap: 70px;
  }
  .attractions .col-4 {
    width: 100%;
  }
  .attractions .image-box img {
    height: 380px;
  }
  section.home-list .rating {
    width: 27%;
  }
  .check.right.icns.mb-lg-0.position-relative.datepicker-common-2:before {
    background: transparent;
  }
  .search-bar input#show-target-data1 {
    height: 59px;
    padding: var(--p12) var(--p22) var(--p11) var(--p48);
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0;
  }
  .about_wrapper {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .about_wrapper .col-lg-6.abt-content {
    padding-left: 12px;
    margin-top: 30px;
  }
  .how-we-value-wrapp img.img-fluid {
    height: 350px;
  }
  .how-we-value-wrapp .atrr {
    width: 50%;
  }
  section.testimonial {
    padding-bottom: 50px;
  }
}
@media (max-width: 540px) {
    section.home-list img.img-fluid{
        
height: 250px;
    }
  section.home-list h5 span {
    font-size: var(--f18) !important;
  }
  section.home-list h5 {
    font-size: var(--f14) !important;
  }

  html {
    overflow-x: hidden !important;
  }
  .hero-content h1 {
    font-size: 30px;
    margin-top: 20px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .video-sec {
    overflow: visible;
    height: 300px;
  }
  .video-cont {
    justify-content: flex-start;
  }
  .search-bar {
    bottom: -50px;
    padding: 0;
  }
  .booking-area {
    margin-bottom: 0px;
    padding: 0px;
  }
  section.home-list .col-6 {
    width: 100%;
    padding: 0px;
  }
  .prop-view-btn a {
    font-size: var(--f16);
  }
  .video-cont h1 {
    font-size: var(--f30);
    margin-bottom: 0px;
    margin-top: 65px;
  }
  input#demo17,
  input#demo171 {
    height: 135px !important;
  }
  .banner-wrapper {
    height: 650px;
  }
  .search-bar .datepicker-common-2 {
    width: 100%;
  }
  .search-bar .datepicker-common-2.datepicker-main {
    margin-bottom: 0px;
  }
  .datepicker {
    width: 100% !important;
  }
  #datepicker-demo17.datepicker {
    z-index: 10 !important;
  }
  .search-bar .check.right input#end_date,
  .search-bar .check.right input#end_date1 {
    border-left: 1px solid #e0e0e0;
    border-radius: 25px 25px 25px 25px;
  }
  .search-bar .check.left input#start_date,
  .search-bar .check.left input#start_date1 {
    border-right: 1px solid #e0e0e0;
    border-radius: 25px 25px 25px 25px;
  }
  .search-bar .check:before {
    display: none;
  }
  .guests .col-6.guest-img {
    width: 100%;
    padding: 0px;
    margin-bottom: 30px;
  }
  .guests .col-6.guest-content {
    padding: 0px;
    width: 100%;
  }

  .guest-content-section {
    height: 440px;
  }
  .about_wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .about_wrapper .col-lg-6 {
    padding: 0px;
  }
  .about-img1 img {
    height: 300px;
  }
  .about_wrapper .heading_sec h3 {
    font-size: 28px;
  }
  section.about_section .col-lg-6 {
    padding: 0px;
  }
  .about_section .about_content h5 {
    font-size: var(--f25);
    margin-bottom: 15px;
  }
  .about_section .about_img {
    border-radius: 0 20%;
    padding: 0%;
    border: 20px solid var(--territiary-color);
  }
  .about_section .about_img img {
    height: 250px;
  }
  section.home-list .how-we-value-heading h6 {
    font-size: var(--f16);
  }
  section.new-about-us .img-part img {
    height: 300px;
  }
  section.home-list .property-categories img,
  section.home-list .property-categories {
    height: 300px;
  }
  section.home-list .property-categories .categories-content h3 {
    font-size: var(--f25);
  }
  section.new-about-us .container-fluid .inner-content {
    padding: var(--p20) var(--p12);
    padding-bottom: 40px;
  }
  section.property-new-sec .head-sec h2 {
    font-size: var(--f30);
    margin-bottom: var(--m30);
  }
  section.property-new-sec .img-sec img {
    height: 250px;
  }
  section.property-new-sec h4 {
    font-size: 19px;
    text-wrap: wrap;
    display: block;
    white-space: inherit;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }
  section.property-new-sec .cont .price span {
    font-size: 15px;
  }
  section.cta .content {
    width: 100%;
    padding: var(--p25) var(--p20);
  }
  .hero-section .card__heading {
    font-size: 1.7rem;
    word-spacing: 0;
  }
  .hero-section .card:before {
    padding-bottom: 300px;
  }
  section.new-about-us .inner-content h2 {
    font-size: var(--f36);
  }
  section.new-about-us .inner-content .para {
    max-height: 350px;
  }

  section.home-list .col-4 {
    width: 100%;
    padding: 0px;
  }
  section.home-list .row {
    gap: 25px 0%;
  }
  section.home-list {
    padding: var(--p40) var(--p12);
  }
  section.home-list .pro-cont {
    padding: var(--p40) var(--p15) var(--p25) var(--p15);
  }
  section.home-list h5 {
    font-size: var(--f16);
  }
  section.home-list h5 span {
    font-size: var(--f20);
  }
  section.home-list h3.title {
    font-size: var(--f18);
    height: auto;
    width: 100%;
    padding-top: 10px;
  }
  .luxury-legacy-section .col-lg-6 {
       padding-left: 0;
    padding-right: 0;
  }
  .luxury-legacy-section .legacy-title {
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
  }
  section.luxury-legacy-section .legacy-desc{
    font-size: 17px;
    line-height: 1.4;
    max-width: 500px;
    margin-bottom: 14px;
  }
  section.home-list {
    padding: var(--p40) var(--p12);
  }
  section.about-owner .col-6.col-md-6.col-sm-12.img,
  section.about-owner .col-6.col-md-6.col-sm-12.cont {
    width: 100%;
    padding: 0px;
  }
  section.about-owner .abt-img,
  section.about-owner img {
    height: 350px;
  }
  section.about-owner .abt-detail {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  section.testimonial .head-sec p {
    margin-bottom: 10px;
  }
  section.how-we-value-wrapp .head-sec {
    margin-bottom: 20px;
  }
  .how-we-value-wrapp .atrr {
    padding: 0;
    position: relative;
    width: 100%;
  }
  section.how-we-value-wrapp.atr .col-12 {
    padding: 0px;
  }
  .how-we-value-wrapp img.img-fluid {
    height: 300px;
  }
  .single-testimonial::before {
    width: 86px;
    height: 80px;
    background-position: 15px 15px;
  }
  .single-testimonial::after {
    width: 86px;
    height: 80px;
    background-position: 19px 19px;
  }

  section.testimonial .cont-sec {
    padding: var(--p20) 0px;
    margin-top: var(--m20);
  }
  section.testimonial .para p {
    height: auto;
    max-height: 90px;
    padding: 0px;
    font-size: var(--f14);
    width: 100%;
  }
  .attractions .image-box img {
    height: 300px;
  }
  .attractions .lower-box {
    left: 15px;
    right: 15px;
  }
  .attractions .lower-content h4 {
    height: auto;
  }
  section.home-list .rating {
    width: 25%;
  }
  section.testimonial .head-sec h2 {
    margin-bottom: 28px;
  }
  .owl-carousel .owl-item {
    padding: 5px;
  }
  section.testimonial .head-sec {
    padding-left: 0;
    margin-bottom: var(--m20);
    padding-top: var(--p40);
  }
  section.testimonial h3 {
    font-size: 18px;
  }

  section.home-list .col-lg-4 {
    padding-left: 0;
    padding-right: 0;
  }

}
@media (max-width: 360px) {
  .video-cont h1 {
    font-size: var(--f30);
    margin-bottom: 0px;
  }
  section.new-about-us .inner-content h2 {
    font-size: var(--f30);
  }
  section.new-about-us .inner-content .para {
    max-height: 360px;
  }
  section.about-owner .abt-img {
    height: 300px;
  }
  section.testimonial h3 {
    font-size: var(--f18);
  }
  .guests img {
    height: 200px;
  }
  .hero-section .card__heading {
    font-size: 1.5rem;
    word-spacing: 0;
  }
  section.property-new-sec .head-sec h2 {
    font-size: var(--f26);
  }
  .guest-content-section {
    height: 450px;
  }
  section.property-new-sec h4 {
    font-size: 17px;
  }
  .attractions .image-box img {
    height: 250px;
  }
  .attractions .row {
    gap: 50px;
  }
  section.home-list ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: 11px;
  }
  section.home-list ul li i {
    margin-right: 0px;
  }
}
@media (max-width: 320px) {
  .search-bar {
    padding: 0;
  }
  section.home-list .rating {
    width: 37%;
  }
}

/* =-=================== special case ========== */

/* 320px - Extra Small Mobile */
@media (max-width: 320px) {
  #art-slider-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
  }

  #art-slider-section .art-slider-container .heading-art {
    position: relative;
    color: white;
    z-index: 99;
    text-align: center;
    top: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 18px;
  }

  #art-slider-section .slider .item1 {
    width: 100%;
    height: 100%;
    list-style: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
    transition: 0.7s;
  }

  #art-slider-section .slider .item1:nth-child(1),
  #art-slider-section .slider .item1:nth-child(2) {
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  #art-slider-section .slider .item1:nth-child(3),
  #art-slider-section .slider .item1:nth-child(4),
  #art-slider-section .slider .item1:nth-child(5),
  #art-slider-section .slider .item1:nth-child(6) {
    opacity: 0;
    display: none;
  }

  #art-slider-section .content {
    width: 90%;
    max-width: 280px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    display: none;
    background: rgba(198, 175, 118, 0.9);
    padding: 10px;
    border-radius: 8px;
  }

  #art-slider-section .content h2 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--btn-color);
  }

  #art-slider-section .content p {
    height: auto;
    max-height: 50px;
    overflow: hidden;
    font-weight: 600;
    font-size: 11px;
    color: var(--white-color);
    text-align: left;
  }

  #art-slider-section .slider .item1:nth-child(2) .content {
    display: block;
    animation: showContent 0.7s ease forwards 0.3s;
  }

  #art-slider-section .nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  #art-slider-section .nav .btn {
    cursor: pointer;
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin: 0 6px;
    color: var(--white-color);
    background: var(--btn-color);
    padding: 6px 10px;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
  }

  #art-slider-section .main-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* 360px - Small Mobile */
@media (max-width: 360px) {
  #art-slider-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
  }

  #art-slider-section .art-slider-container .heading-art {
    position: relative;
    color: white;
    z-index: 99;
    text-align: center;
    top: 0;
    padding-top: 14px;
    padding-bottom: 14px;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 20px;
  }

  #art-slider-section .slider .item1 {
    width: 100%;
    height: 100%;
    list-style: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
    transition: 0.7s;
  }

  #art-slider-section .slider .item1:nth-child(1),
  #art-slider-section .slider .item1:nth-child(2) {
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  #art-slider-section .slider .item1:nth-child(3),
  #art-slider-section .slider .item1:nth-child(4),
  #art-slider-section .slider .item1:nth-child(5),
  #art-slider-section .slider .item1:nth-child(6) {
    opacity: 0;
    display: none;
  }

  #art-slider-section .content {
    width: 85%;
    max-width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    display: none;
    background: rgba(198, 175, 118, 0.9);
    padding: 11px;
    border-radius: 8px;
  }

  #art-slider-section .content h2 {
    font-size: 15px;
    margin-bottom: 7px;
    color: var(--btn-color);
  }

  #art-slider-section .content p {
    height: auto;
    max-height: 55px;
    overflow: hidden;
    font-weight: 600;
    font-size: 12px;
    color: var(--white-color);
    text-align: left;
  }

  #art-slider-section .slider .item1:nth-child(2) .content {
    display: block;
    animation: showContent 0.7s ease forwards 0.3s;
  }

  #art-slider-section .nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  #art-slider-section .nav .btn {
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin: 0 7px;
    color: var(--white-color);
    background: var(--btn-color);
    padding: 7px 11px;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
  }

  #art-slider-section .main-btn {
    font-size: 12px;
    padding: 7px 11px;
  }
}

/* 540px - Mobile */
@media (max-width: 540px) {
  #art-slider-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  #art-slider-section .art-slider-container .heading-art {
    position: relative;
    color: white;
    z-index: 99;
    text-align: center;
    top: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 22px;
  }

  #art-slider-section .slider .item1 {
    width: 100%;
    height: 100%;
    list-style: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
    transition: 0.7s;
  }

  #art-slider-section .slider .item1:nth-child(1),
  #art-slider-section .slider .item1:nth-child(2) {
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  #art-slider-section .slider .item1:nth-child(3),
  #art-slider-section .slider .item1:nth-child(4),
  #art-slider-section .slider .item1:nth-child(5),
  #art-slider-section .slider .item1:nth-child(6) {
    opacity: 0;
    display: none;
  }

  #art-slider-section .content {
    width: 82% !important;
    max-width: 338px;
    height: 182px;
    position: absolute;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 0;
    display: none;
    background: rgba(198, 175, 118, 0.9);
    padding: 12px;
    border-radius: 8px;
  }

  #art-slider-section .content h2 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--btn-color);
  }

  #art-slider-section .content p {
    height: auto !important;
    max-height: 184px !important;
    overflow: hidden;
    font-weight: 600;
    font-size: 13px;
    color: var(--white-color);
    text-align: left;
  }

  #art-slider-section .slider .item1:nth-child(2) .content {
    display: block;
    animation: showContent 0.7s ease forwards 0.3s;
    height: 300px;
  }

  #art-slider-section .nav {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  #art-slider-section .nav .btn {
    cursor: pointer;
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin: 0 8px;
    color: var(--white-color);
    background: var(--btn-color);
    padding: 8px 12px;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
  }

  #art-slider-section .main-btn {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* 980px - Tablet */
@media (max-width: 980px) {
  #art-slider-section .slider .item1::before {
    border-radius: 0;
  }
  #art-slider-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  #art-slider-section .art-slider-container .heading-art {
    position: relative;
    color: white;
    z-index: 99;
    text-align: center;
    top: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 28px;
  }

  #art-slider-section .slider .item1 {
    width: 160px;
    height: 250px;
    list-style: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    box-shadow: 0 20px 30px rgba(255, 255, 255, 0.2) inset;
    transition: 0.7s;
  }

  #art-slider-section .slider .item1:nth-child(1),
  #art-slider-section .slider .item1:nth-child(2) {
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  #art-slider-section .slider .item1:nth-child(3) {
    left: 50%;
  }

  #art-slider-section .slider .item1:nth-child(4) {
    left: calc(50% + 180px);
  }

  #art-slider-section .slider .item1:nth-child(5) {
    left: calc(50% + 360px);
  }

  #art-slider-section .slider .item1:nth-child(6) {
    left: calc(50% + 540px);
    opacity: 0;
  }

  #art-slider-section .content {
    width: 300px;
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    opacity: 0;
    display: none;
    background: rgba(198, 175, 118, 0.85);
    padding: 12px;
    border-radius: 10px;
  }

  #art-slider-section .content h2 {
    font-size: 16px;
    color: var(--btn-color);
  }

  #art-slider-section .content p {
    height: auto;
    max-height: 70px;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    color: var(--white-color);
    text-align: left;
  }

  #art-slider-section .slider .item1:nth-child(2) .content {
    display: block;
    animation: showContent 0.7s ease forwards 0.3s;
  }

  #art-slider-section .nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  #art-slider-section .nav .btn {
    cursor: pointer;
    width: 48px;
    height: 48px;
    font-size: 24px;
    margin: 0 10px;
    color: var(--white-color);
    background: var(--btn-color);
    padding: 10px 16px;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
  }

  #art-slider-section .main-btn {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* Common animation */
@keyframes showContent {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* new ======================++++++++++++++++++++++++++++++++++++ */

/* 320px - Extra Small Mobile */
@media (max-width: 320px) {
  #testimonials-carousel {
    --card-width: 280px;
    --card-height: 400px;
    padding: 20px 0;
  }

  #testimonials-carousel h2 {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    margin-bottom: 20px;
  }

  #testimonials-carousel .carousel-container {
    width: 100%;
    padding: 0 10px;
  }

  #testimonials-carousel .owl-carousel {
    position: relative;
    padding: 15px 0;
  }

  #testimonials-carousel .owl-stage {
    display: flex;
    align-items: center;
    padding: 15px 0;
  }

  #testimonials-carousel .testimonial-card {
    width: 100% !important;
    height: 380px !important;
    margin: 0 auto;
    border-radius: 10px;
  }

  #testimonials-carousel .customer-avatar {
    width: 90px;
    height: 90px;
    border: 3px solid rgba(255, 255, 255, 0.8);
  }

  #testimonials-carousel .customer-avatar i {
    font-size: 45px;
  }

  #testimonials-carousel .card-content {
    padding: 20px 15px;
  }

  #testimonials-carousel .customer-name {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  #testimonials-carousel .customer-role {
    font-size: 0.75rem;
  }

  #testimonials-carousel .fragment-meta {
    gap: 6px;
    margin-bottom: 1rem;
  }

  #testimonials-carousel .meta-line {
    width: 25px;
    height: 1px;
  }

  #testimonials-carousel .meta-text {
    font-size: 0.65rem;
  }

  #testimonials-carousel .testimonial-text {
    font-size: 0.85rem;
    height: 70px;
    line-height: 1.4;
  }

  #testimonials-carousel .fragment-rating {
    margin: 1rem 0;
  }

  #testimonials-carousel .rating-stars i {
    font-size: 0.95rem;
    gap: 2px;
  }

  #testimonials-carousel .owl-nav {
    gap: 10px;
    margin-top: 20px;
  }

  #testimonials-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding: 8px;
  }

  #testimonials-carousel .owl-nav button i {
    font-size: 16px;
  }

  #testimonials-carousel .bg-object.circle {
    width: 70px;
    height: 70px;
    bottom: 20px;
    left: -20px;
  }

  #testimonials-carousel .bg-object.square {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 15px;
  }

  #testimonials-carousel .bg-object.triangle {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid rgba(0, 0, 0, 0.05);
  }
}

/* 360px - Small Mobile */
@media (max-width: 360px) {
  #testimonials-carousel {
    --card-width: 300px;
    --card-height: 420px;
    padding: 25px 0;
  }

  #testimonials-carousel h2 {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 20px;
    margin-bottom: 25px;
  }

  #testimonials-carousel .carousel-container {
    width: 100%;
    padding: 0 12px;
  }

  #testimonials-carousel .owl-stage {
    padding: 15px 0;
  }

  #testimonials-carousel .testimonial-card {
    width: 100% !important;
    height: 400px !important;
  }

  #testimonials-carousel .customer-avatar {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.8);
  }

  #testimonials-carousel .customer-avatar i {
    font-size: 50px;
  }

  #testimonials-carousel .card-content {
    padding: 22px 16px;
  }

  #testimonials-carousel .customer-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }

  #testimonials-carousel .customer-role {
    font-size: 0.8rem;
  }

  #testimonials-carousel .fragment-meta {
    gap: 8px;
    margin-bottom: 1.2rem;
  }

  #testimonials-carousel .meta-line {
    width: 30px;
  }

  #testimonials-carousel .meta-text {
    font-size: 0.7rem;
  }

  #testimonials-carousel .testimonial-text {
    font-size: 0.9rem;
    height: 75px;
  }

  #testimonials-carousel .rating-stars i {
    font-size: 1rem;
  }

  #testimonials-carousel .owl-nav button {
    width: 42px;
    height: 42px;
  }

  #testimonials-carousel .bg-object.circle {
    width: 80px;
    height: 80px;
  }

  #testimonials-carousel .bg-object.square {
    width: 45px;
    height: 45px;
  }
}

/* 540px - Medium Mobile */

@media (max-width: 540px) {
  
  #testimonials-carousel .testimonial-card {
        width: 100% !important;
     
    }
      #testimonials-carousel .customer-name {
        font-size: 20px;
        margin-bottom: 5px;
    }
  #testimonials-carousel .fragment-heading {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
  .luxury-legacy-section .container-fluid, .luxury-legacy-section h2, .luxury-legacy-section p, .luxury-legacy-section a {
    position: relative;
    z-index: 2;
    text-align: center;
}
  #testimonials-carousel {
    --card-width: 320px;
    --card-height: 450px;
    padding: 30px 0;
  }

  #testimonials-carousel h2 {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 22px;
    margin-bottom: 0 !important;
  }

  #testimonials-carousel .carousel-container {
    width: 100%;
    padding: 0 15px;
  }

  #testimonials-carousel .owl-stage {
    padding: 20px 0;
    padding-top: 0px !important;
  }

  #testimonials-carousel .testimonial-card {
    width: 100% !important;
    height: 420px !important;
    margin: 0 auto;
  }

  #testimonials-carousel .customer-avatar {
    width: 110px;
    height: 110px;
  }

  #testimonials-carousel .customer-avatar i {
    font-size: 55px;
  }

  #testimonials-carousel .card-content {
    padding: 24px 18px;
  }

  #testimonials-carousel .customer-name {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  #testimonials-carousel .customer-role {
    font-size: 0.85rem;
  }

  #testimonials-carousel .fragment-meta {
    gap: 10px;
    margin-bottom: 1.3rem;
  }

  #testimonials-carousel .meta-line {
    width: 35px;
  }

  #testimonials-carousel .meta-text {
    font-size: 0.75rem;
  }

  #testimonials-carousel .testimonial-text {
    font-size: 0.95rem;
    height: 80px;
  }

  #testimonials-carousel .fragment-rating {
    margin: 1.3rem 0;
  }

  #testimonials-carousel .rating-stars i {
    font-size: 1.1rem;
  }

  #testimonials-carousel .owl-nav {
    gap: 15px;
    margin-top: 10px !important;
  }

  #testimonials-carousel .owl-nav button {
    width: 45px;
    height: 45px;
  }

  #testimonials-carousel .bg-object.circle {
    width: 90px;
    height: 90px;
    bottom: 30px;
    left: -25px;
  }

  #testimonials-carousel .bg-object.square {
    width: 50px;
    height: 50px;
    top: 30px;
    right: 20px;
  }

  #testimonials-carousel .bg-object.triangle {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(0, 0, 0, 0.05);
  }
}

/* 980px - Tablet */
@media (max-width: 980px) {
  #testimonials-carousel {
    --card-width: 280px;
    --card-height: 430px;
    padding: 35px 0;
  }

  #testimonials-carousel h2 {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 26px;
    /* margin-bottom: 35px; */
  }

  #testimonials-carousel .carousel-container {
    width: 100%;
    max-width: 1200px;
  }

  #testimonials-carousel .owl-stage {
    padding: 25px 0;
  }

  #testimonials-carousel .testimonial-card {
    width: 280px;
    height: 400px !important;
  }

  #testimonials-carousel .customer-avatar {
    width: 105px;
    height: 105px;
    border: 4px solid rgba(255, 255, 255, 0.8);
  }

  #testimonials-carousel .customer-avatar i {
    font-size: 52px;
  }

  #testimonials-carousel .card-content {
    padding: 26px 18px;
  }

  #testimonials-carousel .customer-name {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  #testimonials-carousel .customer-role {
    font-size: 0.82rem;
  }

  #testimonials-carousel .fragment-meta {
    gap: 10px;
    margin-bottom: 1.3rem;
  }

  #testimonials-carousel .meta-line {
    width: 35px;
  }

  #testimonials-carousel .meta-text {
    font-size: 0.73rem;
  }

  #testimonials-carousel .testimonial-text {
    font-size: 0.92rem;
    height: 78px;
  }

  #testimonials-carousel .rating-stars i {
    font-size: 1.15rem;
  }

  #testimonials-carousel .owl-nav {
    gap: 18px;
    margin-top: 30px;
  }

  #testimonials-carousel .owl-nav button {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  #testimonials-carousel .bg-object.circle {
    width: 95px;
    height: 95px;
  }

  #testimonials-carousel .bg-object.square {
    width: 55px;
    height: 55px;
  }
}

/* Mobile hover state adjustment */
@media (max-width: 768px) {
  #testimonials-carousel .testimonial-card:hover .customer-avatar {
    transform: scale(1.05) rotate(3deg);
  }

  #testimonials-carousel .testimonial-card:hover .rating-stars i {
    transform: translateY(-2px);
  }
}
