/* =====================================================
   PRK Business Solutions - Testimonials page
   Save as: static/css/testimonials.css
   Hero image save as: static/images/hero.jpg
   ===================================================== */

:root {
  --blue:#2f80ed;
  --red: #e0213a;
  --red-dark: #c21a31;
  --navy: #1b1f4b;
  --name-blue: #5aa6c2;
  --text: #6b6b6b;
  --line: #ececec;
  --star: #ffb400;
  --star-off: #dcdcdc;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul, li { list-style: none; }

/* =====================================================
   NAVBAR (same as careers page)
   normal = black | hover / click / active = red
   ===================================================== */
:root {
  --sky: #38bdf8;
  --nav-text: #111111;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 2px 18px rgba(20, 22, 58, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Outfit", system-ui, sans-serif;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo: PRK = sky blue, BUSINESS SOLUTIONS = red */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .5px;
  white-space: nowrap;
}
.logo-sky { color: #38bdf8 !important; font-size: 26px; }
.logo-red { color: var(--red) !important; }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item { display: flex; align-items: center; }

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--nav-text) !important;
  transition: color .25s ease;
}
.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.nav-link.active {
  color: var(--red) !important;
}
.nav-link.active { font-weight: 600; }

/* Red underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  width: auto;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: auto;
  transform: scaleX(1);
}

/* Contact Now button */
.btn { border: 0; cursor: pointer; }

