﻿
footer {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 40px 0px;
    background: #23232f;
    /* margin-top: 40px; */
}
/* Styles for Contact Us - contact-us.css */

/* Ensure your global .site-main and #main styles are active */

.contact-us-page .page-header {
    text-align: center;
    /*margin-top: 4%;*/
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1522071820081-009f0129c7da?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') center/cover no-repeat;
    padding: var(--spacing-xl, 2.5rem) 15px var(--spacing-lg, 1.5rem); /* Adjusted padding for the background */
    margin-left: -15px; /* Offset container padding to make background full-width relative to container */
    margin-right: -15px; /* Offset container padding */
    margin-bottom: var(--spacing-xxl, 4rem); /* Space below the header */
    border-bottom: 1px solid var(--mystepney-border-color, #dee2e6);
    /* Optional: if you want the background to have rounded bottom corners within the container's flow */
    /* border-radius: 0 0 var(--border-radius-lg, 12px) var(--border-radius-lg); */
}

    .contact-us-page .page-header h1 {
        font-family: sans-serif;
        font-weight: 700;
        color: var(--text-color-dark);
        margin-bottom: var(--spacing-lg);
        line-height: 1.3;
    }

    .contact-us-page .page-header .lead-text {
        font-size: 1.15rem;
        font-weight: 300;
        color: var(--text-color-dark);
        margin-bottom: var(--spacing-lg);
    }

/* Success Alert Message */
.alert.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid #c3e6cb;
    border-radius: .375rem; /* Bootstrap-like radius */
    text-align: center;
}


.contact-us-page .contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem; /* Increased gap */
}

