/* ═══════════════════════════════════════════════════════════════════════
   TimeterestPay — INNER PAGES DESIGN LAYER
   Modernizes all shared template partials (about, service, how-work, choose,
   faq, contact, security, map, testimonials, brand, banner) into the new
   navy/red design language used by the homepage.
   Brand: navy #192F7A · red #F0445E · soft #F6F5FA
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Shared section header (all inner pages) ─────────────────────────── */
.section-header {
  margin-bottom: 56px;
}
.section-sub-titel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(240, 68, 94, 0.09);
  border: 1px solid rgba(240, 68, 94, 0.22);
  color: var(--tp-red, #F0445E);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--tp-navy-deep, #192F7A);
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin: 0 0 16px;
}
.section-header p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--tp-muted, #64708C);
  max-width: 640px;
  margin: 0 auto;
}
.text-center .section-header p { margin-left: auto; margin-right: auto; }

/* ── Inner page banner hero ──────────────────────────────────────────── */
.banner-section,
.details-page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(240, 68, 94, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(25, 47, 122, 0.12), transparent 55%),
    linear-gradient(180deg, #FBFBFF 0%, #FFFFFF 100%);
  padding: 90px 0 100px;
}
.banner-section .banner-sub-titel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(240, 68, 94, 0.09);
  border: 1px solid rgba(240, 68, 94, 0.22);
  color: var(--tp-red, #F0445E);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.banner-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  color: var(--tp-navy-deep, #192F7A);
  letter-spacing: -1px;
  line-height: 1.08;
  margin: 0 0 20px;
}
.banner-section .banner-content > p,
.details-banner-wrapper .sub-title {
  font-size: 17px;
  line-height: 1.7;
  color: var(--tp-muted, #64708C);
  max-width: 540px;
  margin: 0 0 30px;
}
.banner-thumb-area img,
.details-banner-img img {
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(25, 47, 122, 0.20);
  border: 6px solid #fff;
  max-width: 100%;
}
.banner-floting-section {
  padding: 0 0 90px;
}

/* ── App store buttons (banner) ──────────────────────────────────────── */
.app-btn-area { display: flex; gap: 14px; flex-wrap: wrap; }
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--tp-navy-deep, #192F7A);
  color: #fff !important;
  border-radius: 14px;
  padding: 12px 20px;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(25, 47, 122, 0.25);
}
.app-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(25, 47, 122, 0.35); }
.app-btn .icon img { height: 30px; width: auto; }
.app-btn .sub-title { font-size: 11px; opacity: 0.8; display: block; }
.app-btn .title { font-size: 15px; font-weight: 700; margin: 0; }

/* ── About section ───────────────────────────────────────────────────── */
.about-section { padding: 110px 0; }
.about-thumb-area { position: relative; }
.about-thumb img {
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(25, 47, 122, 0.18);
  border: 6px solid #fff;
  max-width: 100%;
}
.about-content-area .section-header { margin-bottom: 32px; }
.about-content-area .section-header p { text-align: left; }
.about-item-wrapper { display: grid; gap: 16px; }
.about-content-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(25, 47, 122, 0.08);
  border-radius: 18px;
  padding: 20px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-content-item:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(25, 47, 122, 0.12); border-color: rgba(240, 68, 94, 0.25); }
