/* Contact Us Page Styles (From UI 1 & UI 2) */

.contact-page-view {
  background-color: var(--bg-cream);
  padding: 40px 0 80px;
}

.contact-page-header {
  text-align: left;
  max-width: 100% !important;
  margin: 0 0 36px 0;
}

.contact-hero-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 800;
  color: var(--forest-dark);
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  line-height: 1.25;
  margin: 8px 0 12px;
  white-space: nowrap;
}

.contact-page-header p {
  max-width: 680px;
  margin: 0;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: stretch;
}

/* Contact Form Container */
.contact-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--honey-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.contact-form-card h2 {
  font-size: 2rem;
  color: var(--forest-dark);
  margin-bottom: 8px;
}

.contact-form-card p {
  margin-bottom: 24px;
}

.contact-fields-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Right Side: Four Individual Torn Kraft Paper Cards (Matching Height of Contact Form) */
.contact-paper-cards-grid,
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
}

.paper-contact-card,
.quick-contact-card {
  background: url('../assets/images/new_contact.png') center center / 100% 100% no-repeat;
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 6px 16px rgba(43, 24, 7, 0.15));
  padding: 34px 32px 34px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  height: 100%;
  box-sizing: border-box;
  transition: filter 0.2s ease;
}

/* User requested: remove hover effect from these boxes */
.paper-contact-card:hover,
.quick-contact-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.paper-contact-card .contact-card-icon,
.quick-contact-card .contact-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 2px;
}

.paper-contact-card .contact-card-icon svg,
.quick-contact-card .contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.paper-contact-card h4,
.quick-contact-card h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin: 0;
  line-height: 1.2;
}

.paper-contact-card p,
.paper-contact-card a,
.quick-contact-card p,
.quick-contact-card a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-decoration: none;
  line-height: 1.35;
  word-break: break-word;
}

.paper-contact-card a:hover,
.quick-contact-card a:hover {
  color: #fffbeb;
  text-decoration: underline;
}

.paper-contact-card .contact-card-meta,
.quick-contact-card .contact-card-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  line-height: 1.35;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--honey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--honey-dark);
  margin-bottom: 2px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.quick-contact-card h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-dark);
  margin: 0;
  line-height: 1.25;
}

.quick-contact-card p,
.quick-contact-card a {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  text-decoration: none;
  line-height: 1.35;
}

.quick-contact-card a:hover {
  color: var(--honey-dark);
}

.quick-contact-card .contact-card-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.35;
}

/* FAQ Accordion Section Below Form & Cards */
.contact-faq-section {
  margin-top: 56px;
}

.faq-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  border: 1px solid var(--honey-border);
  box-shadow: var(--shadow-md);
}

.faq-container h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--forest-dark);
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.25s ease;
}

.faq-item.open {
  border-color: #b83d00;
  background: linear-gradient(135deg, #d85300 0%, #ce4c00 60%, #c44400 100%);
  box-shadow: 0 6px 20px rgba(206, 76, 0, 0.28);
}

.faq-question-btn {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-dark);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.25s ease;
}

.faq-item.open .faq-question-btn,
.faq-item.open .faq-question-btn span {
  color: #ffffff;
}

.faq-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f4efe4;
  color: #7a624a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}

.faq-toggle-icon svg {
  width: 16px;
  height: 16px;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
  background: #ffffff;
  color: #ce4c00;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Smooth Slide Down Accordion Collapse */
.faq-answer-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer-collapse {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  min-height: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  padding: 0 20px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
}

.faq-answer p {
  margin: 0;
}

.faq-item.open .faq-answer {
  opacity: 1;
  transform: translateY(0);
  padding: 0 20px 20px;
}

.faq-item.open .faq-answer,
.faq-item.open .faq-answer p,
.faq-item.open .faq-answer span,
.faq-item.open .faq-answer strong {
  color: #ffffff;
}

.faq-item.open .faq-answer a {
  color: #fffbeb;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .contact-hero-title {
    white-space: normal;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-paper-cards-grid,
  .contact-info-cards {
    height: auto;
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .paper-contact-card,
  .quick-contact-card {
    min-height: 180px;
    padding: 30px 24px;
  }

  .contact-faq-section {
    margin-top: 36px;
  }

  .faq-container {
    padding: 30px 24px;
  }
}

@media (max-width: 600px) {
  .contact-paper-cards-grid,
  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .paper-contact-card,
  .quick-contact-card {
    min-height: 160px;
    padding: 26px 20px;
  }
}
