:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --background-light: #F4F7FB;
    --card-background: #FFFFFF;
    --text-main: #1F2D3D;
    --text-dark: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

/* Base styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--background-light);
    line-height: 1.6;
}

.page-contact__section-title {
    font-size: 2.5em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px 20px; /* Small top padding, body handles --header-offset */
    background-color: var(--background-light);
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(47, 107, 255, 0.2);
}

.page-contact__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

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

.page-contact__btn-secondary {
    background-color: var(--card-background);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

/* Contact Info Section */
.page-contact__info-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

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

.page-contact__method-card {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-contact__method-text {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 25px;
}

/* Social Media Section */
.page-contact__social-media-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

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

.page-contact__social-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
    transform: translateY(-5px);
    color: var(--secondary-color);
}

.page-contact__social-icon {
    width: 100%;
    max-width: 80px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.page-contact__social-icon:hover {
    box-shadow: 0 5px 15px var(--glow-color);
}

/* Why Us Section */
.page-contact__why-us-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

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

.page-contact__why-us-item {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-contact__why-us-item:hover {
    transform: translateY(-5px);
}

.page-contact__why-us-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-contact__why-us-text {
    font-size: 1em;
    color: var(--text-main);
}

/* FAQ Section */
.page-contact__faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-contact__faq-item[open] {
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.1);
    border-color: var(--primary-color);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--card-background);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-contact__faq-question:hover {
    background-color: var(--background-light);
}

.page-contact__faq-qtext {
    flex-grow: 1;
    color: var(--text-dark);
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-main);
    line-height: 1.6;
}

.page-contact__faq-answer p {
    margin-bottom: 10px;
}

.page-contact__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: var(--secondary-color);
}

/* CTA Section */
.page-contact__cta-section {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px;
    border-radius: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(47, 107, 255, 0.3);
}

.page-contact__cta-section .page-contact__section-title {
    color: #ffffff;
    margin-bottom: 25px;
}

.page-contact__cta-section .page-contact__section-description {
    color: #ffffff;
    margin-bottom: 40px;
}

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

.page-contact__cta-buttons .page-contact__btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-buttons .page-contact__btn-primary:hover {
    background-color: var(--background-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-buttons .page-contact__btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    box-shadow: none;
}

.page-contact__cta-buttons .page-contact__btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding: 10px 15px 50px 15px;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-contact__info-section,
    .page-contact__social-media-section,
    .page-contact__why-us-section,
    .page-contact__faq-section {
        margin: 40px auto;
        padding: 0 15px;
    }
    .page-contact__cta-section {
        padding: 60px 15px;
    }
    .page-contact__why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__hero-section {
        flex-direction: column;
        padding: 10px 15px 40px 15px;
    }
    .page-contact__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__contact-methods {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__social-links {
        gap: 20px;
    }
    .page-contact__social-icon {
        max-width: 60px;
    }
    .page-contact__why-us-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__why-us-item {
        padding: 25px;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 1em;
    }

    /* Image, Video, Button mobile responsiveness overrides */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-contact__hero-image-wrapper,
    .page-contact__method-card,
    .page-contact__social-icon-link,
    .page-contact__why-us-item,
    .page-contact__faq-item,
    .page-contact__cta-section,
    .page-contact__info-section,
    .page-contact__social-media-section,
    .page-contact__why-us-section,
    .page-contact__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-contact__hero-section { /* Adjust padding for first section */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-contact__hero-content { /* Adjust padding for hero content */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-contact__cta-buttons {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-contact__cta-buttons .page-contact__btn-primary,
    .page-contact__cta-buttons .page-contact__btn-secondary {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-contact__method-title {
        font-size: 1.3em;
    }
    .page-contact__why-us-title {
        font-size: 1.2em;
    }
    .page-contact__faq-question {
        font-size: 1em;
    }
    .page-contact__cta-section {
        padding: 40px 15px;
    }
    .page-contact__social-icon {
        max-width: 50px;
    }
}