﻿/* ===== Terms & Conditions ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef4ff;
  color: #0A58CA;
  border: 1px solid #dbe7ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin: 6px 6px 10px 0;
}
.terms-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 4px;
}
.terms-item {
  background: #fafcff;
  border: 1px solid #e7efff;
  border-left: 6px solid #0A58CA;
  border-radius: 12px;
  padding: 12px 14px;
}
.terms-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0A58CA;
}
.terms-item p { margin: 0; font-size: 14px; }
.terms-item ul { margin: 6px 0 0 20px; }
.terms-item li { margin: 6px 0; }
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #c8d7ff;
  background: #f7faff;
  color: #0A58CA;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  text-decoration: none;
}
@media (min-width:900px) {
  .modal-content { padding: 22px; }
  .modal-header h2 { font-size: 24px; }
  .terms-item { padding: 14px 16px; }
  .terms-item h3 { font-size: 17px; }
  .terms-item p, .terms-item li { font-size: 15px; }
}

/* ===== Disclaimer ===== */
.disc-head {
  background: linear-gradient(90deg, #ff4d4d, #cc0000);
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 12px 12px 0 0;
}
.disc-head h2 { margin: 0; font-size: 22px; }
.disc-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
  scrollbar-width: none;
  justify-content: center;
  /* Allow both horizontal list scroll and vertical page scroll */
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}
.social-icons::-webkit-scrollbar { display: none; }
.social-icons a {
  min-width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  font-size: 32px;
  color: #333;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  flex-shrink: 0;
}
.social-icons a:hover { background: #007BFF; color: #fff; transform: scale(1.15); box-shadow: 0 10px 20px rgba(0,0,0,.15); }

/* ===== Contact WhatsApp Button ===== */
.modal-content .whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  margin: 15px auto;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.modal-content .whatsapp-btn:hover {
  background: #1ebe5d;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* ===== Social Mini ===== */
.social-mini {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.social-mini a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  transition: .3s;
}
.social-mini a.instagram { background: #E1306C; }
.social-mini a.facebook { background: #3b5998; }
.social-mini a.twitter { background: #1DA1F2; }
.social-mini a.youtube { background: #FF0000; }
.social-mini a.linkedin { background: #0077B5; }
.social-mini a:hover { transform: scale(1.1); opacity: .9; }

/* ===== Generic Modal (NEW) ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}

/* ===== Modal Content ===== */
.modal-content {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
  position: relative;
}

/* ===== Close Button ===== */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}
.close-btn:hover { color: #e74c3c; }

/* ===== Fade Animation ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== Iframe inside modal ===== */
.modal-content iframe {
  border: none;
  width: 100%;
  height: 100%;
}


/* ===== PageFrame Close Button ===== */
#pageFrameWrap .close-frame-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 201;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  line-height: 32px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
#pageFrameWrap .close-frame-btn:hover { box-shadow: 0 0 0 6px rgba(0,0,0,.06), 0 2px 10px rgba(0,0,0,.25); }
#pageFrameWrap .close-frame-btn:active { transform: scale(.95); }


/* Small screens (mobiles) */
@media (max-width: 600px) {
  #pageFrameWrap .close-frame-btn {
    top: 8px;
    right: 10px;
    font-size: 24px;
    width: 34px;
    height: 34px;
    line-height: 30px;
  }
}

/* ===== FAQ Stylish ===== */
.faq-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  background: #f9f9f9;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background: #eef5ff;
}

.faq-answer {
  display: none;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}


