nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 5em 0 5em;
}

nav ul {
    z-index: 9999;
}

nav h1 {
    font-size: 1.8rem;
    color: rgb(253, 252, 252);
    font-weight: normal;
}

nav ul li a {
    border-radius: 0.5em;
}

nav ul li:nth-child(4) a:hover {
    cursor: pointer;
}

.contact-section {
    background: url('/static/images/contact-bg.jpg') no-repeat center center/cover;
    padding: 5em 2em;
    position: relative;
    z-index: 1;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.contact-header {
    text-align: center;
    margin-bottom: 4em;
}

.contact-header h2 {
    font-size: 2.8rem;
    color: #1859bb;
    margin-bottom: 0.5em;
}

.contact-header p {
    font-size: 1.2rem;
    color: #444;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4em;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 2em;
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    color: #3c8cd3;
    margin-bottom: 0.5em;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    margin-right: 2em;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.contact-form input,
.contact-form textarea {
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 0.8em;
    font-size: 1rem;
    width: 100%;
}

.contact-form button {
    background: #3c8cd3;
    color: white;
    padding: 1em;
    border: none;
    border-radius: 0.8em;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #2c7ac0;
}

.partners-section {
    padding: 3rem 2rem;
    background-color: #f7f7f7;
    color: #333;
    text-align: center;
    margin-bottom: 2em;
}

.partners-section h2 {
    font-size: 2.5rem;
    color: #1859bb;
    margin-bottom: 2rem;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.partner-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    width: 340px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.partner-card h3 {
    color: #1859bb;
    margin-bottom: 0.8rem;
}

.partner-card p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.partner-card i {
    color: #1859bb;
    margin-right: 0.5rem;
}

.partner-card a {
    color: #333;
    text-decoration: none;
}

.partner-card a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 800px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }
}