

.contact-page {
    background: #fff8ec;
    color: #315c49;
    font-family: "Nunito", sans-serif;
    overflow: hidden;
}




.contact-badge,
.form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    border-radius: 50px;

    background: #d9f3df;
    color: #315c49;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.4px;
}




.contact-hero {
    position: relative;

    min-height: 500px;

    padding: 80px 8%;

    display: flex;
    align-items: center;

    background: #d9f3df;

    overflow: hidden;
}


.contact-hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    left: -180px;
    top: -180px;

    border-radius: 50%;

    background: #c7eaf2;
}


.contact-hero::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -120px;
    bottom: -150px;

    border-radius: 50%;

    background: #f7d5e0;
}


.contact-hero-content {
    position: relative;

    z-index: 5;

    width: 60%;
}


.contact-hero-content h1 {
    margin: 25px 0 20px;

    font-family: "Fredoka", sans-serif;

    font-size: clamp(60px, 7vw, 90px);

    line-height: 0.95;

    color: #315c49;
}


.contact-hero-content h1 span {
    color: #61c9a5;
}


.contact-hero-content p {
    max-width: 650px;

    font-size: 19px;

    line-height: 1.7;

    color: #527766;
}




.contact-hero-character {
    position: absolute;

    right: 7%;
    bottom: -20px;

    width: 430px;

    z-index: 4;
}


.contact-hero-character::before {
    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    right: 0;
    bottom: -80px;

    border-radius: 50%;

    background: #61c9a5;

    z-index: -1;
}


.contact-hero-character img {
    width: 100%;

    display: block;

    animation: contactRabbit 4s ease-in-out infinite;
}


@keyframes contactRabbit {

    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }

}




.contact-section {
    padding: 110px 6%;
}


.contact-layout {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;

    align-items: start;
}




.contact-information {
    padding-top: 15px;
}


.contact-information h2 {
    margin: 25px 0 20px;

    font-family: "Fredoka", sans-serif;

    font-size: clamp(45px, 5vw, 65px);

    line-height: 1;

    color: #315c49;
}


.contact-information h2 span {
    color: #61c9a5;
}


.contact-intro {
    max-width: 520px;

    font-size: 17px;

    line-height: 1.8;

    color: #527766;
}


.contact-details {
    margin-top: 40px;

    display: flex;

    flex-direction: column;

    gap: 20px;
}


.contact-detail {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 20px;

    border-radius: 22px;

    background: #d9f3df;
}


.contact-detail:nth-child(2) {
    background: #f7d5e0;
}


.contact-detail:nth-child(3) {
    background: #c7eaf2;
}


.detail-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    color: #315c49;

    font-family: "Fredoka", sans-serif;

    font-size: 21px;

    font-weight: 700;
}


.contact-detail h3 {
    margin: 2px 0 5px;

    font-family: "Fredoka", sans-serif;

    font-size: 20px;

    color: #315c49;
}


.contact-detail p {
    margin: 0;

    color: #527766;

    font-size: 14px;

    line-height: 1.5;
}


.contact-detail a {
    display: inline-block;

    margin-top: 8px;

    color: #315c49;

    font-size: 13px;

    font-weight: 900;

    text-decoration: none;
}


.contact-detail a:hover {
    color: #61c9a5;
}




.contact-form-box {
    padding: 45px;

    border-radius: 35px;

    background: white;

    box-shadow:
        0 20px 60px rgba(49, 92, 73, 0.10);
}


.form-badge {
    background: #61c9a5;

    color: white;
}


.form-top h2 {
    margin: 22px 0 30px;

    font-family: "Fredoka", sans-serif;

    font-size: 38px;

    line-height: 1.1;

    color: #315c49;
}


.form-top h2 span {
    color: #61c9a5;
}


.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #315c49;

    font-size: 13px;

    font-weight: 900;
}


.form-group input,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    border: 2px solid #e4eee7;

    border-radius: 16px;

    padding: 15px 17px;

    background: #fffdfa;

    color: #315c49;

    font-family: "Nunito", sans-serif;

    font-size: 14px;

    outline: none;

    transition: 0.25s;
}


