/*
	cFront CSS Framework
	author: cFront (sabn)
	created: 230926
*/

:root {
    
    --ink: #050B11;
    --ink2: #21282E;
    --deep-red: #BF1A49;


    --dusk-blue: #017FA1;

    --grey-400: #9aaba3;
    --radius: 8px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 4px rgba(30, 45, 61, 0.07);

    --maxw: calc(100% - 4rem);
    --gap: 2rem;

}

* {box-sizing:border-box;}

html {
    overflow-y:visible;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "neuzeit-grotesk", sans-serif;
    color:var(--ink);
}

.no-hero {
    margin-top:140px;
}

p {
    line-height:1.5rem;
}

h1, h2, h3, h4, h5 {
    font-family: "neuzeit-grotesk", sans-serif;
}

h2 {
    font-size:2rem;
}

a {
    color:var(--dusk-blue);
}

h2.title-main {
    font-weight: 400;
    font-size: 4rem;
    max-width: 80%;
    margin:3rem 0;
    position:relative;
}

h2.title-main::after {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 0;
    width: 40%;
    height: 4px;
    background-color: var(--dusk-blue);
}

.work-page h2.title-main::after {
    display:none;
}

.work-intro {
    margin-bottom: 3rem;
}

.work-intro p {
    max-width: 1024px;
    width: 60%;
}

h5.section-subtitle {
    font-weight:500;
    font-size:1.2rem;
    margin:4rem 0;
    max-width: 140px;
}

.work h5.section-subtitle {
    font-weight:500;
    font-size:1.2rem;
    margin:0 0 4rem 0;
}

.fw-split svg {
    display:block;
    width:100%;
    max-width:90%;
    margin:5rem auto;
}

.page-hero-text {
    font-size:2rem;
    text-align:left;
    max-width:900px;
    margin:0 auto;
}

.page-hero-text p {
    line-height:2.5rem;
}

strong {
    font-weight: 600;
}

#scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100px; /* how far to scroll before the change kicks in */
  pointer-events: none;
}

header.is-scrolled {
  background: #094D72;
background: linear-gradient(90deg, rgba(9, 77, 114, 1) 0%, rgba(188, 138, 176, 1) 21%, rgba(32, 45, 79, 1) 48%, rgba(210, 114, 105, 1) 76%, rgba(197, 233, 237, 1) 99%);
opacity:0.9;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index:10;
    transition:.5s;
}

header .logo {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

header .logo svg {
    display: block;
    width:100px;
}

header.is-scrolled .logo {
  opacity: 1;
  visibility: visible;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap:2rem;
}

.col-md-3 {
    flex: 0 0 auto;
    width: calc(25% - var(--gap));
}

.col-md-6 {
    flex: 0 0 auto;
    width: calc(50% - var(--gap));
}

.col-md-9 {
    flex: 0 0 auto;
    width: calc(75% - var(--gap));
}

.col-md-4 {
  width: calc(33.333% - var(--gap));
}

.col-md-5 {
  width: calc(5 / 12 * 100% - var(--gap));
}

nav {
    margin: 0 auto;
    width: fit-content;
    font-size:1.5rem;
}

nav ul {
    display: flex;
    gap: 6rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
}

.menu_btn {
    display:none;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:#ededed;
}

.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index:1;
}

