/* ============================================================
   Trouth Qatar — PropertyFinder-inspired Theme
   Primary: #0a7e52 (teal green)   Secondary: #1a1a2e (navy)
   Accent:  #e74c3c (red prices)   Surface:   #f7f8fa (light bg)
   ============================================================ */

:root {
    --pf-font-title: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pf-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pf-primary: #F1212A;
    --pf-primary-hover: #C81A22;
    --pf-primary-light: #FDD4D6;
    --pf-secondary: #1a1a2e;
    --pf-accent: #e74c3c;
    --pf-surface: #f7f8fa;
    --pf-border: #e4e7ec;
    --pf-text: #2d3436;
    --pf-text-muted: #636e72;
    --pf-white: #ffffff;
    --pf-radius: 8px;
    --pf-radius-lg: 12px;
    --pf-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --pf-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --pf-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  html { font-size: 15px; }
}

body {
font-family: var(--pf-font-body);
  color: var(--pf-text);
  background-color: var(--pf-surface);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---- Bootstrap Overrides ---- */

/* Primary button = green */
.btn-primary {
  background-color: var(--pf-primary);
  border-color: var(--pf-primary);
  font-weight: 600;
  border-radius: var(--pf-radius);
  padding: 0.5rem 1.25rem;
  transition: all 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--pf-primary-hover);
  border-color: var(--pf-primary-hover);
  box-shadow: 0 4px 12px rgba(10,126,82,0.3);
}

.btn-outline-primary {
  color: var(--pf-primary);
  border-color: var(--pf-primary);
  border-radius: var(--pf-radius);
  font-weight: 500;
}
.btn-outline-primary:hover {
  background-color: var(--pf-primary);
  border-color: var(--pf-primary);
  color: #fff;
}

.btn-outline-secondary {
  border-radius: var(--pf-radius);
  font-weight: 500;
}

.btn-success {
  background-color: #27ae60;
  border-color: #27ae60;
  border-radius: var(--pf-radius);
  font-weight: 600;
}

.btn-lg {
  border-radius: var(--pf-radius-lg);
  padding: 0.65rem 1.5rem;
}

/* Focus ring */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(10,126,82,0.25);
  border-color: var(--pf-primary);
}

/* Form controls */
.form-control, .form-select {
  border-radius: var(--pf-radius);
  border-color: var(--pf-border);
  font-size: 0.9rem;
}
.form-control-lg, .form-select-lg {
  border-radius: var(--pf-radius-lg);
}

.form-check-input:checked {
  background-color: var(--pf-primary);
  border-color: var(--pf-primary);
}

/* Cards */
.card {
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
  box-shadow: var(--pf-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--pf-shadow-md);
}
.card-header {
  background-color: var(--pf-white);
  border-bottom: 1px solid var(--pf-border);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pf-text);
}

/* Badges */
.badge.bg-primary, .badge.bg-pf-primary {
  background-color: var(--pf-primary) !important;
}

/* Pagination */
.pagination .page-link {
  color: var(--pf-primary);
  border-radius: var(--pf-radius);
  margin: 0 2px;
  border: 1px solid var(--pf-border);
}
.pagination .page-item.active .page-link {
  background-color: var(--pf-primary);
  border-color: var(--pf-primary);
}
.pagination .page-link:hover {
  background-color: var(--pf-primary-light);
  color: var(--pf-primary);
}

/* ---- Typography: Google Sans for titles ---- */
h1, h2, h3, h4, h5, h6,
.pf-section-title,
.pf-detail-price,
.pf-property-card .pf-price,
.pf-property-card .pf-title a,
.pf-listing-card .pf-price-tag,
.navbar-brand {
  font-family: var(--pf-font-title);
}

/* ---- Navbar ---- */
.pf-navbar {
  background-color: #f5f5f5 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--pf-border);
}
.pf-navbar .navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
}
.pf-navbar-logo {
  height: 36px;
  width: auto;
}
.pf-navbar .nav-link {
  color: var(--pf-text) !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--pf-radius);
  transition: all 0.2s;
}
.pf-navbar .nav-link:hover {
  color: var(--pf-primary) !important;
  background-color: rgba(0,0,0,0.04);
}
.pf-navbar .btn-nav-login {
  border: 1px solid var(--pf-border);
  color: var(--pf-text) !important;
  border-radius: var(--pf-radius);
  font-weight: 500;
  padding: 0.4rem 1rem;
  transition: all 0.2s;
}
.pf-navbar .btn-nav-login:hover {
  background-color: rgba(0,0,0,0.05);
  border-color: #ccc;
}
.pf-navbar .btn-nav-signup {
  background-color: var(--pf-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--pf-radius);
  font-weight: 600;
  padding: 0.4rem 1rem;
}
.pf-navbar .btn-nav-signup:hover {
  background-color: var(--pf-primary-hover);
}
.pf-navbar .btn-nav-admin {
  background-color: transparent;
  border: 1px solid var(--pf-primary);
  color: var(--pf-primary) !important;
  font-weight: 600;
  border-radius: var(--pf-radius);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}
