/* Projects – Dev Enterprises — styles used only on this page (shared styles: assets/css/style.css) */

/* ── PAGE HEADER ── */

.page-header {
  position: relative; min-height: 400px; padding: 56px 0; display: flex; align-items: center;
  background: linear-gradient(105deg, rgba(7,20,36,0.93) 32%, rgba(7,20,36,0.45) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80&fit=crop') center/cover;
}

.page-header-content { position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 16px; font-weight: 500; flex-wrap: wrap; }

.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition); }

.breadcrumb a:hover { color: var(--brand); }

.breadcrumb .sep { color: var(--brand); }

.breadcrumb .current { color: var(--brand); }

.page-header-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--brand-rgb),0.18); border: 1px solid rgba(var(--brand-rgb),0.4); color: var(--brand-light); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 30px; margin-bottom: 18px; }

.page-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(38px, 5.5vw, 66px); font-weight: 800; color: var(--white); line-height: 1.04; max-width: 740px; margin-bottom: 14px; }

.page-header h1 em { font-style: normal; color: var(--brand); }

.page-header p { font-size: 15.5px; color: rgba(255,255,255,0.78); max-width: 560px; line-height: 1.72; }

/* ── SHARED LABELS ── */

.section-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }

.section-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--brand); display: block; }

.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.1; margin-bottom: 16px; }

.section-sub { font-size: 15.5px; color: var(--gray-mid); max-width: 680px; line-height: 1.75; }

.section-header-center { text-align: center; margin-bottom: 48px; }

.section-header-center .section-eyebrow { justify-content: center; }

.section-header-center .section-sub { margin: 0 auto; }

/* ── STATS RIBBON ── */

.stats-ribbon { background: var(--ink); }

.stats-ribbon-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #3A4A5E; }

.srib-item { padding: 28px 24px; border-right: 1px solid #3A4A5E; text-align: center; position: relative; overflow: hidden; transition: background var(--transition); }

.srib-item:hover { background: rgba(var(--brand-rgb),0.08); }

.srib-item::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform var(--transition); }

.srib-item:hover::before { transform: scaleX(1); }

.srib-num { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 800; color: var(--brand); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 3px; }

.srib-num sup { font-size: 22px; }

.srib-label { font-size: 11.5px; color: #9DA7B3; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* ── FILTER TABS ── */

.projects-section { padding: var(--section-pad); background: var(--gray-light); }

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

.filter-btn { background: var(--white); border: 1.5px solid #DFE5EC; color: var(--ink-mid); font-size: 13px; font-weight: 600; padding: 9px 22px; border-radius: 30px; cursor: pointer; transition: all var(--transition); font-family: inherit; }

.filter-btn:hover { border-color: var(--brand); color: var(--brand); }

.filter-btn.active { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* ── PROJECT CARDS ── */

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

.project-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #ECF0F5; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}

.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 52px rgba(0,0,0,0.1); border-color: var(--brand); }

.project-card.hidden { display: none; }

.pc-img { height: 210px; overflow: hidden; position: relative; background: var(--ink); }

.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }

.project-card:hover .pc-img img { transform: scale(1.06); }

.pc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55)); }

.pc-category { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--brand); color: white; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 2px; }

.pc-status { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 2px; }

.pc-status.completed { background: #22c55e; color: white; }

.pc-status.ongoing { background: #f59e0b; color: white; }

.pc-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }

.pc-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }

.pc-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-mid); font-weight: 500; }

.pc-meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

.pc-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }

.pc-body p { font-size: 13.5px; color: #6B7887; line-height: 1.72; flex: 1; margin-bottom: 18px; }

.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

.pc-tag { background: var(--gray-light); color: var(--ink-mid); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

.pc-client { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray-mid); font-weight: 600; padding-top: 14px; border-top: 1px solid #ECF0F5; }

.pc-client-label { color: var(--brand); }

/* ── FEATURED PROJECT ── */

.featured { padding: var(--section-pad); background: var(--white); }

.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.feat-img-wrap { position: relative; }

.feat-img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); display: block; }

.feat-img-corner { position: absolute; bottom: -18px; left: -18px; width: 90px; height: 90px; border-bottom: 5px solid var(--brand); border-left: 5px solid var(--brand); border-radius: 0 0 0 var(--radius-lg); }

.feat-badge { position: absolute; top: 24px; right: -18px; background: var(--brand); color: white; padding: 20px 24px; border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(var(--brand-rgb),0.4); text-align: center; }

.feat-badge .b-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }

.feat-badge .b-val { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 900; line-height: 1.2; margin-top: 2px; }

