/* ===================================================================
   PRAMUKH BUSINESS - CONTACT PAGE STYLESHEET
   File: css/contact.css
   Company: Pramukh Easy Sale Marketing LLP
   Theme: Royal Corporate Blue (#0A2E5C), Deep Navy (#061F40), Vibrant Orange (#F58220)
   =================================================================== */

/* --- 1. HERO BANNER --- */
.contact-hero-section {
  position: relative;
  background: linear-gradient(135deg, #061F40 0%, #0A2E5C 50%, #082852 100%);
  padding: 90px 0 85px 0;
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-orange);
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(245, 130, 32, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(22, 78, 150, 0.25) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* --- 2. QUICK CONTACT CARDS GRID --- */
.contact-touchpoints-section {
  padding: 60px 0 30px 0;
  background: #F8FAFC;
  margin-top: -45px;
  position: relative;
  z-index: 3;
}

.touchpoints-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.touchpoint-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.touchpoint-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), #FFA149);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.touchpoint-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 46, 92, 0.12);
  border-color: rgba(245, 130, 32, 0.35);
}

.touchpoint-card:hover::before {
  opacity: 1;
}

.touchpoint-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(10, 46, 92, 0.06);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.touchpoint-card:hover .touchpoint-icon-box {
  background: var(--accent-orange);
  color: #FFFFFF;
  transform: scale(1.05);
}

.touchpoint-card.highlight-whatsapp .touchpoint-icon-box {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
}

.touchpoint-card.highlight-whatsapp:hover .touchpoint-icon-box {
  background: #25D366;
  color: #FFFFFF;
}

.touchpoint-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.touchpoint-info {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.touchpoint-action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.touchpoint-action a:hover {
  gap: 12px;
  color: var(--accent-orange-dark);
}

/* --- 3. MAIN SPLIT SECTION: FORM + SUPPORT MATRIX --- */
.contact-main-section {
  padding: 60px 0 100px 0;
  background: #F8FAFC;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left Form Box */
.contact-form-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 12px 36px rgba(10, 46, 92, 0.08);
}

.form-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 130, 32, 0.1);
  color: var(--accent-orange);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-header-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-header-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Form Groups & Inputs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-label span.req {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  background: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.18);
}

.input-with-prefix {
  position: relative;
  display: flex;
}

.input-prefix {
  padding: 0 14px;
  background: #E2E8F0;
  border: 1.5px solid #CBD5E1;
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.input-with-prefix .form-control {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%230A2E5C' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 24px;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-orange);
  margin-top: 2px;
  cursor: pointer;
}

.btn-submit-inquiry {
  width: 100%;
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(245, 130, 32, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-submit-inquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 130, 32, 0.45);
}

/* Submission Feedback Status */
.form-feedback-card {
  display: none;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-feedback-card.active-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
}

.form-feedback-card.active-error {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FEF2F2;
  border: 1px solid #EF4444;
  color: #991B1B;
}

/* Right Support Matrix Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.sidebar-info-card:hover {
  border-color: rgba(10, 46, 92, 0.25);
  box-shadow: var(--shadow-md);
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-card-title i {
  color: var(--accent-orange);
}

.sidebar-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-details-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

.sidebar-details-item i {
  color: var(--primary-navy);
  font-size: 1.05rem;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}

.sidebar-details-item strong {
  color: var(--primary-navy);
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

/* Grievance Redressal Card (Special Highlight) */
.sidebar-info-card.grievance-highlight {
  background: linear-gradient(145deg, #061F40 0%, #0A2E5C 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-info-card.grievance-highlight .sidebar-card-title {
  color: #FFFFFF;
}

.sidebar-info-card.grievance-highlight .sidebar-details-item {
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-info-card.grievance-highlight .sidebar-details-item strong {
  color: var(--accent-orange-light);
}

.sidebar-info-card.grievance-highlight .sidebar-details-item i {
  color: var(--accent-orange);
}

/* WhatsApp Live Chat Card */
.sidebar-whatsapp-card {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.25);
  transition: transform var(--transition-fast);
}

.sidebar-whatsapp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.35);
}

.whatsapp-card-text h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.whatsapp-card-text p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.btn-whatsapp-chat {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.btn-whatsapp-chat:hover {
  background: #20BA5A;
  transform: scale(1.05);
  color: #FFFFFF;
}

/* --- 4. INTERACTIVE MAP SECTION --- */
.contact-map-section {
  padding: 20px 0 90px 0;
  background: #F8FAFC;
}

.map-container-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.map-header-bar {
  padding: 24px 30px;
  background: #0A2E5C;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.map-header-bar h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-header-bar h3 i {
  color: var(--accent-orange);
}

.map-header-bar p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 4px 0 0 0;
}

.map-iframe-wrapper {
  width: 100%;
  height: 420px;
  position: relative;
  background: #E2E8F0;
}

.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- 5. CONTACT FAQ ACCORDION SECTION --- */
.contact-faq-section {
  padding: 85px 0 100px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.faq-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-accordion-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #F8FAFC;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  background: #FFFFFF;
  border-color: rgba(245, 130, 32, 0.5);
  box-shadow: 0 8px 24px rgba(10, 46, 92, 0.08);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  outline: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--accent-orange);
}

.faq-icon-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 46, 92, 0.08);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-toggle {
  background: var(--accent-orange);
  color: #FFFFFF;
  transform: rotate(180deg);
}

.faq-answer-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-collapse {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 16px;
}

/* --- 6. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .touchpoints-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 2.2rem;
  }

  .touchpoints-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form-box {
    padding: 26px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sidebar-whatsapp-card {
    flex-direction: column;
    text-align: center;
  }

  .btn-whatsapp-chat {
    width: 100%;
    justify-content: center;
  }

  .map-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
