/* =========================================
   contact.css — Contact Page Styles
   Fully scoped to avoid global.css conflicts
   ========================================= */

/* ── Hero Banner ── */
.contact-hero {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(120deg, #e8f5f2 0%, #dceef8 100%);
}

.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(255,255,255,0.85) 40%, transparent 100%);
}

.contact-hero-overlay h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

/* ── Page Layout ── */
.contact-page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .contact-page-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-hero-overlay {
    padding: 0 24px;
  }
  .contact-hero-overlay h1 {
    font-size: 1.5rem;
  }
}

/* ── Alert Messages ── */
.contact-alert {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  box-sizing: border-box;
}

.contact-alert.success {
  background: #e6f9f5;
  color: #0a7c68;
  border: 1px solid #a7e8dc;
}

.contact-alert.error {
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5c6c6;
}

/* ── Card Base (scoped to contact page only) ── */
.contact-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  border: none;
  box-sizing: border-box;
}

.contact-card-header {
  padding: 18px 24px 14px;
  border-bottom: 2px solid #e2e8f0;
  background: #fff;
}

.contact-card-header h2 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  border: none;
}

.contact-card-body {
  padding: 22px 24px 26px;
  background: #fff;
}

/* ── Form Card accent ── */
.contact-form-card .contact-card-header {
  border-left: 4px solid #0CA48C;
}

/* ── Contact Form ── */
.contact-form .contact-form-group {
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b0bec5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0CA48C;
  box-shadow: 0 0 0 3px rgba(12, 164, 140, 0.12);
  background: #fff;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-btn-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0CA48C 0%, #036AA9 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(12,164,140,0.3);
  margin-top: 4px;
  display: block;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12,164,140,0.38);
}

.contact-btn-submit:active {
  transform: translateY(0);
}

/* ── Right Column ── */
.contact-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Info Card accent ── */
.contact-info-card .contact-card-header {
  border-left: 4px solid #036AA9;
}

/* ── Info Grid ── */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  align-items: start;
}

@media (max-width: 500px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.contact-info-icon.icon-call  { background: #e6f9f5; color: #0CA48C; }
.contact-info-icon.icon-email { background: #fff3e0; color: #e67e22; }
.contact-info-icon.icon-map   { background: #fde8e8; color: #e53e3e; }

.contact-info-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.contact-info-text span {
  font-size: 0.82rem;
  color: #64748b;
}

/* ── Social Icons ── */
.contact-social-block {
  margin-top: 2px;
}

.contact-social-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: block;
}

.contact-social-icons {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.contact-social-icons a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.contact-social-icons .fb  { background: #1877f2; }
.contact-social-icons .ig  { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.contact-social-icons .tw  { background: #1da1f2; }

/* ── Map ── */
.contact-info-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.contact-info-map iframe {
  width: 100%;
  height: 130px;
  display: block;
  border: none;
}

.contact-map-address {
  padding: 8px 10px;
  background: #f8fafc;
  font-size: 0.78rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}

.contact-map-address strong {
  display: block;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 1px;
}

/* ── FAQ Card accent ── */
.contact-faq-card .contact-card-header {
  border-left: 4px solid #0CA48C;
}

.contact-faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.contact-faq-item:last-child {
  border-bottom: none;
}

.contact-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
  gap: 10px;
  box-shadow: none;
  border-radius: 0;
  font-family: inherit;
  transition: color 0.2s;
}

.contact-faq-question:hover {
  color: #0CA48C;
}

.contact-faq-icon {
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.contact-faq-item.open .contact-faq-icon {
  transform: rotate(180deg);
  color: #0CA48C;
}

.contact-faq-answer {
  display: none;
  padding: 0 0 13px;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.6;
}

.contact-faq-item.open .contact-faq-answer {
  display: block;
}