body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #f0f8ff; /* Light sky blue background */
    color: #333;
    overflow-x: hidden; /* Hide horizontal scroll */
}

/* Header Section */
.contact-heading-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/contactng.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-heading-text:hover {
    transform: scale(1.5);
}
.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-heading-text {
    color: white;
    font-size: 4rem;
    letter-spacing: 2px;
    /* text-align: center; */
    transition: transform 0.3s ease-in-out;
}

/* Page Layout */
.contact-page {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Left Section - Stylish, Larger Contact Card */
.contact-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Elevation */
    padding: 40px;
    width: 48%;
    height: 600px; /* Match the height of the map */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    border: 2px solid #004d40; /* Dark green border for elegance */
    background: linear-gradient(145deg, #e0ffe1, #fff0e0); /* Light green & saffron gradient */
}

.contact-card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.contact-card h2 {
    font-size: 2.8rem;
    color: #004d40; /* Dark green for the heading */
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: bold;
}

.contact-info p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info p strong {
    color: #e65100; /* Saffron color for labels */
}

/* Right Section - Map */
.map-container {
    width: 48%;
    height: 600px; /* Increased height for map and card */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Media Queries for Responsive Design */

/* For Tablets and Smaller Screens */
@media (max-width: 1024px) {
    .contact-heading-text {
        font-size: 2.5rem;
    }

    .contact-page {
        padding: 30px;
        gap: 20px;
    }

    .contact-card, .map-container {
        width: 100%;
        height: auto; /* Allow height to adjust based on content */
    }
}

/* For Mobile Phones */
@media (max-width: 768px) {
    .contact-heading-text {
        font-size: 2rem;
    }

    .contact-page {
        flex-direction: column;
        padding: 20px;
    }

    .contact-card, .map-container {
        width: 100%;
        height: auto; /* Allow height to adjust based on content */
    }

    .contact-card h2 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-heading-text {
        font-size: 1.5rem;
    }

    .contact-card h2 {
        font-size: 1.5rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }
}