.pf-navbar .btn-nav-admin:hover {
  background-color: var(--pf-primary);
  color: #fff !important;
}
.pf-navbar .navbar-toggler {
  border-color: var(--pf-border);
}
.pf-navbar .navbar-toggler-icon {
  filter: none;
}

/* Navbar phone link */
.pf-navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--pf-primary);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--pf-radius);
  transition: all 0.2s;
}
.pf-navbar-phone:hover {
  background-color: var(--pf-primary-light);
  color: var(--pf-primary-hover);
}
.pf-navbar-phone svg {
  flex-shrink: 0;
}
.pf-navbar-phone-label {
  font-size: 1rem;
  color: var(--pf-text-muted);
  font-weight: 500;
}
.pf-navbar-phone-number {
  font-family: var(--pf-font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pf-text);
  letter-spacing: 0.02em;
}
.pf-navbar-phone:hover .pf-navbar-phone-number {
  color: var(--pf-primary);
}
@media (max-width: 991.98px) {
  .pf-navbar-phone {
    margin-top: 0.5rem;
    justify-content: center;
  }
}

/* ---- Hero ---- */
.pf-hero {
  position: relative;
  background: var(--pf-secondary);
  color: #fff;
  padding: 3.5rem 2rem;
  border-radius: 0;
  margin: 0;
  text-align: center;
  overflow: hidden;
}
.pf-hero-bg {
  background-image: url('/images/ae-desktop-sep16.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.pf-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 0;
}
.pf-hero > .container {
  position: relative;
  z-index: 1;
}
.pf-hero h1 {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pf-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .pf-hero h1 { font-size: 2.8rem; }
  .pf-hero { padding: 5rem 2rem; }
  .pf-hero-bg { min-height: 480px; display: flex; align-items: center; }
}

/* ---- Hero Search Panel (PropertyFinder style) ---- */
.pf-search-panel {
  background: var(--pf-white);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: var(--pf-shadow);
}

/* Inside the hero, use the original elevated style */
.pf-hero .pf-search-panel {
  background: var(--pf-surface);
  border: none;
  padding: 3rem;
  box-shadow: var(--pf-shadow-lg);
}

/* Row 1: Search bar */
.pf-search-row {
  margin-bottom: 0.85rem;
}
.pf-search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--pf-white);
  border: 1px solid var(--pf-border);
  border-radius: 50px;
  padding: 0.3rem 0.35rem 0.3rem 1rem;
  gap: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pf-search-input-wrap:focus-within {
  border-color: var(--pf-primary);
  box-shadow: 0 0 0 3px rgba(10,126,82,0.12);
}
.pf-search-icon {
  flex-shrink: 0;
  color: var(--pf-text-muted);
}
.pf-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--pf-font-body);
  font-size: 1.25rem;
  color: var(--pf-text);
  padding: 0.55rem 0;
}
.pf-search-input::placeholder {
  color: #b2bec3;
  font-weight: 400;
}
.pf-search-btn {
  flex-shrink: 0;
  background-color: var(--pf-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-family: var(--pf-font-title);
  font-weight: 600;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.pf-search-btn:hover {
  background-color: #c0392b;
  box-shadow: 0 4px 12px rgba(231,76,60,0.35);
}

/* Row 2: Pill filter dropdowns */
.pf-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.pf-pill {
  position: relative;
}
.pf-pill-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--pf-white);
  border: 1px solid var(--pf-border);
  border-radius: 50px;
  padding: 0.45rem 2rem 0.45rem 1rem;
  font-family: var(--pf-font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pf-text);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 12px;
  white-space: nowrap;
}
.pf-pill-select:hover {
  border-color: #ccc;
}
.pf-pill-select:focus {
  border-color: var(--pf-primary);
  box-shadow: 0 0 0 3px rgba(10,126,82,0.12);
}
.pf-pill-active .pf-pill-select {
  border-color: var(--pf-secondary);
  color: var(--pf-secondary);
  background-color: rgba(26,26,46,0.06);
}

