/* ***** 52impact stylesheet ************************* */
/* ***** Author: Sabine de Milliano ****************** */

/* ***** Custom fonts ******************************** */
@font-face { font-family: 'Overpass'; src: url('../fonts/overpass-regular-webfont.woff2') format('woff2'), url('../fonts/overpass-regular-webfont.woff') format('woff'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Overpass ExtraLight'; src: url('../fonts/overpass-extralight-webfont.woff2') format('woff2'), url('../fonts/overpass-extralight-webfont.woff') format('woff'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Overpass Thin'; src: url('../fonts/overpass-thin-webfont.woff2') format('woff2'), url('../fonts/overpass-thin-webfont.woff') format('woff'); font-weight: normal; font-style: normal; }

/* ***** Global settings and reset ******************* */
body, div, img, p, h1, h2, h3, em, span, a, ul, li { margin: 0em; padding: 0em; border: 0em; outline: 0em; line-height: 1.5em; }
html, body { height: 100%; background: #FFFFFF; font-family: 'Overpass Thin', sans-serif; font-size: 15px; color: #052555; -webkit-text-size-adjust: 100%; }

/* ***** Content settings **************************** */
h1 { font-family: 'Overpass', sans-serif; font-size: 2.5em; font-weight: normal; line-height: 2em; margin: 0em 0em 0.5em 0em; padding-bottom: 2%; border-bottom: 1px solid #008DDF; }
h1 .subtitle { display: block; font-family: 'Overpass Thin', sans-serif; font-size: 80%; text-align: left; color: #008DDF; }
h2 { font-family: 'Overpass ExtraLight', sans-serif; font-size: 1.4em; font-weight: normal; line-height: 1em; margin-bottom: 1em; }
h2.secondary { margin-top: 2em; }

/* Numbered steps styling */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin-bottom: 3%;
    margin-top: 3em;
}

.step-row {
    display: flex;
    align-items: center;
    gap: 2vw;
}

.numbered-step {
    max-width: 65%;
    flex: 1 1 0;
    position: relative;
    padding-left: 50px;
    margin: 0.5em 0;
}

.numbered-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 35px;
    height: 35px;
    background: #FFFFFF;
    border-radius: 50%;
    color: #052555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Overpass', sans-serif;
    font-size: 1.2em;
    font-weight: bold;
}

.step-image {
    width: clamp(60px, 8vw, 100px);
    height: clamp(60px, 8vw, 100px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.step-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* Adjust spacing for intro text blocks */
.block-darkblue .block-contents p.intro {
    margin-bottom: 1em;
}

.block-darkblue .block-contents .two-columns {
    margin-bottom: 1em;
}

h3 { font-family: 'Overpass ExtraLight'; font-size: 1em; font-weight: bold; margin: 1.5em 0em 0em 0em; }
div > h3:first-child { margin: 0em; }
p {	margin: 0em 0em 1.5em 0em; }
p img { width: 100%; }
p.intro { font-size: 1.3em; margin: 0em; }
ul { padding: 0em 0em 1.5em 1.3em; }
ul.intro { font-size: 1.3em; }
a { text-decoration: none; color: #008DDF; transition: all 0.25s ease-out; }
a:hover, a:focus, a:active { color: #25AFFF; }

/* ***** Generic elements **************************** */
.line { width: 100%; height: 1px; margin-bottom: 25px; border-bottom: 1px solid #008DDF; }
.little-inline-arrow { margin-right: 10px; display: inline-block; width: 0px; height: 0px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 9px solid #008DDF; }
.heading-only h2 { font-size: 1.8em; border-bottom: 1px solid #008DDF; padding-bottom: 25px; margin-bottom: 25px; }

/* ***** Image and CSS animations ******************** */
.scroll-fadein { opacity: 0; }
@keyframes kenburns { 0% { transform: scale3d(1, 1, 1); } 100% { transform: scale3d(1.25, 1.25, 1.25); animation-timing-function: ease-in; } }
@-webkit-keyframes pulse { 0% { -webkit-box-shadow: 0 0 0 0 rgba(255,255,255, 0.8); } 70% { -webkit-box-shadow: 0 0 0 50px rgba(255,255,255, 0); } 100% { -webkit-box-shadow: 0 0 0 0 rgba(255,255,255, 0); } }
@keyframes pulse { 0% {-moz-box-shadow: 0 0 0 0 rgba(255,255,255, 0.8); box-shadow: 0 0 0 0 rgba(255,255,255, 0.8); } 70% { -moz-box-shadow: 0 0 0 50px rgba(255,255,255, 0); box-shadow: 0 0 0 50px rgba(255,255,255, 0); } 100% { -moz-box-shadow: 0 0 0 0 rgba(255,255,255, 0); box-shadow: 0 0 0 0 rgba(255,255,255, 0); } }

/* ***** Block structure ***************************** */
.block-wrapper { width: 100%; position: relative; clear: both; float: left; }
.block-contents { margin: 0em auto 0em auto; width: 90%; max-width: 70em; position: relative; padding: 3% 0% 4% 0%; box-sizing: border-box; }
.block-contents.heading-only { padding: 3% 0% 0% 0%; }
.block-contents.follows-heading { padding: 0% 0% 4% 0%; margin-top: -1px; padding-bottom: 0%; }
.block-column { clear: both; position: relative; }
.two-columns .block-column { display: inline-block; vertical-align: top; width: 47.7%; margin: 0% 2% 0% 2%; }
.two-columns .block-column:first-child { margin: 0% 2% 0% 0%; }
.two-columns .block-column:last-child { margin: 0% 0% 0% 2%; }
.three-columns .block-column { display: inline-block; vertical-align: top; width: 30.35%; margin: 0% 2% 0% 2%; }
.three-columns .block-column:first-child { margin: 0% 2% 0% 0%; }
.three-columns .block-column:last-child { margin: 0% 0% 0% 2%; }
.four-columns .block-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 21.5%;
    margin: 0% 2% 0% 2%;
    text-align: left;
}
.four-columns .block-column:first-child { margin: 0% 2% 0% 0%; }
.four-columns .block-column:last-child { margin: 0% 0% 0% 2%; }

/* ***** Coloured blocks ***************************** */
.block-blue { background: #008DDF; color: #FFFFFF; }
.block-blue h1 .subtitle { color: #FFFFFF; }
.block-blue h1 { border-bottom: 1px solid #CCCCEE; }
.block-blue .heading-only h2 { border-bottom: 1px solid #CCCCEE; }
.block-blue a { color: #DDDDDD; }
.block-darkblue { background: #052555; color: #FFFFFF; }
.block-blue .little-inline-arrow, .block-darkblue .little-inline-arrow { border-left: 9px solid #FFFFFF; }

/* ***** Entrance block ****************************** */
.block-photo { height: 100%; position: relative; color: #FFFFFF; z-index: 4; overflow: hidden; }
.block-photo .block-background { height: 100%; width: 100%; background: #052555 url('../images/satellite-background-crop-sea.jpg') no-repeat center 41%; background-size: cover; position: absolute; top: 0px; left: 0px; animation: kenburns 25s; animation-fill-mode: forwards; }
.block-photo .block-contents { height: 100%; }
.block-photo h1.title { font-family: 'Overpass ExtraLight', sans-serif; position: absolute; top: 5.2em; left: 0em; font-size: 2.9em; line-height: 1em; font-weight: normal; width: 65%; border: 0px; border-top: 1px solid rgba(255,255,255,0.7); padding-top: 1em; }
.block-photo h1.title span { line-height: 1em; }
.block-photo .logo-white { display: block; position: absolute; top: 8em; background: url('../images/52impact-v1.0-white.svg') no-repeat 0px 0px; height: 68px; width: 250px; background-size: 250px; }
.block-photo .read-more { display: block; position: absolute; right: -1em; bottom: 1em; margin: 2.5em; width: 100px; height: 100px; border-radius: 100px; background: #FFFFFF; background: rgba(255,255,255,0.95); box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.3); text-align: center; line-height: 115px; cursor: pointer; box-shadow: 0 0 0 rgba(255,255,255, 0.7); animation: pulse 2.5s infinite; }
.block-photo .read-more .arrow-down { display: inline-block; width: 0px; height: 0px; border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 23px solid #052555; }
a.news-announcement { display: block; background: #052555; color: #FFFFFF; position: absolute; top: 0px; right: 0px; padding: 2.5em 1.5em 1em 1.5em; text-align: right; box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.3); transition: all 0.25s ease-out; } 
a.news-announcement:hover { padding-top: 3em; box-shadow: 0px 0px 25px 0px rgba(255,255,255,0.7); }
a.news-announcement strong { font-size: 1.5em; font-weight: bold; text-transform: uppercase; display: block; }
a.news-announcement em { font-size: 1em; font-weight: normal; font-style: italic; display: block; }

/* ***** Top bar and menu **************************** */
.block-top { height: 95px; background: #FFFFFF; background: rgba(255,255,255,0.95); box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.3); position: relative; z-index: 5; }
.block-top.sticky { position: fixed; }
.block-top .logo { display: block; background: url('../images/52impact-v1.0.svg') no-repeat 0px 0px; height: 45px; width: 164px; position: absolute; top: 25px; }
.push-menu { height: 0px; }
.push-menu.visible { height: 95px; }
.menu { position: absolute; top: 25px; right: 0px; }
.menu ul { list-style: none; }
.menu li { float: left; padding: 1em; cursor: pointer; transition: all 0.25s ease-out; }
.menu li:hover { color: #008DDF; }

/* ***** Photo blocks and quotes ********************* */
.block-photo.intermediate-1 { height: 650px; background: #052555 url('../images/S2-20190102-Namibia.jpg') no-repeat center center; background-size: cover; }
.block-photo.intermediate-1 h1.title-intermediate { font-family: 'Overpass ExtraLight', sans-serif; position: absolute; top: 2em; left: 0em; font-size: 2em; line-height: 1em; font-weight: normal; width: 30%; border: 0px; border-top: 0px; padding-top: 0em; }
.block-photo.intermediate-2 { height: 650px; background: #052555 url('../images/52impact-sentinel2-abudhabi.jpg') no-repeat center 45%; background-size: cover; }
.block-photo.intermediate-2 h1.title-intermediate { font-family: 'Overpass ExtraLight', sans-serif; color: #052555; position: absolute; top: auto; bottom: 1em; left: auto; right: 0em; font-size: 2em; line-height: 1em; font-weight: normal; width: 30%; border: 0px; border-top: 0px; padding-top: 0em; text-align: right; }
.block-photo.intermediate-3 { height: 750px; background: #052555 url('../images/sabinedemilliano-vannellefabriek-2017.jpg') no-repeat center 15%; background-size: cover; }
.block-photo.intermediate-3 h1.title-intermediate { font-family: 'Overpass ExtraLight', sans-serif; color: #052555; position: absolute; top: 2em; left: auto; right: 0em; font-size: 2em; line-height: 1em; font-weight: normal; width: 66%; border: 0px; border-top: 0px; padding-top: 0em; text-align: right; }

/* ***** Product examples **************************** */
.block-example { min-height: 110px; margin: 0em 0em 1.5em 0em; clear: both; }
.block-example .photo { float: left; width: 110px; height: 110px; border-radius: 110px; overflow: hidden; margin-right: 1.5em; }
.block-example .photo img { width: 110px; height: auto; }
.block-example h2 { padding: 0.85em 0em 0.25em 0em; margin: 0em; white-space: nowrap; }
.block-example p { margin: 0em; }
.block-examples-larger .block-example h2 { padding: 0.4em 0em 0.25em 0em; }

/* ***** Feature icons ******************************* */
.icon-remotesensing { background: url('../images/icon-remotesensing.svg') no-repeat center left; }
.icon-swissknife { background: url('../images/icon-swissknife.svg') no-repeat center left; }
.icon-portal { background: url('../images/icon-portal.svg') no-repeat center left; }
.icon-dashboard { background: url('../images/icon-dashboard.svg') no-repeat center left; }
.icon-history { background: url('../images/icon-history.svg') no-repeat center left; }
.icon-maps { background: url('../images/icon-maps.svg') no-repeat center left; }
.icon-notifications { background: url('../images/icon-notifications.svg') no-repeat center left; }
.icon-forcustomers { background: url('../images/icon-forcustomers.svg') no-repeat center left; }
.feature-icon { padding-left: 60px; background-size: 40px; min-height: 40px; }

/* ***** Partner and client logos ******************** */
.logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
    padding: 20px 0;
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logo-tracks-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-track {
    display: flex;
    animation: scroll 48s linear infinite;
    width: fit-content;
}

/* Offset second track and reverse direction */
.logo-track:nth-child(2) {
    animation-duration: 52s;
    margin-left: -80px;
    animation-direction: reverse;
}

/* Offset third track */
.logo-track:nth-child(3) {
    animation-duration: 45s;
    margin-left: -120px;
    animation-direction: normal;
}

.partner-logo {
    flex: 0 0 auto;
    width: 120px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 1030px) {
    .partner-logo {
        width: 100px;
        margin: 0 20px;
    }
    .logo-marquee::before,
    .logo-marquee::after {
        width: 60px;
    }
}

@media screen and (max-width: 700px) {
    .partner-logo {
        width: 80px;
        margin: 0 15px;
    }
    .logo-marquee::before,
    .logo-marquee::after {
        width: 40px;
    }
}

/* ***** Team **************************************** */
.block-member { min-height: 100px; margin: 0em 0em 1.5em 0em; clear: both; }
.block-member .photo { float: left; width: 100px; height: 100px; border-radius: 100px; overflow: hidden; margin-right: 1em; }
.block-member .photo img { width: 100px; height: auto; }
.block-member h2 { padding: 1em 0em 0.25em 0em; margin: 0em; white-space: nowrap; }
.block-member p { margin: 0em; }

/* ***** Footer ************************************** */
.map-container { position: relative; width: 100%; height: 400px; }
.map { position: relative; width: 100%; height: 400px; }
.footer-logo { margin: 0em auto 2em auto; width: 100px; height: 27px; background: url('../images/52impact-v1.0-white.svg') no-repeat 0px 0px; background-size: 100px; }
.block-footer p { margin: 0em; }
.block-footer .block-contents.follows-heading { padding: 0% 0% 2% 0%; }

/* ***** Press release page ************************** */
body.press-release h1 { font-size: 2em; }
body.press-release p, body.press-release li, body.press-release h3  { font-size: 1.3em; }
body.press-release p.intro { font-size: 1.5em; }

/* ***** Responsiveness ****************************** */
@media screen and (max-width: 1800px) {
	.block-photo h1.title { top: 5.7em; font-size: 2.5em; width: 65%; padding-top: 1em; }
	.block-photo.intermediate-1 { height: 550px; }
	.block-photo.intermediate-2 { height: 550px; }
	.block-photo.intermediate-3 { height: 650px; } }
@media screen and (max-width: 1300px) {
	.block-photo .logo-white { height: 62px; width: 225px; background-size: 225px; }
	.block-photo.intermediate-1 { height: 600px; }
	.block-photo.intermediate-2 { height: 500px; }
	.block-photo.intermediate-3 { height: 600px; }
	.block-contents { max-width: 75em; }
	body { font-size: 14px; }
	.map-container, .map { height: 365px; } }
@media screen and (max-width: 1125px) {
	body { font-size: 13px; }
 	h2 { font-size: 1.3em; }
	.block-photo .logo-white { height: 55px; width: 200px; background-size: 200px; } }
@media screen and (max-width: 1030px) {
	body { font-size: 15px; }
	.menu li { padding: 1em 0.5em 1em 0.5em; }
	.two-columns .block-column, .two-columns .block-column:first-child, .two-columns .block-column:last-child, .three-columns .block-column, .three-columns .block-column:first-child, .three-columns .block-column:last-child { display: block; width: 100%; margin: 0%; }
	h1 .subtitle { font-size: 60%; line-height: 1em; padding-bottom: 0.5em; }
 	h2 { margin-top: 0.5em; }
	h2.secondary { margin-top: 1.5em; }
	p.intro { padding: 0.5em 0em 0.5em 0em; }
	.feature-icon { padding-left: 40px; background-size: 25px; min-height: 25px; }
	p.smaller-image { text-align: center; padding: 25px 0px 15px 0px; }
	p.smaller-image img { width: 50%; } 
	.block-photo .logo-white { top: 4em; }
	.block-photo h1.title { font-size: 2.1em; top: 4.5em; }
	.block-photo.intermediate-1 { height: 400px; }
	.block-photo.intermediate-2 { height: 400px; }
	.block-photo.intermediate-3 { height: 400px; }
	.block-photo.intermediate-1 h1.title-intermediate { font-size: 1.5em; width: 40%; }
	.block-photo.intermediate-2 h1.title-intermediate { font-size: 1.5em; width: 40%; }
	.block-photo.intermediate-3 h1.title-intermediate { font-size: 1.5em; width: 50%; }
	.block-photo .read-more { width: 55px; height: 55px; border-radius: 55px; line-height: 68px; }
	.block-photo .read-more .arrow-down { display: inline-block; width: 0px; height: 0px; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 17px solid #052555; }
	.map-container { margin: 25px 0px 25px 0px; }
	.block-wrapper { margin-top: -1px; }
	.partner-logo {
        width: 120px;
        margin: 0 20px;
    }
}
@media screen and (max-width: 700px) {
	.push-menu { display: none; }
	.block-wrapper.block-top { height: 0px; overflow: hidden; }
	.menu { display: none; }
	.block-photo .logo-white { top: 2em; height: 47px; width: 170px; background-size: 170px; }
	.block-photo h1.title { top: 3.7em; font-size: 1.8em; width: 80%; padding-top: 1em; }
	.partner-logo {
        width: 100px;
        margin: 0 15px;
    }
	.map-container, .map { height: 225px; } 
	.block-photo.intermediate-1 h1.title-intermediate { width: 60%; }
	.block-photo.intermediate-2 h1.title-intermediate { width: 60%; }
	.block-photo.intermediate-3 h1.title-intermediate { width: 70%; }
    a.news-announcement { padding: 1.5em 1em 0.5em 1em; } 
    a.news-announcement:hover { padding-top: 2em; } }
@media screen and (max-width: 590px) {
	.block-photo h1.title { width: 80%; } }

/* ***** Blog section ******************************** */
.blog-post {
    margin-bottom: 2.5em;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.blog-post a {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.blog-post h2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    margin: 0;
    font-size: 1.4em;
    line-height: 1.3em;
    z-index: 2;
    transition: all 0.3s ease;
    text-shadow: 0px 1px 3px rgba(0,0,0,0.6);
}

.blog-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post p {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 0 20px;
    margin: 0;
    z-index: 2;
    font-size: 0.95em;
    text-shadow: 0px 1px 3px rgba(0,0,0,0.6);
}

.read-more-link {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    padding: 10px 20px;
    margin: 0;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s ease;
    text-shadow: 0px 1px 3px rgba(0,0,0,0.6);
    color: #25AFFF;
}

/* Overlay gradient for better text contrast */
.blog-post a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    transition: all 0.3s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.1);
}

.blog-post:hover a:before {
    background: rgba(0, 123, 192, 0.7);
}

.blog-post:hover h2 {
    text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
}

.blog-post:hover .read-more-link {
    color: #FFFFFF;
    font-weight: bold;
}

/* Media queries for responsive design */
@media screen and (max-width: 1030px) {
    .blog-post {
        height: 340px;
        margin-bottom: 1.5em;
    }
    
    .blog-post h2 {
        font-size: 1.3em;
        padding: 15px;
    }
    
    .blog-post p {
        font-size: 0.9em;
        padding: 0 15px;
        bottom: 75px;
    }
    
    .read-more-link {
        padding: 10px 15px;
        bottom: 20px;
    }
}

@media screen and (max-width: 700px) {
    .blog-post {
        height: 320px;
    }
    
    .blog-post h2 {
        font-size: 1.2em;
    }
    
    .blog-post p {
        bottom: 70px;
        font-size: 0.85em;
    }
    
    .read-more-link {
        bottom: 20px;
    }
}

.block-darkblue .block-contents.follows-heading {
    padding-bottom: 0%;
}

/* Remove old steps-container styles if not used elsewhere */
.steps-container, .steps-content, .steps-images {
    all: unset;
}

.numbered-step h3 {
    margin: 0;
    padding: 0;
    font-size: 1.4em;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 0.5em;
}

.numbered-step p {
    padding-left: 0;
    margin-top: 0.5em;
    font-size: 1.1em;
    line-height: 1.5;
}

.four-columns .block-column h3 {
    color: #fff;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0.7em;
}

.four-columns .block-column ul {
    color: #fff;
    font-size: 1em;
    margin-bottom: 1.2em;
    padding-left: 1.2em;
}

.four-columns .block-column ul li {
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.four-columns .block-column img {
    width: 100%;
    border-radius: 16px;
    margin-top: 1em;
    display: block;
}

.four-columns .figure-wrapper {
    margin-top: 0.1em;
    display: flex;
    align-items: flex-end;
}

.four-columns .figure-wrapper img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.four-columns .block-contents {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 3em;
}

.four-columns .column-content {
    flex: 1 1 auto;
    min-height: unset;
}