.about-content-item .icon-area {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--tp-red, #F0445E);
  background: linear-gradient(135deg, rgba(240, 68, 94, 0.12), rgba(25, 47, 122, 0.08));
}
.about-content-item .icon-area.active {
  color: #fff;
  background: linear-gradient(135deg, var(--tp-red, #F0445E), #FF7A8C);
}
.about-content-item .title { font-size: 16px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); margin: 0 0 4px; }
.about-content-item .sub-title { font-size: 13.5px; color: var(--tp-muted, #64708C); line-height: 1.5; display: block; }

/* ── How it works ────────────────────────────────────────────────────── */
.how-it-work-section { padding: 110px 0; }
.how-it-works-item {
  position: relative;
  background: #fff;
  border: 1px solid rgba(25, 47, 122, 0.08);
  border-radius: 22px;
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.how-it-works-item:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(25, 47, 122, 0.14); }
.how-it-works-icon-wrapper {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(240, 68, 94, 0.12), rgba(25, 47, 122, 0.10));
}
.how-it-works-icon { font-size: 30px; color: var(--tp-red, #F0445E); }
.how-it-works-content .sub-title {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--tp-red, #F0445E);
  margin-bottom: 8px;
}
.how-it-works-content .title { font-size: 17px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); margin: 0; }
.process-devider { display: none; }

/* ── Choose us / why choose us ───────────────────────────────────────── */
.choose-us-section { padding: 110px 0; }
.choose-us-item {
  position: relative;
  background: #fff;
  border: 1px solid rgba(25, 47, 122, 0.08);
  border-radius: 22px;
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.choose-us-item:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(25, 47, 122, 0.14); }
.choose-us-item .icon-area {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--tp-red, #F0445E);
  background: linear-gradient(135deg, rgba(240, 68, 94, 0.12), rgba(25, 47, 122, 0.10));
  position: relative;
}
.choose-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tp-red, #F0445E);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.choose-us-item .title { font-size: 17px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); margin: 0 0 10px; }
.choose-us-item p { font-size: 14px; line-height: 1.6; color: var(--tp-muted, #64708C); margin: 0; }

/* ── Service items (merchant / agent / service pages) ────────────────── */
.service-section { padding: 110px 0; }
.service-item {
  background: #fff;
  border: 1px solid rgba(25, 47, 122, 0.08);
  border-radius: 22px;
  padding: 36px 30px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.service-item:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(25, 47, 122, 0.14); }
.service-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--tp-red, #F0445E);
  background: linear-gradient(135deg, rgba(240, 68, 94, 0.12), rgba(25, 47, 122, 0.10));
}
.service-content .title { font-size: 17px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); margin: 0 0 10px; }
.service-content p { font-size: 14px; line-height: 1.6; color: var(--tp-muted, #64708C); margin: 0; }

/* ── Security section ────────────────────────────────────────────────── */
.security-section { padding: 110px 0; }
.security-section .security-item,
.security-section [class*="security"] {
  background: #fff;
  border: 1px solid rgba(25, 47, 122, 0.08);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.security-section [class*="security"]:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(25, 47, 122, 0.12); }
.security-section .icon-area {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--tp-red, #F0445E);
  background: linear-gradient(135deg, rgba(240, 68, 94, 0.12), rgba(25, 47, 122, 0.10));
  margin-bottom: 16px;
}
.security-section .title { font-size: 16px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); }
.security-section p { font-size: 14px; color: var(--tp-muted, #64708C); line-height: 1.6; }

/* ── FAQ accordion (inner pages) ─────────────────────────────────────── */
.faq-section { padding: 110px 0; }
.faq-wrapper .faq-item,
.faq-section .faq-item {
  background: #fff;
  border: 1px solid rgba(25, 47, 122, 0.08);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-wrapper .faq-item.active,
.faq-section .faq-item.active { border-color: rgba(240, 68, 94, 0.35); box-shadow: 0 14px 36px rgba(25, 47, 122, 0.10); }
.faq-wrapper .faq-item .faq-title,
.faq-section .faq-item .faq-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tp-navy-deep, #192F7A);
  cursor: pointer;
}
.faq-wrapper .faq-item .faq-title i,
.faq-section .faq-item .faq-title i { color: var(--tp-red, #F0445E); transition: transform 0.3s ease; }
.faq-wrapper .faq-item.active .faq-title i,
.faq-section .faq-item.active .faq-title i { transform: rotate(180deg); }
.faq-wrapper .faq-item .faq-content,
.faq-section .faq-item .faq-content {
  padding: 0 24px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--tp-muted, #64708C);
  display: none;
}
.faq-wrapper .faq-item.active .faq-content,
.faq-section .faq-item.active .faq-content { display: block; }

/* ── Contact section ─────────────────────────────────────────────────── */
.contact-section { padding: 110px 0; }
.contact-form-area {
  background: #fff;
  border: 1px solid rgba(25, 47, 122, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(25, 47, 122, 0.08);
}
.contact-form-header .title { font-size: 24px; font-weight: 800; color: var(--tp-navy-deep, #192F7A); margin-bottom: 8px; }
.contact-form-header p { color: var(--tp-muted, #64708C); margin-bottom: 24px; }
.form--control {
  width: 100%;
  border: 1.5px solid rgba(25, 47, 122, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--tp-navy-deep, #192F7A);
  background: #FBFBFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form--control:focus { border-color: var(--tp-red, #F0445E); box-shadow: 0 0 0 4px rgba(240, 68, 94, 0.10); background: #fff; }
.form-group { margin-bottom: 20px; }
.contact-item-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-item-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-item-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--tp-navy-deep, #192F7A), #4A6CF7);
}
.contact-item-content .title { font-size: 14px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); margin: 0 0 3px; }
.contact-item-content .sub-title { font-size: 13.5px; color: var(--tp-muted, #64708C); }

/* ── Map / overview section ──────────────────────────────────────────── */
.map-section { padding: 110px 0; }
.map-wrapper img { border-radius: 24px; box-shadow: 0 30px 70px rgba(25, 47, 122, 0.14); max-width: 100%; }
.map-statistics-wrapper { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.map-statistics-wrapper .odo-area { text-align: center; }
.odo-area .odometer { font-size: 34px; font-weight: 800; color: var(--tp-navy-deep, #192F7A); background: linear-gradient(135deg, #F0445E, #192F7A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.odo-title { font-size: 13.5px; color: var(--tp-muted, #64708C); font-weight: 500; }

/* ── Testimonials (inner) ────────────────────────────────────────────── */
.testimonial-section { padding: 110px 0; background: var(--tp-soft, #F6F5FA); }
.testimonial-item {
  background: #fff;
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 18px 50px rgba(25, 47, 122, 0.08);
  border: 1px solid rgba(25, 47, 122, 0.06);
  height: 100%;
}
.testimonial-item .icon-area { font-size: 30px; color: var(--tp-red, #F0445E); margin-bottom: 14px; }
.testimonial-item p { font-size: 15px; line-height: 1.7; color: var(--tp-muted, #64708C); }
.testimonial-item .title { font-size: 15px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); margin: 16px 0 2px; }
.testimonial-item .sub-title { font-size: 12.5px; color: var(--tp-muted, #64708C); }

/* ── Brand strip (inner) ─────────────────────────────────────────────── */
.brand-section { padding: 60px 0 90px; }
.brand-slider { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.brand-item img { max-height: 46px; opacity: 0.55; filter: grayscale(1); transition: all 0.3s ease; }
.brand-item:hover img { opacity: 1; filter: none; }

/* ── Download app strip ──────────────────────────────────────────────── */
.download-app-section { padding: 110px 0; }
.footer-download { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Details page banner (header sections) ───────────────────────────── */
.details-page-banner .banner-element { display: none; }
.details-banner-wrapper .section-sub-titel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(240, 68, 94, 0.09);
  border: 1px solid rgba(240, 68, 94, 0.22);
  color: var(--tp-red, #F0445E);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.details-banner-wrapper .title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; color: var(--tp-navy-deep, #192F7A); letter-spacing: -0.8px; line-height: 1.12; margin: 0 0 16px; }
.process-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.process-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--tp-navy-deep, #192F7A); font-weight: 500; }
.process-steps li span { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, rgba(240, 68, 94, 0.14), rgba(25, 47, 122, 0.10)); color: var(--tp-red, #F0445E); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.view-page-btn .btn--base { background: linear-gradient(135deg, #F0445E, #d62a54); color: #fff; padding: 14px 30px; border-radius: 12px; font-weight: 700; text-decoration: none; display: inline-block; box-shadow: 0 12px 30px rgba(240, 68, 94, 0.32); transition: transform 0.2s ease; }
.view-page-btn .btn--base:hover { transform: translateY(-2px); }

/* ── Generic buttons (old btn--base everywhere) ──────────────────────── */
.btn--base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #F0445E 0%, #d62a54 100%);
  box-shadow: 0 10px 24px rgba(240, 68, 94, 0.32);
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn--base:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(240, 68, 94, 0.42); }

/* ── Section spacing helpers from old theme ──────────────────────────── */
.ptb-120 { padding-top: 110px; padding-bottom: 110px; }
.pt-120 { padding-top: 110px; }
.ptb-150 { padding-top: 130px; padding-bottom: 130px; }
@media (max-width: 991px) {
  .about-section, .how-it-work-section, .choose-us-section, .service-section,
  .security-section, .faq-section, .contact-section, .map-section,
  .testimonial-section, .download-app-section, .ptb-120, .ptb-150 {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .pt-120 { padding-top: 70px; }
  .contact-form-area { padding: 26px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   NEW INNER-PAGE HERO (tp-inner-hero) — replaces old banner partial markup
   ═══════════════════════════════════════════════════════════════════════ */
.tp-inner-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(240, 68, 94, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(25, 47, 122, 0.12), transparent 55%),
    linear-gradient(180deg, #FBFBFF 0%, #FFFFFF 100%);
  padding: 64px 0 90px;
}
.tp-inner-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) {
  .tp-inner-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .tp-inner-hero-visual { order: -1; }
}
.tp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-mut, #64708C);
  margin-bottom: 20px;
}
.tp-breadcrumb a { color: var(--tp-navy, #192F7A); text-decoration: none; }
.tp-breadcrumb a:hover { color: var(--tp-red, #F0445E); }
.tp-breadcrumb i { font-size: 10px; color: #B8BED0; }
.tp-breadcrumb span { color: var(--tp-red, #F0445E); }
.tp-inner-hero-title {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  color: var(--tp-navy-deep, #192F7A);
  letter-spacing: -1px;
  line-height: 1.08;
  margin: 0 0 20px;
}
.tp-inner-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--tp-mut, #64708C);
  max-width: 540px;
  margin: 0 0 32px;
}
.tp-inner-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.tp-inner-hero-visual { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.tp-inner-hero-img {
  display: block;
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(25, 47, 122, 0.22);
  border: 6px solid #fff;
  position: relative;
  z-index: 1;
}
.tp-inner-ring {
  position: absolute;
  width: 110%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(240, 68, 94, 0.28);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: tp2Spin 36s linear infinite;
}
.tp-inner-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(25, 47, 122, 0.20);
  padding: 13px 17px;
  border: 1px solid rgba(25, 47, 122, 0.06);
  animation: tp2ToastFloat 4.5s ease-in-out infinite;
}
.tp-inner-badge .fc-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #fff;
}
.tp-inner-badge .fc-title { font-size: 13.5px; font-weight: 700; color: var(--tp-navy-deep, #192F7A); margin: 0; }
.tp-inner-badge .fc-sub { font-size: 12px; color: var(--tp-mut, #64708C); margin: 2px 0 0; }
.tp-inner-badge-1 { top: 6%; left: -8%; }
.tp-inner-badge-2 { bottom: 5%; right: -6%; animation-delay: -2.2s; }
@media (max-width: 1199px) {
  .tp-inner-badge-1 { left: 0; }
  .tp-inner-badge-2 { right: 0; }
}
