@media screen and (max-width:1320px) {
  :root {
    --container-width: 1180px;
    --heading-lg: 4.5rem;
    --heading-xl: 4rem;
    --heading-md: 3rem;
    --heading-sm: 2rem;
    --heading-xs: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }

  .right-header {
    width: 45%;
    gap: 15px;
  }

  /* Increased from 37% to accommodate longer Spanish text */
  .right-header a {
    white-space: nowrap;
    font-size: 16px;
  }

  /* Prevent text wrapping */
  .right-header .btn-arthaus {
    font-size: 15px;
    padding: 8px 16px;
  }

  /* Smaller button to save space */
  p br {
    display: none;
  }

  .heading-wraper p br {
    display: block;
  }

  .partner-slider .slider-item img {
    height: 800px;
  }

  .partner-slider .slider-item .partner-logo img {
    height: auto;
  }

}

@media screen and (max-width:1180px) {
  .container {
    padding: 0 30px;
  }

  :root {
    --heading-lg: 4rem;
    --heading-xl: 3rem;
    --heading-md: 2rem;
    --heading-sm: 1.5rem;
    --heading-xs: 1.375rem;
  }

  p {
    font-size: 16px;
  }

  .nav-list-name {
    font-size: 24px;
  }

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

  .middle-nav {
    gap: 20px;
  }

  .right-header a {
    font-size: 16px;
    white-space: nowrap;
  }

  /* Added nowrap for Spanish text */
  .btn-link {
    font-size: 14px;
  }

  .content-copyright,
  .footer-copyright a {
    font-size: 14px;
  }

  .center-menu .nav li a,
  .center-menu .nav li button[data-was-link] {
    font-size: 16px;
  }

  .right-header {
    gap: 18px;
    width: 42%;
  }

  /* Reduced gap and increased width for Spanish text */
  .btn-arthaus {
    font-size: 15px;
    padding: 8px 16px;
  }

  /* Smaller button for space */
  .sticky-book {
    width: 100px;
    height: 100px;
  }

  .sticky-book svg {
    width: 100px;
    height: 100px;
  }

  .slider-control {
    left: 40px;
  }
}


@media screen and (max-width:1150px) {

  .right-header .dropdown-space li a {
    font-size: 14px;
  }

}

@media screen and (max-width:1024px) {
  :root {
    --heading-lg: 3.75rem;
    --heading-xl: 2.75rem;
    --heading-md: 1.75rem;
    --heading-sm: 1.375rem;
    --heading-xs: 1.25rem;
  }

  .footer-logo svg {
    width: 100px;
  }

  .sub-heading {
    font-size: 16px;
  }

  .collections-content-blk {
    padding: 20px 8px;
  }

  .compant-list-wrap {
    gap: 15px;
  }

}


