:root {
    --black: #000;
    --primary-color: #122232;
    --secondry-color: #87CEEB;
    --white: #fff;
}


/* --- Contact Section Styles --- */
.contact-section {
    display: flex;
    flex-direction: column;
    /* Default to column for mobile */
    gap: 40px;
    /* Space between left and right sections */
    padding: 40px 20px;
    /* max-width: 1200px; */
    /* Limit overall width */
    /* margin: 40px auto; */
    /* Center the section */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Left Side: Contact Details */
.contact-details {
    flex: 1;
    /* Allow it to grow */
    min-width: 300px;
    /* Minimum width before breaking */
}

.contact-info-grid {
    display: grid;
    /* For smaller screens, one column by default */
    grid-template-columns: 1fr;
    gap: 25px;
    /* Space between info cards */
}

.info-card {
    background-color: #f8f9fa;
    /* Light background for cards */
    padding: 40px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    /* Align icon and text at the top */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card .icon {
    font-size: 2.2em;
    color: #007bff;
    /* Primary blue for icons */
    /* margin-right: 20px; */
    width: 45px;
    /* Fixed width for icon to align text */
    text-align: center;
}

.info-card .text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3em;
}

.info-card .text p {
    margin: 0;
    color: #555;
    font-size: 0.95em;
    word-wrap: break-word;
    /* Ensure long text breaks */
}

.info-card .text a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card .text a:hover {
    color: #0056b3;
}

/* Right Side: Contact Form */
.contact-form-container {
    flex: 1;
    /* Allow it to grow */
    min-width: 300px;
    /* Minimum width before breaking */
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-container h1 {
    text-align: center;
    color: #007bff;
    margin-bottom: 35px;
    font-size: 2.5em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

#contact-form .form-row {
    display: flex;
    flex-direction: column;
    /* Default to column for mobile */
    gap: 20px;
    margin-bottom: 20px;
}

#contact-form .form-group {
    margin-bottom: 20px;
    /* Space between groups */
    flex: 1;
    /* Allow form groups in a row to take equal space */
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

#contact-form .required {
    color: #dc3545;
    /* Red color for required asterisk */
    font-size: 0.9em;
    margin-left: 5px;
}

#contact-form input[type="text"],
#contact-form input[type="tel"],
#contact-form input[type="email"],
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    /* Include padding in width */
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

#contact-form textarea {
    resize: vertical;
    /* Allow vertical resizing only */
    min-height: 100px;
}

#contact-form .submit-btn {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#contact-form .submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* --- Media Queries for Responsiveness --- */

/* For Tablets and larger screens (approx 768px and up) */
@media (min-width: 768px) {
    .contact-info-grid {
        /* Address card spans full width, phone and email go side-by-side */
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        /* Auto rows */
    }

    .address-card {
        grid-column: 1 / -1;
        /* Spans across both columns */
    }

    #contact-form .form-row {
        flex-direction: row;
        /* Make form rows side-by-side */
    }
}

/* For Desktops and larger screens (approx 992px and up) */
@media (min-width: 992px) {
    .contact-section {
        flex-direction: row;
        /* Side-by-side layout for desktop */
        align-items: flex-start;
        /* Align content to the top */
    }

    .contact-details,
    .contact-form-container {
        padding: 40px;
        /* Slightly more padding for larger screens */
    }

    .contact-details {
        margin-right: 40px;
        /* Space between contact details and form */
    }

    .contact-form-container {
        margin-left: 0;
        /* Reset margin */
    }

    .contact-info-grid {
        /* On desktop, address card still spans, phone and email below it */
        grid-template-columns: 1fr 1fr;
        /* Keep two columns for phone/email if they fit */
    }

    .info-card .icon {
        font-size: 2.5em;
        /* Slightly larger icons on desktop */
    }
}