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

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
    color: #ffffff;
    border-radius: 10px;
    margin: -100px auto 0;
    max-width: 90%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.page-contact__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__btn-secondary {
    background: #ffffff; /* Custom Card BG */
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-contact__btn-secondary:hover {
    background: #e0e0e0;
    color: #2F6BFF;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Custom Text Main */
    text-align: center;
    margin-bottom: 15px;
}

.page-contact__section-description {
    font-size: 18px;
    color: #1F2D3D; /* Custom Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

.page-contact__form-wrapper {
    display: flex;
    gap: 40px;
    background: #FFFFFF; /* Custom Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 1px solid #D6E2FF; /* Custom Border */
}

.page-contact__form-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-contact__form-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.page-contact__form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__form-group {
    display: flex;
    flex-direction: column;
}

.page-contact__form-label {
    font-size: 16px;
    font-weight: 600;
    color: #1F2D3D; /* Custom Text Main */
    margin-bottom: 8px;
}

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #99AABF;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-submit-btn {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button */
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(47, 107, 255, 0.4);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Custom Background */
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 0 auto 40px;
}

details.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #D6E2FF; /* Custom Border */
    overflow: hidden;
    background: #FFFFFF; /* Custom Card BG */
}

details.page-contact__faq-item summary.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #1F2D3D; /* Custom Text Main */
    font-size: 18px;
    font-weight: 600;
}

details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

details.page-contact__faq-item summary.page-contact__faq-question:hover {
    background: #f0f5ff;
}

.page-contact__faq-qtext {
    flex: 1;
    line-height: 1.5;
    text-align: left;
}

.page-contact__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #2F6BFF;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 25px 20px;
    background: #f9f9f9;
    border-radius: 0 0 10px 10px;
    color: #1F2D3D; /* Custom Text Main */
    font-size: 16px;
    line-height: 1.7;
}

.page-contact__faq-answer p {
    margin: 0;
}

.page-contact__faq-answer a {
    color: #2F6BFF;
    text-decoration: none;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

.page-contact__faq-cta {
    text-align: center;
    margin-top: 40px;
}

.page-contact__faq-cta-text {
    font-size: 18px;
    color: #1F2D3D; /* Custom Text Main */
    margin-bottom: 20px;
}

/* Social Media Section */
.page-contact__social-media-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Custom Background */
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-contact__social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1F2D3D; /* Custom Text Main */
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.page-contact__social-link:hover {
    transform: translateY(-5px);
    color: #2F6BFF;
}

.page-contact__social-link img {
    
    
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

/* General image styling */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-image-wrapper {
        height: 400px;
    }
    .page-contact__hero-content {
        margin-top: -80px;
        padding: 30px 20px;
    }
    .page-contact__main-title {
        font-size: clamp(26px, 3.5vw, 42px);
    }
    .page-contact__hero-description,
    .page-contact__section-description,
    .page-contact__faq-cta-text {
        font-size: 17px;
    }
    .page-contact__section-title {
        font-size: 32px;
    }
    .page-contact__form-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    .page-contact__form-image img {
        max-height: 400px;
        object-fit: contain;
    }
    details.page-contact__faq-item summary.page-contact__faq-question {
        font-size: 17px;
        padding: 15px 20px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-contact__hero-section {
        padding-top: 10px !important;
        margin-bottom: 30px;
    }
    .page-contact__hero-image-wrapper {
        height: 250px;
        border-radius: 0;
    }
    .page-contact__hero-content {
        margin: -60px auto 0;
        padding: 25px 15px;
        max-width: 95%;
        border-radius: 8px;
    }
    .page-contact__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 10px;
    }
    .page-contact__hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-contact__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Section Titles and Descriptions */
    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .page-contact__section-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* Contact Form Section */
    .page-contact__contact-form-section {
        padding: 40px 0;
    }
    .page-contact__form-wrapper {
        padding: 20px;
        gap: 20px;
    }
    .page-contact__form-image img {
        max-height: 250px;
    }
    .page-contact__form-label {
        font-size: 15px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 15px;
    }
    .page-contact__form-submit-btn {
        padding: 12px 20px;
        font-size: 16px;
        align-self: stretch;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__faq-list {
        margin-bottom: 30px;
    }
    details.page-contact__faq-item {
        border-radius: 8px;
    }
    details.page-contact__faq-item summary.page-contact__faq-question {
        font-size: 16px;
        padding: 15px 15px;
    }
    .page-contact__faq-qtext {
        font-size: 16px;
    }
    .page-contact__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
    .page-contact__faq-cta {
        margin-top: 30px;
    }
    .page-contact__faq-cta-text {
        font-size: 16px;
    }

    /* Social Media Section */
    .page-contact__social-media-section {
        padding: 40px 0;
    }
    .page-contact__social-links {
        gap: 20px;
        margin-top: 20px;
    }
    .page-contact__social-link img {
        
        
    }
    .page-contact__social-link span {
        font-size: 14px;
    }

    /* General image and container responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__container,
    .page-contact__form-wrapper,
    .page-contact__hero-cta-buttons,
    .page-contact__social-links {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}