@media screen and (max-width:990px) {
  .closemenu {
    width: 30px;
    height: 30px;
    opacity: 0.6;
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
  }

  .burger {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .center-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    z-index: 10;
    opacity: 0;
    overflow-y: auto;
    visibility: hidden;
    box-shadow: var(--shadow-medium);
    background-color: var(--white);
    transition: all 0.5s ease;
  }

  .center-menu.active {
    left: 0rem;
    opacity: 1;
    visibility: visible;
  }

  .center-menu .nav {
    flex-wrap: wrap;
    gap: 0px;
    padding: 30px 0;
  }

  .center-menu .nav li .No-list {
    background-color: var(--light-yellow) !important;
  }

  .center-menu .nav li {
    width: 100%;
    border-bottom: 1px solid var(--light-yellow);
  }

  .center-menu .nav li.dropdown-nav ul li {
    border-color: #545a5b12;
  }

  .center-menu .nav li.dropdown-nav ul li.flex {
    border-top: 2px solid var(--orange);
  }

  .center-menu .nav li.dropdown-nav ul li:last-child {
    border-color: transparent;
  }

  .center-menu .nav li.dropdown-nav ul {
    position: relative;
    visibility: visible;
    opacity: 1;
    top: 0;
    border-radius: 0;
    width: 100%;
    border: none;
    padding: px 0;
  }

  .nav-drop span {
    display: flex;
    width: 40px;
    height: 22px;
  }

  .center-menu .nav li.dropdown-nav ul:before {
    display: none;
  }

  .submenu {
    max-height: 0;
    overflow: hidden;
    /* M-08 — max-height:0 clips the submenu visually but leaves its links
       focusable, so keyboard users fell into ~30 invisible tab stops. */
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0s linear 0.3s;
  }

  .menu-dropdown.active .submenu {
    overflow: hidden;
    visibility: visible;
    transition: max-height 0.3s ease, visibility 0s;
  }

  .hidden-desktop-nav {
    display: block;
  }

  .list-nav {
    padding: 15px 20px;
  }

  .nav-drop {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    justify-content: space-between;
  }

  .menu-dropdown.list-nav .nav-drop {
    padding: 15px 20px;
  }

  .menu-dropdown.list-nav {
    padding: 0;
  }

  .effect-img-canvas,
  .bgfade_chnage {
    max-height: 450px !important;
  }

  .text-sm {
    font-size: 18px;
  }

  .heading-collection {
    margin-bottom: 20px !important;
  }

  .col-4 {
    width: 48%;
  }

  .d-flex-center {
    flex-wrap: wrap;
  }

  .w-50 {
    width: 80%;
  }

  .w-40 {
    width: 80%;
  }

  .w-60 {
    width: 100%;
  }

  .w-50 .effect-img-circle,
  .w-50 .effect-img {
    width: 100%;
  }

  .col-3 {
    width: 31.33%;
  }

  .box-left-content {
    padding: 0 50px;
  }

  .collections-content-blk p {
    min-height: 50px;
  }

  .ptb-gap-80 {
    padding: 50px 0;
  }

  .pt-gap-80 {
    padding-top: 50px;
  }

  .pb-gap-80 {
    padding-bottom: 50px
  }

  :root {
    --heading-lg: 3.375rem;
    --heading-xl: 2.5rem;
    --heading-md: 1.625rem;
    --heading-sm: 1.375rem;
    --heading-xs: 1.125rem;
  }

  .footer-logo {
    width: 100%;
    padding-bottom: 20px;
  }

  .middle-nav {
    width: 80%;
    flex-wrap: nowrap;
  }

  .middle-nav {
    width: 75%;
  }

  .footer-top {
    justify-content: flex-start;
  }

  .right-header {
    width: calc(100% - 150px);
  }

  .row-reverse-md {
    flex-direction: column-reverse;
    justify-content: flex-end;
  }

  .heading-lg.heading-banner {
    font-size: 150px;
  }

  .table-blank th {
    font-size: 20px;
  }

  .better-wrap .col-4 {
    position: relative;
    width: 46%;
  }

  .collection-banner .banner-left-box {
    padding: 10vh 3vw !important;
    height: auto;
    width: 100%;
  }

  .collection-banner .banner-right-box.w-50 {
    height: 450px;
    width: 100% !important;
  }

  .heading-blk.w-50 .heading-xl {
    margin-bottom: 20px;
  }

  .img-slide-arrow1.next-arrow {
    left: calc(100% - 50%);
  }

  .img-slide-arrow1.prev-arrow {
    right: calc(100% - 50%);
  }

  .compant-list-wrap {
    padding-bottom: 50px;
  }

  .img-slide-arrow1 {
    bottom: -30px;
  }

  .effect-img-canvas img {
    height: 100%;
    object-fit: cover;
  }

  .rent-price .heading-md br {
    display: none;
  }

  .box-right-content {
    padding: 0px 50px 0px 25px;
  }

  .list-btn-list {
    flex-wrap: wrap;
  }

  .icon-list-box.text-center.col-4 {
    width: 33%;
  }

  .confrece-rom-wrap .col-4,
  .confrece-rom-wrap .col-8 {
    width: 100%;
  }

  .confrece-rom-wrap .d-flex-center {
    gap: 40px;
  }

  .icon-list-box.text-center.col-3 {
    width: 33%;
  }

  .better-wrap .col-3 {
    width: 28%;
  }

  .collection-banner .ab-banner-left-box.w-50 {
    width: 100%;
  }

  .fixed-box-art {
    height: 600px !important;
  }

  .partner-slider .slider-item img {
    height: 800px;
  }

  .partner-slider .slider-item .partner-logo img {
    height: auto;
  }

  .foundation-blk {
    width: 80%;
  }

  .found-right-logo svg {
    width: 400px;
  }

  .list-tab-space li a {
    display: flex;
  }

  .contact-form li .tab-btn {
    font-size: 18px;
  }

  .contact-form li .tab-btn svg {
    width: 25px;
  }

  .tab-nav button {
    font-size: 18px;
    font-weight: normal;
    border-radius: 5px;
  }

}

