/* ============================================================
   Bounty Energy Solutions & Technologies Ltd
   Global Stylesheet
   ============================================================ */

:root {
  --navy: #0a1f2e;
  --navy-2: #0f2a3d;
  --slate: #14344a;
  --teal: #0d7e7e;
  --teal-light: #16b8a8;
  --green: #2ecc71;
  --lime: #a7f432;
  --amber: #ffb627;
  --ink: #0b1620;
  --body: #475866;
  --muted: #7d8d99;
  --line: #e3eaef;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --bg-tint: #eef6f6;
  --white: #ffffff;

  --grad-energy: linear-gradient(135deg, #0d7e7e 0%, #16b8a8 55%, #2ecc71 100%);
  --grad-dark: linear-gradient(135deg, #0a1f2e 0%, #14344a 100%);

  --shadow-sm: 0 2px 10px rgba(10, 31, 46, 0.06);
  --shadow-md: 0 12px 34px rgba(10, 31, 46, 0.10);
  --shadow-lg: 0 28px 70px rgba(10, 31, 46, 0.18);

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--grad-dark); color: #c7d6df; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--teal-light);
  display: inline-block;
}
.section-dark .eyebrow { color: var(--lime); }

.lead { font-size: 1.15rem; color: var(--body); max-width: 60ch; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-left: auto; margin-right: auto; }
.section-head .eyebrow::before { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-energy);
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 126, 126, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(13, 126, 126, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-energy);
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(13,126,126,0.35);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--head); font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-text span { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate);
  padding: 10px 16px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--teal); background: var(--bg-tint); }
