/* Contact Us Page Styles */

/* Section 1: Full Screen Heading with Fixed Background */
#contact-us-heading {
    background: url('../images/Untitled (1920 x 1080 px).jpg') no-repeat center center fixed; /* Replace with your image path */
    background-size: cover;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    color: rgb(2, 78, 135);
    position: relative; /* Make sure it stays behind the form */
    z-index: 1; /* Ensure section 1 stays behind section 2 */
}

/* Main Heading Styling */
.heading-content h1 {
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: rgba(2, 78, 135);
    text-shadow: 2px 2px 4px #000;
}

/* Subheading Styling */
.heading-content h2 {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px #000;
}

/* Our Contacts Section */
#our-contacts {
    background-color: #f9f9f9;
    padding: 50px 0;
}

/* Heading and Text */
#our-contacts .section-heading {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

#our-contacts .small-text {
    font-size: 16px;
    color: #777;
    margin-bottom: 40px;
}

/* Wrapper for Contact Cards */
.contact-cards-wrapper {
    display: flex;
    justify-content: space-between; /* Evenly spaces out the cards */
    width: 60%;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Info Card */
.contact-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 45%; /* Two cards per row */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.15);
}

/* Card Icon */
.contact-card .card-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

/* Card Content */
.contact-card .card-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.contact-card .card-content p, a:link {
    font-size: 16px;
    color: #777;
}

/* Responsive Layout for Smaller Screens */
@media (max-width: 768px) {
    .contact-cards-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .contact-card {
        width: 90%;
    }
}


/* Section 2: Contact Form Styling */
#contact-us-form {
    background-color: #f9f9f9;
    padding: 50px 0;
    position: relative;
    z-index: 2; /* Ensure the form is above the background image */
}

.contact-us-form .container {
    display: flex;
    justify-content: center;
}

.contact-us-form form {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background for the form */
    padding: 40px;
    border-radius: 8px;
    width: 60%; /* Form takes 60% of the screen width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Form Group for Inputs */
.form-group {
    width: 100%;
    margin-bottom: 20px;
}

/* Equal width for input fields and space between them */
.form-group input{
    width: 90%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

.form-group textarea {
    width: 95%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

/* Submit Button Styling */
button[type="submit"] {
    background-color: #007bff;
    color: white;
    font-size: 16px;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-us-form form {
        width: 90%; /* Form width adjusted on smaller screens */
    }

    .form-row {
        flex-direction: column; /* Stack the fields on smaller screens */
    }

    .heading-content h1 {
        font-size: 36px;
    }

    .heading-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .heading-content h1 {
        font-size: 28px;
    }

    .heading-content h2 {
        font-size: 20px;
    }
}
