@media (min-width: 375px) {
    .hero-subtitle-container {
        margin-bottom: 40px;
    }

    .hero-btn {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (min-width: 500px) {
    .hero-scroll-icon {
        display: none;
    }

    .info-section {
        margin-top: 100px;
    }

    .hero-section {
        max-height: unset;
    }

    .show-more-btn {
        max-width: 362px;
        margin: auto;
    }
}
@media (min-width: 768px) {
    p,
    h1,
    h2 {
        text-align: left;
    }

    .current-title,
    .current-subtitle,
    .sold-title,
    .contact-title {
        text-align: center;
    }

    .contact-title-mb {
        display: none;
    }

    .contact-title-dt {
        display: block;
    }

    .contact-avatar-mb {
        display: block;
    }
    .footer-person-wrapper {
        display: none;
    }

    .secret-panel {
        left: 50%;
        top: 50%;
        display: none;
        border-radius: 20px;
        max-width: 375px;
    }

    .secret-panel.active {
        transform: translate(-50%, -50%);
        display: block;
    }

    .detail-contact-container {
        margin: auto;
    }

    .tabs-header {
        max-width: 548px;
        margin: auto;
    }
    .current-cards-wrapper {
        gap: 24px;
    }

    .drag-slider {
        gap: 24px;
    }

    .detail-person-wrapper {
        width: 103px;
        top: -30px;
    }

    .show-more-btn {
        max-width: 568px;
    }
    .about-text-bold {
        font-size: 24px;
        line-height: 33px;
        margin-bottom: 10px;
    }

    .about-wrapper-content,
    .about-wrapper-img {
        flex: 1;
        position: relative;
        width: 100%;
    }

    .detail-contact-wrapper {
        max-width: 548px;
        margin-top: 35px;
    }

    .about-image-logo {
        display: block;
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }

    .sold-gradient-overlay {
        display: block;
    }

    .slide-img {
        width: 262px;
    }

    .drag-slider-wrap {
        position: relative;
    }

    .hero-img {
        width: 48%;
        max-width: unset;
    }

    .prop-desc {
        width: 82%;
    }

    .timeline-wrapper-one {
        display: none;
    }

    .timeline-contact-btn {
        display: none;
    }
    .timeline-wrapper-two {
        display: block;
    }

    .hero-content {
        flex-direction: column-reverse;
        height: auto;
        margin-bottom: 0;
    }

    .hero-title {
        text-align: left;
        color: var(--dark);
        text-shadow: none;
        margin: 10px 0;
    }

    .hero-subtitle-container {
        margin: 0;
        margin-bottom: 40px;
    }

    .hero-subtitle {
        margin: 0;
    }

    .hero-btns {
        justify-content: flex-start;
    }

    .hero-contact {
        display: block;
        padding-bottom: 4px;
    }

    .hero-bar {
        display: block;
        position: absolute;
        left: 50%;
        top: calc(0.584 * 100vw - 35.7px);
        width: 200vw;
        height: 269px;
        background: var(--light);
        transform: translate(-50%, -50%) rotate(-30deg);
        transform-origin: center;
        pointer-events: none;
        z-index: 0;
    }

    #map {
        height: 100%;
    }

    .hero-bar img {
        width: 100vw;
    }

    .info-section {
        margin-top: 0px;
    }

    .contact-price-wrapper-dt {
        display: block;
    }
    .footer {
        display: grid;
        padding: 0;
        padding-left: 24px;
        margin-bottom: 0;
        grid-template-areas:
            "a b"
            "c b";
        grid-template-columns: 310px 1fr;
    }

    .agent-details-wrapper {
        grid-area: a;
        padding-top: 59px;
    }

    .map-wrapper {
        grid-area: b;
    }
    .detail-contact-icon {
        display: block;
    }
    .footer-bottom-wrapper {
        grid-area: c;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .footer-social-links {
        gap: 27px;
        margin-bottom: 23px;
        justify-content: flex-start;
    }

    .footer-copyright-text,
    .footer-copyright-year {
        text-align: left;
    }

    .facebook-footer-logo,
    .youtube-footer-logo {
        width: 40px;
        height: 40px;
    }

    .instagram-footer-logo {
        width: 36px;
        height: 36px;
    }

    .youtube-footer-logo {
        top: 5px;
    }

    .detail-agent-info {
        flex: 1;
    }

    .contact-price-wrapper-mb {
        display: none;
    }
    .timeline-list-wrapper {
        margin-bottom: 0;
    }
    .prop-wrapper {
        display: grid;
        grid-template-areas:
            "a b"
            "c c";
        column-gap: 24px;
    }

    .sell-property {
        grid-area: a;
    }

    .buy-property {
        grid-area: b;
        margin-top: 0;
    }

    .property-middle-block {
        grid-area: c;
        max-width: 539px;
        width: 100%;
        margin: 40px auto 0 auto;
    }

    .detail-content-wrapper-two {
        border-radius: 10px;
        margin-top: 50px;
        padding: 81px 25px 43px 20px;
    }

    .timeline-flex-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .current-img-tag {
        font-size: 12px;
    }
    .timeline-express-sale-mb {
        display: none;
    }

    .timeline-express-sale-dt {
        display: block;
    }
}

@media (min-width: 800px) {
    .buy-prop-desc {
        margin-bottom: 54px;
    }
}

@media (min-width: 840px) {
    .current-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        max-width: 804px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 900px) {
    .info-section {
        margin-top: 150px;
    }

    .about-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
}

@media (min-width: 1130px) {
    .hamburger-menu {
        display: none;
    }

    .secret-panel .hamburger-menu {
        display: flex;
    }

    .secret-panel .hamburger-menu .bar {
        display: block;
    }

    .secret-panel .nav-logo {
        width: auto;
        height: auto;
    }

    .secret-panel .logo-wrapper {
        padding-left: 0;
    }

    .about-section {
        display: block;
        margin-top: 100px;
        position: static;
        padding: 0;
        transform: none;
    }

    .about-scroll-wrapper {
        height: auto;
    }

    .youtube-inner {
        width: 74px;
        height: 74px;
    }

    .youtube-play-button {
        width: 27px;
        height: 26px;
        position: relative;
        left: 3px;
    }

    .current-cards-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        max-width: unset;
        margin-left: 0;
        margin-right: 0;
        margin-top: 30px;
    }

    .sold-wrapper {
        margin-top: 24px;
    }
    .flex-info-container {
        justify-content: space-between;
    }

    .current-section {
        margin-top: 120px;
    }

    .current-section-detail {
        margin-top: 152px;
    }
    .current-section,
    .current-section-detail {
        display: block;
        margin-bottom: 100px;
    }

    .current-size-one {
        margin-bottom: 4px;
    }

    .current-description {
        margin-bottom: 16px;
        transition: all 0.3s ease;
    }

    .card-image {
        transition: transform 0.3s ease;
    }

    .about-wrapper {
        margin-top: 0px;
    }

    .contact-title {
        margin-bottom: 40px;
    }
    .info-btn {
        padding: 13px 23px;
    }
    .info-btn-text {
        font-size: 14px;
    }

    .current-price {
        font-size: 18px;
    }

    .header-wrapper {
        background-color: white;
    }

    .about-title {
        display: block;
        text-align: center;
        margin-bottom: 33px;
    }
    .hero-bar {
        top: 80%;
        height: 330px;
    }

    .mobile-nav {
        display: none;
    }

    .footer {
        padding-left: 29vw;
        grid-template-columns: 432px 1fr;
        overflow: hidden;
    }

    .footer-big-logo {
        display: block;
        bottom: -55px;
        left: -285px;
    }

    .about-text-bold {
        width: 70%;
        margin-bottom: 24px;
    }

    .about-text-normal {
        line-height: 27px;
        width: 95%;
    }

    .about-contact-mobile {
        display: none;
    }

    .about-title-mobile,
    .about-description-mobile {
        display: none;
    }

    .about-text-normal-margin {
        margin-top: 16px;
    }

    .timeline-wrapper {
        margin-bottom: 52px;
    }
    .footer-bottom-wrapper {
        margin-bottom: 56px;
    }
    .header-wrapper {
        box-shadow: 0px 4px 12px 0px #0000001a;
    }

    .header-nav {
        justify-content: flex-start;
        gap: 43px;
        padding: 17px 0;
    }

    .logo-wrapper {
        padding-left: 45px;
    }

    .desktop-nav {
        display: flex;
        gap: 2.5rem;
    }

    .header-nav-links {
        flex-direction: row;
        gap: 40px;
        padding: 0;
    }

    .header-nav-links li {
        border: none;
        padding: 0;
    }

    .about-wrapper-img {
        margin-top: 0;
        margin-bottom: 0;
    }

    .nav-logo {
        width: 72px;
        height: 72px;
    }

    .tab-table-row:first-child {
        padding: 0;
        padding-bottom: 8px;
    }

    .tab-table-row {
        padding: 8px 0;
    }
    .tab-table-wrapper {
        background-color: var(--light);
        padding: 17px 23px 27px 23px;
        border-radius: 10px;
    }

    .map-wrapper-detail-two {
        margin-top: 35px;
    }
    .about-image-logo {
        width: 151px;
        height: 151px;
        bottom: 29px;
        right: 32px;
    }

    .youtube-outer::after {
        width: 130px;
        height: 130px;
    }

    #map-detail-two {
        height: 493px;
        border-radius: 10px;
    }
    .hero-content {
        padding: 188px 0 50px 0;
    }

    .agent-details-wrapper {
        margin-bottom: 86px;
        z-index: 99;
    }
    .header-nav {
        max-width: 1440px;
        margin: auto;
    }

    .hero-title {
        font-size: 84px;
        line-height: 87px;
        margin-bottom: 13px;
    }

    .hero-subtitle {
        font-size: 24px;
        max-width: 450px;
    }
    .hero-subtitle p {
        padding: 8px 20px;
        padding-right: 30px;
    }

    .hero-btn p {
        text-align: center;
    }

    .hero-img {
        width: 548px;
        top: 5px;
    }

    .reviews-section {
        display: block;
        margin: 63px 24px 0 24px;
    }

    .prop-wrapper {
        column-gap: 35px;
    }

    .section-title {
        font-size: 2rem;
        font-weight: 800;
    }

    .prop-title {
        width: 60%;
    }

    .detail-top-section {
        margin-top: 106px;
        padding-top: 80px;
    }

    .detail-wrapper {
        flex-direction: row;
        gap: 24px;
    }

    .detail-img-wrapper,
    .detail-content-wrapper {
        width: 50%;
    }

    .detail-img-main-wrapper {
        margin: 0;
    }

    .timeline-express-sale {
        padding: 12px 55px;
    }
    .contact-section {
        margin-bottom: 110px;
    }
    .contact-section-detail {
        margin-top: 50px;
    }
    .gallery-wrapper {
        margin-left: 0;
        margin-right: 0;
        flex-wrap: wrap;
        gap: 13px;
        margin-top: 31px;
    }

    .printer-wrapper {
        display: block;
        position: absolute;
        right: 0;
    }

    /* hide extra thumbnails but keep them in DOM */
    .gallery-img-link--hidden {
        display: none;
    }

    .gallery-more-link {
        position: relative;
        display: block;
    }

    .gallery-more-badge {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        font-weight: 500;
        font-size: 18px;
        color: #fff;

        pointer-events: none;
        border-radius: 10px;
    }

    .gallery-more-overlay {
        width: 127px;
        height: 100%;
        background: var(--blue);
    }

    .printer-wrapper a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .print-text {
        font-size: 14px;
        color: var(--blue);
    }

    .footer-social-links {
        margin-bottom: 13px;
    }
    .detail-tag-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .detail-img-tag {
        font-size: 16px;
    }

    .detail-size-two {
        font-size: 18px;
    }

    .detail-content-wrapper-one {
        margin: 0;
    }

    .detail-agent-name {
        font-size: 20px;
        line-height: 23px;
    }

    .detail-contact-wrapper {
        margin-top: 37px;
    }

    .contact-section-detail .contact-avatar {
        display: block;
    }

    .detail-price {
        font-size: 28px;
    }

    .detail-contact-icon {
        width: 58px;
        display: block;
    }

    .detail-agent-role {
        font-size: 16px;
    }

    .agent-role {
        margin-bottom: 39px;
    }

    .agent-phone {
        margin-top: 30px;
    }

    .detail-contact {
        font-size: 18px;
    }

    .detail-info-container {
        gap: 50px;
        position: relative;
    }
    .detail-icon-location {
        width: 24px;
    }

    .detail-title {
        font-size: 32px;
        line-height: 40px;
        font-weight: 700;
        margin: 11px 0 27px 0;
    }

    .lupa-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(15, 107, 226, 0.51);
        z-index: 10;
        align-items: center;
        justify-content: center;
    }

    .timeline-list-wrapper:hover {
        border: 1px solid rgba(15, 107, 226, 1);
    }

    .timeline-list-wrapper:hover .timeline-circle {
        background-color: rgba(15, 107, 226, 0.06);
    }
    .sold-wrapper .sold-img-wrapper:hover .lupa-wrapper {
        cursor: pointer;
        display: flex;
    }

    .detail-icon {
        width: 25px;
    }

    .tabs-header-wrapper-detail {
        display: none;
    }

    .tab-panel-detail {
        display: block;
        width: 50%;
    }

    .tabs-content-detail {
        display: flex;
        gap: 50px;
        padding: 0;
    }

    .map-address-location {
        font-size: 16px;
    }

    .custom-scrollbar {
        margin-left: 150px;
    }

    .map-wrapper-detail-one {
        display: none;
    }
    .map-wrapper-detail {
        gap: 13px;
        margin-top: 35px;
        margin-bottom: 18px;
        padding-left: 16px;
    }

    .map-location-icon {
        width: 30px;
    }
    .detail-tabs-title {
        display: block;
        font-size: 32px;
        line-height: 26px;
        font-weight: 700;
        margin-bottom: 37px;
    }

    .detail-description {
        margin-bottom: 20px;
    }

    .detail-tabs-section {
        margin-top: 63px;
    }

    .current-card:hover {
        cursor: pointer;
        outline: 1px solid rgba(15, 107, 226, 1);
    }

    .current-card:hover .current-description {
        color: var(--blue);
        cursor: pointer;
    }

    .current-card:hover .card-image {
        transform: scale(1.05);
    }

    .current-card-image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(15, 107, 226, 1);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .current-card:hover .current-card-image-overlay {
        opacity: 0.5;
        scale: 1.05;
        z-index: 10;
    }
}

@media (min-width: 1500px) {
    .drag-slider {
        margin-left: 150px;
    }
}
