/* style/contact.css */
.page-contact {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background handled by shared.css */
}

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

.page-contact__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    background-color: #007bff; /* Primary color for hero background */
    padding-top: var(--header-offset, 120px);
}

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

.page-contact__hero-section .page-contact__container {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__btn-primary {
    display: inline-block;
    background-color: #ffc107; /* Secondary color for primary button */
    color: #121212; /* Dark text for bright button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.page-contact__btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #ffc107; /* Secondary color for section titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-contact__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

.page-contact__why-contact-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-contact__why-contact-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-contact__why-contact-item {
    flex: 1;
}

.page-contact__item-title {
    font-size: 1.8em;
    color: #007bff; /* Primary color for item titles */
    margin-bottom: 20px;
}

.page-contact__item-list {
    list-style: none;
    padding: 0;
}

.page-contact__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #e0e0e0;
}

.page-contact__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-contact__why-contact-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-contact__why-contact-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__methods-section {
    padding: 80px 0;
    background-color: #121212;
}

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

.page-contact__method-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-contact__method-icon {
    max-width: 100px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #ffc107;
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__method-info {
    font-weight: bold;
    color: #ffffff;
    margin-top: 15px;
}

.page-contact__btn-secondary {
    display: inline-block;
    background-color: #007bff; /* Primary color for secondary button */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
}

.page-contact__btn-secondary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.page-contact__social-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.page-contact__social-item {
    margin-bottom: 5px;
}

.page-contact__social-link {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__social-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-contact__form-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto 40px auto;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #ffc107;
    outline: none;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
}

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

.page-contact__form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
}

.page-contact__form-image {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-section {
    padding: 80px 0;
    background-color: #121212;
}

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

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(0, 123, 255, 0.2); /* Light primary color */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: rgba(0, 123, 255, 0.4);
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 25px;
}

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

.page-contact__faq-heading {
    margin: 0;
    color: #ffffff;
}

.page-contact__company-info-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-contact__info-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-contact__info-details {
    flex: 1;
}

.page-contact__info-details .page-contact__item-list {
    margin-bottom: 30px;
}

.page-contact__info-details .page-contact__list-item {
    color: #e0e0e0;
}

.page-contact__info-details .page-contact__list-item strong {
    color: #ffc107;
}

.page-contact__call-to-action {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-contact__call-to-action a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__call-to-action a:hover {
    color: #ffc107;
    text-decoration: underline;
}

.page-contact__info-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-contact__info-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__conclusion-section {
    padding: 60px 0;
    background-color: #007bff; /* Primary color */
    text-align: center;
}

.page-contact__conclusion-text {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__conclusion-cta {
    font-size: 1.3em;
    padding: 18px 35px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }

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

    .page-contact__why-contact-grid,
    .page-contact__info-grid {
        flex-direction: column;
    }

    .page-contact__why-contact-image-wrapper,
    .page-contact__info-image-wrapper {
        order: -1; /* Image first on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section {
        padding: 80px 0;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-contact__hero-title {
        font-size: 2.5em;
    }

    .page-contact__hero-description {
        font-size: 1.1em;
    }

    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-contact__section-text {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-contact__why-contact-section,
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__company-info-section,
    .page-contact__conclusion-section {
        padding: 50px 0;
    }

    .page-contact__container {
        padding: 0 15px;
    }

    /* Image responsive rules */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-contact__why-contact-image,
    .page-contact__form-image,
    .page-contact__info-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Button responsive rules */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-contact__hero-cta,
    .page-contact__form-submit-btn,
    .page-contact__conclusion-cta {
        margin-left: 0;
        margin-right: 0;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__contact-form {
        padding: 30px 20px;
    }

    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-contact__faq-answer {
        padding: 0 20px;
    }

    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px;
    }

    .page-contact__info-image-wrapper {
        margin-bottom: 20px;
    }

    .page-contact__social-list {
        text-align: center;
    }
}