/* style/contact.css */

/* General Page Styling */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-contact__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-contact__text-block {
    font-size: 1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: justify;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-contact__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* CTA Buttons */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1a7eb3;
    border-color: #1a7eb3;
}

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 20px;
}

.page-contact__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7eb3;
    border-color: #1a7eb3;
}

/* Info Section */
.page-contact__info-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast */
}

.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-contact__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-contact__dark-bg .page-contact__section-title,
.page-contact__dark-bg .page-contact__section-intro,
.page-contact__dark-bg .page-contact__card-title,
.page-contact__dark-bg .page-contact__card-text,
.page-contact__dark-bg .page-contact__sub-title,
.page-contact__dark-bg .page-contact__text-block,
.page-contact__dark-bg .page-contact__form-label,
.page-contact__dark-bg .page-contact__form-input,
.page-contact__dark-bg .page-contact__form-textarea {
    color: #ffffff;
}

.page-contact__dark-bg .page-contact__form-input::placeholder,
.page-contact__dark-bg .page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-contact__dark-bg a {
    color: #ffffff;
    text-decoration: underline;
}

.page-contact__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-contact__contact-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-contact__contact-card:hover {
    transform: translateY(-5px);
}

.page-contact__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-contact__social-icon {
    display: block; /* Ensure the image fills the link */
    width: 60px; /* Adjust size as needed, but ensure min 200x200 for actual image file */
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-contact__social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* Make the image itself circular */
}

.page-contact__social-icon:hover {
    transform: scale(1.1);
}

.page-contact__additional-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}


/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
}

.page-contact__form-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.page-contact__form-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-contact__contact-form {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark blue */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}