/*
 Theme Name:   Kadence Child
 Theme URI:    http://example.com/kadence-child/
 Description:  Kadence Child Theme
 Author:       Your Name
 Author URI:   http://example.com
 Template:     kadence
 Version:      1.0.6
*/

/* globals */
* {
    --navy: #092035;
    --gold: #B5834C;
    --bluegrey: #EFF1FB;
    --grey: #F0F3F8;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #fff !important;
}
.neuton {
    font-family: 'Neuton', serif;
}
.titillium {
    font-family: 'Titillium Web', sans-serif;
}
.h1 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 72px;
    font-weight: 600;
    line-height: 1.2;
}
.h2 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 72px;
    line-height: 1.3;
    font-weight: 600;
}
.h3 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 48px;
    line-height: 1.3;
    font-weight: 600;
}
.h4 {
    font-family: 'Neuton', serif;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 400;
}
p {
    font-family: 'Neuton', serif;
    font-size: 28px;
}
.justified {
  text-align: justify !important;
}
.outline {
  color: var(--navy);
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.btn-gold {
    background-color: var(--gold);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.25);
    padding: 14px 56px;
    border-radius: 110px;
    color: #000;
    font-family: 'Titillium Web', sans-serif;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.shadow {
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.25);
}

.grid-layout-left {
  & .kt-inside-inner-col {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(12, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    max-height: 700px;
  }
  & figure, img {
  border-radius: 10px;
  margin-bottom: 0 !important;
  }
  & img, video {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  border-radius: 10px;
  height: 100%;
  width: 100%;
  }
  & figure:nth-child(1) { grid-area: 1 / 2 / 5 / 6; }
  & figure:nth-child(2) { grid-area: 5 / 1 / 10 / 6; }
  & figure:nth-child(3) { grid-area: 10 / 3 / 13 / 6; }
  & figure:nth-child(4) { grid-area: 2 / 6 / 6 / 9; }
  & figure:nth-child(5) { grid-area: 6 / 6 / 12 / 9; }
}

.grid-layout-right {
  & .kt-inside-inner-col {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(12, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    max-height: 700px;
  }
  & figure, img {
  border-radius: 10px;
  margin-bottom: 0 !important;
  }
  & img, video {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  border-radius: 10px;
  height: 100%;
  width: 100%;
  }
  & figure:nth-child(1) { grid-area: 3 / 1 / 6 / 4; }
  & figure:nth-child(2) { grid-area: 6 / 1 / 12 / 4; }
  & figure:nth-child(3) { grid-area: 1 / 4 / 5 / 8; }
  & figure:nth-child(4) { grid-area: 5 / 4 / 10 / 9; }
  & figure:nth-child(5) { grid-area: 10 / 4 / 13 / 7; }
}

.card-corner {
  border-radius: 10px;
}

.project-slider {
    & .kadence-blocks-gallery-item__caption {
    background: #fff !important;
    border-radius: 10px;
    top: 2.5%;
    bottom: unset !important;
    max-width: 95%;
    left: 2.5%;
    text-align: left !important;
    padding: 10px !important;
  }
  & h4 {
    color: #000;
    font-size: 24px;
  }
  & p {
    color: #000;
    font-size: 18px;
    font-family: 'Titilluim Web', sans-serif;
  }
  & .splide-slider {
    display: grid;
  }
  & .splide__arrows {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100%;
    margin-top: 3rem;
    justify-content: flex-start !important;
    transform: none !important;
    display: flex !important;
    order: 2;
  }
  & .splide__track {
    order: 1;
  }
  & .splide__arrow {
    position: static !important;
    margin-right: 0.5rem;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    width: 80px;
    height: 40px;
    opacity: 1 !important;
  }
}


@media screen and (max-width:991px){
    .h1 {
        font-size: 46px;
    }
    .h2 {
        font-size: 38px;
    }
    .h4 {
        font-size: 28px;
    }
    p {
        font-size: 21px;
    }
    .grid-layout-left, .grid-layout-right {
      & figure:nth-child(1) { grid-area: 1 / 1 / 5 / 4; }
      & figure:nth-child(2) { grid-area: 1 / 4 / 6 / 9;  }
      & figure:nth-child(3) { grid-area: 5 / 1 / 10 / 4; }
      & figure:nth-child(4) { grid-area: 6 / 4 / 13 / 9; }
      & figure:nth-child(5) { grid-area: 10 / 1 / 13 / 4; }
    }
}

/* header/nav */
@media screen and (min-width: 992px){
    button.hamburger-menu, .navigation-header .social {
      display: none;
  }
    ul#menu-main-menu {
      display: flex;
      justify-content: space-between;
    }
  }
@media screen and (max-width: 991px) {
    .logo img {
      height: 40px !important;
  }
  button.hamburger-menu {
    margin: 0 !important;
  }
  .navigation-header {
    padding: 20px !important;
    justify-content: space-between !important;
  }
  .navigation-wrapper {
    opacity: 1 !important;
    margin-left: 0% !important;
    z-index: 999999;
    position: fixed !important;
    top: 20px !important;
    width: 90% !important;
  }
  .navigation-wrapper.hide-on-scroll {
    margin-top: -200px !important;
  }
  .nav-item .dropdown-menu.active {
    display: block !important; 
  }
    .navigation-wrapper.open {
      justify-content: flex-start !important;
  }
}

.logo img {
    height: 50px;
  }

  .navigation-wrapper {
    position: relative;
    display: flex;
    gap: 0px;
    border-radius: 10px;
    background: rgba(41, 79, 114, 0.80);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: width 1s ease-in-out, opacity 0.4s ease-in-out, margin-top 0.4s ease-in-out, height 0.4s ease-in-out;
    width: calc(100vw - 40px);
    justify-content: space-between;
    top: 20px;
    left: 20px;
  }
  .navigation-wrapper.open {
      width: calc(100vw - 40px);
  }
  .navigation-header:nth-child(1) {
    border-radius: 10px 10px 10px 10px;
    position: relative;
    z-index: 1;
  }
  .navigation-header:nth-child(2) {
    border-radius: 0px 10px 10px 0px;
    position: relative;
    z-index: 0;
    transition: all 0.3s ease-in-out;
    width: 70%;
  }
  .navigation-links, .main-navigation {
    width: 100%;
  }
  .navigation-wrapper.open .navigation-header:nth-child(2) {
    transform: translate(0%);
  }
  .navigation-wrapper.open .navigation-header:nth-child(1) {
    border-radius: 10px 0px 0px 10px;
  }
  .navigation-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
    gap: 60px;
  }
  .navigation-wrapper.open .hamburger-menu span:nth-child(2) {
    display: none;
  }
  .hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    padding: 0;
    margin: 0.4em 1em;
    height: 25px;
    width: 40px;
  }
  
  .hamburger-menu:hover,
  .hamburger-menu:focus,
  .hamburger-menu:active {
    background: none;
  }
  
  .navigation-wrapper.open .hamburger-menu span:nth-child(2) {
    opacity: 0;
  }
  
  .navigation-wrapper.open .hamburger-menu span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    width: 25px;
  }
  
  .navigation-wrapper.open .hamburger-menu span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
  }
  
  .hamburger-menu span:nth-child(2) {
    top: 10px;
  }
  
  .hamburger-menu span:nth-child(3) {
    top: 20px;
  }
  
  .hamburger-menu span:nth-child(1) {
    top: 0px;
    width: 15px;
  }
  .hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease-in-out;
    position: absolute;
  }
  ul#menu-main-menu {
    margin: 0;
  }
  .navigation-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1.25px;
    font-size: 18px;
  }
  .navigation-links a:hover {
    color: var(--gold);
  }

  @media screen and (max-width: 991px) {
    .navigation-wrapper {
      flex-direction: column;
      height: 12%;
      max-height: 85px;
    }
    html:has(.open) {
      overflow: hidden;
    }
    .open.navigation-wrapper {
      height: 95%;
      max-height: 3000px;
      background: rgba(41, 79, 114, 0.98);
    }
    .navigation-header .social {
      display: flex;
      gap: 20px;
      margin-top: 20px;
    }
    .navigation-header:nth-child(2) {
      transform: translateY(-170%);
      display: block;
    }
    .navigation-wrapper.open .navigation-header:nth-child(1) {
      border-radius: 10px 10px 0px 0px;
    }
    .navigation-header:nth-child(2) {
      border-radius: 0px 0px 10px 10px;
      margin-top: -2px;
      padding: 0px !important;
    }
    .navigation-header:nth-child(2), .navigation-links,  .navigation-links a, .navigation-wrapper {
      transition: all 0.5s ease-in-out;
    }
    .open .navigation-header:nth-child(2) {
      padding: 20px !important;
    }
    .navigation-links {
      flex-direction: column !important;
  }
    .navigation-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 0px !important;
      width: 100%;
    }
    .navigation-links a {
      margin: 0;
      font-size: 0px;
      font-weight: 400;
    }
    .open .navigation-links a {
      font-size: 18px;
    }
}
/* Override rule that hides nav when .open is present */
body:has(.open) .navigation-wrapper {
  display: flex !important;
}
.navigation-wrapper {
    z-index: 999999;
    margin-top: 0px;
    position: fixed;
  }
  .navigation-wrapper.hide-on-scroll {
    opacity: 0;
    margin-top: -150px;
  }
  body.done {
    overflow-y: auto !important;
  }
  .navigation-wrapper.ready {
    opacity: 1;
    margin-left: 0%;
    top: 20px;
    z-index: 9999;
  }

