/* OUR WORKS PAGE  */
/* Intro statement  */
.ow-intro-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 40px 60px;
}
.ow-intro-inner {
  max-width: 860px;
  margin: 0 auto;
  border-left: 4px solid var(--purple);
  padding-left: 32px;
}
.ow-intro-quote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.65;
  color: var(--text-mid);
  font-weight: 400;
}
.ow-intro-quote strong { color: var(--purple); font-weight: 600; }

/* FLOATING IMPACT BAR */

.ow-dashboard-container{
  position:relative;
  width:100%;
  max-width:1420px;
  margin:-52px auto 0;
  padding:0 32px;
  z-index:20;
}

@media(max-width:768px){
  .ow-dashboard-container{
    margin:-40px auto 0;
    padding:0 18px;
  }
}

/* FEATURED CASE STUDY CARD  */
.ow-feature-card{
  position:relative;
  display:grid;
  grid-template-columns:
    400px
    minmax(400px, 480px)
    400px;
    left: 70px;
  justify-content:space-between;
  background:#2e173a;
  border:1px solid #ebe5f3;
  border-radius:16px;
  overflow:hidden;
  width: 1280px;
  min-height:250px;
  box-shadow:
    0 8px 30px rgba(38,16,61,0.05);
    margin-bottom: 40px;
}


/* REMOVE DARK OVERLAY */

.ow-feature-card::before{
  display:none;
}


/* LEFT IMAGE */

.ow-feature-image{
  position:relative;
  overflow:hidden;
  min-height:250px;
}

.ow-feature-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}

.ow-feature-card:hover .ow-feature-image img{
  transform:scale(1.04);
}


/* VERTICAL LABEL */

.ow-featured-label{
  position:absolute;
  left:14px;
  top:5%;
  transform-origin:left top;
  z-index:5;
  height:28px;
  padding:0 14px;
  border-radius:999px;
  background:#f4eefc;
  border:1px solid #e7dbf6;
  display:flex;
  align-items:center;
  font-family:'Outfit',sans-serif;
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#784e90;
}


/* CENTER CONTENT */

.ow-feature-content{
  position:relative;
  padding:40px 30px 40px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  max-width:700px;
}


/* LOCATION */

.ow-feature-meta{
  display:flex;
  align-items:center;
  gap:6px;
  font-family:'Outfit',sans-serif;
  font-size:11px;
  font-weight:600;
  color:var(--white);
  margin-bottom:12px;
  text-transform:uppercase;
}


/* TITLE */

.ow-feature-content h3{
  font-family:'Outfit',sans-serif;
  font-size:30px;
  line-height:1;
  letter-spacing:-1px;
  font-weight:800;
  color:var(--gold);
}

/* DESCRIPTION */

.ow-feature-content p{
  font-family:'Outfit',sans-serif;
  font-size:13px;
  line-height:1.8;
  color:#d8aeef;
  margin-bottom:22px;
  max-width:540px;
}

/*  METRICS */

.ow-feature-metrics{
  display:flex;
  gap:10px;

  flex-wrap:wrap;
}

.ow-feature-metrics div{
  min-width:82px;
  padding:12px 14px;
  border-radius:12px;
  background:#ffffff23;
  backdrop-filter: blur(5px);
  border:1px solid #eee7f801;
  text-align:center;
}

.ow-feature-metrics strong{
  display:block;
  font-family:'Outfit',sans-serif;
  font-size:28px;
  line-height:1;
  font-weight:800;
  color:#b6a184;
  margin-bottom:4px;
}

.ow-feature-metrics span{
  font-family:'Outfit',sans-serif;
  font-size:10px;
  font-weight:700;
  color:#d8aeef;
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* NEW IMPACT PANEL*/
.ow-project-impact{
  position:relative;

  background:#2e173a;

  border-left:1px solid #4e1f67;

  padding:26px 22px;

  display:flex;
  flex-direction:column;

  justify-content:space-between;
}

/* TITLE */

.ow-impact-title{
  font-family:'Outfit',sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--white);
  margin-bottom:18px;
}

