@font-face {
	font-family: "Whitney Book";
	src:
		url("../fonts/Whitney-Book.woff2") format("woff2"),
		url("../fonts/Whitney-Book.woff") format("woff"),
		url("../fonts/Whitney-Book.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "AvenirLight";
	src:
		url("../fonts/Avenir-Light.woff2") format("woff2"),
		url("../fonts/Avenir-Light.woff") format("woff"),
		url("../fonts/Avenir-Light.ttf") format("truetype");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "AvenirMedium";
	src:
		url("../fonts/Avenir-Medium.woff2") format("woff2"),
		url("../fonts/Avenir-Medium.woff") format("woff"),
		url("../fonts/Avenir-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

html {
    scroll-behavior: auto;
    height: 100%;
}

html, body {
    overscroll-behavior: none;
    height: 100%;
}

body {
	margin: 0;
	background-color: #132952;
	font-family: "Whitney Book", "Lato", system-ui, sans-serif;
    font-size: 17px;
    color: #fff;
    letter-spacing: 0.025em;
}

#smooth-wrapper {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

#smooth-content {
    will-change: transform;
}

.wrapper {
    max-width: 1120px;
    padding: 0 30px;
    width: 100%;
    margin: 0 auto;
}

h1 {
	font-family: 'Bodoni Moda', sans-serif, system-ui;
	font-size: 24px;
	font-weight: 600;
	color: #fff;
    letter-spacing: 0.15em;
}

p {
    margin-bottom: 25px;
}

.hero {
	min-height: 100dvh;
	background: url("../img/sec1-bg.jpg") center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    text-align: center;
    opacity: 1;
    position: relative;
    z-index: 0;
    /* transition: opacity 0.3s ease; */
    margin: 0;
    margin-top: 5px;
}

.hero h1.is-fixed {
    position: fixed;
    top: calc(var(--hero-title-top, 50%) - var(--vv-offset-top, 0px));
    left: calc(var(--hero-title-left, 50%) - var(--vv-offset-left, 0px));
    transform: translate3d(-50%, -50%, 0);
    backface-visibility: hidden;
    will-change: transform;
    width: calc(100% - 60px);
}

.hero h1.is-covered {
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hero .logo {
    margin-bottom: 35px;
    opacity: 0;
}

.hero .logo.is-animated {
    animation: fadeIn 3s ease-out forwards;
}

.logo-layer {
    opacity: 1;
}

.logo-layer .logo {
    opacity: 0;
    animation: fadeIn 3s ease-out forwards;
}

.enquiry {
    padding-top: 55px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
    background-color: #132952;
}

.enquiry .wrapper {
    max-width: 700px;
}

.enquiry .enquiry-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 65px;
}

.footer {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #132952;
    position: relative;
    z-index: 2;
}

.enquiry-top-fields {
    display: flex;
    gap: 35px;
    margin-bottom: 35px;
}

.enquiry-top-fields .left {
    display: flex;
    gap: 35px;
    flex-grow: 1;
}

.enquiry-top-fields .left div {
    flex-grow: 1;
}

.select-field {
    position: relative;
    max-width: 125px;
}

.select-field select, .input-field input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 0;
    background: none;
    outline: 0;
    background: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 10px 0 10px;
    font-size: 15px;
}

.select-field select:focus, .input-field input:focus {
    outline: 0;
}

.input-field input::placeholder, .select-field select {
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.025em;
    opacity: .5;
}

.enquiry-top-fields .right{
    max-width: 100%;
    min-width: 315px;
}

.enquiry-mid-fields {
    margin-bottom: 40px;
}

.enquiry .dropdown {
    position: relative;
}

.enquiry .dropdown-value {
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 10px 0 10px;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.025em;
    cursor: pointer;
}

.enquiry .dropdown-value span {
    opacity: .5;
}

.enquiry .dropdown-value.selected {
    opacity: 1;
}

.enquiry .dropdown-value::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 2px;
    background: url(../img/caret-down.png) top left no-repeat;
    display: block;
    width: 14px;
    height: 8px;
    background-size: 100%;
    transition: transform 0.25s ease;
    transform-origin: center;
}

.enquiry .dropdown-options {
    padding: 5px 0;
    position: absolute;
    top: 13px;
    left: 0;
    min-width: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #081a2d;
    color: #fff;
    font-size: 15px;
    line-height: 26px;
    display: flex;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.5s ease;
    z-index: 2;
    padding: 10px 0;
}

