/* hero section of the website */
.contact-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #f8faff 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(45, 158, 74, 0.05) 0%,
        transparent 70%
    );
    z-index: 0;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* the actual message section */
.contact-application-section {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

/* contact form section */
.contact-form-wrapper {
    width: 100%;
    max-width: 1000px;
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-gray-100);
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-gray-900);
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* styling the main info on the page */
.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-group.full-width {
    grid-column: span 2;
}

.contact-form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

.contact-form-group input,
.contact-form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-gray-200);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--color-gray-50);
}

.contact-form-group p {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray-400);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 158, 74, 0.1);
}

/* working with the button  */
.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(45, 158, 74, 0.2);
}

.contact-submit-btn:hover {
    background: #238e3a;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(45, 158, 74, 0.3);
}

/* the responsiveness  */
@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-group.full-width {
        grid-column: span 1;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