@media (max-width: 767.98px) {
  .pf-search-panel {
    padding: 1rem;
    border-radius: 12px;
  }
  .pf-filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .pf-pill-select {
    font-size: 0.8rem;
    padding: 0.4rem 1.8rem 0.4rem 0.85rem;
  }
}

/* ---- Property Cards ---- */
.pf-property-card {
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
  background: var(--pf-white);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pf-property-card:hover {
  box-shadow: var(--pf-shadow-lg);
  transform: translateY(-2px);
}
.pf-property-card .card-img-top,
.pf-property-card .pf-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.pf-property-card .pf-price {
  color: var(--pf-accent);
  font-weight: 700;
  font-size: 1.25rem;
}
.pf-property-card .pf-title a {
  color: var(--pf-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
}
.pf-property-card .pf-title a:hover {
  color: var(--pf-primary);
}
.pf-property-card .pf-location {
  color: var(--pf-text-muted);
  font-size: 1rem;
}
.pf-property-card .pf-specs {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  color: var(--pf-text-muted);
}
.pf-property-card .pf-specs strong {
  color: var(--pf-text);
}
.pf-property-card .pf-tag {
  display: inline-block;
  background-color: var(--pf-surface);
  color: var(--pf-text-muted);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--pf-border);
  font-weight: 500;
}

/* Horizontal listing card */
.pf-listing-card {
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
  background: var(--pf-white);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.pf-listing-card:hover {
  box-shadow: var(--pf-shadow-md);
}
.pf-listing-card .pf-listing-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  border-radius: var(--pf-radius-lg) 0 0 var(--pf-radius-lg);
}
.pf-listing-card .pf-price-tag {
  background-color: var(--pf-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--pf-radius);
}
@media (max-width: 767.98px) {
  .pf-listing-card .pf-listing-img {
    border-radius: var(--pf-radius-lg) var(--pf-radius-lg) 0 0;
    height: 180px;
  }
}

/* ---- Search / Filter Sidebar ---- */
.pf-search-bar {
  background-color: var(--pf-white);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
  padding: 1rem;
  box-shadow: var(--pf-shadow);
}
.pf-filter-card {
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
  background: var(--pf-white);
  overflow: hidden;
}
.pf-filter-card .card-header {
  background: var(--pf-surface);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pf-text-muted);
  padding: 0.6rem 0.9rem;
}
.pf-filter-card .card-body {
  padding: 0.75rem 0.9rem;
}

/* ---- Detail Page ---- */
.pf-detail-price {
  color: var(--pf-accent);
  font-size: 1.6rem;
  font-weight: 700;
}
.pf-detail-ref {
  color: var(--pf-text-muted);
  font-size: 0.8rem;
}
.pf-detail-stat {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  padding: 1rem;
  text-align: center;
}
.pf-detail-stat .stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pf-text);
}
.pf-detail-stat .stat-label {
  font-size: 0.75rem;
  color: var(--pf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pf-amenity-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.pf-amenity-check {
  color: var(--pf-primary);
  font-weight: 700;
}

/* Agent card */
.pf-agent-card {
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-lg);
  background: var(--pf-white);
  box-shadow: var(--pf-shadow-md);
}
.pf-agent-card .btn-primary {
  width: 100%;
}
.pf-agent-card .btn-success {
  width: 100%;
}

/* ---- Footer ---- */
.pf-footer {
  background-color: var(--pf-secondary);
  color: rgba(255,255,255,0.6);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.pf-footer::before {
  content: '';
  position: absolute;
  top: 100px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(241,33,42,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pf-footer::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Footer top accent bar */
.pf-footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--pf-primary) 0%, #f39c12 33%, #2980b9 66%, #27ae60 100%);
}

/* Main footer area */
.pf-footer-main {
  padding: 4rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

/* Brand / logo */
.pf-footer-brand {
  margin-bottom: 1.25rem;
}
.pf-footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.pf-footer-logo:hover {
  opacity: 0.85;
}

/* About text */
.pf-footer-about {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  max-width: 340px;
}

/* Social media icons */
.pf-footer-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pf-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pf-footer-social-link:hover {
  background: var(--pf-primary);
  border-color: var(--pf-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(241,33,42,0.35);
}

/* Footer headings */
.pf-footer-heading {
  font-family: var(--pf-font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pf-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.pf-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--pf-primary);
  border-radius: 2px;
}

/* Footer links */
.pf-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pf-footer-links li {
  margin-bottom: 0.6rem;
}
.pf-footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.pf-footer-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--pf-primary);
  transition: width 0.25s;
}
.pf-footer-links a:hover {
  color: var(--pf-white);
  padding-left: 4px;
}
.pf-footer-links a:hover::before {
  width: 12px;
}

/* Footer contact list */
.pf-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pf-footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.pf-footer-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(241,33,42,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pf-primary);
  flex-shrink: 0;
  transition: all 0.3s;
}
.pf-footer-contact li:hover .pf-footer-contact-icon {
  background: var(--pf-primary);
  color: var(--pf-white);
  box-shadow: 0 4px 15px rgba(241,33,42,0.3);
}
.pf-footer-contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.15rem;
}
.pf-footer-contact-value {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.25s;
}
a.pf-footer-contact-value:hover {
  color: var(--pf-white);
}

