/* ===============================
   Contact Info Section
   =============================== */
.contact-info-section {
    max-width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #000000;
}

.contact-info-section p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.contact-info-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* ===============================
   Contact Section
   =============================== */
.contact-section {
    max-width: 90%;
    margin: 2rem auto;
    padding: 2rem;
}

.contact-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #000000;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    width: 100%;
    resize: none;
    box-sizing: border-box;
}

.contact-form button {
    padding: 0.75rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #555;
}

.form-message {
    margin-top: 1rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.form-message.text-red-600 {
    color: #dc2626;
}

.form-message.text-green-600 {
    color: #16a34a;
}

.form-message.hidden {
    display: none;
}

/* ===============================
   Map Section
   =============================== */
.map-section {
    max-width: 90%;
    margin: 2rem auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

.map-section iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 8px;
}

/* ===============================
   Desktop/Tablet Layout (>768px)
   =============================== */
@media (min-width: 769px) {
    .contact-container {
        display: grid;
        grid-template-columns: 1fr 2fr;
        max-width: 1200px;
        margin: 2rem auto;
        gap: 2rem;
    }

    .contact-info-section {
        margin: 0;
        text-align: left;
    }

    .contact-info-section .social-icons {
        justify-content: flex-start;
    }

    .contact-section {
        margin: 0;
    }

    .map-section {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .map-section iframe {
        max-width: 1200px;
        height: 500px;
    }
}

/* ===============================
   Large Desktop Layout (>1200px)
   =============================== */
@media (min-width: 1201px) {
    .map-section iframe {
        max-width: 1400px;
        height: 600px;
    }
}

/* ===============================
   Mobile Layout (<=768px)
   =============================== */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 1.5rem;
    }

    .contact-info-section p {
        font-size: 1rem;
    }

    .contact-info-section h2 {
        font-size: 1.35rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .contact-section h2 {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .contact-form button {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-info-section {
        padding: 1rem;
    }

    .contact-info-section p {
        font-size: 0.9rem;
    }

    .contact-info-section h2 {
        font-size: 1.2rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .contact-section h2 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .contact-form button {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .map-section iframe {
        height: 250px;
    }
}