/* Navigation dropdown styles */
.navigation-links {
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 20px;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(41, 79, 114, 0.95);
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #B5834C;
}

/* Mobile dropdown adjustments */
@media screen and (max-width: 991px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0;
        border-radius: 5px;
        display: none;
    }

    .nav-item {
        width: 100%;
        margin: 10px 0;
    }

    /* Nav item with dropdown - flex layout for link + toggle */
    .nav-item.has-dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-item.has-dropdown .dropdown-menu {
        width: 100%;
    }

    /* Dropdown toggle button */
    .dropdown-toggle {
        background: none !important;
        border: none;
        cursor: pointer;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-toggle .toggle-icon {
        position: relative;
        width: 16px;
        height: 16px;
    }

    /* Plus icon - horizontal line */
    .dropdown-toggle .toggle-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    /* Plus icon - vertical line */
    .dropdown-toggle .toggle-icon::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        background-color: #fff;
        transform: translateX(-50%);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Minus icon when open - hide vertical line */
    .nav-item.has-dropdown.dropdown-open .dropdown-toggle .toggle-icon::after {
        opacity: 0;
        transform: translateX(-50%) rotate(90deg);
    }

    .dropdown-menu a {
        padding: 15px 20px;
        font-size: 16px;
    }
}

/* Hide toggle button on desktop */
@media screen and (min-width: 992px) {
    .dropdown-toggle {
        display: none;
    }
}

  /* footer */
  .footer {
    background-image: url("/wp-content/uploads/2025/04/086ca9436596da2b55f3acf604e55ca0-scaled.jpeg");
    background-size: cover;
    background-position: center;
  }
  .footer-overlay {
    background-color: rgb(9, 32, 53, 0.94);
    padding: 20px;
    position: relative;
  }
  .footer-gradient {
    width: 100%;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(9, 32, 53, 0.98) 0%, rgba(41, 79, 114, 0) 100%);
  }
  .footer-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .footer-card {
    background-color: #294F72;
    background-image: url('/wp-content/uploads/2025/04/c6fbca958fba85e573806864ce9d603c9adc1540-copy.png');
    background-size: 150%;
    height: 700px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.25);
    width: 50%;
    background-repeat: no-repeat;
  }
  .footer-card:nth-of-type(1) {
    background-position: 150% 90%;
  }
  .footer-card:nth-of-type(2) {
    background-position: -50% 10%;
  }
  .footer-card h3 {
    font-size: 48px;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
  }
  .footer-card p {
    font-size: 36px;
    font-family: "Titillium Web", sans-serif;
    line-height: 1.2;
    color: #fff;
  }
  .footer-card button {
    background-color: #B5834C;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.25);
    padding: 14px 56px;
    border-radius: 110px;
    transition: all 0.3s ease-in-out;
    align-self: flex-start;
  }
  .footer-card button a {
    color: #000;
    font-size: 18px;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    text-decoration: none;
  }
  .main-footer {
    padding: 100px 0;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
  }
  .footer-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-top: 1px solid #294f72;
    border-bottom: 1px solid #294f72;
    width: 100%;
    margin: 100px 0;
    padding: 40px 0;
  }
  .footer-menu .social {
    display: flex;
    gap: 20px;
  }
  .footer-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 22px;
    font-family: "Titillium Web", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
  }
  .main-footer .copyright p {
    color: #fff;
    font-size: 16px;
    font-family: "Titillium Web", sans-serif;
    margin: 20px 0;
    text-align: center;
  }
  .main-footer a:hover {
    color: var(--gold);
  }
  .footer-card button {
    border: 2px solid #B5834C;
  }
  .footer-card button:hover {
    background: #fff;
    color: #B5834C;
  }
  .footer-card button:hover a {
    color: #B5834C;
  }
  @media screen and (max-width: 1200px) and (min-width: 992px){
    .footer-card button {
        font-size: 14px !important;
        padding: 14px 56px !important;
      }
      .footer-card button a {
        font-size: 14px !important;
      }
  }
  @media screen and (max-width: 991px){
    .footer-card button {
        font-size: 14px !important;
        padding: 14px 56px !important;
      }
      .footer-card button a {
        font-size: 14px !important;
      }
      .footer-cards {
        flex-direction: column !important;
      }
      .footer-card {
        height: 335px !important;
        padding: 25px !important;
        width: 100% !important;
      }
      .footer-card h3 {
        font-size: 28px !important;
      }
      .footer-card p {
        font-size: 21px !important;
      }
      .footer-card button {
        padding: 14px 56px !important;
        font-size: 14px !important;
      }
      .footer-menu {
        gap: 15px !important;
        margin: 50px 0 !important;
        flex-direction: column !important;
      }
      .footer-menu a {
        font-size: 14px !important;
        font-weight: 400 !important;
      }
  }

.kt-blocks-accordion-title img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

span.kt-blocks-accordion-title:has(img) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
}

span.kt-blocks-accordion-icon-trigger {
  margin-right: 20px !important;
}

.shadow-icon img {
  margin: 0px 0px -80px -100px;
}

.mapp-thumbnail img {
    height: 100%;
}

.kt-blocks-accordion-header:active, .kt-blocks-accordion-header:focus {
    background-color: var(--global-palette8, #f2f2f2);
}

body:has(.post-modal.show) a#kt-scroll-up {
    display: none;
}