.enquiry .dropdown-options div {
    cursor: pointer;
    padding-bottom: 2px;
    transition: opacity .25s ease-in;
    width: 100%;
    text-align: center;
}

.enquiry .dropdown-options div:hover {
    opacity: 0.7;
}

.enquiry .dropdown.active .dropdown-options {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.enquiry .dropdown.active .dropdown-value::after {
    transform: rotate(180deg);
}

.enquiry .dropdown-options div.selected {
    font-weight: bold;
}

.terms-field {
    margin-bottom: 30px;
    display: flex;
}

.terms-field label {
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.025em;
    user-select: none; 
}

.terms-field label a {
    text-decoration: none;
    color: #fff;
    transition: opacity 0.25s ease-in;
}

.terms-field label a:hover {
    opacity: 0.7;
}

.terms-field .terms-checkbox {
    position: relative;
}

.terms-field input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #fff;
    margin-right: 14px;
}

.terms-field .checked {
    position: absolute;
    top: 5px;
    left: 4px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform:rotate(-45deg);
    opacity: 0;
    transition: opacity .25s ease-in;
}

.terms-field input:checked ~ .checked {
    opacity: 1;

}

.enquiry-submit {
    display: flex;
    justify-content: flex-end;
}

.form-message {
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #d7cec4;
    min-height: 18px;
    text-align: center;
}

.form-message.is-success {
    color: #ad8a7d;
}

.form-message.is-error {
    color: #ffb1b1;
}

.btn-submit {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid #fff;
    outline: 0;
	font-family: 'Bodoni Moda', sans-serif, system-ui;
	font-size: 13px;
	color: #fff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    animation: glowingboxshadow 1.8s infinite ease-out;
}

@keyframes glowingboxshadow {
    0% {
        box-shadow: 0 0 0px 0 rgba(255, 255, 255, 0.15);
    }
    50%{
        box-shadow: 0 0 26px 0 rgba(255, 255, 255, 0.15);
    }
    100% {
        box-shadow: 0 0 0px 0 rgba(255, 255, 255, 0.15);
    }
}

.btn-submit:hover {
    /* transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(8, 26, 45, 0.45);
    border-color: rgba(255, 255, 255, 0.6); */
}

.btn-submit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(240deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    transform: translateX(120%);
    transition: transform 0.35s ease;
}

.btn-submit:hover::after {
    transform: translateX(0);
}

.btn-submit:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

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

.text-two-cols {
    display: flex;
    gap: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease-in-out, visibility 0s linear 0.35s;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease-in-out;
}

.popup-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(80vw, 1200px);
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    margin: 0;
    padding: 20px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    transform: translate(-50%, -45%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    pointer-events: none;
	background-color: #132952;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.popup-panel.active {
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: auto;
}

.popup-close {
    position: absolute;
    top: 38px;
    right: 28px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
    transition: all .25s ease-in-out;
}

.popup-close:hover {
    transform: rotate(180deg);
}

.popup-close img {
    width: 100%;
    height: 100%;
    display: block;
}

.popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px 0 24px;
    text-align: center;
}

.popup-title {    
    margin-top: 25px;
    margin-bottom: 14px;
    font-family: 'Bodoni Moda', sans-serif, system-ui;
    font-size: 19px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d7cec4;
}

.popup-content {
    box-shadow: inset 0 0 3px 0 rgba(255, 255, 255, 0.25);
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    color: #d7cec4;
    max-height: calc(100vh - 220px);
    overflow: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(215, 206, 196, 0.55) rgba(8, 26, 45, 0.35);
}

.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: rgba(8, 26, 45, 0.35);
    border-radius: 999px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: rgba(215, 206, 196, 0.55);
    border-radius: 999px;
    border: 2px solid rgba(8, 26, 45, 0.35);
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: rgba(215, 206, 196, 0.8);
}

body.popup-open {
    /* overflow: hidden; */
}

.footer-wrapper {
    max-width: 1360px;
    width: 100%;
    padding: 0 30px;
    margin: 0 auto;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 55px;
}

.footer-logos .text {
    font-size: 13px;
    color: #fff;
}

.footer-logos .logos {
    display: flex;
    align-items: center;
    gap: 44px;
}

.footer-logos .logos .separator {
    width: 1px;
    height: 50px;
    background-color: #fff;
}

.footer-copy {
    display: flex;
    justify-content: space-between;
}

.footer-copy .left a {
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: opacity 0.25s ease-in;
}

