/* C:\xampp\htdocs\techsolution\css\our-pledge.css */
/* Dark theme – white text, red accents, images: object-fit cover to avoid blank spaces on mobile */
/* All cards now use the same semi-transparent background as the contact section */

:root {
  --red       : #D0021B;
  --red-dark  : #a80015;
  --red-mid   : #7a0202;
  --red-soft  : rgba(208,2,27,0.15);
  --black     : #0d0d0d;
  --white     : #ffffff;
  --bg-main   : #130508;
  --bg-card   : rgba(255,255,255,0.15);   /* ← updated to match contact card style */
  --muted     : #cbd5e1;
  --gray-bg   : #1a1a1f;
  --font-main : 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Force dark background */
body.page-our-pledge {
    background: #0d0d0d !important;
}

/* ── HERO ─────────────────────────────────────────────────── */
.op-hero {
  position: relative;
  background: #0d0d0d;
  padding: 110px 0 0;
  overflow: hidden;
}
.op-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(208,2,27,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,2,27,0.06) 1px, transparent 1px);
  background-size: 52px 52px; z-index: 0;
}
.op-hero-glow {
  position: absolute; top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(208,2,27,0.16) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.op-hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end;
}
.op-hero-text { padding-bottom: 70px; }
.op-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(208,2,27,0.15);
  border: 1px solid rgba(208,2,27,0.28);
  color: #ff4d5e;
  font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px;
  margin-bottom: 1.5rem;
}
.op-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; color: #fff;
  line-height: 1.12; margin-bottom: 1.2rem;
  letter-spacing: -.5px;
}
.op-hero h1 span { color: #D0021B; }
.op-hero p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem; color: rgba(255,255,255,0.55);
  line-height: 1.82; max-width: 480px; margin: 0;
}

/* Hero image – cover to avoid blank spaces */
.op-hero-img {
  position: relative; align-self: stretch;
  min-height: 340px; border-radius: 16px 16px 0 0; overflow: hidden;
  background: #1a1a1e;
}
.op-hero-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;   /* prevents blank spaces */
  object-position: center;
  display: block; filter: brightness(.75);
}
.op-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, #0d0d0d 100%);
  pointer-events: none;
}
.op-img-ph {
  width: 100%; height: 100%; min-height: 340px;
  background: linear-gradient(135deg,#1a1a1e,#111114);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,0.12);
}
.op-img-ph i { font-size: 44px; }
.op-img-ph span {
  font-family: 'Sora', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}

/* ── BREADCRUMB (dark) ───────────────────────────────────────────── */
.op-bc {
  background: var(--gray-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08); padding: 13px 0;
}
.op-bc-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 500; color: #ddd0d4;
}
.op-bc-inner a { color: #ddd0d4; text-decoration: none; transition: color .18s; }
.op-bc-inner a:hover { color: var(--red-mid); }
.op-bc-inner i { font-size: 9px; opacity: .6; }
.op-bc-inner span { color: var(--red-mid); font-weight: 600; }

/* ── SECTION ──────────────────────────────────────────────── */
.op-section { padding: 90px 0; }
.op-section-alt { background: var(--gray-bg); }
.op-section-dark { background: #0d0d0d; }
.op-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.op-label {
  display: block; font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--red-mid); margin-bottom: .5rem;
}
.op-label-lt { color: rgba(255,255,255,0.7); }
.op-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2; margin-bottom: .9rem; letter-spacing: -.3px;
}
.op-title-lt { color: #fff; }
.op-title span { color: var(--red-mid); }
.op-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem;
  color: #ddd0d4;
  line-height: 1.82; max-width: 560px;
}
.op-desc-lt { color: rgba(255,255,255,.55); }

/* ── INTRO SPLIT (dark) ──────────────────────────────────────────── */
.op-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.op-intro-img {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); position: relative;
  background: #1a1a1e;
}
.op-intro-img img {
  width: 100%; height: 420px;
  object-fit: cover;   /* prevents blank spaces */
  object-position: center;
  display: block;
}
.op-intro-img-ph {
  width: 100%; height: 420px;
  background: linear-gradient(135deg,#1a1a1e,#111114);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.2);
}
.op-intro-img-ph i { font-size: 44px; }
.op-intro-img-ph span {
  font-family: 'Sora', sans-serif; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
}
.op-intro-img::before {
  content: '';
  position: absolute; top: -10px; left: -10px;
  width: 80px; height: 80px;
  background: var(--red); border-radius: 14px; z-index: -1;
}
.op-intro-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem; color: #ddd0d4;
  line-height: 1.85; margin-bottom: 1.2rem;
}
.op-intro-text p:last-child { margin-bottom: 0; }
.op-intro-text strong { color: #fff; font-weight: 600; }

/* ── PLEDGE CARDS (semi-transparent background) ─────────────────────────────────────────── */
.op-pledges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.op-pledge-card {
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 18px; padding: 2.2rem 2rem;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.op-pledge-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.op-pledge-card:hover { transform: translateY(-5px); box-shadow: 0 20px 52px rgba(0,0,0,0.4); border-color: var(--red); background: rgba(255,255,255,0.2); }
.op-pledge-card:hover::before { transform: scaleX(1); }
.op-pledge-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(208,2,27,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--red-mid);
  margin-bottom: 1.3rem;
  transition: background .2s, color .2s;
}
.op-pledge-card:hover .op-pledge-icon { background: var(--red); color: #fff; }
.op-pledge-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: #fff; margin-bottom: .5rem;
}
.op-pledge-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem; color: #ddd0d4;
  line-height: 1.75; margin: 0;
}
.op-pledge-num {
  position: absolute; bottom: 1.2rem; right: 1.6rem;
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem; font-weight: 800;
  color: rgba(208,2,27,0.15); line-height: 1;
  letter-spacing: -2px;
}

