/* ═══════════════════════════════════════════════════════════════════════
   TimeterestPay — Modern Homepage Design Layer
   Brand: Red #F0445E · Navy #192F7A
   Layered on top of the default QRPay Pro theme; keeps all CMS content.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --tp-red: #F0445E;
  --tp-red-dark: #D62B4E;
  --tp-navy: #192F7A;
  --tp-navy-deep: #0F1E4E;
  --tp-ink: #1B2440;
  --tp-muted: #5B6484;
  --tp-soft: #F6F7FC;
  --tp-line: #E7E9F4;
  --tp-gradient: linear-gradient(120deg, #F0445E 0%, #FF7A5C 55%, #F0445E 100%);
  --tp-shadow: 0 20px 60px rgba(25, 47, 122, 0.10);
  --tp-shadow-red: 0 16px 44px rgba(240, 68, 94, 0.28);
  --tp-radius: 20px;
}

/* ── Base polish ─────────────────────────────────────────────────────── */
body {
  font-family: "Outfit", "Poppins", sans-serif;
  color: var(--tp-ink);
  background: #ffffff;
}

.section-header .section-sub-titel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 68, 94, 0.08);
  color: var(--tp-red);
  border: 1px solid rgba(240, 68, 94, 0.18);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.section-header .section-sub-titel i { color: var(--tp-red); }

.section-header .section-title {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--tp-navy-deep);
  margin: 14px 0 12px;
}

/* ── Scroll-reveal animation engine ────────────────────────────────────
   Hiding only applies when JS is confirmed (html.js). Opera Mini / no-JS
   browsers get fully visible content — progressive enhancement. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
html.js [data-reveal="left"] { transform: translateX(-44px); }
html.js [data-reveal="right"] { transform: translateX(44px); }
html.js [data-reveal="zoom"] { transform: scale(0.9); }
html.js [data-reveal="left"].is-visible,
html.js [data-reveal="right"].is-visible,
html.js [data-reveal="zoom"].is-visible { transform: none; }
/* No-JS fallback: content always visible */
html:not(.js) [data-reveal],
html:not(.js) [data-reveal="left"],
html:not(.js) [data-reveal="right"],
html:not(.js) [data-reveal="zoom"] {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Hero / Banner redesign ───────────────────────────────────────────── */
.banner-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(240,68,94,0.16), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(25,47,122,0.18), transparent 60%),
    linear-gradient(180deg, #F8F9FF 0%, #FFFFFF 100%) !important;
  padding-top: 70px;
  padding-bottom: 90px;
}
/* floating decorative blobs */
.tp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  animation: tpFloat 9s ease-in-out infinite;
}
.tp-blob-1 { width: 420px; height: 420px; background: rgba(240,68,94,0.25); top: -140px; right: 6%; }
.tp-blob-2 { width: 360px; height: 360px; background: rgba(25,47,122,0.22); bottom: -120px; left: -80px; animation-delay: -4s; }
.tp-blob-3 { width: 220px; height: 220px; background: rgba(255,122,92,0.25); top: 40%; left: 42%; animation-delay: -7s; }

@keyframes tpFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -30px) scale(1.06); }
}

.banner-section .container { position: relative; z-index: 2; }

/* Hero thumb (phone mockup) */
.banner-thumb-area {
  position: relative;
  animation: tpHeroFloat 5s ease-in-out infinite;
}
@keyframes tpHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.banner-thumb-area img {
  max-width: 520px;
  width: 100%;
  border-radius: 36px;
  box-shadow: 0 40px 90px rgba(25, 47, 122, 0.22);
  border: 1px solid rgba(255,255,255,0.6);
}

/* floating mini-chips around the phone */
.tp-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240,68,94,0.16);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 12px 32px rgba(25,47,122,0.12);
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-navy-deep);
  z-index: 3;
  animation: tpChipFloat 4s ease-in-out infinite;
}
.tp-chip i { color: var(--tp-red); font-size: 16px; }
.tp-chip-1 { top: 8%; left: -6%; animation-delay: -1s; }
.tp-chip-2 { top: 42%; right: -8%; animation-delay: -2.4s; }
.tp-chip-3 { bottom: 6%; left: 4%; animation-delay: -3.4s; }
@keyframes tpChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero content */
.banner-content { padding-left: 10px; }
.banner-sub-titel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,68,94,0.08);
  color: var(--tp-red) !important;
  border: 1px solid rgba(240,68,94,0.2);
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
}
.banner-sub-titel i { color: var(--tp-red); }