.form-group input {
    height: 52px;
}


.form-group textarea {
    resize: vertical;

    min-height: 145px;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: #61c9a5;

    background: white;

    box-shadow:
        0 0 0 4px rgba(97, 201, 165, 0.12);
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aafa4;
}


.send-message-button {
    width: 100%;

    border: none;

    padding: 17px 25px;

    border-radius: 50px;

    background: #315c49;

    color: white;

    font-family: "Nunito", sans-serif;

    font-size: 15px;

    font-weight: 900;

    cursor: pointer;

    transition: 0.3s;
}


.send-message-button:hover {
    background: #61c9a5;

    transform: translateY(-2px);
}




.contact-bottom {
    position: relative;

    width: calc(100% - 12%);

    max-width: 1250px;

    min-height: 390px;

    margin: 0 auto 100px;

    padding: 60px 70px;

    box-sizing: border-box;

    border-radius: 45px;

    background: #315c49;

    overflow: hidden;

    display: flex;

    align-items: center;
}


.contact-bottom::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -100px;
    top: -200px;

    border-radius: 50%;

    background: #61c9a5;
}


.contact-bottom-content {
    position: relative;

    z-index: 5;

    width: 60%;
}


.contact-bottom-content .contact-badge {
    background: #61c9a5;

    color: white;
}


.contact-bottom-content h2 {
    margin: 22px 0 15px;

    font-family: "Fredoka", sans-serif;

    font-size: clamp(45px, 5vw, 65px);

    line-height: 1;

    color: white;
}


.contact-bottom-content h2 span {
    color: #f7e4a7;
}


.contact-bottom-content p {
    max-width: 560px;

    color: #d9f3df;

    line-height: 1.7;
}


.contact-bottom-character {
    position: absolute;

    right: 80px;
    bottom: -20px;

    width: 300px;

    z-index: 5;
}


.contact-bottom-character img {
    width: 100%;

    display: block;

    animation: bearContact 3.5s ease-in-out infinite;
}


@keyframes bearContact {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }

}




@media (max-width: 1100px) {

    .contact-hero-content {
        width: 58%;
    }


    .contact-hero-character {
        right: -30px;

        transform: scale(0.85);

        transform-origin: bottom right;
    }


    .contact-layout {
        gap: 40px;
    }


    .contact-form-box {
        padding: 35px;
    }


    .contact-bottom-character {
        right: 30px;

        width: 270px;
    }

}




@media (max-width: 750px) {

    .contact-hero {
        min-height: auto;

        padding: 70px 25px 30px;

        display: flex;

        flex-direction: column;

        text-align: center;
    }


    .contact-hero-content {
        width: 100%;
    }


    .contact-hero-content h1 {
        font-size: 55px;
    }


    .contact-hero-content p {
        font-size: 16px;
    }


    .contact-hero-character {
        position: relative;

        right: auto;
        bottom: auto;

        width: 320px;

        margin-top: 30px;

        transform: none;
    }


    .contact-hero-character::before {
        width: 300px;
        height: 300px;

        right: 0;
        bottom: -60px;
    }


    .contact-section {
        padding: 70px 20px;
    }


    .contact-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contact-information {
        text-align: center;
    }


    .contact-intro {
        margin-left: auto;
        margin-right: auto;
    }


    .contact-detail {
        text-align: left;
    }


    .contact-form-box {
        padding: 28px 22px;

        border-radius: 28px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .form-top h2 {
        font-size: 34px;
    }


    .contact-bottom {
        width: calc(100% - 30px);

        min-height: 650px;

        margin-bottom: 70px;

        padding: 45px 25px;

        border-radius: 32px;

        text-align: center;

        display: block;
    }


    .contact-bottom-content {
        width: 100%;
    }


    .contact-bottom-character {
        position: absolute;

        width: 250px;

        right: 50%;

        bottom: -20px;

        transform: translateX(50%);
    }

}