/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(180deg, #ffffff, #f5f5f5);
    padding: 60px 20px 80px;
    text-align: center;
}

.contact h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #d32f2f;
}

.contact > p {
    font-size: 1.05rem;
    margin-bottom: 40px;
    color: #555;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Three-column grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
}

.contact-card h3 {
    font-size: 1.35rem;
    color: #d32f2f;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

/* ===== Form column ===== */
.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Poppins, sans-serif;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d32f2f;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-submit {
    background: #d32f2f;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #b71c1c;
}

.btn-reset {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    transition: background 0.3s;
}

.btn-reset:hover {
    background: #555;
}

/* ===== Contact info column ===== */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 0.95rem;
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list li > i,
.contact-info-list li > a > i {
    color: #d32f2f;
    font-size: 1.15rem;
    width: 35px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #444;
    width: 100%;
    transition: color 0.3s;
}

.contact-info-list li a:hover {
    color: #d32f2f;
}

/* NIP container */
.contact .nip-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact .copy-btn {
    margin-left: 5px;
    padding: 4px 8px;
    font-size: 0.85rem;
    color: #fff;
    background-color: #d1d1d1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact .copy-btn i {
    font-size: 0.9rem;
}

.contact .copy-btn:hover {
    background-color: #969696;
}

/* ===== Map column ===== */
.contact-card .map-container {
    height: calc(100% - 65px);
    min-height: 350px;
    border-radius: 6px;
    overflow: hidden;
}

.contact-card .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card .map-container {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contact h2 {
        font-size: 1.8rem;
    }

    .contact-card {
        padding: 20px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        text-align: center;
    }
}