.banner-title {
  font-size: clamp(34px, 5vw, 58px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  color: var(--tp-navy-deep) !important;
  margin: 22px 0 18px !important;
}
.banner-title .tp-gradient-text,
.banner-title mark {
  background: var(--tp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: normal;
}

.banner-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--tp-muted);
  max-width: 540px;
}

/* CTA buttons */
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
  cursor: pointer;
}
.tp-btn-primary {
  background: var(--tp-gradient);
  background-size: 200% 100%;
  color: #fff !important;
  box-shadow: var(--tp-shadow-red);
}
.tp-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(240,68,94,0.38);
  background-position: 100% 0;
  color: #fff !important;
}
.tp-btn-ghost {
  background: #fff;
  color: var(--tp-navy-deep) !important;
  border: 1.5px solid var(--tp-line);
  box-shadow: 0 8px 24px rgba(25,47,122,0.06);
}
.tp-btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--tp-red);
  color: var(--tp-red) !important;
  box-shadow: 0 14px 34px rgba(240,68,94,0.14);
}
.tp-btn-area { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* trust row */
.tp-trust {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.tp-trust .tp-trust-item { display: flex; flex-direction: column; }
.tp-trust .tp-trust-item strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--tp-navy-deep);
  background: var(--tp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tp-trust .tp-trust-item span {
  font-size: 13px;
  color: var(--tp-muted);
  font-weight: 500;
}

/* app store buttons inside hero */
.banner-content .app-btn-area { margin-top: 28px; }
.banner-content .app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--tp-navy-deep);
  border-radius: 14px;
  padding: 10px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(15,30,78,0.25);
}
.banner-content .app-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,30,78,0.32); }
.banner-content .app-btn .icon img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.banner-content .app-btn .sub-title { color: rgba(255,255,255,0.7); font-size: 11px; }
.banner-content .app-btn .title { color: #fff; font-size: 15px; margin: 0; }

/* ── How it works ────────────────────────────────────────────────────── */
.how-it-works-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.how-it-works-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240,68,94,0.06), rgba(25,47,122,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.how-it-works-item:hover { transform: translateY(-10px); box-shadow: var(--tp-shadow); border-color: transparent; }
.how-it-works-item:hover::before { opacity: 1; }
.how-it-works-icon-wrapper {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(240,68,94,0.12), rgba(25,47,122,0.10));
  transition: transform 0.35s ease;
}
.how-it-works-item:hover .how-it-works-icon-wrapper { transform: scale(1.08) rotate(-4deg); }
.how-it-works-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--tp-gradient);
  box-shadow: var(--tp-shadow-red);
}
.how-it-works-icon i { color: #fff; font-size: 24px; }
.how-it-works-content .sub-title {
  display: inline-block;
  background: rgba(240,68,94,0.1);
  color: var(--tp-red);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.how-it-works-content .title { font-size: 19px; font-weight: 700; color: var(--tp-navy-deep); margin: 0; }
.process-devider {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--tp-red), transparent);
  z-index: 5;
}
@media (max-width: 1199px) { .process-devider { display: none; } }