.btn-contact,
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  padding: 11px 26px;
  border-radius: 50px;
  background: linear-gradient(135deg, #e8283a, #d41f2f);
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(232, 40, 58, .35);
  transition: all .3s ease;
}
.btn-contact:hover,
.btn-primary-custom:hover {
  background: linear-gradient(135deg, #f0303f, #c81c2b);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 40, 58, .5);
}

/* Mobile toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--nav-text);
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 12px 24px 20px;
    border-top: 1px solid #e3eaf6;
    box-shadow: 0 16px 30px rgba(27, 31, 75, .1);
  }
  .nav-links.open { display: flex; }

  .nav-item { display: block; }
  .nav-link { display: inline-block; padding: 12px 0; }
  .nav-link::after { display: none; }

  .btn-primary-custom,
  .btn-contact { margin: 10px 0 0; width: 100%; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 12px 16px; }
  .logo { font-size: 17px; }
  .logo-sky { font-size: 20px; }
}
/* =====================================================
   HERO BANNER
   ===================================================== */
   
.page-hero {
  position: relative;
  display: flex;
  align-items: center;          /* vertically middle */
  justify-content: center;      /* horizontally middle */
  min-height: 340px;
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
  background-color: #6b5f6e;
  background-image:
    linear-gradient(180deg, rgba(120, 210, 232, 0.55) 0%, rgba(60, 75, 105, 0.72) 100%),
    url("../images/testimonials.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* "Testimonial" label, title ke upar */
.hero-inner::before {
  content: "Testimonial";
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
}

.hero-title {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-description {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .page-hero { min-height: 300px; padding: 50px 20px; }
  .hero-description { font-size: 14px; }
}
/* =====================================================
   TESTIMONIALS SLIDER
   Save as: static/css/testimonials-slider.css
   testimonials.css ke BAAD link karo.
   Cards slider + arrows + dots + scroll hint + thumbnail strip
===================================================== */

/* ---------- BASE (standalone-safe) ---------- */
:root { --red: #e0213a; }

.t-slider .t-photo { overflow: hidden; background: #fff; }
.t-slider .t-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.t-slider .t-item:hover .t-photo img { transform: scale(1.08); }
.t-slider .t-name { font-style: normal; }

.t-section {
  padding: 50px 20px 60px;
  background: #f7f8fd;
}

/* ---------- SLIDER ---------- */
.t-slider {
  --t-gap: 18px;
  --t-visible: 4;
  --t-ink: #1b1f4b;
  --t-role: #8b93bf;

  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 58px;
}

.t-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--t-gap);
  padding: 8px 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.t-track::-webkit-scrollbar { display: none; }
.t-track:focus-visible { outline-offset: 2px; }

/* ---------- CARD ---------- */
.t-slider .t-item {
  position: relative;
  flex: 0 0 calc((100% - var(--t-gap) * (var(--t-visible) - 1)) / var(--t-visible));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 24px 22px 26px;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(27, 31, 75, 0.07);
  text-align: left;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.t-slider .t-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(27, 31, 75, 0.12);
}

.t-slider .t-content {
  display: block;
  width: 100%;
}

/* photo */
.t-slider .t-photo {
  flex: none;
  width: 78px;
  height: 78px;
  max-width: none;
  aspect-ratio: auto;
  margin: 0 0 16px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(27, 31, 75, 0.14);
}

/* name + role */
.t-slider .t-name {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--t-ink);
}
.t-slider .t-role {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--t-role);
}
.t-slider .t-name { margin-bottom: 14px; }

/* text (6 lines, baaki "Read more" me) */
.t-slider .t-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5170;
}
.t-slider .t-item.open .t-text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.t-more {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Outfit", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
}
.t-more:hover { text-decoration: underline; }
.t-more[hidden] { display: none; }

/* quote icon (bottom right) */
.t-slider .t-item::after {
  content: "\201D";
  position: absolute;
  right: 20px;
  bottom: 12px;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: rgba(224, 33, 58, 0.2);
  pointer-events: none;
}

/* ---------- ARROWS ---------- */
.t-arrow {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--t-ink);
  box-shadow: 0 6px 18px rgba(27, 31, 75, 0.16);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.t-prev { left: 0; }
.t-next { right: 0; }
.t-arrow:hover { background: var(--red); color: #fff; }
.t-arrow:disabled { opacity: 0.35; pointer-events: none; }

/* ---------- DOTS ---------- */
.t-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 26px;
}
.t-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dfe2f3;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.t-dots button.active {
  background: var(--red);
  transform: scale(1.3);
}

/* ---------- SCROLL HINT ---------- */
.t-hint { text-align: center; }
.t-hint-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.t-hint p {
  margin-top: 10px;
  font-size: 14px;
  color: #6b7194;
}
.t-line {
  position: relative;
  width: 150px;
  height: 2px;
  background: var(--red);
  opacity: 0.85;
}
.t-line::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}
.t-line.left::before  { left: 0;  transform: translateY(-50%) rotate(-45deg); }
.t-line.right::before { right: 0; transform: translateY(-50%) rotate(135deg); }

.t-mouse {
  position: relative;
  width: 24px;
  height: 40px;
  border: 2px solid var(--red);
  border-radius: 14px;
  background: #fff;
}
.t-mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 2px;
  height: 9px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--red);
  animation: tWheel 1.6s ease-in-out infinite;
}
@keyframes tWheel {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---------- THUMBNAIL STRIP ---------- */
.t-thumbs-wrap {
  max-width: 1280px;
  margin: 26px auto 0;
  padding: 14px 18px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(27, 31, 75, 0.07);
}
.t-thumbs {
  position: relative;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.t-thumbs::-webkit-scrollbar { display: none; }

.t-thumb {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: "Outfit", sans-serif;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s;
}
.t-thumb:hover { background: #f2f4fc; }
.t-thumb.active { background: #fdecef; }

.t-thumb img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(27, 31, 75, 0.15);
}
.t-thumb strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--t-ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.t-thumb small {
  max-width: 100%;
  overflow: hidden;
  font-size: 10.5px;
  color: #7b81a3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* progress bar */
.t-progress {
  position: relative;
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #eceef8;
}
.t-progress span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  border-radius: 6px;
  background: var(--red);
  transition: left 0.15s linear, width 0.15s linear;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .t-slider { --t-visible: 3; }
}
@media (max-width: 860px) {
  .t-slider { --t-visible: 2; padding: 0 50px; }
}
@media (max-width: 640px) {
  .t-section { padding: 36px 14px 50px; }
  .t-slider { --t-visible: 1.12; padding: 0; }
  .t-arrow { display: none; }
  .t-line { width: 70px; }
  .t-thumbs-wrap { padding: 12px 10px 14px; }
  .t-thumb { flex-basis: 104px; }
}