/* Bottom bar */
.pf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  position: relative;
  z-index: 1;
}
.pf-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pf-footer-copyright {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.pf-footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.pf-footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.25s;
}
.pf-footer-bottom-links a:hover {
  color: var(--pf-white);
}

@media (max-width: 991.98px) {
  .pf-footer-main { padding: 3rem 0 2rem; }
}
@media (max-width: 767.98px) {
  .pf-footer-main { padding: 2.5rem 0 1.5rem; }
  .pf-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .pf-footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .pf-footer-about { max-width: 100%; }
  .pf-footer-social { justify-content: center; }
  .pf-footer-links a::before { display: none; }
}

/* ---- Section Titles ---- */
.pf-section-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--pf-text);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: transparent;
  padding: 0;
  font-size: 0.85rem;
}
.breadcrumb a {
  color: var(--pf-primary);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---- Range Slider (dual-handle) ---- */
.pf-range-slider {
  position: relative;
  height: 6px;
  margin: 1rem 0 0.5rem;
}
.pf-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  transform: translateY(-50%);
  background: var(--pf-border);
  border-radius: 3px;
  pointer-events: none;
}
.pf-range-track::after {
  content: '';
  position: absolute;
  height: 100%;
  background: var(--pf-primary);
  border-radius: 3px;
  left: var(--range-left, 0%);
  right: var(--range-right, 0%);
}
.pf-range-input {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
  height: 6px;
}
.pf-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pf-white);
  border: 2px solid var(--pf-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  cursor: pointer;
  pointer-events: all;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.2s;
}
.pf-range-input::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(10,126,82,0.15);
}
.pf-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pf-white);
  border: 2px solid var(--pf-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  cursor: pointer;
  pointer-events: all;
  position: relative;
  z-index: 2;
}
.pf-range-input::-moz-range-thumb:hover {
  box-shadow: 0 0 0 6px rgba(10,126,82,0.15);
}
.pf-range-input::-moz-range-track {
  background: transparent;
  border: none;
}
.pf-range-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pf-text);
}

/* ---- Loading Overlay ---- */
.pf-loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.pf-loading-overlay.active {
  display: flex;
}
.pf-loading-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--pf-border);
  border-top-color: var(--pf-primary);
  border-radius: 50%;
  animation: pf-spin 0.7s linear infinite;
}
.pf-loading-text {
  font-family: var(--pf-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pf-text-muted);
}
@keyframes pf-spin {
  to { transform: rotate(360deg); }
}

