/* PurFresh Clean — custom.css */
/* All values in px. No rem. */

:root {
  --accent: #00cec9;
  --accent-dark: #00b0ab;
  --accent-light: #e0f7f6;
  --bg-dark: #1a2e35;
  --bg-mid: #243b44;
  --text-dark: #1a2e35;
  --text-muted: #6c757d;
  --text-light: #e2e8f0;
  --white: #ffffff;
}

/* ============================
   Typography overrides (px only)
   ============================ */
body {
  font-size: 18px;
  color: #4a5568;
}

h1 { font-size: 58px; font-weight: 700; letter-spacing: -1px; text-transform: none; }
h2 { font-size: 40px; font-weight: 700; letter-spacing: 0; text-transform: none; }
h3 { font-size: 26px; font-weight: 600; letter-spacing: 0; text-transform: none; }
h4 { font-size: 22px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 15px; font-weight: 600; }

/* ============================
   Navbar (horizontal top)
   ============================ */
.pf-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.pf-navbar .brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-navbar .brand img {
  height: 36px;
  width: auto;
}

.pf-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.pf-nav-links li a {
  font-size: 15px;
  font-weight: 500;
  color: #c8d6e5;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
  display: block;
}

.pf-nav-links li a:hover,
.pf-nav-links li a.active {
  color: var(--accent);
  background-color: rgba(0, 206, 201, 0.12);
}

.pf-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.pf-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .pf-nav-toggle { display: block; }
  .pf-nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    flex-direction: column;
    padding: 16px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .pf-nav-links.open { display: flex; }
  .pf-nav-links li a { padding: 12px 30px; }
  .pf-navbar { padding: 0 20px; }
}

/* ============================
   Page body offset (for fixed nav)
   ============================ */
body { padding-top: 68px; }

/* ============================
   Buttons
   ============================ */
.btn-accent {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--accent);
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff !important;
  text-decoration: none;
}

.btn-outline-light-pf {
  display: inline-block;
  background-color: transparent;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid #ffffff;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-outline-light-pf:hover {
  background-color: rgba(255,255,255,0.15);
  color: #ffffff !important;
  text-decoration: none;
}

.btn-outline-dark-pf {
  display: inline-block;
  background-color: transparent;
  color: var(--text-dark) !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--text-dark);
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-outline-dark-pf:hover {
  background-color: var(--text-dark);
  color: #ffffff !important;
  text-decoration: none;
}

/* ============================
   Hero section
   ============================ */
.pf-hero {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--white);
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pf-hero-bg {
  display: none;
}

.pf-hero .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.pf-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.pf-hero h1 {
  font-size: 58px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 20px;
}

.pf-hero .tagline {
  font-size: 20px;
  color: #c8d6e5;
  margin-bottom: 36px;
  max-width: 560px;
}

.pf-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .pf-hero h1 { font-size: 38px; }
  .pf-hero .tagline { font-size: 17px; }
}

/* ============================
   Sections
   ============================ */
.pf-section {
  padding: 90px 0;
}

.pf-section-alt {
  padding: 90px 0;
  background-color: #f7fbfc;
  color: var(--text-dark);
}