.footer-copy .left a:hover {
    opacity: 0.7;
}

.footer-copy .left a + a {
    margin-left: 15px;
}

.footer-copy .left a + a::before {
    content: "";
    display: block;
    position: absolute;
    left: -10px;
    top: 2px;
    width: 1px;
    height: 12px;
    background-color: #fff;
}

.footer-copy .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-copy .right .copy {
    font-size: 13px;
}

.footer-copy .right .made {
    font-size: 12px;
    font-family: "AvenirLight", "Lato", sans-serif, system-ui;
}

.footer-copy .right .made a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.25s ease-in;
}

.footer-copy .right .made :hover {
    opacity: 0.7;
}

.footer-copy .right .made strong {
    font-family: "AvenirMedium", "Lato", sans-serif, system-ui;
}

.footer-copy .right .made sup {
    font-size: 9px;
}

.list-items {
    margin-bottom: 25px;
}


.list-items div {
    display: flex;
}

.list-items div span {
    min-width: 35px;
}

@media (max-width: 991px) {
    .enquiry-top-fields {
        flex-direction: column;
        gap: 50px;
    }

    .enquiry-submit {
        justify-content: center;
    }

    .enquiry-top-fields .right {
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .footer-copy {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .footer-copy .right {
        align-items: center;
    }

    .footer-copy .right .copy {
        text-align: center;
    }

    .hero img {
        max-width: 131px;
    }
}

@media (max-width: 575px) {
    .hero-wrapper {
        margin-top: -20px;
    }
    h1 {
        font-size: 19px;
    }

    .hero h1 {
        margin-top: 10px;
    }

    .hero .logo {
        margin-bottom: 15px;
        max-width: 95px;
    }

    .enquiry-logo .logo {
        max-width: 78px;
    }

    .enquiry {
        padding-top: 40px;
        padding-bottom: 0;
    }
    
    .enquiry .dropdown-value, .select-field select, .input-field input, .input-field input::placeholder, .select-field select, .terms-field label {
        font-size: 13px;
    }

    .terms-field .terms-checkbox {
        display: flex;
    }

    .terms-field label {
        font-size: 12px;
    }

    .terms-field input {
        width: 13px;
        height: 13px;
        margin-top: 1px;
        margin-right: 12px;
    }

    .terms-field .checked {
        top: 5px;
        left: 3px;
        width: 7px;
        height: 4px;
    }

    .btn-submit {
        font-size: 13px;
        margin-top: 10px;
    }

    .enquiry .dropdown-options {
        font-size: 13px;
    }

    .enquiry .dropdown-value::after {
        width: 14px;
        height: 8px;
        top: 14px;
    }

    .enquiry-top-fields .left {
        gap: 25px;
    }

    .enquiry .dropdown-value, .select-field select, .input-field input {
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .enquiry-top-fields {
        gap: 30px;
    }

    .enquiry-top-fields {
        margin-bottom: 25px;
    }

    .enquiry-mid-fields {
        margin-bottom: 30px;
    }

    .terms-field {
        margin-bottom: 25px;
    }

    .enquiry .enquiry-logo {
        margin-bottom: 40px;
    }

    .footer-logos .text {
        font-size: 11px;
    }

    .logo-thy-land {
        max-width: 62px;
    }

    .logo-windsor-land {
        max-width: 55px;
    }

    .footer-logos {
        margin-bottom: 35px;
        gap: 20px;
    }

    .footer {
        padding-top: 40px;
    }

    .footer-logos .logos {
        gap: 25px;
    }

    .footer-logos .logos .separator {
        height: 35px;
    }

    .text-two-cols {
        flex-direction: column;
    }

    .popup-close {
        width: 35px;
        height: 35px;    
        top: 25px;
        right: 28px;
    }

    .footer-copy .left a, .footer-copy .right .copy {
        font-size: 12px;
    }

    .footer-copy .right .made {
        font-size: 11px;
    }

    .footer-copy .left a + a::before {
        top: 3px;
        height: 10px;
    }

    .popup-panel {
        max-height: 100dvh;
        height: 100dvh;
        width: 100vw;
        padding-bottom: 20px;
    }

    .popup-title {
        font-size: 16px;
        margin-top: 12px;
        margin-bottom: 0;
    }

    .popup-header {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .popup-content {
        max-height: calc(100vh - 180px);
        padding: 10px 20px;
    }

}

@media (max-width: 380px) {
    
}
