/* style/contact.css */
:root {
    --primary-color: #FF4500;
    --secondary-color: #00CED1;
    --text-light: #f8f9fa;
    --text-dark: #333333;
    --bg-dark-1: #0d0d0d; /* Assuming from shared.css body background */
    --bg-dark-2: #1a1a1a;
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for sections on dark body background */
    background-color: var(--bg-dark-1); /* Inherited from body */
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 120px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF6B35 100%);
    color: var(--text-light);
    overflow: hidden;
}

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

.page-contact__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-contact__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-dark);
}

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

.page-contact__info-section,
.page-contact__form-section,
.page-contact__social-section,
.page-contact__faq-section {
    padding: 60px 0;
}

.page-contact__info-section,
.page-contact__social-section {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
}

.page-contact__form-section,
.page-contact__faq-section {
    background-color: var(--bg-dark-2);
    color: var(--text-light);
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description,
.page-contact__faq-section .page-contact__section-title,
.page-contact__faq-section .page-contact__section-description {
    color: var(--text-light);
}

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

.page-contact__info-card {
    background: var(--card-bg-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-contact__info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__info-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: inline-block;
    object-fit: contain;
}

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

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

.page-contact__contact-detail {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 10px;
}

.page-contact__btn-link {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background: var(--bg-dark-1);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: var(--text-light);
    font-size: 1em;
    box-sizing: border-box;
}

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

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

.page-contact__btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--primary-color), #FF6B35);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-contact__btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-contact__social-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.page-contact__social-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

/* FAQ Styles */
.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-contact__faq-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 15px;
  opacity: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-dark-1);
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-dark-1);
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: #2a2a2a;
  border-color: #666;
}

.page-contact__faq-question:active {
  background: #3a3a3a;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* To make '+' into 'x' or '-' */
}

/* General image responsiveness */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__hero-section {
        padding-top: 100px; /* Tablet: Adjust for fixed header */
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-contact__container {
        padding: 30px 15px;
    }
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__social-section,
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__info-card {
        padding: 20px;
    }
    .page-contact__card-title {
        font-size: 1.5em;
    }
    .page-contact__info-icon {
        width: 60px;
        height: 60px;
    }
    .page-contact__contact-form {
        padding: 30px 20px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
    }
    .page-contact__btn-submit {
        font-size: 1em;
        padding: 12px;
    }
    .page-contact__social-icon {
        width: 50px;
        height: 50px;
    }
    .page-contact__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-contact__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-contact__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-contact__faq-answer {
        padding: 0 15px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image override for all images */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-image,
    .page-contact__info-icon,
    .page-contact__social-icon {
        object-fit: contain !important; /* Ensure icons/small images are not stretched */
    }
    .page-contact__hero-container,
    .page-contact__container,
    .page-contact__info-card,
    .page-contact__contact-form,
    .page-contact__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}