/* General Styles */
body {
    font-family: 'Space Age', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #006174, #0056b3);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding: 20px;
}

.hero .overlay {
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

/* Section Styling */
section {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

/* About, Services, Contact Section */
.about, .services, .contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about h2, .services h2, .contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about p, .services p, .contact p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* Service Container */
.service-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.service {
    width: 300px;
    text-align: center;
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: auto;
    text-align: left;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form button {
    background: #0056b3;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.contact-form button:hover {
    background: #003366;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Contact Info Styling */
.contact-info {
    text-align: center;
    margin-top: 20px;
}

.contact-info p {
    font-size: 1.1rem;
}

.contact-info a {
    color: #0056b3;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Threema ID Styling */
.threema {
    font-size: 1.1rem;
    font-weight: bold;
    color: #0056b3;
}
.threema strong {
    color: #003366;
}

/* Message Response Styling */
#formResponse {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

#formResponse.green {
    color: green;
}

#formResponse.red {
    color: red;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .about, .services, .contact {
        width: 90%;
    }
}

/* Affiliations Section */
.affiliations {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

.affiliations h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #003366;
}

.affiliation-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.affiliation {
    flex: 1 1 300px;
    max-width: 500px;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}

.affiliation img {
    max-width: 160px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.affiliation h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0056b3;
}

.affiliation p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
    .affiliation-container {
        flex-direction: column;
        align-items: center;
    }
}