.nav-links a.active { color: var(--teal); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: #cde0e8;
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(22,184,168,0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(46,204,113,0.22), transparent 40%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(167,244,50,0.12);
  border: 1px solid rgba(167,244,50,0.3);
  color: var(--lime);
  padding: 7px 16px; border-radius: 50px;
  font-family: var(--head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.05em; margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(167,244,50,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(167,244,50,0.6);} 70%{box-shadow:0 0 0 10px rgba(167,244,50,0);} 100%{box-shadow:0 0 0 0 rgba(167,244,50,0);} }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(120deg, var(--lime), var(--teal-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: #b7ccd6; margin: 24px 0 36px; max-width: 56ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 44px; margin-top: 64px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.hero-stat strong { font-family: var(--head); font-size: 2.4rem; color: #fff; display: block; }
.hero-stat span { font-size: 0.9rem; color: #8fa8b4; letter-spacing: 0.03em; }
.hero-stat .grad { background: linear-gradient(120deg, var(--lime), var(--teal-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* page hero (inner pages) */
.page-hero {
  background: var(--grad-dark); color: #cde0e8;
  padding: 110px 0 80px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(22,184,168,0.3), transparent 50%);
}
.page-hero .container { position: relative; z-index: 2; max-width: 800px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b7ccd6; font-size: 1.15rem; margin-top: 18px; max-width: 58ch; }
.breadcrumb { font-size: 0.85rem; color: #7f99a6; margin-bottom: 18px; font-family: var(--head); letter-spacing: 0.05em; }
.breadcrumb a:hover { color: var(--lime); }

/* ===================== Cards / grids ===================== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--bg-tint);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--teal); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }

/* service card variant */
.service-card { position: relative; overflow: hidden; }
.service-card .sic {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--head); font-weight: 700; font-size: 0.72rem;
  color: var(--teal); background: var(--bg-tint);
  padding: 4px 10px; border-radius: 8px; letter-spacing: 0.04em;
}
.service-card ul { list-style: none; margin-top: 16px; }
.service-card li { font-size: 0.92rem; padding-left: 24px; position: relative; margin-bottom: 7px; color: var(--body); }
.service-card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--grad-energy);
  min-height: 420px;
  position: relative;
}
.feature-list { list-style: none; margin-top: 28px; }
.feature-list li { display: flex; gap: 16px; margin-bottom: 22px; }
.feature-list .ic {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-tint); display: grid; place-items: center;
}
.feature-list .ic svg { width: 22px; height: 22px; stroke: var(--teal); }
.feature-list h4 { font-family: var(--head); color: var(--ink); margin-bottom: 3px; }
.feature-list p { font-size: 0.95rem; }

/* stats band */
.stats-band { background: var(--grad-energy); color: #fff; }
.stats-band .grid-4 { gap: 20px; }
.stat-item { text-align: center; padding: 14px; }
.stat-item strong { font-family: var(--head); font-size: 2.8rem; display: block; }
.stat-item span { font-size: 0.92rem; opacity: 0.9; }

/* process steps */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--head); font-weight: 800; font-size: 2.6rem;
  background: var(--grad-energy); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 12px;
}
.step h4 { font-family: var(--head); color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* CTA band */
.cta-band {
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(46,204,113,0.25), transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(22,184,168,0.3), transparent 50%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #b7ccd6; max-width: 52ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== Testimonials ===================== */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.quote-card .stars { color: var(--amber); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote { font-size: 1.02rem; color: var(--ink); margin-bottom: 20px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-energy); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.quote-card .who strong { display: block; color: var(--ink); font-size: 0.95rem; }
.quote-card .who span { font-size: 0.85rem; color: var(--muted); }

/* ===================== Careers ===================== */
.value-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pill { background: var(--bg-tint); color: var(--teal); font-family: var(--head); font-weight: 600; font-size: 0.85rem; padding: 9px 18px; border-radius: 50px; }

.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.job-card .job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.job-card .tag { font-size: 0.78rem; font-family: var(--head); font-weight: 600; background: var(--bg-tint); color: var(--slate); padding: 5px 12px; border-radius: 50px; }
.job-card .tag.feat { background: rgba(46,204,113,0.14); color: #1c8b4c; }
.job-card h3 { color: var(--ink); }
.job-card .job-info { flex: 1; }

.role-detail h3 { margin: 28px 0 12px; }
.role-detail ul { list-style: none; }
.role-detail li { padding-left: 28px; position: relative; margin-bottom: 11px; }
.role-detail li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ===================== Forms ===================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; font-family: var(--font); font-size: 0.97rem; color: var(--ink);
  background: var(--bg-soft); transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal-light); background: #fff;
  box-shadow: 0 0 0 4px rgba(22,184,168,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
.form-success { background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.35); color: #1c8b4c; padding: 16px 18px; border-radius: 12px; font-size: 0.95rem; margin-top: 18px; display: none; }
.form-success.show { display: block; }

/* contact info cards */
.info-card { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-card .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; }
.info-card .ic svg { width: 22px; height: 22px; stroke: var(--teal); }
.info-card h4 { font-family: var(--head); color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.info-card p, .info-card a { font-size: 0.93rem; color: var(--body); }
.info-card a:hover { color: var(--teal); }

/* accordion */
.accordion-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: #fff; }
.accordion-head { width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.accordion-head .chev { transition: transform 0.3s; flex-shrink: 0; color: var(--teal); }
.accordion-item.open .chev { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body p { padding: 0 24px 22px; font-size: 0.97rem; }

/* logos / accreditation */
.badge-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.accred { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px; font-family: var(--head); font-weight: 600; color: var(--slate); font-size: 0.95rem; }
.accred svg { width: 22px; height: 22px; stroke: var(--teal); }

/* ===================== Footer ===================== */
.site-footer { background: var(--ink); color: #93a7b2; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--head); font-size: 1rem; margin-bottom: 18px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: #6d818c; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.93rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }
.footer-about { font-size: 0.93rem; max-width: 34ch; margin: 18px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: #6d818c; }
.footer-contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.93rem; }
.footer-contact-line svg { width: 18px; height: 18px; stroke: var(--teal-light); flex-shrink: 0; }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ===================== Responsive ===================== */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px; gap: 4px; box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform 0.35s ease;
    border-bottom: 1px solid var(--line); max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 28px; }
  .cta-band { padding: 44px 26px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
