.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has --header-offset */
    background-color: #F4F7FB;
    display: flex;
    flex-direction: column; /* Default to column for image above text */
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop hero */
}

.page-contact__hero-content {
    padding: 40px 20px;
    max-width: 800px;
    z-index: 1;
    position: relative; /* Ensure content is above any potential background layers */
    color: #1F2D3D; /* Ensure text is dark on light background */
}

.page-contact__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive H1 font size */
    color: #1F2D3D; /* Text Main */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-contact__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* Section Title & Intro */
.page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-intro {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #1F2D3D; /* Text Main */
}

/* Dark Section Styling */
.page-contact__dark-section {
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
    padding: 60px 0;
}

.page-contact__dark-section .page-contact__section-title,
.page-contact__dark-section .page-contact__section-intro,
.page-contact__dark-section .page-contact__method-title,
.page-contact__dark-section .page-contact__method-description,
.page-contact__dark-section .page-contact__social-intro {
    color: #ffffff; /* Ensure white text on dark background */
}

.page-contact__dark-section .page-contact__method-link {
    color: #A5C4FF; /* Glow color for links on dark background */
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 60px 0;
}

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

.page-contact__method-card {
    background-color: #ffffff; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #1F2D3D; /* Text Main */
}

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

.page-contact__method-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__method-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2F6BFF; /* Main color */
}

.page-contact__method-description {
    font-size: 1rem;
    margin-bottom: 20px;
}

.page-contact__method-link {
    color: #2F6BFF; /* Main color for links */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.page-contact__method-link:hover {
    text-decoration: underline;
    color: #1F2D3D; /* Text Main */
}

.page-contact__social-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-contact__social-icon-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
    transform: translateY(-3px);
}

.page-contact__social-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    font-size: 1rem;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2F6BFF; /* Main color on focus */
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__contact-form .page-contact__btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

.page-contact__form-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
}

/* Why Us Section */
.page-contact__why-us-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-contact__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-contact__benefit-card {
    background-color: #ffffff; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #1F2D3D; /* Text Main */
}

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