/* GRID */

.ow-impact-grid{
  display:flex;
  flex-direction:column;

  gap:12px;
}
/* FEATURE */

.ow-impact-feature{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px;
  border-radius:12px;
  transition:all .25s ease;
}
/* ICON */
.ow-impact-icon{
  width:30px;
  height:30px;
  border-radius:9px;
  background:#dbcfee;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#784e90;
  flex-shrink:0;
}
/* TEXT */
.ow-impact-feature span{
  font-family:'Outfit',sans-serif;
  font-size:12px;
  line-height:1.6;
  color:#d8aeef;
  font-weight:500;
}
/*  EXPLORE PROJECTS SECTION — light bg, horizontal scroll cards */

.ow-grid-section {
  position: relative;
  padding: 36px 40px 60px;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.ow-explore-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.ow-explore-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: #784e90;
  line-height: 1.1;
}
/* HIDDEN PROJECTS */

.ow-card.hidden-project{
  display: none !important;
}

/*  REVEAL ANIMATION */

@keyframes owCardReveal{

  from{
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }

}

.ow-card.ow-card--reveal-in{
  animation: owCardReveal 0.55s cubic-bezier(.22,.61,.36,1) both;
  animation-delay: var(--ow-reveal-delay, 0ms);
  will-change: transform, opacity;
}
/* ── View More / Show Less button ───────────────── */
.ow-view-all-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 42px;
}

.ow-view-all-wrap.is-hidden{
  display: none !important;
}


/* ─ FILTER BAR ─ */
.ow-filter-bar { margin-bottom: 0; }

.ow-filter-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ow-filter-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(120,78,144,0.18);
  background: transparent;
  color: #5a4e70;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}
.ow-filter-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(120,78,144,0.05);
}
.ow-filter-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(120,78,144,0.28);
}


/* ─ HORIZONTAL CARD GRID ─ */
.ow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ow-grid::-webkit-scrollbar { display: none; }

/* ─ PROJECT CARD ─ */
.ow-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  min-width: 0;
}
.ow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(120,78,144,0.14);
}

/* Category color top border */
.ow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--purple);
  border-radius: 16px 16px 0 0;
}
.ow-card[data-cat="fiber"]::before   { background: #3b82f6; }
.ow-card[data-cat="tower"]::before   { background: #8b5cf6; }
.ow-card[data-cat="pole"]::before    { background: #10b981; }
.ow-card[data-cat="infra"]::before   { background: #f59e0b; }
.ow-card[data-cat="energy"]::before  { background: #ef4444; }

/* ─ CARD THUMBNAIL ─ */
.ow-card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.ow-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ow-card:hover .ow-card-thumb img { transform: scale(1.06); }

.ow-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.45) 100%);
}

.ow-card-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(215, 168, 236, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ow-card-num {
  position: absolute;
  right: 12px; bottom: 10px;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.16);
}

/* ─ CARD BODY ─ */
.ow-card-body { padding: 22px 24px 24px; }

.ow-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.ow-meta-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.ow-meta-year {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(120,78,144,0.08);
  color: var(--purple);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.ow-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #784e90;
  margin-bottom: 12px;
}

.ow-card-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  line-height: 1.75;
  color: #171717;
  margin-bottom: 18px;
  display: -webkit-box;

  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─ CARD STATS ─ */
.ow-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ow-stat {
  background: #f8f5ff;
  border: 1px solid rgba(120,78,144,0.08);
  border-radius: 12px;
  padding: 13px 8px;
  text-align: center;
  transition: background 0.2s ease;
}
.ow-card:hover .ow-stat {
  background: #f1ecfc;
}

.ow-stat-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--purple);
}

.ow-stat-lbl {
  display: block;
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #b6a184;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
/* Chevron icon via pseudo-element */
#owToggleBtn::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
  vertical-align: middle;
}

/* Flip chevron when in "Show Less" state */
#owToggleBtn.is-expanded::after {
  transform: rotate(-135deg) translateY(-2px);
}
