:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --background-color: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --header-offset: 122px; /* Default, will be overridden by shared.css body padding-top */
}

/* Base styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text for dark background */
    background-color: var(--background-color); /* Dark background */
    line-height: 1.6;
    padding-bottom: 40px;
    overflow-x: hidden; /* Prevent horizontal scroll for the whole page */
}

/* Section spacing */
.page-contact__section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Container for content width */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

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

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Desktop: cover to fill space */
    display: block;
    max-width: 100%;
}

.page-contact__hero-content {
    max-width: 800px;
    padding: 0 15px 40px;
    box-sizing: border-box;
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-contact__description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* Section Titles */
.page-contact__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-contact__section-subtitle {
    font-size: 1em;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Form Section */
.page-contact__contact-form {
    background-color: var(--card-bg); /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for input background */
    color: var(--text-main);
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-contact__form-hint {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.page-contact__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.page-contact__form-note {
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 25px;
}

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

.page-contact__method-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-contact__phone-info p,
.page-contact__social-links a {
    margin-bottom: 10px;
    font-size: 1em;
    color: var(--text-main);
    display: block; /* Ensure social links are block for styling */
}

.page-contact__phone-number strong {
    color: var(--text-main); /* Ensure strong tag inherits text-main */
}

.page-contact__social-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--deep-orange);
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.page-contact__social-button:hover {
    background-color: var(--primary-color);
}

.page-contact__card-note {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

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

.page-contact__reasons-list li {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    margin-bottom: 8px;
    border-left: 3px solid var(--primary-color);
    border-radius: 3px;
    color: var(--text-main);
    font-size: 0.95em;
}

/* Commitment Section */
.page-contact__commitment-section {
    background-color: var(--background-color);
}

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

.page-contact__commitment-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__commitment-icon {
    width: 80px; /* Display size, imageRequirements size is larger */
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__commitment-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-contact__commitment-text {
    font-size: 0.95em;
    color: var(--text-main);
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: var(--background-color);
}

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

.page-contact__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] {
    background-color: rgba(23, 25, 31, 0.8); /* Slightly lighter when open */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-main);
    list-style: none; /* For <summary> tag */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker */
}

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    font-weight: 300;
    margin-left: 15px;
    color: var(--secondary-color);
    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;
    font-size: 1em;
    color: var(--text-main);
}

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

.page-contact__faq-more-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: var(--text-main);
}