/* Basic Styling */

/* fonts*/
@font-face {
    font-family: 'Barlow Semi Condensed';
    src: url('fonts/BarlowSemiCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    src: url('fonts/BarlowSemiCondensed-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

/* Setting max width of entire page*/
div.content {
	max-width: 1000px;
	margin: auto;
	padding-top: 90px;
	overflow: hidden;
}

body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

html {
	scroll-behavior: smooth !important;
}

/* Adjusting Header and Paragraph Spacing */
h1, h2 {
    margin-bottom: 10px; /* space below the header */
}

h3, h4, h5, h6 {
    margin-bottom: 0px; /* Reduce the space below small headers */
}

p {
    margin-top: 5px; /* Less space above the paragraph */
    margin-bottom: 10px; /* More space below the paragraph */
}

:root {
    scroll-padding-top: 110px; /* Adjust to match the navbar height */
}

/* Navbar Styling */
.navbar {
	background-color: #ffffff;
    /*text-align: center;*/
    position: fixed; /* Keep the navbar fixed */
    max-width: 1000px;
	width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
	box-sizing: border-box;
	padding-left: 10px;
 }

/* Navbar Links */
.nav-links {
	display: flex;
	flex-direction: row;
	text-align: left;
	text-decoration: none;
}

.navbar a {
	background-color: #ffffff;
    color: #333333;
	white-space: nowrap;
    margin: 0 15px;
    text-decoration: none;
    width: 100%;
    z-index: 1000;
}

/* Logo Styling */
.logo {
    height: 70px;
    margin-right: auto;
	padding-top: 25px;
	padding-bottom: 15px;
}

.logo_s {
   	display: none;
}

/* Menu Toggle Button for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #389cd3;
    font-size: 24px;
	padding: 0 20px;
	position: relative;
}

/* Language Selector Styling */
.language-selector {
    font-size: 16px;
	margin-left: auto;
    padding: 0 20px;
}

.language-selector a {
    color: #389cd3;
    text-decoration: none;
}

.language-selector a:hover {
    text-decoration: underline;
}

/* Hero Section Styling */
.hero-image {
	background-image: url('images/hero.jpg');
    background: image-set(
		url('images/hero.jpg') 1x,
		url('images/hero2x.jpg') 2x,
		url('images/hero4x.jpg') 4x
	) no-repeat center center/cover;
    color: #ffffff;
    padding-top: 420px;
	margin-right: 20px;
    position: relative;
	margin-bottom: 40px;
}

.hero-text {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 20px;
    box-sizing: border-box;
    text-align: left;
}

.section-intro {
	background: url('images/hero.jpg') no-repeat center center/cover;
    color: #ffffff;
	margin-right: 20px;
	margin-top: 80px;
    position: relative;
	margin-bottom: 40px;
}

.intro-text {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 20px;
    box-sizing: border-box;
    text-align: left;
}

.subsection {
    display: flex;
    align-items: flex-start;
	justify-content: left;
	margin-bottom: 40px;
	margin-right: 20px;
    /*padding: 20px 0;*/
}

.subsection img {
    width: 300px;
	max-height: 300px;
	object-fit: contain;
    margin-right: 20px;
	margin-top: 60px;
}

.subsection .text {
    max-width: 70%;
}

/* Logo container */
.logo-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	margin-top: 10px;
	margin-bottom: 20px;
}

.logo-container img {
	height: 40px;
	width: auto;
	padding: 0;
	margin-right: 20px;	
	margin-top: 0;
}

.section {
    text-align: left;
    padding-left: 20px;
}

.section .text {
	padding-left: 20px;
	padding-right: 40px;
}

/* Footer Styling */
footer {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
	/*width: 100%;*/
	margin-top: 40px;
	margin-right: 20px;
}

/* Responsive Style navbar */
@media (max-width: 900px) {
	.nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex; /* Display menu when open */
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 10px;
		width: 80px;
		position: fixed;
		top: 116px;
		right: 0;
		padding: 10px 15px;
		box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
		z-index: 1000;
		background-color: #ffffff;
    }

	.navlinks a {
		width: 100%;
		padding: 10px 15px;
		text-decoration: none;
	}

    .menu-toggle {
        display: block;
    }
}

/* Responsive Styles */
@media (max-width: 760px) {
	div.content {
	padding-top: 25px;
	}

	:root {
    scroll-padding-top: 50px; /* Adjust to match the navbar height */
	}

	.nav-links.open {
		top: 45px;
	}

	.logo {
        display: none;
    }

    .logo_s {
        height: 25px;
		margin-right: auto;
		padding: 10px 0;
		display: block;
	}

	.hero-image {
        padding-top: 200px;
    }
	
	.section-intro {
	background-size: auto 300%;
	}
	
	.section .text {
	padding-left: 0;
	padding-right: 20px;
	margin-bottom: 40px;
	}
	
	.subsection {
        flex-direction: column;
        text-align: left;
		justify-content: left;
		margin-bottom: 20px;
		padding-right: 0;
    }

    .subsection img {
        width: 80%;
		max-width: 300px;
        margin: 0;
		padding: 0;
    }

    .subsection .text {
        max-width: 100%;
		padding-left: 0;
		padding-right: 0;
    }

}
