/* Baaj Group LLC — static site styles (rebuilt from the original Elementor design) */
:root {
  --navy: #323681;
  --navy-dark: #262a66;
  --orange: #e76817;
  --orange-dark: #c95710;
  --ink: #000;
  --text: #333;
  --muted: #666;
  --line: #dcdfee;
  --tint: #f4f5fb;
  --topbar: #3c4142;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(50, 54, 129, .14);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--text); background: #fff;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 900px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  padding: 14px 30px; border-radius: 6px;
  font: 500 16px/1.2 Roboto, sans-serif; text-decoration: none; text-align: center; color: #fff;
  transition: background .2s, transform .2s;
}
.btn--orange { background: var(--orange); }
.btn--orange:hover, .btn--orange:focus-visible { background: var(--orange-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); }

/* Top bar */
.topbar { background: var(--topbar); color: #fff; font-size: 15px; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 28px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; fill: var(--orange); flex-shrink: 0; }
@media (max-width: 600px) { .topbar__inner { justify-content: center; gap: 6px 18px; font-size: 14px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--orange); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding-top: 6px; padding-bottom: 6px; }
.brand { display: block; line-height: 0; }
.brand img { width: 230px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a, .nav-parent { color: var(--ink); text-decoration: none; font: 400 17px/1.3 Roboto, sans-serif; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; }
.site-nav > a:hover, .site-nav > a.is-active, .nav-item:hover > .nav-parent, .nav-parent[aria-current="true"] { color: var(--orange); border-bottom-color: var(--orange); }
.nav-item { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 6px; }
.nav-parent::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.submenu { position: absolute; top: 100%; left: -16px; min-width: 270px; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 10px 28px rgba(0,0,0,.12); padding: 6px 0; display: none; }
.submenu a { display: block; padding: 10px 18px; font-size: 16px; border: 0; }
.submenu a:hover, .submenu a.is-active { background: var(--tint); color: var(--orange); }
@media (min-width: 1025px) {
  .nav-item:hover .submenu, .nav-item:focus-within .submenu { display: block; }
}

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 4px; margin: 5px 0; background: var(--orange); border-radius: 3px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.08);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-parent { width: 100%; text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .submenu { position: static; box-shadow: none; border-top: 0; padding: 0; min-width: 0; background: var(--tint); }
  .nav-item.is-open .submenu { display: block; }
  .nav-item.is-open .nav-parent::after { transform: translateY(2px) rotate(-135deg); }
  .submenu a { padding: 12px 32px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) { :root { --header-h: 80px; } .brand img { width: 190px; } }

/* Hero (home) */
.hero {
  position: relative; color: #fff;
  background: #2c6fb5 url("../img/hero.jpg") center / cover no-repeat;
  min-height: 560px; display: flex; align-items: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 30, 80, .55) 0%, rgba(20, 30, 80, .15) 70%); }
