
/* Contact Info Section */
.contact-info {
    text-align: center;
    padding: 15px 15px;
    background-color: #f9f9f9; /* Light background for contrast */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 10px; /* Space around the section */
}

.contact-info h1 {
    font-size: 36px; /* Larger title */
    margin-bottom: 20px; /* Increased margin for spacing */
    color: var(--primarydeep-color); /* Primary color for the title */
}

.contact-info p {
    font-size: 18px; /* Font size for readability */
    color: #555; /* Softer text color */
    line-height: 1.6; /* Better line spacing for readability */
    margin-bottom: 40px; /* Spacing below the paragraph */
}

/* Contact details styling */
.contact-details {
    display: flex; /* Flex layout for responsiveness */
    justify-content: center; /* Center the items */
    gap: 40px; /* Space between items */
    margin-top: 30px; /* Margin above the details */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.contact-details div {
    background: #fff; /* White background for contrast */
    padding: 20px; /* Padding inside the card */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    min-width: 220px; /* Minimum width for the card */
    max-width: 300px; /* Maximum width for the card */
    transition: transform 0.3s, box-shadow 0.3s; /* Animation on hover */
}

.contact-details div:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

.contact-details h3 {
    font-size: 22px; /* Header font size */
    color: var(--primarydeep-color); /* Primary color for headers */
    margin-bottom: 10px; /* Margin below header */
}

.contact-details p {
    display: flex; /* Flex for icons and text alignment */
    align-items: center; /* Center items vertically */
    font-size: 16px; /* Font size for details */
    color: #333; /* Text color */
}

.contact-details p i {
    color: var(--primarydeep-color); /* Primary color for icons */
    margin-right: 8px; /* Space between icon and text */
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto; /* Center the grid */
}

/* Contact Form and Location Map Styles */
.contact-form,
.location-map {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2,
.location-map h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primarydeep-color);
    font-weight: 600; /* Slightly bolder for emphasis */
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
}

form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

form input,
form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primarydeep-color);
}

/* Submit Button Styles */
.submit-btn {
    padding: 15px 20px;
    background-color: var(--primarydeep-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #205a80; /* Darker shade on hover */
}

/* Location Map Styles */
.location-map {
    background-color: #f9f9f9; /* Light background for contrast */
    border-radius: 12px; /* Rounded corners */
    padding: 20px; /* Padding inside the section */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}


.map-container {
    width: 100%; /* Full width */
    max-width: 800px; /* Maximum width for larger screens */
    margin: 0 auto; /* Center the map */
    border-radius: 12px; /* Rounded corners */
    overflow: hidden; /* Ensure corners are rounded */
}

.map-container iframe {
    width: 100%; /* Full width of the container */
    height: 400px; /* Fixed height */
    border: none; /* Remove border */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .contact-info h1 {
        font-size: 28px; /* Reduced title size for smaller screens */
    }
}

@media (max-width: 480px) {
    .contact-info p {
        font-size: 16px; /* Smaller paragraph font size */
    }

    .contact-details div {
        min-width: 180px; /* Adjust minimum width for small screens */
    }

    form label,
    form input,
    form textarea {
        font-size: 14px; /* Smaller form font size */
    }

    .submit-btn {
        font-size: 14px; /* Smaller button font size */
        padding: 12px 18px; /* Adjust padding for smaller screens */
    }
}
