/*
Theme Name: core-blocks
Theme URI: https://criterionb.com/
Author: Team CriterionB
Author URI: https://criterionb.com/
Version: 0.0.1
License: GNU General Public License v2 or later



/*===== Global Styles =====*/
:root {
    --light-color: #fff;
    --blue-color: #00334a;
    --light-bg-color: #69758C12;
    --light-blue-color: #69758C;
    --primary-hover-color: color-mix(in srgb, var(--primary-color) 80%, #ffffff 15%);
    --secondary-hover-color: color-mix(in srgb, var(--secondary-color) 80%, #ffffff 15%);
    --accent-hover-color: color-mix(in srgb, var(--accent-color) 80%, #ffffff 15%);
    --tertiary-hover-color: color-mix(in srgb, var(--tertiary-color) 80%, #ffffff 15%);
    --contrainer-padding: 0 30px;
    --container-width: calc(100% - 60px);
}
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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


body {
    margin: 0
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
}

a {
    background-color: transparent;
    color: inherit;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

[hidden] {
    display: none
}



a,
a:visited {
    text-decoration: none;
}

a.resident-section-link {
    text-decoration: inherit;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

body.sticky-header {
    padding-left: 80px;
}

ul,
ol {
    padding: 0;
    list-style-type: none;
}

p {
    margin: 0 0 20px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
}

p:last-child{
    margin-bottom: 0;
}

.gallery-tabs-header p {
    margin: 0 0 45px;
}


.container,
.container-small,
.container-large,
.container-edge{
    width: 90%;
    display: block;
    margin: 0 auto;
    position: relative;
}

/* Specific sizes */
.container-small {
    max-width: 1170px;
}

.container {
    max-width: 1684px;
}

.container-large {
    max-width: 1704px;
}

.container-edge {
    width: 100%;
    max-width: 100%;
}



.flex-container {
    display: flex;
    flex-flow: wrap;
}

.container:after,
.flex-box:after,
.container-full:after {
    display: table;
    content: "";
    clear: both;
}

.col-1 {
    float: left;
    width: 8.33%;
    padding: 0 15px;
}

.col-2 {
    float: left;
    width: 16.66%;
    padding: 0 15px;
}

.col-3 {
    float: left;
    width: 25%;
    padding: 0 15px;
}

.col-4 {
    float: left;
    width: 33.33%;
    padding: 0 15px;
}

.col-5 {
    float: left;
    width: 41.66%;
    padding: 0 15px;
}

.col-6 {
    float: left;
    width: 50%;
    padding: 0 15px;
}

.col-7 {
    float: left;
    width: 58.33%;
    padding: 0 15px;
}

.col-8 {
    float: left;
    width: 66.66%;
    padding: 0 15px;
}

.col-9 {
    float: left;
    width: 75%;
    padding: 0 15px;
}

.col-10 {
    float: left;
    width: 83.33%;
    padding: 0 15px;
}

.col-11 {
    float: left;
    width: 91.66%;
    padding: 0 15px;
}

.col-12 {
    float: left;
    width: 100%;
    padding: 0 15px;
}

/* ================================
   Core Blocks Typography
   ================================ */

/* Subtitle (Generic + Blog Subtitle Shared Style) */
.block-subtitle,
.blog-block-subtitle {
    font-family: var(--heading-font);
    font-style: normal;
    font-weight: 500;
    font-size: clamp(18px, 1.2vw, 20px);
    line-height: clamp(27px, 2vw, 38px);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Block Title */
.block-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(40px, 4vw, 65px);     /* slightly smaller than hero */
    line-height: clamp(45px, 4.5vw, 100px);
    margin: 0 0 20px;
}

/* Paragraph Wrapper */
.block-paragraphs p {
    font-family: var(--body-font);
    font-size: clamp(16px, 1.1vw, 20px);
    font-weight: 400;
    line-height: clamp(24px, 2vw, 32px);
    margin-bottom: 20px;
}

/* Last Paragraph remove bottom gap */
.block-paragraphs p:last-child {
    margin-bottom: 0;
}

/* Buttons */
a.btn {
    font-family: var(--body-font);
    display: inline-block;
    vertical-align: top;
    font-size: clamp(16px, 1.1vw, 20px);
    font-weight: 700;
    line-height: clamp(20px, 1.7vw, 22px);
    letter-spacing: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0px;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center right;
    color: #fff;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 48px;
    align-self: flex-start;

    /* Responsive padding with same proportions as 16px 80px 16px 45px */
    padding:
        clamp(10px, 1.2vw, 14px)
        /* top */
        clamp(45px, 5.5vw, 80px)
        /* right */
        clamp(10px, 1.2vw, 16px)
        /* bottom */
        clamp(25px, 3.1vw, 45px);
    /* left */
}

a.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    right: clamp(25px, 2vw, 45px);
    /* make arrow position match responsive padding */
    transform: translateY(-50%);
    width: clamp(16px, 1.3vw, 20px);
    height: clamp(10px, 0.9vw, 13px);
    background-color: currentColor;
    -webkit-mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

a.btn:hover::before {
    transform: translate(5px, -50%);
}


/* Outline buttons */
a.btn.btn-primary-outline,
a.btn.btn-accent-outline,
a.btn.btn-secondary-outline,
a.btn.btn-black-outline,
a.btn.btn-white-outline {
    border: 2px solid;
    background-color: transparent;
    transition: all 0.5s ease;
}

/* Solid Buttons */
a.btn.btn-primary {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: #fff;
}

a.btn.btn-primary:hover {
    background-color: var(--primary-hover-color);
    border: 2px solid var(--primary-hover-color);
}

a.btn.btn-secondary {
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
    color: #fff;
}

a.btn.btn-secondary:hover {
    background-color: var(--secondary-hover-color);
    border: 2px solid var(--secondary-hover-color);
}

a.btn.btn-accent {
    border: 2px solid var(--accent-color);
    background-color: var(--accent-color);
    color: #fff;
}

a.btn.btn-accent:hover {
    background-color: var(--accent-hover-color);
    border: 2px solid var(--accent-hover-color);
}

a.btn.btn-tertiary {
    border: 2px solid var(--tertiary-color);
    background-color: var(--tertiary-color);
    color: #fff;
}

a.btn.btn-tertiary:hover {
    background-color: var(--tertiary-hover-color);
    border: 2px solid var(--tertiary-hover-color);
}

/* Outline Variants */
a.btn.btn-primary-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

a.btn.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

a.btn.btn-secondary-outline {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

a.btn.btn-secondary-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

a.btn.btn-accent-outline {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

a.btn.btn-accent-outline:hover {
    background-color: var(--accent-color);
    color: #fff;
}

a.btn.btn-black-outline {
    color: var(--dark-color);
    padding-left: 0;
    border: none;
}

a.btn.btn-black-outline:hover {
    text-decoration: underline;
}


a.btn.btn-white-outline {
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
}

a.btn.btn-white-outline:hover {
    background-color: #fff;
    border: 2px solid #fff;
    color: var(--secondary-color);
}

/* Link Button */
a.btn.btn-link {
    color: var(--secondary-color);
    padding-left: 0;
    padding-bottom: 5px;
    padding-top: 5px;
    border: none;
    border-radius: 0;
    position: relative;
    min-height: auto;
}

a.btn.btn-link::after {
    content: "";
    width: 0;
    height: 2px;
    border-bottom: 2px solid;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.5s ease;
}

a.btn.btn-link:hover::after {
    width: calc(100% - 38px);
}

.buttons-wrapper.btn-align-left {
    text-align: left;
}

.buttons-wrapper.btn-align-center {
    text-align: center;
}

.buttons-wrapper.btn-align-right {
    text-align: right;
}


.content-block.text-align-left {
    text-align: left;
}
.content-block.text-align-left .hero-content-outer {
    text-align: left;
}

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

.content-block.text-align-center .hero-content-outer {
    text-align: center;
}

.content-block.text-align-right {
    text-align: right;
}

.content-block.text-align-right .hero-content-outer {
    text-align: right;
}


/* Padding */

.content-block.block-padding-small {
    padding-top: clamp(25px, 3.3vw, 50px);
    padding-bottom: clamp(25px, 3.3vw, 50px);
}

.content-block.block-padding-medium {
    padding-top: clamp(30px, 4.5vw, 75px);
    padding-bottom: clamp(30px, 4.5vw, 75px);
}

.content-block.block-padding-large {
    padding-top: clamp(40px, 6vw, 100px);
    padding-bottom: clamp(40px, 6vw, 100px);
}

.content-block.block-padding-large {
    padding-top: clamp(40px, 6vw, 100px);
    padding-bottom: clamp(40px, 6vw, 100px);
}

.content-block.home-hero {
    padding-top: clamp(40px, 7.5vw, 250px);
    padding-bottom: clamp(40px, 9vw, 350px);
}



.header-3 .header-logo {
    padding: 0;
    width: 250px;
    text-align: center;
}

.header-3 .header-logo img.logo {
    margin: 0 auto;
}

.header-3 .header-menu ul.menu {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.content-block {
    position: relative;
    overflow: hidden;
    z-index: 0;
    isolation: isolate;
    will-change: transform;
}


/* Hide Everywhere */
.content-block.hide-all {
    display: none !important;
}

/* Wrapper */
.section-patterns-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Base pattern */
.section-pattern {
  position: absolute;
  max-width: 50VW;
}

/* Image */
.section-pattern-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------- POSITION MAP ---------------- */

/* LEFT */
.section-pattern-left-top {
  top: 0;
  left: 0;
}

.section-pattern-left-middle {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.section-pattern-left-bottom {
  bottom: 0;
  left: 0;
}

/* RIGHT */
.section-pattern-right-top {
  top: 0;
  right: 0;
}

.section-pattern-right-middle {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.section-pattern-right-bottom {
  bottom: 0;
  right: 0;
}

/* Horizontal center - Top */
.section-pattern-middle-top{
  top:0;
  left:50%;
  transform:translateX(-50%);
}

/* Horizontal center - Bottom */
.section-pattern-middle-bottom{
  bottom:0;
  left:50%;
  transform:translateX(-50%);
}

/* Exact Center */
.section-pattern-middle-center{
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}


/* ================================
   Header
================================ */
header.header-1 {
  position: relative;
  width: 100%;
  z-index: 1000;
  background-color: var(--primary-color);
  padding: 0;
}

header.header-1.fixed {
  position: fixed;
  transition: all 0.5s ease;
  min-height: 80px;
}

header.header-1.fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
  z-index: -1;
}

header .main-header .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 0 auto;
}

header .topbar {
  padding: 8px 0;
}

header.header-1.fixed .topbar {
    margin-top: -60px;
    transition: all 0.5s ease;
    display:none;
}

header .topbar .container {
  justify-content: center;
}

header .topbar .container .topbar-contact {
  text-align: center;
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  font-size: clamp(14px, 0.9vw, 17px);
}

header .topbar .container .topbar-contact::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url('/wp-content/uploads/2025/09/phone-icon.svg') no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 3px;
}

header .topbar .container .topbar-contact a {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: clamp(14px, 0.9vw, 17px);
}


header .topbar.text-color-light .container .topbar-contact a {
  color: var(--light-color);
}

header .topbar.text-color-light .container .topbar-contact a {
  color: var(--dark-color);
}

header.header-1 .topbar {
  transition: transform 0.4s ease;
}
header.header-1.fixed .topbar {
  transform: translateY(-100%);
}



/* ========== LOGO ========== */
.header-logo {
  width: 224px;
  padding:0;
  position: relative;
}

.header-logo a.main-logo img {
  max-width: clamp(155px, 12.2vw, 224px);
  height: auto;
}

header .main-header {
  padding: 10px 0;
}

/* ========== NAVIGATION MENU ========== */
.header-menu {
  flex: 1 1 auto;
  text-align: center;
}

.header-menu ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu ul>li {
  position: relative;
}

.header-menu ul.menu>li {
  padding: 0 5px;
  margin-bottom: 0;
}

.header-menu ul.menu>li>a {
  display: block;
  padding: 26px 14px;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ffffff;
  transition: color 0.3s;
  font-family: var(--body-font);
}

.header-menu ul.menu>li.current-menu-item>a,
.header-menu ul.menu>li:hover>a {
  color: #ffffff;
}

.header-menu ul.menu>li:hover>a{
  color: #fff;
}

.header-menu ul.menu>li.menu-item-has-children>a {
  padding: 14px 34px 14px 24px;
  border-radius: 12px;
}

/* Default (gray arrow) */
.header-menu ul.menu>li.menu-item-has-children>a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 17px;
  height: 17px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none'><path d='M4.1875 6.50003L8.1875 10.5L12.1875 6.50003' stroke='%23BEBEBE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  transition: transform 0.2s ease;
  position: absolute;
  top: calc(50% - 8px);
}

/* White arrow on hover */
.header-menu ul.menu>li.menu-item-has-children:hover>a::after,
.header-menu ul.menu>li.menu-item-has-children.open>a::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none'><path d='M4.1875 6.50003L8.1875 10.5L12.1875 6.50003' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* Dropdown */
.header-menu ul li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  display: block;
  text-align: left;
  width: max-content;
  min-width: 250px;
  max-width: 327px;
}

.header-menu ul li:hover>ul.sub-menu {
  opacity: 1;
  visibility: visible;
}

.header-menu ul li ul.sub-menu li {
  width: 100%;
  padding: 0;
  display: block;
  margin-bottom: 0;
}

.header-menu ul li ul.sub-menu li a {
  display: block;
  padding: 5px 10px;
  font-weight: 400;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 27px;
  letter-spacing: 0;
  color: var(--dark-color);
}

.header-menu ul li ul.sub-menu li a:hover {
  color: var(--secondary-color);
}


/* ================== 3rd Level Submenu ================== */
.header-menu ul li ul.sub-menu li ul.sub-menu {
  position: absolute;
  top: 0;
  left: 100%; /* open to the right side */
  padding: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 11; /* above parent */
  min-width: 250px;
  width: max-content;
  display: none;
}

/* Show 3rd level submenu on hover */
.header-menu ul li ul.sub-menu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  left: 100%; /* ensure it stays aligned right */
}

/* Links inside 3rd level */
.header-menu ul li ul.sub-menu li ul.sub-menu li a {
  display: block;
  padding: 5px 10px;
  font-size: clamp(13px, 0.9vw, 16px);
  line-height: 24px;
  color: var(--dark-color);
  font-weight: 400;
}

.header-menu ul li ul.sub-menu li ul.sub-menu li a:hover {
  color: var(--secondary-color);
}


header.header-1.fixed .header-logo {
    padding: 0 50px 0 0;
}

/* ========== CTA BUTTON ========== */
.header-ctas a.btn {
  transition: all 0.3s ease;
}

/* ========== MOBILE MENU TOGGLER ========== */
header .mobile-menu {
  display: none;
  width: 40px;
  height: 32px;
  cursor: pointer;
  flex-shrink: 0;
  position: absolute;
  z-index: 99;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 5px;
}

.mobile-menu span {
  display: block;
  width: 100%;
  height: 4px;
  background: #fff;
  margin-bottom: 7px;
  transition: all 0.3s ease;
  position: relative;
  height: 4px;
  border-radius: 4px;
}

header.fixed .mobile-menu span {
  background: #fff;
}

/* ========== MOBILE MENU PANEL ========== */
.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100vh;
  background: var(--primary-color);
  color: #fff;
  overflow-y: auto;
  transition: left 0.4s ease;
  z-index: 9999;
  padding: 20px 30px;
  width: 100%;
  background: var(--primary-color);
}

.mobile-menu-wrapper.active {
  left: 0;
}

.mobile-menu-wrapper .menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transform: rotate(45deg);
}

.mobile-menu-wrapper img.logo-footer {
  max-width: 170px;
  margin: 0 0 30px;
}

.mobile-menu-wrapper ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.mobile-menu-wrapper ul.menu>li {
    padding: 5px 0;
    border-bottom: 0;
    position: relative;
}

.mobile-menu-wrapper ul.menu>li>a {
  font-size: 18px;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 0;
  font-family: var(--body-font);
  padding: 5px 15px;
  display: block;
}

/* Mobile Submenu */
.mobile-menu-wrapper ul.sub-menu {
  width: 100%;
  display: none;
  flex-direction: column;
  padding-left: 15px;
}

.mobile-menu-wrapper li.submenu-active>ul.sub-menu {
  display: flex;
}

.mobile-menu-wrapper li.submenu-active>a::after {
  transform: rotate(180deg);
}
.mobile-menu-wrapper span.sub-menu-trigger {
    position: absolute;
    right: 12px;
    top: 25px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    pointer-events: auto;
    transition: transform 0.3s ease;
    width: 40px;
    height: 40px;
    margin-left: 0;
}

.mobile-menu-wrapper span.sub-menu-trigger:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    width: 30px;
    height: 16px;
    margin-top: -8px;
    background-color: currentColor;
    -webkit-mask: url("/wp-content/uploads/2026/01/arrow-icon.svg") no-repeat center / contain;
    mask: url("/wp-content/uploads/2026/01/arrow-icon.svg") no-repeat center / contain;
    transition: transform 0.3s ease, background-color 0.3s ease;
    transform: rotate(90deg);
}

.mobile-menu-wrapper li.submenu-active > span.sub-menu-trigger:before {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}




/* =========================
   FOOTER LAYOUT – GRID
   ========================= */
footer .footer-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 0;
    align-items: stretch;
}

.footer-left,
.footer-middle,
.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

footer .footer-wrap .footer-left {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Left Column (Menu) */
.footer-left .footer-links {
    margin-bottom: 25px;
}
.footer-left .footer-links ul.menu li{
    text-align: left;
}
.footer-left .footer-links ul.menu li a{
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: #fff;
}

/* Middle Column (Office Info Section) */
.footer-middle {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 18px;
}

.footer-logo img {
    max-width: 220px;
    height: auto;
}

/* Address / Phones / Emails block wrapper */
.footer-office-info,
.footer-address {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Right Column (Form) */
.footer-right {
    position: relative;
}

.footer-right .form-bg {
    border-radius: 10px;
}

/* =========================
   FOOTER BOTTOM
   ========================= */
.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.bottom-footer-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr;
    gap: 40px;
    padding: 0;
    align-items: stretch;
}

/* Left bottom: copyright + policy links */
.footer-bottom .copyright-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.footer-bottom .footer-links-wrap ul.footer-links {
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
}

.footer-bottom .footer-links-wrap ul.footer-links li {
    list-style: none;
    border-left: 1px solid rgba(255,255,255,0.5);
    padding-left: 12px;
}

/* Right bottom: social */
.footer-bottom .footer-social {
    display: flex;
    gap: 14px;
}

.footer-bottom .footer-social img,
.footer-bottom .footer-social i {
    width: 22px;
    height: 22px;
    display: block;
}

.footer-left .footer-links ul.menu li a, 
.footer-bottom { 
    color: #fff; 
} 

.footer-office-info, 
.footer-office-info { 
    color: var(--secondary-color); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.block-bg-overlay .block-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

/* image layer */
.cb-foreground-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    height: 100%;
}

.cb-foreground-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* overlay layer */
.block-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* your actual block content must be above */
.content-block.block-bg-overlay > *:not(.cb-foreground-bg):not(.block-overlay) {
    z-index: 3;
}





/* =========================
   RESPONSIVE
   ========================= */

/* Tablet */
@media (max-width: 992px) {

    footer .footer-wrap {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "left right"
            "middle right";
    }

    .footer-left { grid-area: left; }
    .footer-middle { grid-area: middle; }
    .footer-right { grid-area: right; }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .footer-bottom .copyright-section {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {

    footer .footer-wrap {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-bottom .footer-links-wrap ul.footer-links {
        justify-content: center;
    }

    .footer-bottom .footer-social {
        justify-content: center;
    }
}


@media screen and (max-width: 1024px) {
    header .header-menu{
        display: none;
    }
   
    header .mobile-menu {
        display: block;
    }

    header{
        min-height: 82px;
    }
}

/* Hide Only on Mobile (≤767px) */
@media (max-width: 767px) {
    .content-block.hide-mobile {
        display: none !important;
    }
    header .header-ctas{
        display: none;
    }
}

/* Hide Only on Tablet (768px–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .content-block.hide-tablet {
        display: none !important;
    }
}

/* Hide Only on Desktop (≥1025px) */
@media (min-width: 1025px) {
    .content-block.hide-desktop {
        display: none !important;
    }
}