/* ── Service cards ───────────────────────────────────────────────────── */
.service-item {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-item::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--tp-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-item:hover { transform: translateY(-8px); box-shadow: var(--tp-shadow); }
.service-item:hover::after { transform: scaleX(1); }
.service-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(240,68,94,0.12), rgba(25,47,122,0.10));
  transition: transform 0.35s ease, background 0.35s ease;
}
.service-item:hover .service-icon { transform: scale(1.1); background: var(--tp-gradient); }
.service-item:hover .service-icon i { color: #fff; }
.service-icon i { color: var(--tp-red); font-size: 30px; transition: color 0.35s ease; }
.service-item .title { font-size: 19px; font-weight: 700; color: var(--tp-navy-deep); margin: 16px 0 10px; }
.service-item p { font-size: 14.5px; line-height: 1.65; color: var(--tp-muted); margin: 0; }

/* ── Choose us / why choose ──────────────────────────────────────────── */
.choose-us-section { background: linear-gradient(180deg, #fff 0%, var(--tp-soft) 100%); }
.choose-us-item {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 34px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.choose-us-item::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,68,94,0.12), transparent 70%);
  transition: transform 0.4s ease;
}
.choose-us-item:hover { transform: translateY(-8px); box-shadow: var(--tp-shadow); }
.choose-us-item:hover::before { transform: scale(1.6); }
.choose-us-item .icon-wrapper { position: relative; z-index: 1; }
.choose-us-item .icon-area {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--tp-gradient);
  box-shadow: var(--tp-shadow-red);
  position: relative;
}
.choose-us-item .icon-area i { color: #fff; font-size: 26px; }
.choose-us-item .choose-badge {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--tp-navy-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #fff;
}
.choose-us-item .title { font-size: 18px; font-weight: 700; color: var(--tp-navy-deep); margin: 20px 0 8px; }
.choose-us-item p { font-size: 14.5px; line-height: 1.65; color: var(--tp-muted); margin: 0; }

/* ── Security ────────────────────────────────────────────────────────── */
.security-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 26px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.security-item:hover { transform: translateY(-6px); box-shadow: var(--tp-shadow); }
.security-item .icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(240,68,94,0.1);
  color: var(--tp-red);
  font-size: 22px;
  transition: background 0.3s ease, color 0.3s ease;
}
.security-item:hover .icon { background: var(--tp-gradient); color: #fff; }
.security-item .title { font-size: 17px; font-weight: 700; color: var(--tp-navy-deep); margin-bottom: 6px; }
.security-item p { font-size: 14px; line-height: 1.6; color: var(--tp-muted); margin: 0; }

/* ── Brand strip (marquee feel) ──────────────────────────────────────── */
.brand-section { padding-top: 40px !important; }
.brand-section .line-head {
  text-align: center;
  color: var(--tp-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
}
.brand-item img {
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  max-height: 56px;
  object-fit: contain;
}
.brand-item:hover img { opacity: 1; filter: grayscale(0); transform: scale(1.05); }

/* ── Map / overview ──────────────────────────────────────────────────── */
.map-section { background: linear-gradient(180deg, var(--tp-soft) 0%, #fff 100%); }
.map-wrapper img { border-radius: 26px; box-shadow: var(--tp-shadow); }
.map-statistics-wrapper { gap: 24px; }
.odo-area { text-align: center; }
.odo-area .odo-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--tp-navy-deep);
  background: var(--tp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Testimonials ────────────────────────────────────────────────────── */
.swiper-slide .testimonial-item,
.testimonial-item {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  padding: 30px;
  box-shadow: 0 8px 30px rgba(25,47,122,0.05);
}
.testimonial-item .quote-icon { color: var(--tp-red); font-size: 28px; opacity: 0.5; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-item {
  background: #fff;
  border: 1px solid var(--tp-line) !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  margin-bottom: 14px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover, .faq-item.active { border-color: rgba(240,68,94,0.4) !important; box-shadow: 0 10px 30px rgba(240,68,94,0.08); }
.faq-title { font-size: 15.5px; font-weight: 600; color: var(--tp-navy-deep); }
.faq-title .right-icon { color: var(--tp-red); }

/* ── Download app modal CTA (footer) ─────────────────────────────────── */
.modal-content { border-radius: 24px; border: none; box-shadow: var(--tp-shadow); }

/* ── Buttons used elsewhere (register etc.) ──────────────────────────── */
.btn--base {
  background: var(--tp-gradient) !important;
  background-size: 200% 100% !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 13px 30px !important;
  color: #fff !important;
  transition: background-position 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}
.btn--base:hover { background-position: 100% 0 !important; transform: translateY(-2px); box-shadow: var(--tp-shadow-red); color: #fff !important; }

/* ── Responsive fixes ────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .banner-thumb-area { margin-bottom: 40px; }
  .tp-chip-2 { right: 0; }
  .banner-content { padding-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FULL-WIDTH SITE — open up Bootstrap/theme containers edge-to-edge
   ═══════════════════════════════════════════════════════════════════════ */
.container,
.container-fluid,
.custom-container {
  max-width: 1440px !important;
  padding-left: clamp(20px, 3.5vw, 64px) !important;
  padding-right: clamp(20px, 3.5vw, 64px) !important;
}
