/* ==========================================================================
   Bostam Contact Page Styles (contact.css)
   Clean, Warm, High-Contrast Modern Aesthetic Matching Approved Design
   ========================================================================== */

/* Page Background with Subtle Ambient Glow & Grid */
.contact-page-bg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #FAF8F5;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(232, 89, 12, 0.07) 0%, rgba(250, 248, 245, 0) 55%),
    linear-gradient(rgba(13, 59, 46, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 59, 46, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

/* Contact Main Section */
.contact-section {
  padding: 2.5rem 0 5rem;
  flex: 1;
}

/* Breadcrumb */
.contact-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact-breadcrumb a:hover {
  color: var(--color-accent-orange);
}

.breadcrumb-separator {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--color-brand-green);
  font-weight: 600;
}

/* Header Text */
.contact-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brand-green);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 3rem;
  }
}

.contact-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #6E5E4E;
  margin: 0;
}

/* Contact Layout Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.05fr 1.35fr;
    gap: 3rem;
  }
}

/* Left Column: How to reach us */
.contact-reach-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reach-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-brand-green);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.reach-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.reach-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 59, 46, 0.06);
  border-color: rgba(232, 89, 12, 0.3);
}

.reach-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #FFF5EB;
  color: var(--color-accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(232, 89, 12, 0.15);
}

.reach-icon-box img {
  width: 20px;
  height: 20px;
}

.reach-content {
  flex: 1;
}

.reach-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-brand-green);
  margin: 0 0 0.4rem;
}

.reach-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}

/* Security Alert Box */
.reach-alert-card {
  background-color: #FFFDF5;
  border: 1px solid #FFE69C;
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reach-alert-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #D97706;
  margin: 0;
}

.reach-alert-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #92400E;
  margin: 0;
}

/* Right Column: Sign in to open a ticket */
.contact-action-col {
  width: 100%;
}

.contact-action-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(13, 59, 46, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

@media (min-width: 768px) {
  .contact-action-card {
    padding: 3.5rem 2.5rem;
  }
}

.ticket-icon-bubble {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background-color: #FFF5EB;
  color: var(--color-accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232, 89, 12, 0.15);
  box-shadow: 0 4px 14px rgba(232, 89, 12, 0.1);
}

.ticket-icon-bubble img {
  width: 26px;
  height: 26px;
}

.ticket-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-brand-green);
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem;
}

.ticket-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 0 2rem;
}

.ticket-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 440px;
}

@media (min-width: 480px) {
  .ticket-card-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-contact-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.85rem;
  background-color: var(--color-accent-orange);
  color: #FFFFFF !important;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(232, 89, 12, 0.25);
  transition: all 0.2s ease;
  min-height: 46px;
}

.btn-contact-signin:hover {
  background-color: #D94E06;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 89, 12, 0.35);
}

.btn-contact-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.65rem;
  background-color: #FFFFFF;
  color: var(--color-brand-green) !important;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 46px;
}

.btn-contact-register:hover {
  border-color: var(--color-accent-orange);
  color: var(--color-accent-orange) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Authenticated State in Action Card */
.contact-user-authenticated {
  display: none;
  width: 100%;
  max-width: 480px;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

/* Floating Chat Bubble Button at Bottom-Right */
.floating-chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent-orange);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(232, 89, 12, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.floating-chat-bubble:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 89, 12, 0.5);
  background-color: #D94E06;
}

.floating-chat-bubble img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

