#navbar {
    background-color: #addfbc;
}
.contact__section {
    padding: 9rem 5.5rem 4rem 5.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
}

.contact__header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 1;
    transform: translateY(0);
}

.contact__header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact__header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    overflow-y: hidden;
    margin: 0 auto;
}

.contact__container {
    display: flex;
    gap: 3rem;
    width: 100%;
    max-width: 100vw;
    overflow-y: hidden;
    opacity: 1;
    transform: translateY(0);
}

.contact__info {
    flex: 1;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact__info h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact__info__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

/* Wrapper for scroll animations */
.scroll-animation-wrapper {
    width: 100%;
    opacity: 1;
    transform: translateY(0);
}

.contact__info__icon {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact__info__icon svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

.contact__info__text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.contact__info__text p {
    color: #666;
    line-height: 1.5;
}

.contact__form__container {
    flex: 2;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact__form__container h2 {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
    color: #333;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.7rem;
    opacity: 1;
    transform: translateX(0);
}

.form__group label {
    margin-bottom: 0.7rem;
    font-weight: 500;
    color: #333;
}

.form__group input,
.form__group textarea,
.form__group select {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    border-color: #378a37;
    outline: none;
}

.form__group textarea {
    min-height: 150px;
    resize: vertical;
}

.form__row {
    display: flex;
    gap: 1.5rem;
}

.form__row .form__group {
    flex: 1;
}

.submit__btn {
    background-color: #378a37;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.submit__btn:hover {
    background-color: rgb(42, 101, 42);
}

.contact__map {
    margin-top: 4rem;
    width: 100%;
    max-width: 100vw;
    overflow-y: hidden;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Animation classes */
.animate__fadeInUp {
    animation: fadeInUp 0.8s forwards;
    opacity: 1;
}

.animate__fadeInUpDelay1 {
    animation: fadeInUp 0.8s 0.2s forwards;
    opacity: 1;
}

.animate__fadeInUpDelay2 {
    animation: fadeInUp 0.8s 0.4s forwards;
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media only screen and (max-width: 1024px) {
    .contact__section {
        padding: 8rem 3rem 4rem 3rem;
    }

    .contact__container {
        flex-direction: column;
    }

    .form__row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .contact__section {
        padding: 8rem 2rem 4rem 2rem;
    }

    .contact__header h1 {
        font-size: 2rem;
    }

    .contact__info,
    .contact__form__container {
        padding: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .contact__section {
        padding: 8rem 1.5rem 4rem 1.5rem;
    }

    .contact__header h1 {
        font-size: 1.8rem;
    }

    .contact__info,
    .contact__form__container {
        padding: 1.2rem;
    }

    .submit__btn {
        width: 100%;
    }
}