.hero__inner { position: relative; padding-top: 70px; padding-bottom: 70px; }
.hero__title { color: #fff; font-size: clamp(34px, 5vw, 54px); margin-bottom: .35em; }
.hero__lead { border-left: 4px solid var(--orange); padding: 4px 0 4px 18px; margin-bottom: 2em; font-size: clamp(17px, 2vw, 21px); max-width: 620px; }

/* Page banner (inner pages) */
.page-hero { background: var(--navy) url("../img/pattern-bg.jpg") center / cover no-repeat; position: relative; padding: 72px 0; color: #fff; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(38, 42, 102, .88); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); margin: 0 0 .25em; }
.breadcrumb { font-size: 15px; opacity: .9; margin: 0; }
.breadcrumb a { color: #fff; }

/* Sections */
.section { padding: 76px 0; }
.section--pattern { background: #fff url("../img/pattern-bg.jpg") center / cover no-repeat; }
.section--tint { background: var(--tint); }
.section__title { text-align: center; font-size: clamp(28px, 4vw, 38px); margin-bottom: 36px; }
.lead-text { font-size: 17px; text-align: justify; hyphens: auto; }

.divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.divider::before, .divider::after {
  content: ""; width: 110px; height: 14px; flex-shrink: 1;
  background: repeating-linear-gradient(-60deg, var(--navy) 0 10px, transparent 10px 18px);
}
.divider span { color: var(--navy); font-size: 15px; white-space: nowrap; }
.divider--light::before, .divider--light::after { background: repeating-linear-gradient(-60deg, #fff 0 10px, transparent 10px 18px); width: 70px; }
.divider--light span { color: #fff; }
@media (max-width: 560px) { .divider::before, .divider::after { width: 44px; } }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Service cards (image on top, text that slides up on hover) */
.svc-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3.4; color: #fff; text-decoration: none; background: var(--navy);
  box-shadow: var(--shadow);
}
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card__body {
  position: absolute; inset: auto 0 0 0; padding: 18px 18px 20px;
  background: linear-gradient(180deg, rgba(38, 42, 102, 0) 0%, rgba(38, 42, 102, .92) 38%);
}
.svc-card h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.svc-card p { font-size: 14.5px; line-height: 1.5; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s, opacity .35s; }
.svc-card__more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: #ffb27e; }
.svc-card:hover img, .svc-card:focus-visible img { transform: scale(1.06); }
.svc-card:hover p, .svc-card:focus-visible p { max-height: 140px; opacity: 1; }
@media (hover: none) { .svc-card p { max-height: none; opacity: 1; } }

/* What we do */
.wwd-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.wwd-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wwd-card h3 { font-size: 18px; text-align: center; margin: 0; padding: 18px 14px 20px; border-top: 4px solid var(--orange); }
.wwd-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(50, 54, 129, .24); }

.cta-band { background: var(--navy); color: #fff; padding: 30px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 24px; margin: 0; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 1024px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .clients { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .clients { grid-template-columns: 1fr; } }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow); }
.client img { width: 76px; height: 76px; margin: 0 auto 16px; }
.client p { margin: 0; font-weight: 500; color: var(--ink); font-size: 15.5px; line-height: 1.45; }

/* Inner page content blocks */
.feature-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row--flip .feature-row__media { order: -1; }
.feature-row__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-row h2 { font-size: clamp(24px, 3vw, 30px); color: var(--navy); }
.feature-row p { text-align: justify; hyphens: auto; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .feature-row--flip .feature-row__media { order: 0; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Deepfake metrics */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 8px 0 18px; }
.metric { background: var(--tint); border-left: 4px solid var(--orange); border-radius: 8px; padding: 14px 16px; }
.metric strong { display: block; font-size: 24px; color: var(--navy); line-height: 1.2; }
.metric span { font-size: 14px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); font-style: italic; }

/* Contact */
.contact { background: #2a2f38 url("../img/contact-bg.jpg") center / cover no-repeat; padding: 80px 0; position: relative; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(20, 24, 50, .35); }
.contact__inner { position: relative; display: flex; justify-content: flex-end; }
.contact__box { width: 100%; max-width: 540px; background: rgba(38, 42, 102, .9); border-radius: var(--radius); padding: 34px; color: #fff; }
.contact__box h2 { color: #fff; text-align: center; font-size: 30px; }
.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.contact-form .btn { justify-self: center; margin-top: 6px; }
.contact-form [aria-invalid="true"] { border-color: #e5484d; }
.form-status { min-height: 1.4em; margin: 0; text-align: center; font-size: 15px; }
.form-status.is-ok { color: #9ff0b5; }
.form-status.is-err { color: #ffc4c4; }
@media (max-width: 800px) { .contact__inner { justify-content: center; } .contact__box { padding: 26px 18px; } }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 56px 0 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb27e; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 32px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo img { width: 190px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact svg { width: 16px; height: 16px; fill: var(--orange); margin-top: 5px; flex-shrink: 0; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.25); margin-top: 40px; padding: 18px 0; text-align: center; font-size: 14px; }
.site-footer__bottom p { margin: 0; }

/* Small-screen refinements */
.site-footer { border-top: 4px solid var(--orange); }
@media (max-width: 640px) {
  .lead-text, .feature-row p { text-align: left; hyphens: manual; }
  .section { padding: 56px 0; }
  .hero { min-height: 480px; }
}

/* What We Do: five panels — one row on wide screens, 3 + 2 centered on medium */
.cards--5 { display: flex; flex-wrap: wrap; justify-content: center; }
.cards--5 > * { flex: 0 1 calc((100% - 96px) / 5); }
@media (max-width: 1100px) { .cards--5 > * { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 760px) { .cards--5 > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 480px) { .cards--5 > * { flex-basis: 100%; } }
.cards--5 .wwd-card h3 { font-size: 17px; }
