/* ================================================================
   JANSAHYOG UJJAWAL FOUNDATION
   Our Works Page — Premium Brush Stroke Design
   ================================================================ */

/* ── HERO ──────────────────────────────────────────────────────── */
.pw-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pw-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.pw-hero:hover .pw-hero-bg { transform: scale(1); }

.pw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,30,65,0.90) 0%, rgba(26,159,212,0.55) 100%);
}

.pw-hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 0 80px;
}

.pw-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.pw-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pw-breadcrumb a:hover { color: #fff; }
.pw-breadcrumb > i { font-size: 9px; }

.pw-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pw-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}

.pw-green { color: #86efac; }

.pw-hero-content > p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.pw-hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pw-hstat { text-align: left; }

.pw-hnum {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #86efac;
  line-height: 1;
}
.pw-hnum::after { content: '+'; }

.pw-hlbl {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  margin-top: 4px;
  display: block;
}

.pw-divider {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.22);
}



/* ── SECTION HEADERS ─────────────────────────────────────────── */
.section-header-center {
  text-align: center;
  margin-bottom: 50px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.blue-tag  { background: rgba(26,159,212,0.10); color: var(--blue);  border: 1px solid rgba(26,159,212,0.2); }
.green-tag { background: rgba(34,197,94,0.10);  color: var(--green); border: 1px solid rgba(34,197,94,0.2);  }
.white-tag { background: rgba(255,255,255,0.12); color: #fff;        border: 1px solid rgba(255,255,255,0.25); }

.sec-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.sec-sub {
  font-size: 15px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── PROCESS SECTION ─────────────────────────────────────────── */
.process-section {
  padding: 80px 0 70px;
  background: #f7fafc;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}

.process-step {
  background: #fff;
  padding: 32px 22px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.11);
}
.process-step:hover::after { transform: scaleX(1); }

.step-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 26px; color: #fff;
}

.blue-bg  { background: var(--blue); }
.green-bg { background: var(--green); }

.process-step h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.process-step p  { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* ── FILTER BAR ──────────────────────────────────────────────── */
.filter-bar-section {
  background: #fff;
  padding: 22px 0;
  border-bottom: 1px solid #eef2f7;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid #e2eaf3;
  background: #fff;
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.28s ease;
}

.fb-btn:hover { border-color: var(--blue); color: var(--blue); }
.fb-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,159,212,0.35);
}

/* ── PREMIUM WORKS SECTION ───────────────────────────────────── */
.premium-works-section {
  padding: 90px 0 50px;
  background: #fff;
  overflow: visible;
}

/* ── Premium Block ── */
.premium-block {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-bottom: 110px;
  position: relative;
  overflow: visible;
}

.premium-block.reverse { flex-direction: row-reverse; }
.premium-block.hidden  { display: none; }

/* ── Image Box ── */
.p-image-box {
  flex: 1.2;
  position: relative;
  z-index: 5;
  padding: 18px;
  overflow: visible;
}

/* ══════════════════════════════════════════
   BRUSH STROKE PNG
   z-index: 1 → image ke peeche
   image z-index: 2 → brush ke upar
   bahar niklega kyunki overflow: visible
══════════════════════════════════════════ */
.brush-bg {
  position: absolute;
  top: -25%;
  left: -20%;
  width: 140%;
  height: 150%;
  background-image: url('../images/brush-stroke.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.78;
  transform: rotate(-2.5deg);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.blue-brush {
  filter: invert(52%) sepia(70%) saturate(500%)
          hue-rotate(165deg) brightness(100%) contrast(100%);
}

.green-brush {
  filter: invert(65%) sepia(60%) saturate(600%)
          hue-rotate(80deg) brightness(90%) contrast(105%);
}

.premium-block.reverse .brush-bg {
  transform: rotate(2.5deg);
}

.premium-block:hover .brush-bg {
  opacity: 0.92;
  transform: rotate(-1.5deg) scale(1.02);
}
.premium-block.reverse:hover .brush-bg {
  opacity: 0.92;
  transform: rotate(1.5deg) scale(1.02);
}

/* Image — brush ke UPAR */
.p-image-box img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transition: transform 0.6s cubic-bezier(0.2,0,0.2,1);
}

.premium-block:hover .p-image-box img { transform: scale(1.04); }

/* Glass Badge — sabse upar */
.glass-badge {
  position: absolute;
  bottom: 32px;
  right: -8px;
  background: rgba(255,255,255,0.96);
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.premium-block.reverse .glass-badge { right: auto; left: -8px; }

.gb-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
  flex-shrink: 0;
}

.glass-badge strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.glass-badge span {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 3px;
  display: block;
}

/* ── Content Box ── */
.p-content-box {
  flex: 1;
  padding: 10px 20px;
}

.p-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  background: rgba(26,159,212,0.09);
  color: var(--blue);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  border-left: 3px solid var(--blue);
}

.p-tag.green-tag {
  background: rgba(34,197,94,0.09);
  color: var(--green);
  border-left-color: var(--green);
}

.p-content-box h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #1e2d3d;
  margin-bottom: 14px;
  line-height: 1.22;
}

