
/* General Contact Section Styling */
.contact-modern {
    padding: 120px 0 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-modern .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    margin-top: 2.5rem;
    font-size: 2.8em;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff; /* Primary color */
    border-radius: 2px;
}

.contact-header p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
    justify-content: center; /* Center the single column */
}

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

/* Contact Details Styling */
.contact-details-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 0 auto; /* Center the container */
    max-width: 600px; /* Limit width for better appearance */
}

.contact-details-container h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

/* Contact Details Styling */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.8em;
    color: #007bff;
    margin-right: 15px;
    width: 30px; /* Fixed width for icon alignment */
    text-align: center;
}

.contact-info-item p {
    margin: 0;
    font-size: 1.1em;
    color: #444;
}

.contact-info-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.map-heading {
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 350px; /* Adjust height as needed */
    border: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-header h2 {
        font-size: 2.2em;
    }

    .contact-header p {
        font-size: 1em;
    }

    .contact-details-container {
        padding: 25px;
    }

    .contact-details-container h3 {
        font-size: 1.8em;
    }

    .contact-info-item i {
        font-size: 1.5em;
    }

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

@media (max-width: 480px) {
    .contact-modern {
        padding: 40px 0;
    }

    .contact-header h2 {
        font-size: 1.8em;
    }

    .contact-header p {
        font-size: 0.9em;
    }

    .contact-details-container {
        padding: 20px;
    }

    .contact-details-container h3 {
        font-size: 1.6em;
    }
}