/* ── PROMISE STRIP — semi-transparent cards ─────────────────────────────────── */
.op-promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; margin-top: 3rem;
}
.op-promise {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 16px;
  transition: border-color .2s, background .2s;
}
.op-promise:hover {
  border-color: var(--red);
  background: rgba(255,255,255,0.2);
}
.op-promise i { font-size: 28px; color: var(--red-mid); margin-bottom: 1rem; display: block; }
.op-promise h4 {
  font-family: 'Sora', sans-serif;
  font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .4rem;
}
.op-promise p {
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem; color: #ddd0d4;
  margin: 0; line-height: 1.65;
}

/* ── SIGNATURE SECTION (semi-transparent card) ────────────────────────────────────── */
.op-signature {
  background: var(--bg-card);               /* rgba(255,255,255,0.15) */
  border: 1px solid rgba(208,2,27,0.2);
  border-radius: 20px; padding: 3rem;
  margin-top: 3rem;
  display: flex; align-items: center; gap: 3rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.op-signature:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--red);
}
.op-sig-logo img {
  height: 70px; width: auto; object-fit: contain;
}
.op-sig-logo-ph {
  width: 70px; height: 70px;
  background: rgba(208,2,27,0.15); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--red-mid);
}
.op-sig-divider { width: 1px; height: 80px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.op-sig-text blockquote {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem; font-style: italic;
  color: #ddd0d4; line-height: 1.8;
  margin: 0 0 .8rem; padding: 0; border: none;
}
.op-sig-text cite {
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--red-mid); font-style: normal;
  display: flex; align-items: center; gap: 8px;
}
.op-sig-text cite::before {
  content: '';
  display: inline-block; width: 20px; height: 2px;
  background: var(--red); border-radius: 2px;
}

/* ── CTA (unchanged) ──────────────────────────────────────────────────── */
.op-cta {
  text-align: center; padding: 80px 2rem;
  background: var(--red); position: relative; overflow: hidden;
}
.op-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.op-cta-inner { position: relative; z-index: 1; }
.op-cta h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff; margin-bottom: .9rem;
}
.op-cta p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem; color: rgba(255,255,255,.72);
  max-width: 480px; margin: 0 auto 2.2rem; line-height: 1.75;
}
.op-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.op-btn-w {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--red);
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px;
  padding: 13px 28px; border-radius: 50px; text-decoration: none;
  transition: box-shadow .2s, transform .15s;
}
.op-btn-w:hover { box-shadow: 0 8px 24px rgba(0,0,0,.18); transform: translateY(-2px); color: var(--red); text-decoration: none; }
.op-btn-o {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px;
  padding: 13px 28px; border-radius: 50px; text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
}
.op-btn-o:hover { border-color: #fff; background: rgba(255,255,255,.10); transform: translateY(-2px); color: #fff; text-decoration: none; }

/* ── REVEAL ───────────────────────────────────────────────── */
.op-reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.op-reveal.visible { opacity: 1; transform: translateY(0); }
.op-reveal-d { transition-delay: .15s; }

/* ── RESPONSIVE (no blank spaces on mobile) ────────────────────────────── */
@media (max-width: 900px) {
  .op-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .op-hero-text { padding-bottom: 0; }
  .op-hero-img { min-height: 260px; border-radius: 16px; }
  .op-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .op-signature { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .op-sig-divider { width: 60px; height: 1px; }
  .op-hero { padding-top: 70px; }
  
  /* Ensure images cover on mobile */
  .op-hero-img img,
  .op-intro-img img {
    object-fit: cover;
    height: 100%;
  }
}
@media (max-width: 580px) {
  .op-section { padding: 60px 0; }
  .op-intro-img img,
  .op-intro-img-ph {
    height: 280px;
  }
  .op-hero-img {
    min-height: 220px;
  }
}