/* === General styles === */
body {
    font-family: 'Myriade', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    font-size: 1rem;
    background: url('resources/Logo.png') no-repeat center center fixed;
    background-size: cover;
    }
}

/* === Header with Video Background === */
header {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    text-align: center;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

header video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

header h1 {
    font-size: 2em;
    margin: 0.5rem 0;
    color: #545454;
    position: relative;
    text-align: center; /* ✅ Add this line */
}

header p {
    font-size: 1.2em;
    z-index: 1;
    position: relative;
    text-align: center; /* ✅ Add this line */
}

/* === Logo Styling === */
.hz4tf-logo {
    width: clamp(80px, 12vw, 150px);
    height: auto;
    display: block;
    margin: 1rem auto;
}

/* === Navigation Styling === */
nav {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: #545454;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #5cd79e;
    background-color: #ffffff; /* Add a contrasting background */
    cursor: pointer; /* Change the cursor to indicate interactivity */
}

/* === Floating buttons === */
.floating-language-selector,
.floating-back-to-top {
    position: fixed;
    right: 40px;
    background-color: #ffd46e;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.floating-language-selector {
    top: 10px;
}

.floating-back-to-top {
    bottom: 50px;
}

.floating-language-selector button,
.floating-back-to-top button {
    background-color: #ffd46e;
    color: #545454;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
}

.floating-language-selector button:hover,
.floating-back-to-top button:hover {
    background-color: #5cd79e;
}

/* === Blog Post Styling === */
.blog-post {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
    margin-top: 0;
    color: #545454;
}

.blog-post p {
    line-height: 1.6;
    color: #b8b8b8;
}

.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* === Sections === */
section {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

section h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2em;
    color: #545454;
}

section p {
    font-size: 1.1em;
    color: #b8b8b8;
}

.contact-form,
.blog-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.contact-form label,
.blog-form label {
  align-self: flex-start;
  font-weight: bold;
  width: 100%;
  color: #545454;
}

.contact-form input,
.blog-form input,
.contact-form textarea,
.blog-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* === Footer === */
footer {
    text-align: center;
    background-color: #ffd46e;
    color: #000000;
    padding: 10px 0;
}