/*
Theme Name: Holm
Theme URI: https://dev.holm.ae/
Author: HOGI Marketing agency UAE
Description: HOLM Dubai Property Developer
Version: 1.0.0
*/

@font-face {
    font-family: "Neutra Text";
    src: url("./assets/fonts/neutra/NeutraText-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neutra Text";
    src: url("./assets/fonts/neutra/NeutraText-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neutra Text Alt";
    src: url("./assets/fonts/neutra/NeutraText-BookAlt.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neutra Text TF";
    src: url("./assets/fonts/neutra/NeutraTextTF-Book.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-Thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-ThinItalic.woff2") format("woff2");
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-ExtraLight.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-ExtraLightItalic.woff2") format("woff2");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-LightItalic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-Italic.woff2") format("woff2");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-MediumItalic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-SemiBoldItalic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("./assets/fonts/montserrat/Montserrat-BlackItalic.woff2") format("woff2");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*::after,
*::before {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 1920px;
    min-width: 320px;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    margin: 0 auto 0 !important;
}

body {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    color: var(--v3-dark);
    font-family: var(--ff-montserrat);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    text-transform: none;
    word-break: break-word;
    overflow-x: hidden;
    text-align: left;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    margin: 0 auto 0;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    /*background-color: var(--v3-dark);*/
}

body::-webkit-scrollbar-thumb {
    /*background-color: var(--v3-dark);*/
}

figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin: 0;
}

ul {
    padding: 0;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

li {
    list-style: none;
}

strong,
b {
    font-weight: 500;
}

address {
    font-style: normal;
}

figure {
    display: flex;
    flex-direction: column;
}

img,
video {
    max-width: 100%;
    height: auto;
    user-select: none;
}

button {
    cursor: pointer;
    user-select: none;
}

label {
    display: block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

.container {
    max-width: 1440px;
    width: 90%;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.container-md {
    max-width: 1080px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.container-sm {
    max-width: 960px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.container-xs {
    max-width: 767px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.d-none {
    display: none;
}

.light-mode {
    background: var(--v3-white-2);
}

.dark-mode {
    background: var(--v3-white-2);
}

.light {
    color: var(--v3-white-2);
}

.light::after {
    color: var(--v3-white-2);
}

.accent {
    color: var(--v3-accent);
}

.hidden {
    overflow: hidden;
}

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

.loader {
    width: 100%;
    height: 100vh;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 99;
}

.no-post-found {
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
}

.overlay::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.ratio {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ratio img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    object-fit: cover;
    object-position: center center;
}

.fixed-socials {
    position: fixed;
    top: 60%;
    left: 100%;
    white-space: nowrap;
    background: var(--v3-accent);
    text-align: center;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    cursor: pointer;
    z-index: 999;
}

.fixed-socials img {
    min-width: 24px;
    min-height: 24px;
    transform: rotate(90deg);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.business-card {
    display: flex;
    flex-direction: column-reverse;
    grid-row-gap: clamp(8px, 1.6vw, 16px);
    margin-top: clamp(8px, 1.6vw, 16px);
}

.business-card a {
    transition: opacity 300ms ease;
}

/** Buttons */
.btn {
    display: inline-block;
    position: relative;
    width: max-content;
    font-family: var(--ff-montserrat);
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    border: none;
    border-radius: 18px;
    padding-block: 8px 8px;
    overflow: hidden;
}

.btn::before {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.4s ease;
    z-index: 0;
}

.btn span {
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary-outline {
    background: transparent;
    border: 1px solid var(--v3-accent);
}

.btn-primary-outline::before {
    background: var(--v3-accent);
}

.btn-primary-outline span {
    color: var(--v3-accent);
}

.btn-primary-outline:hover span {
    color: var(--v3-white-2);
}

.btn-light-outline {
    background: transparent;
    border: 1px solid var(--v3-white-2);
}

.btn-light-outline::before {
    background: var(--v3-white-2);
}

.btn-light-outline span {
    color: var(--v3-white-2);
}

.btn-light-outline:hover span {
    color: var(--v3-accent);
}

.no-post {
    color: var(--v3-accent);
    font-family: var(--ff-neutra-text-alt);
    font-weight: 500;
    font-size: var(--fs-xs);
}

/** contact form 7 */
.label {
    display: block;
}

.label:nth-child(2) .form-control {
    padding-top: 0;
}

.form-control {
    width: 100%;
    color: var(--v3-white-2);
    font-family: var(--ff-montserrat);
    font-weight: 500;
    font-size: 14px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--v3-white-2);
    border-radius: 0;
    padding: clamp(32px, 4vw, 36px) 10px 14px 10px;
    transition: border-bottom 300ms ease;
    outline: none;
}

.form-control::placeholder {
    color: var(--v3-white-2);
    font-family: var(--ff-montserrat);
    font-weight: 500;
    font-size: 14px;
    transition: color 300ms ease;
}

.form-control:focus {
    border: none;
    border-bottom: 1px solid var(--v3-accent);
}

.form-control:focus::placeholder {
    color: var(--v3-accent);
}

.attach-file {
    position: relative;
    margin-top: 24px;
}

.attach-file-label {
    display: block;
    width: 100%;
    color: var(--v3-white-2);
    font-family: var(--ff-montserrat);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    background: rgba(244, 241, 237, 0.12);
    border-radius: 4px;
    padding: 16px 16px;
    cursor: pointer;
}

.attach-file-name {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    color: var(--v3-white-2);
    font-style: italic;
    font-size: 12px;
    line-height: 1;
}

.attach-file-hidden {
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-submit {
    color: var(--v3-white-2);
    background: transparent;
    border: 1px solid var(--v3-white-2);
    transition: color 300ms ease, background 300ms ease, border 300ms ease;
    cursor: pointer;
    margin-top: 32px;
}

.wpcf7-submit:hover {
    color: var(--v3-white-2);
    background: var(--v3-accent);
    border: 1px solid var(--v3-accent);
}

.wpcf7-response-output,
.wpcf7-spinner {
    display: none;
}

.wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 12px;
}

.ssBtnDefault {
    display: none;
}

#wpadminbar {
    display: none;
}

@media only screen and (min-width: 1200px) {
    .business-card a {
        font-weight: 500;
    }
}

@media only screen and (min-width: 768px) {
    .label-row {
        display: flex;
        grid-column-gap: 40px;
    }

    textarea {
        height: 160px;
        max-height: 160px;
        min-height: 160px;
    }

    .fixed-socials {
        word-spacing: 12px;
        padding: 11px 18px 48px;
        border-radius: 14px 14px 0 0;
    }
}

@media only screen and (min-width: 566px) {
    .btn {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media only screen and (max-width: 767px) {
    textarea {
        height: 132px;
        max-height: 132px;
        min-height: 132px;
    }

    .fixed-socials {
        word-spacing: 12px;
        padding: 11px 18px 48px;
        border-radius: 14px 14px 0 0;
    }
}

@media only screen and (max-width: 565px) {
    .btn {
        padding-left: 16px;
        padding-right: 16px;
    }

    .attach-file-name {
        left: unset;
        right: 5%;
    }
}

/* Mobile select fixes for real devices */
@media only screen and (max-width: 767px) {
    /* Chrome mobile fix */
    select.form-control {
        min-height: 60px;
        height: 60px;
        line-height: 1.4;
        padding: 16px 30px 16px 8px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L2 4h8z'/%3E%3C/svg%3E") no-repeat right 8px center;
        background-size: 12px;
    }

    /* Safari iOS specific fix */
    @supports (-webkit-touch-callout: none) {
        select.form-control {
            min-height: 60px;
            height: 60px;
            -webkit-appearance: none;
            appearance: none;
            background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L2 4h8z'/%3E%3C/svg%3E") no-repeat right 8px center;
            background-size: 12px;
            border-radius: 0;
        }
    }
}

/* Desktop select styling */
@media only screen and (min-width: 768px) {
    select.form-control {
        padding-right: 30px;
        background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L2 4h8z'/%3E%3C/svg%3E") no-repeat right 8px center;
        background-size: 12px;
        -webkit-appearance: none;
        appearance: none;
    }
}

.primary-menu .menu-item-has-children .sub-menu {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.8s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.primary-menu .menu-item-has-children .dropdown-open {
    max-height: 300px !important;
}