/* =============================
   CONTACT SECTION
   ============================= */

.contact-wrapper {
    padding: 1.5rem 0 3rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 1rem;
}

/* ---- Left Info Panel ---- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(124, 240, 61, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--green-color);
    border: 1px solid rgba(124, 240, 61, 0.2);
}

.contact-info-item h4 {
    font-size: 0.85rem;
    color: var(--green-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.contact-info-item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    overflow-wrap: anywhere;
}

/* Social Links */
.contact-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 2px solid rgba(124, 240, 61, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: var(--green-color);
    border-color: var(--green-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ---- Right: Form ---- */
.contact-form-area {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Floating Label Input */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem 0.6rem;
    background: var(--secondary-color);
    border: 1px solid rgba(124, 240, 61, 0.15);
    border-radius: 10px;
    color: var(--white-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group textarea {
    padding-top: 1.2rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-color);
    box-shadow: 0 0 0 3px rgba(124, 240, 61, 0.08);
}

/* Floating label */
.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    pointer-events: none;
    transition: all 0.25s ease;
    background: transparent;
}

.form-group textarea ~ label {
    top: 1rem;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0.35rem;
    transform: none;
    font-size: 0.72rem;
    color: var(--green-color);
    font-weight: 600;
}

/* Submit Button */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: var(--green-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-btn:hover {
    background: transparent;
    color: var(--green-color);
    box-shadow: 0 0 0 2px var(--green-color);
}

.contact-btn i {
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: translateX(4px) translateY(-4px);
}

/* ==============================
   DESKTOP 768px+
   ============================== */
@media screen and (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }

    .contact-info {
        width: 300px;
        min-width: 260px;
    }

    .contact-form-area {
        flex: 1;
    }
}

@media screen and (min-width: 1024px) {
    .contact-info {
        width: 360px;
    }

    .contact-info-item h4 {
        font-size: 0.9rem;
    }

    .contact-info-item p {
        font-size: 1rem;
    }

    .contact-btn {
        font-size: 1.05rem;
        padding: 0.9rem 2.2rem;
    }
}

@media (pointer: coarse) and (min-width: 768px) {
    .contact-grid {
        flex-direction: column;
        gap: 2.5rem;
    }

    .contact-info {
        width: 100%;
        min-width: 0;
    }
}

/* =============================
   FORM STATUS MESSAGE
   ============================= */
.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 1.2rem;
}

.form-status.success {
    color: var(--green-color);
    background: rgba(124, 240, 61, 0.1);
    padding: 0.6rem 1rem;
    border: 1px solid rgba(124, 240, 61, 0.3);
}

.form-status.error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Disabled send button */
#send-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}
