.contactus h2 {
    color: var(--purple);
    margin: 50px auto;
    text-align: center;
}

.contactus .contactDetail {
    background-color: var(--lightPurple);
    max-width: 400px;
    margin: 10px auto;
    padding: 20px;
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--purple);
    letter-spacing: 0.4rem;
    border-radius: 20px;
}

.contactus .contactDetail .contactClubBtn {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    display: inline-block;
    width: 30px;
    height: 30px;
    transition: all 0.2s ease-in-out;
}

.contactus .contactDetail .contactClubBtn:hover {
    transform: scale(1.2);
}

.contactForm {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-top: 50px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contactForm input,
.contactForm textarea {
    width: 100%;
    border: 1px solid var(--lightBlue);
    background: white;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 15px;
    transition: 0.25s;
    font-family: inherit;
}

.contactForm input:focus,
.contactForm textarea:focus {
    outline: none;
    border-color: var(--darkPurple);
}

.contactForm button:hover {
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .contactGrid {
        grid-template-columns: 1fr;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .contactHeader h1 {
        font-size: 2rem;
    }
}

.contactSuccess,
.contactError {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    animation: contactMsgIn 0.35s ease;
    margin-top: 50px;
}

.contactSuccess {
    background: #e6f7ee;
    border: 1px solid #a3e4c1;
    color: #1c7c4d;
}

.contactError {
    background: #fdecec;
    border: 1px solid #f5b7b7;
    color: #c0392b;
}

.contactSuccess::before,
.contactError::before {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
}

.contactSuccess::before {
    content: "✓";
    background: #2ecc71;
}

.contactError::before {
    content: "!";
    background: #e74c3c;
}

@keyframes contactMsgIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
