@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

#contact {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
    margin-top: 80px; /* Add margin to avoid navbar overlap */
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-info, .contact-form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 40px;
    text-align: left;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.contact-info p, .contact-form label {
    font-size: 1.2em;
    color: #666;
}

.contact-info a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #45a049;
    text-decoration: underline;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px; 
}

.contact-form input, .contact-form textarea {
    width: 100%; 
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    align-items: center;
}

.contact-form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: auto;
    min-width: 150px;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Google Maps Styling */
.contact-map {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 40px;
    text-align: left;
}

.contact-map h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    #contact {
        padding-top: 100px;
        margin-top: 0;
    }

    .contact-content {
        padding: 0 15px;
    }

    .contact-content h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .contact-content h3 {
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .contact-info, 
    .contact-form {
        padding: 20px;
    }

    .contact-form button {
        width: 100%;
        padding: 15px 30px;
        font-size: 1em;
    }

    .contact-map {
        padding: 20px;
    }

    .map-container {
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .contact-content h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .map-container {
        height: 300px;
    }
}