/* SFM Multi-page Fancy Website — SEO/OG + Responsive + Orange Header */

:root {
  --bg: #070A12;
  --card: rgba(255, 255, 255, .06);
  --card2: rgba(255, 255, 255, .09);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .66);
  --border: rgba(255, 255, 255, .12);
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);

  --accent: #173D72;
  /* deep blue */
  --accent2: #2FA735;
  /* green */
  --accent3: #E19533;
  /* orange */

  --radius: 22px;
  --max: 1120px;
}

[data-theme="light"] {
  --bg: #F7F8FC;
  --card: rgba(255, 255, 255, .78);
  --card2: rgba(255, 255, 255, .92);
  --text: rgba(12, 51, 106, .92);
  --muted: rgba(76, 106, 147, .75);
  --border: rgba(12, 51, 106, .12);
  --shadow: 0 18px 50px rgba(12, 51, 106, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .25;
  mask-image: radial-gradient(circle at 40% 20%, black 0%, transparent 55%);
}

.orb {
  position: absolute;
  width: 560px;
  height: 560px;
  filter: blur(60px);
  opacity: .55;
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
  animation: float 10s ease-in-out infinite;
}

.orb-1 {
  left: -160px;
  top: -160px;
  background: radial-gradient(circle at 30% 30%, var(--accent2), transparent 60%), radial-gradient(circle at 70% 70%, var(--accent), transparent 55%);
}

.orb-2 {
  right: -220px;
  bottom: -220px;
  background: radial-gradient(circle at 30% 30%, var(--accent3), transparent 60%), radial-gradient(circle at 70% 70%, var(--accent), transparent 55%);
  animation-delay: -3s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }

  50% {
    transform: translateY(18px) translateX(-8px) scale(1.03);
  }
}

/* Glass */
.glass {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

/* Orange top bar + sticky header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: .8rem 0;
  background: linear-gradient(90deg, #e19533f5, #e19533cc);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .20);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.header.is-scrolled {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .26);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 850;
}

.brand-logo {
  width: 150px;
  height: 70px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, .20);
  border: 0px solid rgba(255, 255, 255, .22);
  padding: 6px;
}

.brand-text {
  font-size: 1.06rem;
  letter-spacing: .2px;
}

.brand-accent {
  color: rgba(255, 255, 255, .95);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: .6rem .75rem;
  border-radius: 14px;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

/* Theme-adaptive nav text on orange header */
[data-theme="dark"] .header .nav-links a {
  color: rgba(255, 255, 255, .92);
}

[data-theme="dark"] .header .nav-links a:hover {
  background: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .98);
  transform: translateY(-1px);
}

[data-theme="dark"] .header .nav-links a.active {
  background: rgba(12, 51, 106, .28);
  border: 1px solid rgba(255, 255, 255, .25);
}

[data-theme="light"] .header .nav-links a {
  color: #173D72;
}

[data-theme="light"] .header .nav-links a:hover {
  background: rgba(255, 255, 255, .35);
  color: #173D72;
  transform: translateY(-1px);
}

[data-theme="light"] .header .nav-links a.active {
  background: rgba(12, 51, 106, .20);
  border: 1px solid rgba(12, 51, 106, .28);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .95);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

[data-theme="light"] .icon-btn {
  color: #173D72;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .22);
}

.icon {
  font-size: 1.1rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: rgba(255, 255, 255, .95);
  margin: 5px auto;
  opacity: .9;
}

[data-theme="light"] .nav-toggle span {
  background: #173D72;
}

/* Social links */
.social {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .95);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

[data-theme="light"] .social a {
  color: #173D72;
}

.social a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: .9rem 1.05rem;
  margin-top: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, background .18s ease, box-shadow .18s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  border-color: rgba(255, 255, 255, .12);
}

.btn.primary:hover {
  filter: brightness(1.06);
}

.btn.secondary {
  background: linear-gradient(135deg, var(--accent3), rgba(244, 212, 169, .95));
  color: #1a1a1a;
  border-color: rgba(255, 255, 255, .18);
}

.btn.secondary:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 40px rgba(226, 151, 53, .25);
}

.btn.ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: rgba(226, 151, 53, .45);
  box-shadow: 0 12px 34px rgba(226, 151, 53, .18);
}

.btn.small {
  padding: .7rem .9rem;
  border-radius: 16px;
}