/* ---- Chairman's Message ---- */
.pf-chairman {
  background: var(--pf-white);
  padding: 5rem 0;
  border-bottom: 1px solid var(--pf-border);
  position: relative;
  overflow: hidden;
}
.pf-chairman::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pf-primary) 0%, var(--pf-secondary) 100%);
}
.pf-chairman-inner {
  position: relative;
}
.pf-chairman-decor-top {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(241,33,42,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pf-chairman-decor-bottom {
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(26,26,46,0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Photo side */
.pf-chairman-photo-wrap {
  position: relative;
  padding: 2rem;
}
.pf-chairman-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.pf-chairman-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(241,33,42,0.15);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
}
.pf-chairman-photo-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.pf-chairman-photo-placeholder {
  width: 100%;
  height: 480px;
  background: linear-gradient(145deg, #f0f2f5 0%, #e4e7ec 50%, #d9dce1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--pf-text-muted);
}
.pf-chairman-photo-placeholder svg {
  opacity: 0.3;
}
.pf-chairman-photo-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.4;
}

/* Floating accent card */
.pf-chairman-accent-card {
  position: absolute;
  bottom: 0;
  right: -10px;
  background: var(--pf-secondary);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 30px rgba(26,26,46,0.3);
  z-index: 2;
}
.pf-chairman-accent-icon {
  width: 44px;
  height: 44px;
  background: rgba(241,33,42,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pf-primary);
  flex-shrink: 0;
}
.pf-chairman-accent-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.pf-chairman-accent-value {
  font-family: var(--pf-font-title);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Content side */
.pf-chairman-content {
  padding: 2rem 1rem 2rem 2.5rem;
  position: relative;
}
.pf-chairman-quote-mark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--pf-primary);
  pointer-events: none;
}
.pf-chairman-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pf-primary);
  background: rgba(241,33,42,0.08);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.pf-chairman-title {
  font-family: var(--pf-font-title);
  font-weight: 700;
  font-size: 2rem;
  color: var(--pf-text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.pf-chairman-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--pf-primary) 0%, var(--pf-secondary) 100%);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.pf-chairman-text {
  font-size: 0.95rem;
  color: var(--pf-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.pf-chairman-text strong {
  color: var(--pf-text);
  font-weight: 600;
}
.pf-chairman-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pf-border);
}
.pf-chairman-sig-line {
  width: 40px;
  height: 3px;
  background: var(--pf-primary);
  border-radius: 2px;
}
.pf-chairman-name {
  font-family: var(--pf-font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pf-text);
}
.pf-chairman-role {
  font-size: 0.8rem;
  color: var(--pf-text-muted);
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .pf-chairman { padding: 3rem 0; }
  .pf-chairman-photo-wrap { padding: 1rem; margin-bottom: 1rem; }
  .pf-chairman-photo-frame img,
  .pf-chairman-photo-placeholder { height: 340px; }
  .pf-chairman-content { padding: 1.5rem 1rem; }
  .pf-chairman-title { font-size: 1.6rem; }
  .pf-chairman-accent-card { right: 0; bottom: -10px; }
}
@media (max-width: 575.98px) {
  .pf-chairman-photo-frame img,
  .pf-chairman-photo-placeholder { height: 260px; }
  .pf-chairman-accent-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    width: 100%;
  }
}

/* ---- Our Sectors Section ---- */
.pf-sectors {
  background: var(--pf-secondary);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.pf-sectors::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pf-primary) 0%, #f39c12 33%, #2980b9 66%, #27ae60 100%);
}
.pf-sectors::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(241,33,42,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pf-sectors-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pf-primary);
  background: rgba(241,33,42,0.12);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.pf-sectors-title {
  font-family: var(--pf-font-title);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--pf-white);
  margin-bottom: 0.75rem;
}
.pf-sectors-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.pf-sectors-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--pf-primary) 0%, rgba(255,255,255,0.2) 100%);
  border-radius: 2px;
  margin: 0 auto;
}

/* Sector Card */
.pf-sector-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.pf-sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.06) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.pf-sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.pf-sector-card:hover::before {
  opacity: 1;
}

/* Sector icon */
.pf-sector-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sector-color, var(--pf-primary));
  margin-bottom: 1.25rem;
  transition: all 0.35s;
  border: 1px solid rgba(255,255,255,0.06);
}
.pf-sector-card:hover .pf-sector-icon-wrap {
  background: var(--sector-color, var(--pf-primary));
  color: var(--pf-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: scale(1.05);
}

/* Sector number */
.pf-sector-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--pf-font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s;
}
.pf-sector-card:hover .pf-sector-number {
  color: rgba(255,255,255,0.08);
}

/* Sector text */
.pf-sector-name {
  font-family: var(--pf-font-title);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--pf-white);
  margin-bottom: 0.6rem;
}
.pf-sector-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Sector bottom line */
.pf-sector-line {
  width: 40px;
  height: 3px;
  background: var(--sector-color, var(--pf-primary));
  border-radius: 2px;
  transition: width 0.35s;
  opacity: 0.6;
}
.pf-sector-card:hover .pf-sector-line {
  width: 60px;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .pf-sectors { padding: 3.5rem 0; }
  .pf-sectors-title { font-size: 1.8rem; }
}
@media (max-width: 575.98px) {
  .pf-sectors { padding: 2.5rem 0; }
  .pf-sectors-title { font-size: 1.5rem; }
  .pf-sector-card { padding: 1.5rem 1.25rem 1.25rem; }
}

/* ---- No-image placeholder ---- */
.pf-no-img {
  background-color: #dfe6e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b2bec3;
  font-weight: 500;
  font-size: 0.9rem;
}

/* ---- Container override for full-width hero ---- */
.pf-full-width {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  overflow-x: hidden;
}

/* Remove gap between navbar and hero when hero is the first child */
.pf-hero-no-gap {
  margin-top: calc(-1.5rem);
}