/* General styles for the contact page */
.page-contact {
    background-color: #140C0C; /* Background color */
    color: #FFF1E8; /* Main text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold color for titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #140C0C;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-contact__hero-image {
    width: 100%;
    max-height: 492px; /* Fixed height for the hero image container */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-contact__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: #F3C54D; /* Gold color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__description {
    font-size: 1.2em;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C; /* Dark text for bright button */
    border: none;
    margin: 10px;
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background: #2A1212; /* Card BG color */
    color: #FFB04A; /* Gold color for text */
    border: 2px solid #D86A14; /* Deep Red border */
    margin: 10px;
}

.page-contact__btn-secondary:hover {
    background: #3A1A1A;
    transform: translateY(-2px);
}

/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 80px 0;
    background-color: #140C0C;
}

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

.page-contact__method-card {
    background-color: #2A1212; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-contact__method-icon {
    width: 100%;
    height: 200px; /* Consistent height for icons/images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #F3C54D; /* Gold color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    font-size: 1em;
    color: #FFF1E8;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #1F1010; /* Slightly lighter dark background for contrast */
}

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

.page-contact__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F3C54D; /* Gold color */
    cursor: pointer;
    background-color: #2A1212; /* Card BG */
    position: relative;
    list-style: none; /* Hide default marker */
}

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

.page-contact__faq-question::before {
    content: ''; /* Remove default marker for Firefox */
    display: none;
}

.page-contact__faq-qtext {
    flex-grow: 1;
    color: #F3C54D;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: #FFB04A; /* Goldish for toggle */
    margin-left: 15px;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: '×'; /* Changed from '-' to '×' for better visual */
    transform: rotate(45deg); /* Simple animation for toggle */
}

.page-contact__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF1E8;
    background-color: #1F1010; /* Slightly lighter dark background for answer */
}

/* Why Choose Us Section */
.page-contact__why-us-section {
    padding: 80px 0;
    background-color: #140C0C;
}

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

.page-contact__why-us-item {
    background-color: #2A1212; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border color */
}

.page-contact__why-us-icon {
    width: 100%;
    height: 200px; /* Consistent height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-contact__why-us-heading {
    font-size: 1.8em;
    color: #F3C54D; /* Gold color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__why-us-text {
    font-size: 1em;
    color: #FFF1E8;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #1F1010; /* Slightly lighter dark background */
}

.page-contact__cta-title {
    font-size: 2.2em;
    color: #F3C54D; /* Gold color */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__cta-text {
    font-size: 1.1em;
    color: #FFF1E8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap */
    gap: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

    .page-contact__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
    }

    .page-contact__hero-image {
        max-height: 250px; /* Adjust hero image height for mobile */
    }

    .page-contact__hero-content {
        padding: 30px 15px;
    }

    .page-contact__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-contact__description {
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 2em;
        padding-top: 30px;
    }

    .page-contact__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-contact__method-grid,
    .page-contact__why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__method-card,
    .page-contact__why-us-item {
        padding: 20px;
    }

    .page-contact__method-icon,
    .page-contact__why-us-icon {
        height: 180px; /* Adjust image height for mobile cards */
    }

    /* General image and container responsiveness for mobile */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__method-card,
    .page-contact__why-us-item,
    .page-contact__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button specific mobile adaptation */
    .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;
        margin: 10px 0 !important; /* Adjust margin for stacked buttons */
        padding: 12px 20px; /* Slightly smaller padding for mobile buttons */
    }
    
    .page-contact__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically on mobile */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-contact__cta-title {
        font-size: 1.8em;
    }

    .page-contact__cta-text {
        font-size: 1em;
    }
}