.p-content-box > p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 22px;
}

.p-list {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}

.p-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
  font-size: 14px;
  color: #2d3748;
}

.p-list li i { font-size: 16px; flex-shrink: 0; }

/* Stats Row */
.p-stats-row {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-top: 2px solid #f0f4f8;
  border-bottom: 2px solid #f0f4f8;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.p-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.premium-block.reverse .p-stat strong { color: var(--green); }

.p-stat span {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 3px;
  display: block;
}

/* Green Button */
.pw-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(34,197,94,0.35);
  transition: all 0.3s ease;
}

.pw-btn-green:hover {
  background: #16a34a;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(34,197,94,0.45);
  color: #fff;
}

/* ── AREAS SECTION ───────────────────────────────────────────── */
.areas-section {
  background: #0a2540;
  padding: 80px 0;
  text-align: center;
}

.districts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.district-badge {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.28s;
}

.district-badge:hover {
  background: rgba(26,159,212,0.25);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.district-badge i { color: var(--green); font-size: 11px; }

/* ── CTA ─────────────────────────────────────────────────────── */
.pw-cta {
  background: linear-gradient(135deg, #0a2850 0%, var(--blue) 100%);
  padding: 70px 0;
}

.pw-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.pw-cta-left h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.pw-cta-left p  { color: rgba(255,255,255,0.72); font-size: 15.5px; margin: 0; }
.pw-cta-btns    { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.pw-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.pw-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 992px) {
  .premium-block,
  .premium-block.reverse {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 80px;
    overflow: visible;
  }

  .p-image-box {
    width: 100%;
    flex: none;
    padding: 16px;
    overflow: visible;
  }

  .p-content-box {
    width: 100%;
    flex: none;
    padding: 10px 0;
  }

  .p-image-box img { height: 300px; }

  .brush-bg {
    top: -22%;
    left: -18%;
    width: 136%;
    height: 144%;
    opacity: 0.72;
    transform: rotate(-2deg);
  }

  .premium-block.reverse .brush-bg { transform: rotate(2deg); }

  .glass-badge        { right: 10px; bottom: 20px; }
  .premium-block.reverse .glass-badge { left: 10px; right: auto; }
  .process-grid       { grid-template-columns: repeat(2,1fr); }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .page-hero          { padding: 85px 0 36px; }
  .page-hero-shape-1  { width: 180px; height: 180px; top: -40px; right: -40px; }
  .page-hero-shape-2  { width: 130px; height: 130px; bottom: -30px; left: -30px; }

  .process-grid       { grid-template-columns: 1fr; }

  .filter-bar-section { top: 60px; }
  .fb-btn             { padding: 8px 14px; font-size: 12.5px; }

  .premium-works-section { padding: 50px 0 20px; }

  .p-image-box {
    padding: 14px;
    overflow: visible;
  }

  .p-image-box img    { height: 240px; }

  .brush-bg {
    top: -20%;
    left: -14%;
    width: 128%;
    height: 140%;
    opacity: 0.68;
  }

  .glass-badge        { right: 6px; bottom: 16px; padding: 10px 14px; }
  .glass-badge strong { font-size: 15px; }
  .premium-block.reverse .glass-badge { left: 6px; right: auto; }

  .p-stats-row        { gap: 16px; }
  .pw-cta-inner       { justify-content: center; text-align: center; }
  .pw-cta-btns        { justify-content: center; }
}

