/* 
=========================================
  IDEACHAT - CONTACT PAGE SPECIFIC STYLES
=========================================
*/

/* 1. Hero Banner */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark), #1E293B);
  color: var(--text-light);
  padding: 160px 0 100px 0;
  text-align: center;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 70%, rgba(var(--accent-rgb), 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.contact-hero h1 {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* 2. Form & Validation Styles */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
  background-color: #ffffff;
}

/* Input validation error highlights */
.form-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.error-message {
  font-size: 12px;
  color: #EF4444;
  margin-top: 5px;
  font-weight: 500;
  display: none;
}

.form-input.error + .error-message {
  display: block;
}

/* 3. FAQ Accordion Styles */
.faq-container {
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item.active {
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: none;
  width: 100%;
  text-align: left;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-icon {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); /* Custom transition for height toggle */
}

.faq-content {
  padding: 0 28px 24px 28px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-body {
  max-height: 500px; /* Large enough buffer */
  transition: max-height 0.4s cubic-bezier(0.5, 0, 0.5, 1);
}

/* Google Map Iframe styling */
.map-iframe-box {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}
