/* Base Styles */
:root {
    --gray-300: #d1d5db;
    --gray-700: #374151;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.banner-contacts {
    background: url('../images/img-background-banner.webp') no-repeat;
    background-position: center;
    background-size: cover;
}

/* css pop-up email */
section.hidden {
    display: none;
    background: rgba(0, 0, 0, .3);
    z-index: 3;
    position: fixed;
}

.container-full {
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

#processing-email-container .container-full div {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(150, 85, 42, 0.308)
}

#processing-email-container svg {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }

}

#processing-email-container p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-orange);
}

.card {
    width: 100%;
    max-width: 28rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.thank-you-content {
    text-align: center;
}

.thank-you-content .check-icon {
    background-color: #fce8dc;
    color: var(--primary-color);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.thank-you-content h2 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.thank-you-content p {
    color: #4a5568;
    margin-bottom: 2rem;
}

.thank-you-content button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* end css pop-up email */

.contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.section-title {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Contact Info */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.icon-container {
    background-color: var(--secondary-color);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.icon-container svg {
    width: 18px;
    height: 18px;
}

.info-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: .5rem;
}

.info-text {
    color: var(--gray-700);
}

.map-container iframe {
    border-radius: 0.5rem;
}

/* Contact Form */
.form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form * {
    font-family: "Poppins", sans-serif;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    transition: all 0.3s;
    font-size: 1rem;
    color: var(--color-text-gray);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(207, 108, 27, 0.253);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.send-icon {
    margin-right: 0.5rem;
}

/* Media Queries */
@media (min-width: 576px) {
    .icon-container {
        width: 3rem;
        height: 3rem;
    }

    .icon-container svg {
        width: 24px;
        height: 24px;
    }
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 1rem;
    }

    .info-text-email {
        word-break: break-all;
    }

    h2 {
        font-size: 1.625rem;
    }
}