@font-face {
	font-family: Prompt;
	font-style: normal;
	src: url('/font/prompt-regular.woff2');
}

@font-face {
	font-family: Prompt;
	font-weight: 700;
	src: url('/font/prompt-bold.woff2');
}

@font-face {
	font-family: Prompt;
	font-weight: 600;
	src: url('/font/prompt-semi-bold.woff2');
}

@font-face {
	font-family: Prompt;
	font-weight: 200;
	src: url('/font/prompt-extra-light.woff2');
}

@font-face {
	font-family: Poppins;
	font-weight: 400;
	src: url('/font/poppins-regular.woff2');
}

@font-face {
	font-family: Poppins;
	font-weight: 300;
	src: url('/font/poppins-light.woff2');
}


* {
	box-sizing: border-box;
	background-repeat: no-repeat;
	line-height: 1.4;
}

body {
	margin: 0;
	font-family: Prompt;
	text-align: center;
	overflow-y: scroll;
	overflow-x: hidden;

}

a {
	display: inline-block;
	text-decoration: none;
}

button {
	background: transparent;
	border: none;
	padding: 0;
}

.section-header {
	position: relative;
	width: 100%;
	height: 4rem;
    background-color: #012369;
	border-bottom: 1px solid #578DFF;
}

.center-width {
	display: inline-block;
	width: 100%;
	max-width: 100%;
}

.header-content {
	position: relative;
	display: inline-block;
	width: calc(100% - 15rem);
	max-width: 100%;
	height: 100%;

	background-image: url('/image/baseshift-logo.svg');
	background-position: 1em 55%;
	background-size: auto 55%;
}


.header-content .navigation-toggle {
	position: absolute;
	right: 0.7rem;
	top: 50%;
	width: 1.4rem;
	height: 1.4rem;
	transform: translate(-50%, -50%);
}

.header-content .navigation-toggle > div {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 15%;
	background-color: #0048de;
	border-radius: 1rem;
}

.header-content .navigation-toggle > div:nth-child(1) {
	top: 15%;
}

.header-content .navigation-toggle > div:nth-child(2) {
	top: 50%;
}

.header-content .navigation-toggle > div:nth-child(3) {
	top: 85%;
}

.header-content:hover .navigation-toggle > div {
	background-color: #06e;
}

.navigation {
	position: absolute;
	display: flex;
	align-items: center;
	top: 0;
	right: 0;
	height: 100%;

	padding: 0 1em;
	font-size: 1rem;
	gap: 30px;
}

.navigation > * {
    display: flex;
    align-items: center;
    padding: 0 0.5em;
    color: #0048de;
}

.navigation > a {
	display: table-cell;
	padding: 0.5rem 1rem;
	vertical-align: middle;
	color: #FFFFFF;
}

.navigation > a:hover {
	color: #FFFFFF;
	background-color: rgba(87, 141, 255, 0.2);
	border-radius: 50px;
    padding: 0.5rem 1rem;
}

.navigation > a[href*='login'] {
    background-color: #FFFFFF;
    border-radius: 50px;
    padding: 0.5em 1em;
    margin: 0em 0em 0em 40px;
    color: #578DFF;
}

.navigation > a[href*='login']:hover {
    background-color: #f6f5f5;
}

.navigation-toggle {
	cursor: pointer;
	display: none;
}

.navigation a, .resources-dropdown a {
    text-decoration: none;
    color: #FFFFFF;
    font-family: Poppins;
    font-weight: 500;
}

.resources-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.resources-dropdown:hover .resources-menu {
    display: block;
}

.resources-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1;
    border-radius: 20px;
}

.resources-menu a {
    padding: 10px;
    text-decoration: none;
    display: block;
    white-space: nowrap; /* Prevents text wrapping in dropdown */
    color: #012369;
    font-family: Poppins;
}

.resources-menu a:hover {
	color: #578DFF;
}


.section-apply {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: 85vh;
    padding: 0.5rem 5.5rem;
    text-align: center;
    flex-wrap: wrap;
    background-color: #f4f4f4;
    border-bottom-right-radius: 35em 2em;
    border-bottom-left-radius: 35em 2em;
}

.section-apply-header {
    flex: 1;
    max-width: 60%;
    text-align: left;
    padding: 0 1rem 0 2rem;

}

@media only screen and (max-width: 1024px) {
	.section-apply-header {
		padding-top: 1rem;
		max-width: 100%;
		text-align: center;
	}
}

.section-apply-header .title {
    font-size: 3.5rem;
    font-weight: normal;
    line-height: 1.2;
    color: #0E0E0F;
    margin-bottom: 1rem;
}

.section-apply-header .description {
    font-size: 1.125rem;
    color:   #0E0E0F;
    max-width: 30rem;
    font-family: Poppins;
}

.section-apply-header .button {
    background-color: #578DFF;
    color:  #FFFFFF;
    border-radius: 2em;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 500;
    font-family: Poppins;
    margin-top: 1rem;
    transition: background-color 0.3s, transform 0.2s;

}