.pf-section-dark {
  padding: 90px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.section-title-light {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.section-subtitle {
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 52px;
  max-width: 600px;
}

.section-subtitle-light {
  font-size: 18px;
  color: #8fabc4;
  margin-bottom: 52px;
}

/* ============================
   Cards — equal height flex (K17)
   ============================ */
.card-grid {
  display: flex;
  flex-wrap: wrap;
}

.card-grid > * {
  display: flex;
  flex-direction: column;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
}

.team-grid > * {
  display: flex;
  flex-direction: column;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
}

.blog-grid > * {
  display: flex;
  flex-direction: column;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
}

.features-grid > * {
  display: flex;
  flex-direction: column;
}

/* ============================
   Feature card
   ============================ */
.pf-feature-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pf-feature-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.pf-feature-card .icon-wrap i {
  font-size: 26px;
  color: var(--accent);
}

.pf-feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pf-feature-card p {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================
   Service card
   ============================ */
.pf-service-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pf-service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.pf-service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pf-service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pf-service-card p {
  font-size: 16px;
  color: #6c757d;
  flex: 1;
}

/* ============================
   Team card
   ============================ */
.pf-team-card {
  text-align: center;
  padding: 32px 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pf-team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  border: 4px solid var(--accent-light);
}

.pf-team-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pf-team-card .role {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}

.pf-team-card p {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================
   Blog card
   ============================ */
.pf-blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.pf-blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }

.pf-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.pf-blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pf-blog-card .date {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.pf-blog-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.pf-blog-card p {
  font-size: 15px;
  color: #6c757d;
  flex: 1;
  margin-bottom: 16px;
}

.pf-blog-card a.read-more {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.pf-blog-card a.read-more:hover { text-decoration: underline; }

/* ============================
   Pricing card
   ============================ */
.pf-pricing-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid transparent;
  transition: box-shadow 0.2s;
}

.pf-pricing-card.featured {
  border-top-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0,206,201,0.18);
}

.pf-pricing-card .badge-featured {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.pf-pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pf-pricing-card .price {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.pf-pricing-card .price span {
  font-size: 18px;
  font-weight: 400;
  color: #6c757d;
}

.pf-pricing-card .price-desc {
  font-size: 14px;
  color: #999;
  margin-bottom: 24px;
}

.pf-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pf-pricing-card ul li {
  font-size: 15px;
  color: #4a5568;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-pricing-card ul li i {
  color: var(--accent);
  font-size: 14px;
  width: 16px;
  flex-shrink: 0;
}

/* ============================
   Footer
   ============================ */
.pf-footer {
  background-color: var(--bg-dark);
  color: #8fabc4;
  padding: 60px 0 30px;
}

.pf-footer h5 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pf-footer a {
  color: #8fabc4;
  text-decoration: none;
  font-size: 15px;
  line-height: 2;
  transition: color 0.2s;
}

.pf-footer a:hover { color: var(--accent); }

.pf-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pf-footer .footer-bottom p {
  font-size: 14px;
  color: #8fabc4;
  margin: 0;
}

.pf-footer .footer-legal a {
  font-size: 13px;
  color: #8fabc4;
  margin-left: 20px;
}

/* ============================
   Cookie banner
   ============================ */
#pf-cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  color: #c8d6e5;
  padding: 18px 30px;
  z-index: 9999;
  border-top: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

#pf-cookie-banner p {
  margin: 0;
  font-size: 15px;
  color: #c8d6e5;
}

#pf-cookie-banner a { color: var(--accent); }

#pf-cookie-accept {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

#pf-cookie-accept:hover { background-color: var(--accent-dark); }

/* ============================
   container-narrow (MANDATORY — legal/blog pages)
   ============================ */
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* ============================
   Blog/article images
   ============================ */
.container-narrow img,
.article-body img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* ============================
   Utility
   ============================ */
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.accent-bar {
  display: inline-block;
  width: 48px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* R77 — Nav cleanup */
.nav-item { margin-bottom: 0 !important; background-image: none !important; }
.site-logo { max-width: none !important; }

/* R79 — Hero container transparent */
.header-thumb { background: transparent !important; border: none !important; }

/* R81 — Force accent color on all icons */
.feature-icon .fa, .card-icon .fa, .step-icon .fa { color: var(--accent) !important; }

/* R85 — Dark sections: solid text colors */
.pf-section-dark p, .pf-section-dark li { color: #c8d6e5; }
.pf-section-dark h2, .pf-section-dark h3 { color: #ffffff; }

/* R86 — Avatar */
.pf-team-card img { object-position: center; }

/* R89 — Template overlay pointer-events */
.tm-bg-overlay, [class*="overlay"] { pointer-events: none !important; }

/* Accent color on icons */
.pf-feature-card .icon-wrap i,
.pf-feature-card i,
.pf-service-card i {
  color: var(--accent) !important;
}

/* Step icons */
.step-number {
  width: 56px;
  height: 56px;
  background-color: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

/* Stats bar */
.pf-stats {
  background-color: var(--accent);
  color: #ffffff;
  padding: 50px 0;
}

.pf-stats .stat-item h3 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.pf-stats .stat-item p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* Quote / testimonial */
.pf-testimonial {
  background-color: #f7fbfc;
  border-left: 4px solid var(--accent);
  padding: 30px 36px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.pf-testimonial p {
  font-size: 18px;
  font-style: italic;
  color: #4a5568;
  margin-bottom: 12px;
}

.pf-testimonial .author {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Contact form */
.pf-contact-form .form-control {
  background-color: #f7fbfc;
  border: 1px solid #dde6ea;
  border-radius: 4px;
  font-size: 16px;
  color: #4a5568;
  padding: 12px 16px;
  height: auto;
  margin-bottom: 16px;
  width: 100%;
}

.pf-contact-form .form-control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,206,201,0.15);
  background-color: #ffffff;
  color: #4a5568;
}

.pf-contact-form textarea.form-control { min-height: 140px; resize: vertical; }

/* Info box */
.pf-info-box {
  background-color: var(--accent-light);
  border-radius: 8px;
  padding: 28px;
}

.pf-info-box p {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-dark);
}

.pf-info-box p:last-child { margin-bottom: 0; }

.pf-info-box i {
  color: var(--accent);
  margin-right: 10px;
  width: 20px;
}

/* Legal / privacy pages */
.legal-body h2 {
  font-size: 26px;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
}

.legal-body p, .legal-body li {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.75;
}

/* Page header band */
.pf-page-header {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 60px 0 50px;
}

.pf-page-header h1 {
  font-size: 44px;
  color: #ffffff;
  margin-bottom: 10px;
}

.pf-page-header p {
  font-size: 18px;
  color: #8fabc4;
  margin: 0;
}

/* Breadcrumb */
.pf-breadcrumb {
  font-size: 14px;
  color: #8fabc4;
  margin-bottom: 12px;
}

.pf-breadcrumb a { color: var(--accent); text-decoration: none; }
.pf-breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   Fix pricing card label clipping
   ============================================================ */
.pricing-card, .price-card, .card-inner, [class*="pricing"] > [class*="col"] > div {
  overflow: visible !important;
}

/* ============================================================
   Fix 3: Pricing badge overflow fix
   ============================================================ */
.pf-pricing-card {
    overflow: visible !important;
}
.pf-pricing-card .badge-featured {
    position: relative;
    z-index: 10;
}