.contact-us-page .contact-form-section {
    flex: 1.8; /* Slightly less dominant form */
    min-width: 320px;
    background-color: #fff;
    padding: 2.5rem; /* More padding */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

    .contact-us-page .contact-form-section h2,
    .contact-us-page .contact-info-section h2 {
        font-size: 1.75rem; /* Slightly smaller section titles */
        color: #2c3e50; /* Dark slate blue */
        margin-top: 0;
        margin-bottom: 2rem;
        font-weight: 500;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #eaf2f8; /* Light blue underline */
    }

.contact-us-page .form-row {
    display: flex;
    gap: 1.5rem; /* Space between half-width fields */
    margin-bottom: 1.5rem;
}

.contact-us-page .form-group.half-width {
    flex: 1;
    margin-bottom: 0; /* Remove bottom margin as .form-row handles it */
}

.contact-us-page .form-group {
    margin-bottom: 1.5rem;
}

    .contact-us-page .form-group label {
        display: block;
        margin-bottom: 0.6rem;
        font-weight: 500;
        color: #4a5568; /* Softer label color */
        font-size: 0.95rem;
    }

    .contact-us-page .form-group input[type="text"],
    .contact-us-page .form-group input[type="email"],
    .contact-us-page .form-group textarea {
        width: 100%;
        padding: 0.9rem 1.1rem;
        border: 1px solid #cbd5e0; /* Lighter border */
        border-radius: 6px;
        font-size: 1rem;
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s;
        color: #2d3748;
    }

        .contact-us-page .form-group input[type="text"]:focus,
        .contact-us-page .form-group input[type="email"]:focus,
        .contact-us-page .form-group textarea:focus {
            border-color: #2980b9; /* MyStepney primary blue */
            box-shadow: 0 0 0 0.15rem rgba(41, 128, 185, 0.2);
            outline: none;
        }

    .contact-us-page .form-group textarea {
        resize: vertical;
        min-height: 140px; /* Taller textarea */
    }

.contact-us-page .required-asterisk {
    color: #e53e3e; /* Red for asterisk */
    margin-left: 0.2rem;
}

.contact-us-page .form-note {
    font-size: 0.85rem;
    color: #718096; /* Lighter grey for note */
    margin-top: 1rem;
}


.contact-us-page .btn.btn-primary-submit {
    background-color: #2980b9; /* MyStepney primary blue */
    border-color: #2980b9;
    color: white;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 30px; /* Pill shape button */
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
    border: none;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(41,128,185,0.2);
}

    .contact-us-page .btn.btn-primary-submit:hover {
        background-color: #1a5276; /* Darker blue */
        border-color: #1a5276;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(41,128,185,0.3);
    }

.contact-us-page .form-group.submit-group {
    text-align: left; /* Or 'center' if preferred */
    margin-top: 2rem;
}


.contact-us-page .contact-info-section {
    flex: 1.2; /* Slightly more dominant info section */
    min-width: 300px;
    background-color: #f8fafc; /* Very light, almost white */
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0; /* Subtle border */
}

.contact-us-page .contact-info-item {
    margin-bottom: 2.2rem;
    display: flex;
    align-items: flex-start;
    padding-bottom: 1.5rem; /* Space below each item */
    border-bottom: 1px dashed #e2e8f0; /* Dashed separator */
}

    .contact-us-page .contact-info-item:last-child {
        margin-bottom: 0;
        border-bottom: none; /* No border for the last item */
        padding-bottom: 0;
    }

    .contact-us-page .contact-info-item [class^="icon-"],
    .contact-us-page .contact-info-item .fa, .contact-us-page .contact-info-item .fas, .contact-us-page .contact-info-item .far, .contact-us-page .contact-info-item .fab {
        font-size: 1.6rem; /* Slightly smaller icons here */
        color: #2980b9; /* MyStepney primary blue */
        margin-right: 1.2rem;
        margin-top: 0.1rem;
        width: 28px; /* Fixed width */
        text-align: center;
        flex-shrink: 0; /* Prevent icon from shrinking */
    }

    .contact-us-page .contact-info-item div { /* Container for text next to icon */
        flex: 1;
    }

    .contact-us-page .contact-info-item h3 {
        font-size: 1.15rem;
        color: #34495e; /* Dark grey blue */
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .contact-us-page .contact-info-item p {
        font-size: 1rem;
        color: #566573; /* Medium grey */
        margin-bottom: 0.2rem;
        line-height: 1.6;
    }

        .contact-us-page .contact-info-item p.small-text {
            font-size: 0.85rem;
            color: #718096; /* Lighter grey */
            margin-top: 0.3rem;
        }

        .contact-us-page .contact-info-item p a {
            color: #1f618d; /* Darker blue for links */
            text-decoration: none;
            font-weight: 500;
        }

            .contact-us-page .contact-info-item p a:hover {
                text-decoration: underline;
                color: #154360;
            }

.contact-us-page .social-links a {
    display: inline-flex; /* For better alignment of icons */
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    color: #2980b9; /* MyStepney primary blue */
    font-size: 1.4rem; /* Size of social icons */
    text-decoration: none;
    width: 36px; /* Circle size */
    height: 36px; /* Circle size */
    border-radius: 50%;
    border: 1px solid #cbd5e0;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

    .contact-us-page .social-links a:hover {
        color: #fff;
        background-color: #2980b9;
        border-color: #2980b9;
    }

    .contact-us-page .social-links a:last-child {
        margin-right: 0;
    }

/* Responsive adjustments for contact layout */
@media (max-width: 992px) {
    .contact-us-page .contact-layout {
        flex-direction: column;
    }

    .contact-us-page .contact-form-section,
    .contact-us-page .contact-info-section {
        flex: none;
        width: 100%;
    }

    .contact-us-page .form-row {
        flex-direction: column; /* Stack name and email on smaller screens */
        gap: 0; /* Remove gap as they stack */
    }

    .contact-us-page .form-group.half-width {
        margin-bottom: 1.5rem; /* Add margin back when stacked */
    }
}

@media (max-width: 768px) {
    .contact-us-page .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-us-page .contact-form-section h2,
    .contact-us-page .contact-info-section h2 {
        font-size: 1.6rem;
    }

    .contact-us-page .contact-form-section,
    .contact-us-page .contact-info-section {
        padding: 1.8rem;
    }
}

.next-btn {
    padding: 12px 30px;
    font-size: 16px;
    background: #EF5844;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: sans-serif;
    min-width: 120px;
}

    .next-btn:hover {
        background: #e4523e;
        transform: translateY(-2px);
    }