@media screen and (max-width:820px) {
  .col-3 {
    width: 48%;
  }

  .middle-nav {
    width: 100%;
  }

  .tour-box-blk {
    width: 32%;
    padding-top: 50px;
  }

  .heading-lg.heading-banner {
    font-size: 120px;
  }

  .nav-top-right .img-slide-arrow1 {
    bottom: auto;
    top: auto;
    bottom: -10px;
  }

  .nav-top-right .img-slide-arrow1.prev-arrow {
    right: calc(100% - 50%);
  }

  .nav-top-right .img-slide-arrow1.next-arrow {
    left: calc(100% - 50%);
  }
}

@media screen and (max-width:768px) {
  .container {
    padding: 0 20px;
  }

  .sticky-book {
    right: 0;
    bottom: 15%;
  }

  .fixed-box-art {
    height: 550px !important;
  }

}

@media screen and (max-width:767px) {
  .right-header a {
    display: none;
  }

  .property-resuilt-wrap iframe {
    height: 750px !important;
    /* Reduced by 25% for mobile */
  }

  .w-50 {
    width: 100%;
  }

  .box-left-content {
    padding: 0;
  }

  /* Footer mobile layout */
  .footer-top {
    flex-direction: column !important;
  }

  .footer-logo {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    /* Flexible columns to prevent overflow */
    width: 100% !important;
    margin-bottom: 5px !important;
    gap: 6px 20px !important;
    /* Reduced row-gap */
    align-items: start;
  }

  .footer-logo>p:first-child {
    grid-column: 1;
    grid-row: 1 / span 5;
    /* Increased to 5 to cover footer_works.php items */
    padding-right: 20px;
  }

  /* Ensure explicit left alignment for contact items */
  .footer-logo>p:nth-child(n+3) {
    grid-column: 2;
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: center !important;
    display: flex !important;
    gap: 10px !important;
    /* Slightly larger gap for text to separate from icon */
    margin: 0 !important;
    /* Reset all margins */
    padding: 0 !important;
    /* Reset all padding */
    width: 100%;
  }

  /* Force icons to have strict dimensions */
  .footer-logo>p svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  /* Specific override for Logo SVG to be normal size */
  .footer-logo>p:first-child svg,
  .footer-logo>p:first-child img {
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    max-width: 100% !important;
  }

  /* Fix Contact link vertical alignment */
  .footer-logo a {
    min-height: auto !important;
    height: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Ensure social icons align start (p2) */
  .footer-logo>p:nth-child(2) {
    display: flex !important;
    gap: 15px;
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 5px !important;
    /* Small separation from contact info */
  }

  .footer-logo>p:nth-child(2) .social-icon {
    margin-right: 0px;
  }

  /* Specific tweaks if needed, but generic rule covers the requirements */
  .footer-logo>p:nth-child(2) {
    grid-row: 1;
    margin-top: 10px;
    /* Aligns with top of logo better */
  }

  .footer-logo>p:nth-child(3) {
    grid-row: 2;
  }

  .footer-logo>p:nth-child(4) {
    grid-row: 3;
  }

  .footer-logo>p:nth-child(5) {
    grid-row: 4;
  }

  .middle-nav {
    width: 100% !important;
    gap: 20px;
    flex-wrap: wrap !important;
    margin-left: 0 !important;
  }

  .navlist {
    width: calc(50% - 10px) !important;
  }

  .tour-box-blk {
    width: 100% !important;
    margin-top: 30px;
  }

  .collections-content-blk {
    padding: 20px 10px;
  }

  .company-content-blk p {
    min-height: auto;
  }

  .heading-wraper p br {
    display: none;
  }

  .slick-dots {
    bottom: 10px !important;
  }

  .firstnames {
    gap: 0;
  }

  .form-control {
    height: 40px;
    margin-bottom: 10px;
  }

  .form-label {
    font-size: 16px;
  }

  .tour-form-popup.fancybox-content {
    width: 95%;
  }

  .pb-gap-30 {
    padding-bottom: 20px;
  }

  .pt-gap-30 {
    padding-bottom: 20px;
  }

  .btn-form-submit {
    font-size: 16px;
  }

  .change-font {
    letter-spacing: 1px;
  }

  .logo-power svg {
    width: 300px;
    height: 80px;
  }

  .artist-box .box-img-right {
    padding-left: 0px;
  }

  .nav-bottom-left .img-slide-arrow1.prev-arrow {
    left: 10px;

  }

  .nav-bottom-left .img-slide-arrow1 svg {
    width: 40px;
  }

  .better-wrap .col-3 {
    width: 45%;
  }

  .artist-box-blk .heading-xl br {
    display: none;
  }

  .banner-img-canvas .box-right-wrap .heading-md br {
    display: none;
  }

  .box-right-content.budget-content {
    padding: 0;
  }

  p.pt-gap-30 {
    padding-top: 15px;
  }

  .partner-left-blk {
    width: 550px;
    min-height: 600px;
  }

  .slider-control {
    left: 40px;
  }

  .foundation-blk {
    width: 80%;
  }
}




@media screen and (max-width:650px) {
  .better-wrap .col-3 {
    width: 100%;
  }

  :root {
    --heading-lg: 2.625rem;
    --heading-xl: 2.25rem;
    --heading-md: 1.875rem;
    --heading-sm: 1.5625rem;
    --heading-xs: 1.125rem;
  }

  .btn-arthaus {
    font-size: 15px;
    padding: 10px 22px;
  }

  .pt-gap-60 {
    padding-top: 30px;
  }

  .pb-gap-60 {
    padding-bottom: 30px;
  }

  .heading-lg.heading-banner {
    font-size: 50px;
  }

  .effect-img-circle,
  .effect-img,
  .effect-img-budget,
  .bgfade_chnage,
  .effect-fade-canvas_1,
  .effect-fade-canvas_2,
  .fadein-img-canvas,
  .img-box {
    height: 450px !important;
  }

  .col-3 {
    width: 80%;
    margin: 0 auto;
  }

  .collections-content-blk p {
    min-height: 73px;
  }

  .slider-heading-wrap {
    width: 200px;
  }

  .hover-slider svg {
    width: 37px;
    height: 37px;
  }

  .hover-slider {
    width: 30px;
    height: 30px;
  }

  .theme-switch {
    width: 40px;
    height: 40px;
  }

  .better-wrap .col-4 {
    position: relative;
    width: 100%;
  }

  .table-blank th {
    font-size: 16px;
  }

  th,
  td {
    font-size: 16px;
  }

  .table-box {
    overflow: scroll;
    width: 100%;
  }

  .table-blank {
    min-width: 650px;
  }

  .table-blank svg {
    width: 25px;
    height: 25px;
  }

  .table-blank th:nth-child(1),
  .table-blank td:nth-child(1) {
    text-align: left;
    min-width: 200px;
  }

  .parent {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .div1,
  .div2,
  .div3,
  .div4,
  .div5 {
    width: 48%;
  }

  .div1 .img-blk img,
  .div2 .img-blk img,
  .div3 .img-blk img,
  .div4 .img-blk img,
  .div5 .img-blk img {
    height: 230px;
    object-fit: cover;
  }

  .logo-power svg {
    width: 250px;
    height: 80px;
  }

  .checklist-list li {
    font-size: 16px;
  }

  .box-right-blk {
    width: 80%;
    padding: 40px 40px 40px 28px;
  }

  .heading-sm br {
    display: none;
  }

  .gallery-box-wrap .col-3 {
    width: calc(50% - 10px);
  }

  .gallery-box-wrap {
    gap: 10px;
  }

  .ab-banner-left-box {
    padding: 8vh 6vw 7vh 3vw;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .find-canvas-wrap {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .fixed-box-art {
    height: 500px !important;
  }

  .artist-box-blk .heading-md br {
    display: none;
  }

  .btn-left-block.pt-gap-30 {
    padding-top: 0;
  }

  .found-right-logo svg {
    width: 300px;
  }
}

@media screen and (max-width:540px) {
  .icon-list-wrap {
    gap: 15px 0px;
  }

  .icon-list-box.text-center.col-4 {
    width: 50%;
  }

  .content-copyright {
    width: 100%;
    text-align: start;
  }

  ul.list-nav-footer {
    justify-content: flex-start;
    padding-top: 15px;
  }

  .footer-copyright {
    padding-bottom: 30px;
    justify-content: flex-start;
  }

  .col-4 {
    width: 80%;
    margin: 0 auto;
  }

  .collections-content-blk p {
    min-height: auto;
  }

  .text-hide-desktop {
    display: block;
  }

  .text-hide-mobile {
    display: none;
  }

  :root {
    --heading-lg: 2.625rem;
    --heading-xl: 2.125rem;
    --heading-md: 1.875rem;
    --heading-sm: 1.5625rem;
    --heading-xs: 1.125rem;
  }

  .slide-img img,
  .banner-img .img-fluid {
    height: 350px;
    object-fit: cover;
  }

  .text-sm {
    font-size: 16px;
  }

  .div1,
  .div2,
  .div3,
  .div4,
  .div5 {
    width: 100%;
  }

  .div1 .img-blk img,
  .div2 .img-blk img,
  .div3 .img-blk img,
  .div4 .img-blk img,
  .div5 .img-blk img {
    height: 250px;
    object-fit: cover;
  }

  .icon-list-box.text-center.col-4,
  .icon-list-box.text-center.col-3 {
    width: 50%;
  }

  .powerlogo svg {
    width: 250px;
  }

  .sb-better-wrap {
    width: 100%;
  }

  .sb-better-blk {
    padding: 20px 0px;
    text-align: center;
  }

  .partner-left-blk {
    width: 450px;
    min-height: 600px;
    padding: 40px 20px 100px 20px;
  }

  .slider-control {
    left: 20px;
  }

  .image-grid-wrap {
    display: flex;
    flex-wrap: wrap;
  }

  .foundation-blk {
    width: 100%;
    padding-left: 0%;
  }

  .found-right-logo svg {
    width: 250px;
  }

  .form-wrap-contact {
    padding: 20px;
  }
}

@media screen and (max-width:480px) {
  .fixed-box-blk {
    height: 550px !important
  }

  .box-right-wrap {
    justify-content: center;
  }

  .box-right-blk {
    width: 90%;
    padding: 40px 40px 40px 28px;
  }

  .w-40 {
    width: 100%;
  }

  .w-60 {
    width: 100%;
  }

  .col-3 {
    width: 100%;
  }

  .col-4 {
    width: 80%;
  }

  .col-4 {
    width: 100%;
  }

  .effect-img-canvas,
  .effect-img-circle,
  .effect-img,
  .effect-img-budget,
  .bgfade_chnage,
  .effect-fade-canvas_1,
  .effect-fade-canvas_2,
  .fadein-img-canvas,
  .collection-banner .banner-right-box.w-50,
  .typing_effect_img {
    height: 400px !important;
  }

  .list-month {
    gap: 15px;
    padding-top: 15px;
  }

  .navlist {
    width: 100%;
  }

  .tour-box-blk {
    width: 80%;
  }

  .ptb-gap-80 {
    padding: 50px 0;
  }

  .pt-gap-80 {
    padding-top: 50px;
  }

  .pb-gap-80 {
    padding-bottom: 50px;
  }

  .home .banner-wrap span.change-font {
    letter-spacing: 1px;
  }

  .fancybox-content {
    padding: 25px 20px;
  }

  .partner-left-blk {
    width: 380px;
    min-height: 600px;
    padding: 40px 20px 100px 20px;
  }

}

@media screen and (max-width:400px) {
  :root {
    --heading-lg: 2.25rem;
    --heading-xl: 1.875rem;
    --heading-md: 1.6875rem;
    --heading-sm: 1.4375rem;
    --heading-xs: 1.125rem;
  }

  .effect-img-canvas,
  .img-box,
  .effect-img-circle,
  .effect-img,
  .effect-img-budget,
  .bgfade_chnage,
  .effect-fade-canvas_1,
  .effect-fade-canvas_2,
  .fadein-img-canvas,
  .collection-banner .banner-right-box.w-50,
  .typing_effect_img {
    height: 350px !important;
  }

  .list-month li {
    font-size: 16px;
    padding-right: 10px;
  }

  .partner-left-blk {
    width: 340px;
    min-height: 600px;
    padding: 40px 20px 100px 20px;
  }

}


@media screen and (max-width:360px) {}