/* ═══════════════════════════════════════════════════════════
   ajvika.css — Custom styles for ajvika.com Laravel site
   Complements main.css from the original PHP site
   ═══════════════════════════════════════════════════════════ */

/* ── HERO ENHANCEMENTS ──────────────────────────────────────── */
.hero-sub {
  font-size: 1rem;
  color: #555;
  margin-top: 8px;
  max-width: 460px;
}

.btn-outline-ajvika {
  background: transparent !important;
  border: 2px solid #0d6efd !important;
  color: #0d6efd !important;
}

.btn-outline-ajvika:hover {
  background: #0d6efd !important;
  color: #fff !important;
}

/* ── PLATFORM CARDS (Ecosystem Section) ─────────────────────── */
.ajvika-platform-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f2f5;
  border-top: 4px solid var(--accent, #0d6efd);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.ajvika-platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Card header row */
.apc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.apc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apc-icon i {
  font-size: 24px;
  color: var(--accent);
}

.apc-title {
  flex: 1;
  min-width: 0;
}

.apc-emoji {
  font-size: 18px;
}

.apc-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2px 0 2px;
}

.apc-title small {
  font-size: 11px;
  color: #94a3b8;
  font-family: 'Courier New', monospace;
}

/* App / Live badges */
.apc-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  flex-shrink: 0;
}

.badge-app,
.badge-notif {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-app {
  background: #dcfce7;
  color: #166534;
}

.badge-notif {
  background: #fef3c7;
  color: #92400e;
}

.badge-notif::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #f59e0b;
  border-radius: 50%;
  margin-right: 4px;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Tagline */
.apc-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
  font-style: italic;
}

/* Story paragraph */
.apc-story {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Features list */
.apc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.apc-features li {
  font-size: 12px;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.apc-features li i {
  color: var(--accent);
  font-size: 11px;
}

/* Card footer / CTA */
.apc-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.apc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}

.apc-btn:hover {
  color: #fff;
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── CONTACT FORM STYLES ─────────────────────────────────────── */
.contact-box, .contact-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  height: 100%;
}

.contact-box h2,
.contact-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2c4964;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.contact-box input:focus,
.contact-box textarea:focus {
  border-color: #0d6efd;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.12);
}

.contact-box label {
  font-weight: 600;
  color: #2c4964;
  font-size: 14px;
}

.send-btn, .subscribe-btn {
  width: 100%;
  padding: 12px;
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.send-btn       { background: #0d6efd; }
.send-btn:hover { background: #0b5ed7; transform: translateY(-1px); }
.subscribe-btn       { background: #6c757d; }
.subscribe-btn:hover { background: #5c636a; }

/* Platform chips in contact card */
.platform-chip {
  display: block;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--chip-color, #0d6efd);
  background: color-mix(in srgb, var(--chip-color) 10%, white);
  border: 1px solid color-mix(in srgb, var(--chip-color) 25%, white);
  padding: 5px 10px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  color: var(--chip-color);
}

/* Social icons */
.social-icons_c {
  margin-top: 20px;
}

.social-icons_c a {
  display: inline-block;
  margin-right: 16px;
  font-size: 22px;
  transition: color 0.2s, transform 0.2s;
}

.social-icons_c a:hover { transform: translateY(-3px); }
.social-icons_c .bi-facebook  { color:#1877F2; }
.social-icons_c .bi-twitter-x { color:#1DA1F2; }
.social-icons_c .bi-instagram { color:#E4405F; }
.social-icons_c .bi-whatsapp  { color:#25D366; }
.social-icons_c .bi-telephone { color:#34A853; }
.social-icons_c .bi-linkedin  { color:#0A66C2; }

/* Alerts */
.alert {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-success { background:#d1e7dd; color:#0f5132; border:1px solid #badbcc; }
.alert-danger  { background:#f8d7da; color:#842029; border:1px solid #f5c2c7; }

/* ── POLICY PAGES ────────────────────────────────────────────── */
.policy-page {
  padding: 60px 0;
}

.policy-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c4964;
  margin-bottom: 8px;
}

.policy-page .last-updated {
  color: #888;
  font-size: 13px;
  margin-bottom: 30px;
}

.policy-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c4964;
  margin: 28px 0 10px;
}

.policy-page p, .policy-page li {
  color: #4f4f4f;
  line-height: 1.8;
  font-size: 15px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ajvika-platform-card { padding: 20px; }
  .contact-box, .contact-card { padding: 20px; }
  .apc-badge { display: none; }
}

/* ── FAQ FIX ──────────────────────────────────────────────────── */
.faq-item { background: #fff; padding: 20px 24px; border-bottom: 1px solid #e2e8f0; cursor: pointer; position: relative; }
.faq-item h3 { font-size: 16px; font-weight: 600; color: #1e293b; margin: 0; padding-right: 30px; }
.faq-item .faq-content { display: none; padding: 10px 0 0 0; }
.faq-item.faq-active .faq-content { display: block; }
.faq-item.faq-active { background: #f0f4ff; }
.faq-item.faq-active h3 { color: #0d6efd; }
.faq-content p { color: #374151; line-height: 1.8; font-size: 15px; margin: 0; }
.faq-toggle { position: absolute; right: 20px; top: 22px; font-size: 18px; color: #0d6efd; transition: transform 0.3s; }
.faq-item.faq-active .faq-toggle { transform: rotate(90deg); }
.faq-container { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }

/* ── FAQ ACTIVE COLOR FIX ─────────────────────────────────────── */
.faq-item.faq-active { background: #0d6efd !important; }
.faq-item.faq-active h3 { color: #ffffff !important; }
.faq-item.faq-active .faq-content p { color: #e8f0ff !important; }
.faq-item.faq-active .faq-toggle { color: #ffffff !important; }
.faq-item h3 { color: #1e293b !important; }
.faq-content p { color: #374151 !important; }
