@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
    --primary-colour: #cc8b2d;
    --secondary-colour: #221b16;
}

@font-face {
  font-family: 'Gilroy-Extra Bold';
  src: url('webfonts/gilroy-extrabold.woff2') format('woff2'),
       url('webfonts/gilroy-extrabold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.primary-text{
    color:var(--primary-colour);
}

.secondary-text{
    color:var(--secondary-colour);
}

.primary-bg{
    background-color:var(--primary-colour);
}

.secondary-bg{
    background-color:var(--secondary-colour);
}

html, body {
    margin: 0;
    padding: 0;
    background-color:var(--secondary-colour);
}


body, caption, span{
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}


p {
    font-size: clamp(1rem, 1vw, 2rem);
}

:lang(en) {
    font-family: "Inter", sans-serif;
}


p:lang(en) {
    font-weight: 300;
}


h1, h2, h3 {
    font-family: 'Gilroy-Extra Bold';
}


h1 {
    text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 25px 0;
    font-weight: 700;
}

a {
    font-weight: 300;
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: var(--primary-colour);
}

th, td, i {
    color: #414042;
}


.bevel {
    position:relative;
    box-shadow: inset 0.1em 0.1em 0.1em 0 rgba(255, 255, 255, 0.2), inset -0.1em -0.1em 0.1em 0 rgba(0, 0, 0, 0.5);
}

.bevel:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    background: linear-gradient(-25deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 1) 100%);
    opacity: 0.1;
    background-blend-mode: overlay;
}

.header-footage {
    position: relative;
    overflow: hidden;
}


@media only screen and (min-width: 1024px) {
    .header-footage {
        aspect-ratio: 16 / 6;
    }
    header .top-bar, header .top-bar ul {
        display: flex;
        justify-content: space-between;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .header-footage {
        aspect-ratio: 16 / 9;
    }

    header .top-bar, header .top-bar ul {
        display: flex;
        justify-content: space-between;
    }
}

@media only screen and (max-width: 767px) {
    .header-footage {
        aspect-ratio: 1 / 1;
    }
    .top-bar{
        display:none;
    }
    .dialog-content {
        transform: translate(-50%, -50%) scale(0.7)!important;
    }
}

.header-footage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.overlay-pattern:before {
    content: '';
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    background-blend-mode: multiply;
}


.header-description {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.header-footage:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(34, 27, 22, 0) 0%, rgba(34, 27, 22, 0.38) 80%, rgba(34, 27, 22, 1) 100%);
    background-blend-mode: multiply;
    opacity: 1;
}


.header-description h1, .header-description h2, .header-description h3, .header-description h4, .header-description h5, .header-description h6, .header-description{
    color:#fff;
    text-align: center;
    text-transform: uppercase;
}

.header-description h2{
font-size: clamp(2rem, 4vw, 4rem);
line-height: 0.9;
}

.header-description h5 {
    font-size: clamp(1rem, 2vw, 2rem);
    line-height: 0.9;
    letter-spacing: 0.1em;
}

.btn {
    margin: 1em 0;
    border-radius: 999px;
    padding: 10px 10%;
    background-color: var(--primary-colour);
    -webkit-transition: background 1s; /* For Safari 3.0 to 6.0 */
    transition: background 1s; /* For modern browsers */
    border:2px solid var(--primary-colour);
    font-weight: bold;
    color: #fff;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-colour);
    font-weight: bold;
}

@keyframes fadeMove {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(20px); } /* Fade in + Move down */
    100% { opacity: 0; transform: translateY(0); } /* Fade out + Move up */
}

.shake {
    display: inline-block;
    animation: fadeMove 2s ease-in-out infinite;
}


.section .shake a {
    display: inline-block;
    width: 30px;
    height: 64px;
    text-indent: -9999px;
    overflow: hidden;
    background: url(../images/scroll.svg) no-repeat center top;
    background-size: 30px auto;
    cursor: pointer;
}

.bottom-icon {
    position: relative;
    bottom: 0;
    width: 50px;
    margin-top: 0.5em;
    z-index:999;
}


img.custom-logo {
    display: block;
    width: 100%;
    height: 100%;
    margin: auto auto;
    max-width: 300px;
}