.section-apply .button:hover {
    background-color: #589BFF;
    transform: scale(1.05);
}

.section-image {
    flex: 1;
    max-width: 80%;
    height: 80%;
    margin-left: 1rem;
    background-image: url('/image/image-meditation-background.png');
    background-position: center;
    background-size: contain;
    position: relative;

}

.overlay-image {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('/image/image-meditation.png');
    width: 50%;
    height: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: floating 3s ease-in-out;
    animation-duration: 4s;
}

@keyframes floating {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }
}



.section-adverts {
	display: block;
	max-width: 100%;
	margin: 4rem 7.5rem;
}

.advert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 0 10px 2rem 10px;
}

.advert:last-child {
	margin-bottom: 1rem;
}

.section-adverts .advert:nth-child(even) {
	flex-direction: row-reverse;
}

.advert .image {
    flex: 1;
    padding: 0 10px;
    box-sizing: border-box;
    max-width: 50%;
    height: 25em;
    background-position: center;
    background-size: auto 80%;
}

.advert:nth-child(1) .image {
	background-image: url('/image/image-advert-forest.png');
}

.advert:nth-child(2) .image {
	background-image: url('/image/image-advert-sql.png');
}

.advert:nth-child(3) .image {
	background-image: url('/image/image-advert-alerts.png');
}

.advert:nth-child(4) .image {
	background-image: url('/image/image-advert-masked-pii.png');
}

.advert:nth-child(5) .image {
	background-image: url('/image/image-advert-audited.png');
}

.advert .text {
    flex: 1;
	padding: 0 15px;
	box-sizing: border-box;
	text-align: left;
}

.text a {
	font-family: Poppins;
	font-weight: 500;
	font-size: 1.125rem;
	color: #578DFF;
	padding-top: 20px;
}

.text i {
    position: absolute;
    padding: 1px 10px 0 0;
}

.advert .title {
	color: #0E0E0F;
	font-size: 2.0625rem;
	font-weight: normal;
}

.advert .description {
	font-family: Poppins;
	font-weight: 400;
	font-size: 1.125rem;
	color: #0E0E0F;
	line-height: 1.6;
}


.section-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #012369;
    padding: 5px;
    position: relative;
    background-color: #012369;
    padding-bottom: 30px;
}

.section-footer::before {
    content: "";
    background-image: url('/image/baseshift-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 65%;
    background-color: #012369;
    display: block;
    width: 100%;
    height: 60px;
}

.footer-text {
    color: #FFFFFF;
    font-size: 0.75rem;
    margin: 5px 0 0 40px;
}



/* Base styles for mobile screens */
@media only screen and (max-width: 768px) {
    body {
        font-size: 90%;

    }

    .center-width {
        display: inline-block;
        width: 100%;
        margin: 0;
    }

    .header-content {
        width: 100%;
        padding: 0 15px;
    }

    .section-apply {
        flex-direction: column-reverse; /* Stack image and text */
        padding: 20px;
    }

    .section-apply-header {
        max-width: 100%;
        text-align: center;
    }

    .section-adverts {
        margin: 4rem 0.5rem;
    }

    .advert {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 100px;
    }

    .advert .text {
        font-size: 90%;
        max-width: 100%;
        text-align: left;
        order: 1;
    }

    .advert .image {
        flex: 1;
        display: block;
        max-width: 100%;
        width: 100%;
        height: auto;
        order: 2;
        background-size: contain;
        background-position: center;
        margin: 30px 0;
        min-height: 300px;
   }

    .section-adverts .advert:nth-child(even) {
        flex-direction: column;
    }

    .section-adverts .advert:nth-child(even) .image {
        order: 2;
    }

    .section-adverts .advert:nth-child(even) .text {
        order: 1;
    }

    .section-image, .overlay-image {
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    .overlay-image {
        width: 50%;
        height: 50%;
        margin-left: 0;
        min-height: 50px;
    }

    .section-apply-header .title, .advert .title {
        font-size: 2rem;
    }



}


@media only screen and (max-width: 768px) {
	.navigation {
		left: 0;
		top: 100%;
		width: 100%;
		height: auto;
		background: white;
		border: 1px solid #eee;
		padding: 0.5rem 1rem;
		opacity: 1;
		z-index: 100;
	}

	.navigation {
		display: none;
	}

	.navigation.enabled {
		display: block;
	}

	.navigation-toggle {
		display: block;
	}

	.navigation > a {
		display: block;
		text-align: center;
		font-size: 1.5rem;
		color: #578DFF;
	}

    .navigation a[href*='login'] {
        display: none; /* Hide the login link on mobile devices */
    }


    .resources-menu {
        display: block;
        flex-direction: column;
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
        margin: 0;
    }

    .resources-menu a {
        color: #578DFF;
        width: 100%;
        text-align: left;
        font-size: 1.5rem;
    }

    .resources-menu a:hover. .navigation > a:hover {
        display: none;
    }


}
