/*
Theme Name: JLL DXP Brightstone
Template: twentytwentyfour
*/

/* Global Styles */
:root {
  --font-primary: 'FilsonPro', sans-serif;
  --primary-color: #000000; /* Adjust to your brand's primary color */
  --secondary-color: #ffffff; /* Adjust to your brand's secondary color */
  --text-color: #333333;
  --link-color: #0066cc; /* Adjust to your preferred link color */
  --font-size-base: 12px;
  --line-height-base: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
}



/* FilsonPro Light */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* FilsonPro Light Italic */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProLightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* FilsonPro Book */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProBook.otf') format('opentype');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

/* FilsonPro Book Italic */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProBookItalic.otf') format('opentype');
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}

/* FilsonPro Regular */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProRegular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* FilsonPro Regular Italic */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProRegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* FilsonPro Medium */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* FilsonPro Medium Italic */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProMediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* FilsonPro Bold */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* FilsonPro Bold Italic */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProBoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* FilsonPro Heavy */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProHeavy.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* FilsonPro Heavy Italic */
@font-face {
  /*font-family: 'FilsonPro';*/
  src: url('assets/fonts/filson-pro/FilsonProHeavyItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  /*font-family: 'AcuminVariableCondensed';*/
  src: url('assets/fonts/AcuminVariableConcept.otf') format('opentype-variations');
  font-weight: 300 900; /* Bold range */
  font-stretch: 75% 100%; /* Condensed range */
  font-style: normal;
  font-display: swap;
}

body {
  /*font-family: 'FilsonPro', sans-serif;*/
  font-weight: 350;
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--secondary-color);
  margin: 0;
  padding: 0;
}

h1, h2, h3
{
  /*font-family: 'FilsonPro', sans-serif;*/
  /* font-weight: 700; */
  line-height: 1.2;
  margin-top: 0;
}

h4, h5, h6 {
  /*font-family: 'FilsonPro', sans-serif;*/
  font-weight: 500;
  font-style:normal;
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: 5rem; }
h2 { font-size: 4rem; }
h3 { font-size: 3rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.75rem; }
h6 { font-size: 1.5rem; }

p {
  margin-top: 0;
  font-size: 1.167rem;
  margin-bottom: 1rem;
  font-weight: 350;
  font-style:normal;
  /*font-family: 'FilsonPro', sans-serif;*/
}
strong {
  /*font-family: 'FilsonPro', sans-serif;*/
}
a {
  /*font-family: 'FilsonPro', sans-serif;*/
  /* color: var(--link-color); */
  text-decoration: none;
  outline: none;
}

header p a
{
  color:#ffffff;
} 

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Basic layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

p a {
  text-decoration: underline;
  text-decoration-color: #EB9B6A;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 2px;
}

.home .cards-grid.is-layout-flex {
  gap: 0;
}

header a {
  /*font-family:'AcuminVariableCondensed', sans-serif;*/
  text-transform: uppercase;
  text-decoration: none !important;
}



a span:hover {
  color: #eb9b6a;
}

.home a span:hover {
    color: #06273A;
}

button.wp-block-navigation__responsive-container-close {
  color: #EDF3F4;
}

.has-modal-open .wp-block-site-logo {
    display: none;
}

.has-modal-open button.wp-block-navigation__responsive-container-close {
    /* color: #ffffff; */
    padding: 20px;
}

.has-modal-open .wp-block-navigation__responsive-dialog {
    padding: 40px;
}
.sticky-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width:100%;
    background-color: #06273A; /* Adjust this to match your design */
    z-index: 99999;
}

