@font-face {
    font-family: 'Barlow Condensed';
    src: url('fonts/BarlowCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Ensures text remains visible during font loading */
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('fonts/BarlowCondensed-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap; /* Ensures text remains visible during font loading */
}

body {
    font-family: 'Barlow Condensed', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

* {
    box-sizing: border-box;
}

header {
    background: #333;
    color: #fff;
    text-align: center;
    position: fixed;
    height: 120px;
    font-family: 'Barlow Condensed', sans-serif;
    width: 100%;
    font-weight: 600;
    font-size: 20px;
    z-index: 99999999999;
}

.logo {
    position: absolute;
    left: 24px;
    top: 26px;
    width: 100px;
}

.logo img {
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: 120px;
    display: flex;
}

nav ul li {
    display: flex;
    align-items: center; /* Center align items */
}

nav ul li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    color: #fff;
    text-decoration: none;
    margin-bottom: -0.5px; /* Adjust as needed */
}

nav ul li a:hover {
    color: black;
    background: white;
    text-decoration: none;
}

nav ul li a.active {
    color: black;
    background: white;
    text-decoration: none;
}

.hamburger {
    display: none; /* Change to block to make it visible */
    position: absolute;
    top: 1em;
    right: 1em;
    cursor: pointer;
    z-index: 1000;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.menu-active .hamburger .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-active .hamburger .line2 {
    opacity: 0;
}

.menu-active .hamburger .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}


.menu-active nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    padding-top: 50px;
}

.menu-active nav ul {
    flex-direction: column;
}

.menu-active nav ul li {
    margin: 1em 0;
}

.content {
    display: flex;
    flex-wrap: wrap;
    padding: 2em;
}

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

.left-img, .right-img {
    flex: 1;
    margin: 1em;
}

.text-content {
    flex: 2;
    padding: 1em;
}

footer {
    background: #333;
    color: #fff;
    text-align: left;
    padding: 48px 36px 96px 36px;
    width: 100%;
    bottom: 0;
    margin: 0; /* Ensure no external margin */
    overflow: hidden; /* Hide any content that might exceed its width */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

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

a:hover { 
    color: #fff;
    text-decoration: underline;
}

.hero {
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1em;
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/shard.webp'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
}

.hero2 {
    position: relative;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 1em;
    width: 100%;
    height:375px;
    padding-top: 150px;
    background-image: url('images/what-we-do.webp'); /* Replace with your image URL */
    background-size: cover;
    background-position: center center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 70% black overlay */
    z-index: 999;
}

.hero2 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 70% black overlay */
    z-index: 999;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 36px;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
    }
    nav {
        display: none;
    }

    nav ul li a.active {
        color: black;
        background: white;
        text-decoration: none;
        padding: 12px 24px;
        display: block;
    }
}

.one-column-row {
    background-color: #000000;
    padding: 36px;
    width: 100%;
    color: #fff;
    font-size:24px;
    line-height: 28px;
}

.two-column-row {
    background-color: #222222;
    padding: 36px 0;
    width: 100%;
    color: #fff;
}

.two-column-row-alt {
    background-color: #000000;
    padding: 36px 0;
    width: 100%;
    color: #fff;
}

.two-column-row-alt2 {
    background-color: #fff;    
    padding: 36px 0;
    width: 100%;
    color: #000;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Vertically centers the flex items */
    align-items: center; /* Horizontally centers the flex items */
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.column {
    padding: 0 24px;
}

.left-column {
    width: 40%;
}

.left-column-alt {
    width: 60%;
    color: #fff;
    font-size: 18px;
    line-height: 24px;
}

.right-column {
    width: 60%;
    font-size: 18px;
    line-height: 24px;
}

.right-column-alt {
    width: 40%;
}

.imgholder {
    position: relative; 
}

.caption {
    position: absolute;
    bottom: 0;
    margin-left: 24px;
    left: 0;
    z-index: 101;
    padding: 5px 10px 7px;
    font-size: 85%;
    font-style: italic;
    opacity: 0.8;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
}

h1 {
    display: block;
    color: #fff;
    font-size: 55px;
    line-height: 62px;
    text-transform: uppercase;
    max-width: 800px;
    z-index: 999999;
}

h1 .bigger {
    font-size: 70px;
    line-height: 80px;
}

.hero2 h1::before {
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    margin-bottom: 15px;
    background-color: #fff;
}

.hero2 h1::after {
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    margin-top: 15px;
    background-color: #fff;
}

.hero2 h1 {
    color: #fff;
}

h2 {
    display: block;
    color: #fff;
    font-size: 36px;
    line-height: 40px;
    text-transform: uppercase;
    padding: 0 0 24px 0;
    margin: 0;
}

.two-column-row-alt2 h1, .two-column-row-alt2 h2 {
    color: #000;
}

h1.whiteme {
    color: #fff;
}


h1.whiteme::before, h1.whiteme::after {
    background-color: #fff;
}


.left-column img, .right-column img, .left-column-alt img, .right-column-alt img {
    width: 100%;
    height: auto;
    display: block;
}

.grid-row {
    background: #888;
    width: 100%;
    padding: 36px 0;
    margin: 0; /* Ensure no external margin */
    overflow: hidden; /* Hide any content that might exceed its width */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1400px;
    padding: 24px;
}

.image-grid .item {
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.image-grid .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-grid .image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease-in-out;
    transform: scale(1);
    transform-origin: center;
}

.image-grid .item:hover .image img {
    transform: scale(1.05); /* Zoom in effect */
}

.conscrict {
    padding: 48px !important;
}

.conscrict .caption {
    left: 24px;
    bottom: 48px;
}

@media (min-width: 1200px) {
    .image-grid .item {
        flex: 0 0 16.6666667%;
        max-width: 16.6666667%;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .image-grid .item {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 767px) {
    .image-grid .item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .conscrict {
        padding:0 !important;
    }

    .conscrict .caption {
        left: 0;
        bottom: 0;
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    h1 {
        font-size: 36px;
        line-height: 40px;
    }

    h1 .bigger {
        font-size: 46px;
        line-height: 50px;
    }

    h2 {
        font-size: 30px;
        line-height: 34px;
    }

    .hero2 {
        height: 275px;
    }

    .container {
        flex-direction: column;
    }

    .text-image  .left-column-alt {
        order: 2;
    }

    .text-image  .right-column-alt {
        order: 1;
    }

    .left-column, .right-column, .left-column-alt, .right-column-alt {
        width: 100%;
        padding: 12px 24px;
    }

    .caption {
        bottom: 12px;
    }
}
.cookie-banner, .cookie-reopen {
    position: fixed;
    bottom: 0;
    background-color: rgba(255,255,255,0.8);
    padding: 4px 10px;
    text-align: center;
    z-index: 999999999999;
}

.cookie-banner {
    font-size: 12px;
}

.cookie-banner p {
    display: inline-block;
}

@media (max-width: 767px) {
    .cookie-banner p {
        display: block;
    }
}

.testing {
    font-size: 24px;
}

.cookie-banner button {
    font-size: 12px !important;
}

.cookie-banner a{
    color: #000;
}

.cookie-banner a:hover {
    color: #000;
    text-decoration: underline;
}

.cookie-banner {
    width: 100%;
}
.cookie-reopen {
    width: 100px;
    font-size: 12px;
    right: 0;
}

.cookie-banner {
    display: none;
}
.cookie-reopen {
    display: none;
    background-color: #333;
    color: #fff;
    cursor: pointer;
}
.cookie-banner button {
    margin: 0 5px;
}