.feat-label { display: inline-flex; align-items: center; gap: 8px; background: #FFF1E2; color: var(--brand); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }

.feat-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: var(--ink); margin-bottom: 16px; line-height: 1.15; }

.feat-text p { font-size: 15px; color: #4A5A6E; line-height: 1.85; margin-bottom: 20px; }

.feat-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; }

.feat-spec { background: var(--gray-light); border-radius: var(--radius-lg); padding: 16px 18px; border: 1px solid #ECF0F5; }

.feat-spec .fs-label { font-size: 11px; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 5px; }

.feat-spec .fs-val { font-size: 14.5px; font-weight: 700; color: var(--ink); }

.btn-orange { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: white; padding: 13px 28px; border-radius: 3px; font-size: 13.5px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; transition: background var(--transition), transform var(--transition); }

.btn-orange:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ── SECTOR BREAKDOWN ── */

.sector-breakdown { padding: var(--section-pad); background: var(--ink); position: relative; overflow: hidden; }

.sector-breakdown .section-title { color: var(--white); }

.sector-breakdown .section-sub { color: rgba(255,255,255,0.55); }

.sb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }

.sb-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; transition: border-color var(--transition), background var(--transition), transform var(--transition); }

.sb-card:hover { border-color: var(--brand); background: rgba(var(--brand-rgb),0.06); transform: translateY(-4px); }

.sb-icon { font-size: 32px; margin-bottom: 14px; display: block; }

.sb-num { font-family: 'Barlow Condensed', sans-serif; font-size: 40px; font-weight: 900; color: var(--brand); line-height: 1; margin-bottom: 6px; }

.sb-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }

.sb-card p { font-size: 12.5px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── TESTIMONIAL ── */

.testimonials { padding: var(--section-pad); background: var(--gray-light); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

.testi-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid #ECF0F5; position: relative; transition: border-color var(--transition), box-shadow var(--transition); }

.testi-card:hover { border-color: var(--brand); box-shadow: 0 8px 32px rgba(var(--brand-rgb),0.1); }

.testi-card::before { content: '"'; position: absolute; top: 18px; right: 22px; font-family: 'Barlow Condensed', sans-serif; font-size: 72px; font-weight: 900; color: #ECF0F5; line-height: 1; }

.testi-stars { color: var(--brand); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }

.testi-card p { font-size: 14px; color: #5B6979; line-height: 1.82; margin-bottom: 22px; font-style: italic; }

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: white; flex-shrink: 0; }

.testi-name { font-size: 14px; font-weight: 700; color: var(--ink); }

.testi-role { font-size: 12px; color: var(--gray-mid); }

/* ── CTA ── */

.cta-band { padding: 88px 0; background: var(--brand); position: relative; overflow: hidden; }

.cta-band::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.cta-inner { text-align: center; position: relative; z-index: 1; }

.cta-inner h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(30px, 4vw, 52px); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.1; }

.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.87); margin-bottom: 34px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-white { background: var(--white); color: var(--brand); padding: 14px 34px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: background var(--transition), transform var(--transition); display: inline-block; }

.btn-white:hover { background: #F4F7FA; transform: translateY(-2px); }

.btn-outline-white { border: 2px solid rgba(255,255,255,0.7); color: var(--white); padding: 14px 34px; border-radius: 3px; font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: border-color var(--transition), background var(--transition); display: inline-block; }

.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.12); }

/* ── SCROLL ANIMATIONS ── */

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }

.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */

@media (max-width:1024px) {
  .projects-grid { grid-template-columns:1fr 1fr; }
  .featured-grid { grid-template-columns:1fr; gap:48px; }
  .feat-img-corner { left:16px; }
  .feat-badge { right:16px; }
  .sb-grid { grid-template-columns:1fr 1fr; }
  .testi-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width:768px) {
  .page-header { min-height: 280px; padding: 40px 0; }
  .stats-ribbon-grid { grid-template-columns:repeat(2,1fr); }
  .projects-grid { grid-template-columns:1fr; }
  .sb-grid { grid-template-columns:1fr 1fr; }
  .testi-grid { grid-template-columns:1fr; }
  .feat-img { height:320px; }
  .feat-specs { grid-template-columns:1fr 1fr; }
  .cta-btns { flex-direction:column; align-items:center; }
}

@media (max-width:480px) {
  .stats-ribbon-grid { grid-template-columns:1fr 1fr; }
  .sb-grid { grid-template-columns:1fr; }
  .feat-specs { grid-template-columns:1fr; }
}