.hero img {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
position: absolute;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo {
  max-width: 160px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

table {
    margin: 20px 0;
    border-collapse: collapse;
}

table td {
    border: 1px solid var(--dusk-blue);
    padding: 15px;
}

table th {
    white-space: nowrap;
    text-align: left;
    font-weight: 600;
    padding: 15px;
    border: 1px solid var(--dusk-blue);
    background:var(--dusk-blue);
    color:#ffffff;
    font-family: brandon-grotesque, sans-serif;
}

.intro.services-page .col-md-9 {
    margin:2rem 0 4rem 0;
} 

.intro.services-page .col-md-9 p {
    max-width:768px;
}

.strap {
    position: absolute;
    bottom: 3rem;
    width: 100%;
    font-size: 1.5rem;
}

.testimonials {
    padding: 4rem 0;
} 

.text-page p,
.testimonial {
    max-width: 800px;
}

.testimonial p {
    font-size: 1.3rem;
    font-weight: 200;
    line-height: 2rem;
    margin: 2.5rem 0 2rem 0;
}

.work-item {
    background: #EDEDED;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    position: relative;
}

.work-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-name {
    position: absolute;
  bottom: 0;
  left: 0;
  padding:1rem;
  color:#FFFFFF;
}

footer {
    padding: 4rem 0 1rem 0;
    background:#ededed;
    background-size: cover;
    background-position: left bottom;
    color:#FFFFFF;
}

footer a {
    text-decoration:none;
    color:#FFFFFF;
}

footer a:hover {
    text-decoration:underline;
    color:#FFFFFF;
}

footer p {
    max-width:440px;
    line-height: 1.5rem;
    margin: 2rem 0;
}

footer .social {
    display: flex;
    gap: 1.3rem;
    margin: 2rem 0;
}

footer .social a {
    text-decoration:none;
}

footer .social a svg {
    fill:#FFFFFF;
    width:18px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    padding-bottom:4rem;
}

.vcard {
    display: flex;
    align-items: flex-end;
}

.addr {
    text-align:right;
}

.addr span {
    display: block;
    font-size: 1rem;
    line-height:1.5rem;
}

.addr .org {
    font-weight:600;
    font-size:2.4rem;
    margin-bottom: 1rem;
}

.contacts a {
    display: block;
    margin: 0.5rem 0;
}

.hit {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.base {
    display:flex;
    gap:2rem;
    font-weight:300;
}

.menu_lines {
    width: 48px;
    height: 48px;
    margin: auto auto auto 10px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 16px 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    background: #0a4f73;
    border-radius: 50%;
	transition:0.7s;
}

.menu_lines .line {
    background: #fff;
    width: 26px;
    height: 2px;
    -webkit-transition: all .3s;
    transition: all .3s;
    margin:3px 0;
    flex-grow:0;
    flex-shrink:0;
}

.menu_lines:hover {
    background:#001b27;
}
.menu_btn.link:hover .menu_lines .line:nth-of-type(2) {
    width: 18px; 
}

.menu_btn.open {
    display: none;
}

.close_nav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: none;
    color: #FFFFFF;
    align-items: center;
}

.menu-cross{
    display:block;
    background: #0a4f73;
    transition:0.7s;
    pointer-events:none;
    position: relative;
    width: 48px;  
    height: 48px;
    border-radius: 50%;
}

.menu-cross .crossline {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;          /* length of each line */
  height: 2px;          /* thickness */
  background: currentColor;
  transform-origin: center;
  pointer-events:none;
}

.menu-cross .crossline:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-cross .crossline:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}


.dot_cursor {
	position: absolute;
	background-color: rgba(255,255,255,0.5);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	z-index: 1;
	transition: 0.5s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform, 0.5s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity;
	user-select: none;
	pointer-events: none;
	z-index: 10000;
	transform: scale(1);
}

.dot_cursor.blackc {
    background-color: rgba(0, 171, 225,0.5);
}

.dot_cursor.active {
	opacity: 1;
	transform: scale(2.5);
}

.dot_cursor.hovered {
	opacity: 0.08;
}

#mapCanvas {
	min-height: 600px;
    height:100%;
    position: relative;
    width: 100%;
	text-align:center;
}

@media all and (max-width: 600px) {

    header .logo {
      top: 24px;
    }

    .menu_btn {
        position:absolute;
        top: 1rem;
        right: 1rem;
        display:flex;
        color:#FFFFFF;
        align-items: center;
    }

    nav.open {
        display: block;
    }

    nav.open .close_nav {
        display: flex;
    }

    nav {
        position: absolute;
        display:none;
        top: 0;
        left: 0;
        width: 100%;
        background: #002c37ab;
        padding: 2rem;
    }

    nav ul {
        display: flex;
        gap: 2rem;
        list-style-type: none;
        margin: 0;
        padding: 0;
        flex-wrap: wrap;
    }

    nav ul li {
        width: 100%;
    }

    header {
        height: 76px;
    }

    .hero {
        min-height: 40vh;
    }
        
    .hero__overlay img,
    .hero__overlay svg {
        width:100%;
        display:block;
    }

    .strap {
      font-size: 1.2rem;
    }

    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-9 {
        width: 100%;
    }

    h5.section-subtitle {
       margin: 2rem 0;
    }

    h2.title-main {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .base,
    .footer-row {
        flex-wrap: wrap;
    }

    .addr {
        text-align: left;
    }

}