/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-contact__hero {
    background: linear-gradient(135deg, #1A2E5B, #2d457a);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid #FF8C00;
}

.page-contact__title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Info & Form Section */
.page-contact__info-form {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.page-contact__heading {
    font-size: 2em;
    color: #1A2E5B;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.page-contact__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #FF8C00;
    border-radius: 2px;
}

.page-contact__contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.page-contact__contact-info a {
    color: #1A2E5B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__contact-info a:hover {
    color: #FF8C00;
}

.page-contact__detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.page-contact__icon {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #1A2E5B;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    overflow: hidden; /* Ensure image fits */
}

.page-contact__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(100%) brightness(200%); /* Make icons white if they are dark */
}

.page-contact__social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1A2E5B;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.page-contact__social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(100%) brightness(200%); /* Make icons white if they are dark */
}

.page-contact__social-icon:hover {
    background-color: #FF8C00;
    transform: translateY(-3px);
}

/* Form Styles */
.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1A2E5B;
}

.page-contact__input,
.page-contact__textarea {
    width: calc(100% - 24px); /* Account for padding and border */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    color: #333;
    background-color: #fefefe;
}

.page-contact__input:focus,
.page-contact__textarea:focus {
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
    outline: none;
}

.page-contact__textarea {
    resize: vertical;
}

.page-contact__button {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__button--primary {
    background-color: #1A2E5B;
    color: #ffffff;
}

.page-contact__button--primary:hover {
    background-color: #2d457a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__button--secondary {
    background-color: #FF8C00;
    color: #1A2E5B;
}

.page-contact__button--secondary:hover {
    background-color: #e57e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Map & CTA Section */
.page-contact__map-cta {
    padding: 60px 0;
    background-color: #f0f2f5;
    text-align: center;
}

.page-contact__heading--center {
    text-align: center;
    margin-bottom: 40px;
}
.page-contact__heading--center::after {
    left: 50%;
    transform: translateX(-50%);
}

.page-contact__map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-contact__cta-banner {
    background-color: #1A2E5B;
    color: #ffffff;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
}

.page-contact__cta-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #FF8C00;
    font-weight: bold;
}

.page-contact__cta-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact__grid {
        grid-template-columns: 1fr;
    }

    .page-contact__hero {
        padding: 60px 0;
    }

    .page-contact__title {
        font-size: 2.8em;
    }

    .page-contact__subtitle {
        font-size: 1.1em;
    }

    .page-contact__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero {
        padding: 40px 0;
    }

    .page-contact__title {
        font-size: 2.2em;
    }

    .page-contact__subtitle {
        font-size: 1em;
    }

    .page-contact__heading {
        font-size: 1.8em;
    }

    .page-contact__input,
    .page-contact__textarea {
        padding: 10px;
    }

    .page-contact__button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-contact__map-placeholder {
        height: 300px;
    }

    .page-contact__cta-title {
        font-size: 1.8em;
    }

    .page-contact__cta-banner {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .page-contact__hero {
        padding: 30px 0;
    }

    .page-contact__title {
        font-size: 1.8em;
    }

    .page-contact__heading {
        font-size: 1.5em;
    }

    .page-contact__grid {
        gap: 30px;
    }

    .page-contact__map-placeholder {
        height: 250px;
    }

    .page-contact__cta-title {
        font-size: 1.5em;
    }
}