/* -------------------------------------------------------------------------- */
/*                            Contact Page Styles                             */
/* -------------------------------------------------------------------------- */

/* Root variables (if any specific to this page, otherwise rely on shared) */
:root {
    /* Custom colors from requirements */
    --card-bg: #17191F;
    --bg-color: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
    --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

/* Base styles for the contact page content */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Text Main for general content */
    background-color: var(--bg-color); /* Background for the main content area */
    padding-bottom: 40px;
}

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

/* Section Titles */
.page-contact__section-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    color: #FF8C1A; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-contact__section-description {
    font-size: clamp(15px, 2vw, 18px);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--text-main);
}

/* Buttons */
.page-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    width: auto;
}

.page-contact__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff; /* White text for primary buttons */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-contact__btn-secondary {
    background: transparent;
    color: #FF8C1A; /* Main brand color for text */
    border: 2px solid #FF8C1A;
    box-shadow: none;
}

.page-contact__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    color: #FFA53A;
    border-color: #FFA53A;
    transform: translateY(-2px);
}

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

.page-contact__hero-image {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop hero */
    overflow: hidden;
    border-radius: 10px;
}

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

.page-contact__hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main);
    z-index: 2;
}

.page-contact__hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #FF8C1A; /* Main brand color for H1 */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 140, 26, 0.6);
}

.page-contact__hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-cta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* -------------------------------------------------------------------------- */
/*                             Contact Methods Section                        */
/* -------------------------------------------------------------------------- */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

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

.page-contact__method-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
    height: 100%; /* Ensure cards have equal height */
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.2);
}

.page-contact__method-icon {
    width: 150px;
    height: 100px; /* Example size, ensuring min 200x200 via imageRequirements */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-contact__method-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFA53A; /* Auxiliary color for method titles */
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #1f2128; /* Slightly lighter than card-bg for contrast */
    color: var(--text-main);
    font-size: 16px;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 243, 230, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    outline: none;
    border-color: #FFA53A;
    box-shadow: 0 0 0 3px rgba(255, 165, 58, 0.2);
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.page-contact__social-link {
    min-width: 120px;
}

/* -------------------------------------------------------------------------- */
/*                                  FAQ Section                               */
/* -------------------------------------------------------------------------- */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
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;
}
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: #1f2128; /* Slightly lighter for hover */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFA53A; /* Auxiliary color for questions */
}
.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FF8C1A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #17191F; /* Same as card-bg for consistency */
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  line-height: 1.6;
}
details.page-contact__faq-item .page-contact__faq-answer p {
    margin: 0;
    color: var(--text-main);
}

/* -------------------------------------------------------------------------- */
/*                             Why Contact Section                            */
/* -------------------------------------------------------------------------- */
.page-contact__why-contact-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

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

.page-contact__benefit-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
    height: 100%;
}

.page-contact__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.2);
}

.page-contact__benefit-icon {
    width: 150px;
    height: 100px; /* Example size, ensuring min 200x200 via imageRequirements */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-contact__benefit-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFA53A;
    margin-bottom: 15px;
}

.page-contact__benefit-text {
    font-size: 16px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-contact__cta-bottom {
    margin-top: 60px;
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/*                               Media Queries                                */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .page-contact__hero-image {
        height: 500px;
    }
    .page-contact__hero-title {
        font-size: clamp(30px, 4.5vw, 48px);
    }
    .page-contact__hero-description {
        font-size: clamp(15px, 2.2vw, 18px);
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-contact__benefit-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-contact__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-contact__container {
        padding: 15px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        margin-bottom: 30px;
    }
    .page-contact__hero-image {
        height: auto !important;
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        border-radius: 0 !important;
    }
    .page-contact__hero-image img {
        object-fit: contain !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-content {
        padding: 30px 15px;
    }
    .page-contact__hero-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: clamp(14px, 4vw, 16px);
        margin-bottom: 25px;
    }
    .page-contact__btn,
    .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 !important;
        padding-right: 15px !important;
    }
    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__why-contact-section {
        padding: 40px 0;
    }
    .page-contact__section-title {
        font-size: clamp(22px, 6vw, 32px);
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: clamp(14px, 4vw, 16px);
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-contact__methods-grid,
    .page-contact__benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-contact__method-card,
    .page-contact__benefit-card {
        padding: 25px;
    }
    .page-contact__method-title,
    .page-contact__benefit-title {
        font-size: 20px;
    }
    .page-contact__method-text,
    .page-contact__benefit-text {
        font-size: 15px;
    }
    .page-contact__form {
        gap: 10px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }
    .page-contact__social-links {
        flex-direction: column;
        gap: 10px;
    }
    .page-contact__social-link {
        width: 100%;
    }

    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 15px 15px !important;
    }
    .page-contact__faq-qtext {
        font-size: 16px !important;
    }
    .page-contact__faq-toggle {
        font-size: 24px !important;
        width: 24px !important;
        margin-left: 10px !important;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px !important;
        font-size: 15px;
    }

    .page-contact__cta-bottom {
        margin-top: 40px;
    }

    /* General image responsiveness for content area */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__method-icon, .page-contact__benefit-icon {
        width: 100% !important;
        max-width: 150px !important; /* Keep icons relatively small but >200 */
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: clamp(24px, 7vw, 36px);
    }
    .page-contact__hero-description {
        font-size: clamp(14px, 3.5vw, 15px);
    }
    .page-contact__section-title {
        font-size: clamp(20px, 5.5vw, 28px);
    }
    .page-contact__method-title,
    .page-contact__benefit-title {
        font-size: 18px;
    }
}