span.display-name {
    color: #fff;
}

.widget-title{
    text-align:center;
    text-transform:uppercase;
}



#frontpage-sidebar1 a, #product-archive-sidebar a {

    font-size: medium;

    font-weight: 600;

}

hr {
   border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
}



header {
    z-index: 2;
    width: 100%;
}


ul.menu {
    padding: 0;
}


#frontpage-sidebar1 a, #product-archive-sidebar a {
    font-size: medium;
    font-weight: 600;
}

header .top-bar, header .top-bar ul {
    list-style: none;
}

header .top-bar a{
    text-transform: uppercase;
    font-weight: bold;
}

header .top-bar li .sub-menu {
    display: none;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    background:#212529;
    margin: 3.25em 0 0 0;
    padding: 0;
    list-style-type: none;
    width: 15em;
}

header .top-bar li .sub-menu a{
    color: #fff;
    padding: .25rem;
    text-align: center;
    display: block;
    text-decoration: none;
}

header .top-bar > .menu-item-has-children:hover > .sub-menu{
display: block;
}

header .top-bar .menu-item-has-children .sub-menu > .menu-item-has-children:hover .sub-menu {
    display: block;
}

header .top-bar .sub-menu li .sub-menu{
    top: 0;
    left: 100%;
}

footer {
    background-color:#fff;
    color:var(--secondary-colour);
    padding:3em 0;
}

footer a, footer span{
    color:var(--secondary-colour);
}

.footer-title {
    color:var(--secondary-colour);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: small;
    margin-bottom:1em;
}

.footer-title:before {
    content: '|';
    margin: 0 10px 0 0;
    color: var(--primary-colour);
    font-size: x-small;
    vertical-align: text-top;
}

.page-title {
    font-family: Gilroy-Extra Bold;
    font-size: clamp(16px, 10vw, 80px);
    line-height: 1;
    text-transform: uppercase;
    display: inline-block;
}

.page-title span {
    display: block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.dropdown-toggle img {
    height: 20px;
    margin-right: 10px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 80%;
    z-index: 10;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #2b2f33;
    border: 0;
    border-radius: 0 10px 10px 0;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-item {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-item img {
    height: 20px;
    margin-right: 10px;
}

.dropdown-item:hover {
    background-color: #009696;
}

.dropdown-arrow {
    margin-left: auto;
}



.divider {
    display: flex;
    align-items: center;
    color: #414448;
    padding: 0 5px;
    font-weight: lighter;
    user-select: none;
    font-size: 2em;
}


#service-archive{
    margin:3em 0 1em 0;
}


#service-archive .service-items{
    position:relative;
}

#service-archive img {
    filter: brightness(0.5) grayscale(0.1);
}


.thumbnail-caption {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 5% 2%;
    text-align: center;
}

.page-featured-image{
    margin:3em 0 1em 0;
}

.page-featured-image img.responsive-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.round-border{
    border-radius: 10px;
    overflow:hidden;
}

#service-list{
    margin:3em auto;
    max-width: 1024px;

}

#service-list .service-items{
    display:flex;
    padding:5%;
    background-color:#2b2f33;
}

#service-list .service-items div{
    margin:auto 0;
    padding:1%;
    font-weight: bold;
}


#business-widget {
    max-width: 1024px;
    margin: 10em auto;
}

#business-widget div{
    margin: auto 0;
}


.thumbnail-container {
    width: 90%;
    position: relative;
    z-index: 1;
}

.thumbnail-container .round-border:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    right: -10%;
    bottom: -10%;
    z-index: -1;
}


#our-branches{
    margin: 5em auto;
}

#our-branches .round-border{
    margin-bottom: 1em;
    position:relative;
}


@media only screen and (max-width: 767px) {
    #our-branches .branch {
        aspect-ratio: 16 / 9;
    }
}

#our-branches .round-border:hover > .overlay {
    display: block !important;
}

#our-branches .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display:none;
}


#our-branches .overlay-content {
    width:100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
}

.overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2e3192;
    opacity: 0.5;
    z-index: -1;
}


.object-cover {
    object-fit: cover;
}
.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.latest-videos{
    margin: 5em auto;
}

