/* style/contact.css */

/* General page-contact styling */
.page-contact {
    color: #f0f0f0; /* Light text for dark body background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Inherit from body (var(--dark-bg-1)) */
}

.page-contact__hero-section {
    position: relative;
    padding: 120px 20px 80px; /* Desktop padding-top for fixed header */
    background: linear-gradient(135deg, #1A2E4E, #0A1B2D); /* Dark blue gradient */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-contact__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-contact__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for title */
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #FFD700; /* Gold button */
    color: #1A2E4E; /* Dark text on gold */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__cta-button--secondary {
    background: #1A2E4E; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #FFD700;
}

.page-contact__cta-button--secondary:hover {
    background: #0A1B2D; /* Even darker blue */
    color: #FFD700;
    border-color: #e6c200;
}

.page-contact__section-title {
    font-size: 36px;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 18px;
    color: #e0e0e0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 80px 20px;
    background-color: #0A1B2D; /* Dark background */
    color: #f0f0f0;
}

.page-contact__info-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-contact__method-card {
    background: #1A2E4E; /* Primary dark blue for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    background-color: #2a3f5f;
}

.page-contact__method-icon {
    width: 200px; /* Min size 200x200px */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Subtle gold glow */
}

.page-contact__method-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}

.page-contact__method-link {
    display: inline-block;
    padding: 10px 20px;
    background: #FFD700;
    color: #1A2E4E;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__method-link:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.page-contact__working-hours {
    text-align: center;
    font-size: 18px;
    margin-top: 50px;
    color: #e0e0e0;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 20px;
    background-color: #1A2E4E; /* Primary dark blue */
    color: #f0f0f0;
}

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #0A1B2D; /* Darker background for form container */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

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

.page-contact__form-label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #FFD700;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    padding: 12px 15px;
    border: 1px solid #3a4f6d;
    border-radius: 5px;
    background-color: #0d2033; /* Very dark input background */
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    outline: none;
}

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

.page-contact__submit-button {
    padding: 15px 30px;
    background: #FFD700;
    color: #1A2E4E;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    align-self: center; /* Center the button */
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__submit-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Mini FAQ Section (Contact Related) */
.page-contact__faq-mini-section {
    padding: 80px 20px;
    background-color: #0A1B2D;
    color: #f0f0f0;
}

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

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

.page-contact__faq-mini-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #1A2E4E; /* Dark blue background for FAQ item */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-mini-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #1A2E4E;
    border: 1px solid #3a4f6d;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-contact__faq-mini-question:hover {
    background: #2a3f5f;
    border-color: #4c6a8f;
}

.page-contact__faq-mini-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #FFD700; /* Gold text for question */
    pointer-events: none; /* Prevent h3 from blocking click */
}

.page-contact__faq-mini-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-contact__faq-mini-item.active .page-contact__faq-mini-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #FFD700;
}

.page-contact__faq-mini-item.active .page-contact__faq-mini-toggle {
    color: #FFD700;
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-contact__faq-mini-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #0d2033; /* Darker background for answer */
    color: #cccccc;
    border-radius: 0 0 8px 8px;
}

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

/* Value Proposition Section */
.page-contact__value-proposition {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A2E4E, #0A1B2D); /* Consistent gradient */
    text-align: center;
    color: #ffffff;
}

.page-contact__value-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__cta-button--large {
    padding: 18px 40px;
    font-size: 20px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 40px;
    }
    .page-contact__section-title {
        font-size: 32px;
    }
    .page-contact__hero-section,
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-mini-section,
    .page-contact__value-proposition {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: 100px !important; /* Mobile padding-top for fixed header */
        padding-bottom: 60px;
    }
    .page-contact__main-title {
        font-size: 32px;
    }
    .page-contact__hero-description {
        font-size: 16px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }
    .page-contact__cta-button,
    .page-contact__cta-button--large,
    .page-contact__submit-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-contact__section-title {
        font-size: 28px;
    }
    .page-contact__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-mini-section,
    .page-contact__value-proposition {
        padding: 60px 15px;
    }
    .page-contact__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__method-icon {
        width: 150px; /* Adjust image size for mobile */
        height: 150px;
    }
    .page-contact__form-container {
        padding: 30px 20px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }
    .page-contact__faq-mini-question {
        padding: 15px 20px;
    }
    .page-contact__faq-mini-question h3 {
        font-size: 16px;
    }
    .page-contact__faq-mini-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-contact__faq-mini-answer {
        padding: 0 20px;
    }
    .page-contact__faq-mini-item.active .page-contact__faq-mini-answer {
        padding: 15px 20px !important;
    }
    /* Ensure all images are responsive */
    .page-contact img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__hero-section,
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-mini-section,
    .page-contact__value-proposition,
    .page-contact__hero-container,
    .page-contact__info-container,
    .page-contact__form-container,
    .page-contact__faq-mini-container,
    .page-contact__value-container,
    .page-contact__method-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-contact__method-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 28px;
    }
    .page-contact__section-title {
        font-size: 24px;
    }
}