.page-hero {
  padding: 2.2rem 0 1.2rem;
}

.page-hero .wrap {
  padding: 1.2rem 1.2rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: .55rem 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.4rem;
  padding: 3.2rem 0 1.2rem;
  align-items: start;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: .9rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: 0 0 0 6px rgba(53, 171, 59, .15);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: .9rem 0 .8rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  gap: .85rem;
  margin: 1.2rem 0 1.1rem;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: .6rem;
}

.stat {
  padding: .9rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
}

.stat-num {
  font-weight: 900;
  font-size: 1.2rem;
}

.stat-label {
  color: var(--muted);
  font-size: .9rem;
  margin-top: .2rem;
}

.mini-quote {
  margin: 1.1rem 0 0;
  padding: 1rem 1.05rem;
}

.mini-quote blockquote {
  margin: 0;
  opacity: .95;
}

.mini-quote figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-weight: 700;
}

.card {
  padding: 1.1rem 1.1rem 1.2rem;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: .85rem;
  padding: .3rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 151, 53, .35);
  background: rgba(226, 151, 53, .10);
  color: var(--text);
}

.mini-dots {
  display: flex;
  gap: .35rem;
}

.mini-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.card p {
  color: var(--muted);
}

.card-list {
  display: grid;
  gap: .35rem;
  margin: .8rem 0 1rem;
}

.check {
  opacity: .95;
}

.section {
  padding: 2.4rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  font-size: 1.75rem;
  margin: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  padding: 1.1rem;
}

.muted {
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(226, 151, 53, .16), rgba(53, 171, 59, .16));
  border: 1px solid var(--border);
  margin-bottom: .8rem;
  font-size: 1.1rem;
}

.list {
  margin: .6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li {
  margin: .35rem 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-item {
  overflow: hidden;
  transition: transform .18s ease;
}

.work-item:hover {
  transform: translateY(-2px);
}

.work-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.work-meta {
  padding: .95rem 1rem;
}

.work-meta h3 {
  margin: 0;
}

.work-meta p {
  margin: .25rem 0 0;
}

.compact {
  margin: .7rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.compact li {
  margin: .35rem 0;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: .25rem;
}

input,
textarea,
select {
  width: 100%;
  margin-top: .35rem;
  padding: .9rem .9rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  outline: none;
}

select {
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(53, 171, 59, .45);
  box-shadow: 0 0 0 4px rgba(53, 171, 59, .12);
}

.inline-form {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-top: .9rem;
}

.inline-form input {
  flex: 1;
  margin-top: 0;
}

.contact {
  display: grid;
  gap: 1rem;
}

.contact-list {
  margin-top: 1rem;
  display: grid;
  gap: .65rem;
}

.contact-list div {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
}

.k {
  color: var(--muted);
  font-weight: 700;
}

.v {
  font-weight: 750;
  text-align: right;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  margin-bottom: 25px;
  padding: 1.1rem;
}

.team-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.role {
  color: var(--muted);
  margin-top: .15rem;
  font-weight: 700;
}

.bio {
  color: var(--muted);
  margin-top: .55rem;
}

.banner {
  border-radius: var(--radius);
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.footer {
  padding: 2.4rem 0 2.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Helpers */
.mt {
  margin-top: 1rem;
}

.center {
  display: flex;
  justify-content: center;
}

.tiny {
  font-size: .9rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .cards-3,
  .work-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-media img {
    height: 320px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 1rem;
    right: 1rem;
    padding: .75rem;
    border-radius: 20px;
    background: #dfa55a;
    border: 1px solid rgba(255, 255, 255, .20);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .icon-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links .social {
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
  }

  .social a {
    width: 42px;
    height: 42px;
  }
}

.resource {
  padding: .75rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  margin-top: .65rem;
}

.resource h4 {
  margin: 0 0 .25rem;
}

.resource p {
  margin: 0;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.pill-item {
  padding: .55rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
}

.custom-check-list {
  list-style: none;
  /* Removes default bullets */
  padding-left: 0;
}

.custom-check-list li {
  position: relative;
  padding-left: 1.5em;
  /* Creates space for the custom bullet */
}

.custom-check-list li::before {
  content: '✔';
  /* Unicode character for a bold tick */
  position: absolute;
  left: 0;
  color: #2FA735;
  /* Optional: change the color of the tick */
}