.menu-logo {
    margin: 0em 2em 2em 2em;
    z-index: 1;
    position: relative;
}


.green-checked {
    list-style-type: none;
    padding-left: 1.5em; /* spacing for icon */
    position: relative;
}

.green-checked::before {
    content: '\f00c'; /* Font Awesome checkmark icon */
    font-family: 'Font Awesome 6 Free'; /* or 'FontAwesome' */
    font-weight: bold;
    color: #47e513;
    position: absolute;
    left: 0;
    top: 0.1em;
}


#social-group {
    position: absolute;
    top: 50%;
    left: 0.85em;
    transform: translateY(-50%);
    z-index: 1;
    width: 45px;
    font-size: x-large;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    height: 82%;
    justify-content: center;
}

.social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.vertical-line,
.spacer-line {
    width: 1px;
    background-color: #fff;
}

.vertical-line {
    flex: 1;
    margin-bottom: 0.5em;
}

.spacer-line {
    flex: 1;
    margin-top: 0.5em;
}

.bottom-icon img {
    margin-top: 0.5em;
}


#social-group i {
    padding: 0.2em;
}




#image-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.popup-bg {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}
.popup-content {
    position: relative;
    max-height: 100vh;
    max-width: 90vw;
    z-index: 10000;
    overflow: auto; /* optional, if content exceeds */
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content img {
    max-height: 100vh;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
}


@keyframes pulse {
    0% { background-color: #f0f0f0; }
    50% { background-color: #e0e0e0; }
    100% { background-color: #f0f0f0; }
}



.post-thumbnail {
    aspect-ratio: 16 / 3;
    min-height: 300px;
    overflow: hidden;
    position:relative;
}

.post-thumbnail img{
    object-fit: cover;
    width:100%;
    height:100%;
    filter: brightness(0.5);
}


.post-container {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    color: #24252a;
    padding:0;
    height:100%;
}

.post-container .text-box{
    padding:5%;
}

.post-container h2{
    color: #24252a;
    margin: 0 0 10px 0;
    text-align: center;
}


#tag-filter-bar {
    margin: 2em 0;
}

#tag-filter-bar a {
    padding: 0.5em;
    background-color: var(--primary-colour);
    margin: 0.5em;
    border-radius: 7px;
    font-size: small;
    font-weight: bold;
}



::marker {
    color: var(--primary-colour);
}





.flowchart {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 4rem;
      max-width: 1200px;
      margin: auto;
    }

    .flow-step {
      background: white;
      padding: 2%;
      border-radius: 5px;
      border-left: 5px solid #00c292;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      flex: 1 1 382px;
      position: relative;
      margin:0;
    }

    .flow-step::after {
      content: '\f054';
      position: absolute;
      font-family: fontawesome;
      right: -1.8rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: #00c292;
    }

    .flow-step:last-child::after {
      content: '';
    }

    .flow-step h4 {
      margin: 0 0 0.5rem;
      font-size: 1.2rem;
      color: #333;
    }

    .flow-step p, .flow-step li {
      font-size: 0.95rem;
      color: #666;
    }

    @media (max-width: 768px) {
      .flowchart {
        flex-direction: column;
        gap: 3rem;
      }

      .flow-step::after {
        content: '\f078';
        font-family: fontawesome;
        right: 50%;
        top: auto;
        bottom: -3rem;
        transform: translateX(50%);
        color: #00c292;
      }

      .flow-step .icon-box {
        aspect-ratio: 1/1;
      }

      .flow-step:last-child::after {
        content: '';
      }
    }

.tagline h6 {
    font-size: 5rem;
    margin: 0;
}


.dialog-box{
    position:relative;
}

.dialog-content {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5% 10%;
    width: 100%;
    text-shadow: 2px 2px 5px rgb(0, 0, 0, 0.5);
}

#menu-header-menu-2{
    list-style: none;
}

#menu-header-menu-2 li :before {
    content: '\f054';
    font-family: 'FontAwesome';
    margin-right: 1em;
    color: var(--primary-colour);
}

#menu-header-menu-2 li {
    margin-bottom:1em;
}

.btn:focus{
    outline: none;
}

.post-thumbnail .entry-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}