.sticky a span:hover {
  color: #eb9b6a;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive typography */
@media (max-width: 768px) {
  html {
      font-size: 14px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 1rem; }

  p{
  font-size: 1rem;
}
}

@media (max-width: 1200px) {
.home a span:hover {
  color:#ffffff;
}
}
/* Forms */
    
  .gform_required_legend {
    display: none;
  }
  
  .gform_wrapper.gravity-theme .gfield_label {
    color: #131e29;
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 400 !important;
    line-height: 1.5rem;
    margin-bottom: 4px !important;
    padding: 0;
  }
  
  .gform_wrapper.gravity-theme textarea {
    height: 4rem !important;
  }
  .gform_wrapper input[type="text"], input[type="email"], input[type="tel"], textarea {
      background: #1d68810a !important;
      border: 1px solid rgba(19, 30, 41, .25);
      font-size: 1rem !important;
      color: #56656b;
      padding: 0.688rem 1rem !important;
      width: 100%;
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      height: 36px;
      font-weight: 300;
      border-radius: 6px;
      box-shadow: none;
      box-sizing: border-box;
      font-style: normal;
      letter-spacing: -0.03999999910593033px;
      line-height: 1.5rem;
      outline: none;
  }
  
  .gform_wrapper input[type=submit]{
      border: 0;
      background: #3a3e43 !important;
      color: #fff !important;
      letter-spacing: -.0025em;
      border-radius: 6px;
      margin: 1rem 0!important;
      min-width: 0!important;
      font-size: 1rem;
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      width: auto!important
  }
  
  .gform_page_footer .gform_previous_button, .gform_next_button {
      border: 0;
      background: #F0F0F0 !important;
      color: #01151d !important;
      letter-spacing: -.0025em;
      border-radius: 6px;
      margin: 1rem 0!important;
      min-width: 0!important;
      font-size: 1rem;
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      width: auto!important
  }
  
  input#gform_submit_button_1:hover {
    background: #eb9b6a !important;
    color: #000000 !important;
}
  
  .post-password-form input[type=submit]:hover {
      cursor: pointer;
  }
  
  .post-password-form input[type=submit]
  {
  border: 0;
      background: #3a3e43 !important;
      color: #fff !important;
      letter-spacing: -.0025em;
      border-radius: 6px;
      margin: 1rem 0!important;
      min-width: 0!important;
      font-size: 1rem;
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      width: auto!important
  
  }
  
  .gform_fields input:focus-visible, input:focus, textarea:focus-visible, textarea:focus {
      outline: none !important;
      border: 2px solid #09779e !important;
      background: #1d68810a;
      border-radius: 4px;
  }
  
  
  .gform_wrapper .validation_message {
      border: none !important;
      color: #8c0f2e !important;
      font-style: italic;
      font-weight: 300 !important;
      background: url(./assets/images/error.svg) left center no-repeat !important;
      background-size: 1rem !important;
      padding: .5rem 0 .5rem 1.5rem !important;
      font-size: 1rem !important;
  }
  
  .gform_wrapper.gravity-theme .gfield_error [aria-invalid=true]
  {
  border: 1px solid #b0133a;
  }
  
  .gform_wrapper.gravity-theme .gfield_error .gfield_repeater_cell label, .gform_wrapper.gravity-theme .gfield_error label, .gform_wrapper.gravity-theme .gfield_error legend, .gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message, .gform_wrapper.gravity-theme [aria-invalid=true]+label, .gform_wrapper.gravity-theme label+[aria-invalid=true] {
    color: #8c0f2e !important;
  }
  .gfield_required {
    font-size: 0 !important;
  }
  
  .gfield_required::after {
    content: "*";
    font-size: 1rem;
    color: #b0133a; 
  }
  .gfield_required.gfield_required_text {
    display: none !important;
  }
  .gform_wrapper.gravity-theme .gform_validation_errors>h2 {
    color: #8c0f2e !important;
   
  }
  .gform_wrapper.gravity-theme .gform_validation_errors
  {
    border:1.5px solid #8c0f2e;
  }
  .gform-field-label {
    color: #131e29;
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 400 !important;
    line-height: 1.5rem;
    margin-bottom: 4px !important;
    padding: 0;
  }
  
  span.gfield_required.gfield_required_asterisk {
    display: none !important;
  }
  
  h2.gform_submission_error.hide_summary {
    font-size: 15px !important;
  }
  .email input#input_1_4 {
    padding: 8px 8px 8px 3rem !important;
  }

  @supports (-webkit-touch-callout: none) or (-webkit-hyphens: none) {
    html, body, * {
      font-style: normal !important;
      -webkit-font-smoothing: antialiased;
      -webkit-text-stroke: 0.01px transparent;
      font-synthesis: none; /* Disable Safari's font synthesis */
    }
  }

/* Add this CSS to help with iOS parallax performance */
@supports (-webkit-touch-callout: none) {
  .has-parallax .wp-block-cover__image-background {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
  }

  @media (max-width: 768px) {
      .has-parallax {
          -webkit-overflow-scrolling: touch;
      }
  }
}

@media only screen and (max-width: 600px) {
  .home .wp-block-cover__inner-container.is-layout-flow {
      display: flex;
      flex-direction: column;
      row-gap: 20px;
  }
}