@font-face {
  font-family: "Agency";
  src: url("../fonts/agency-font/agency.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Local";
  src: url("../fonts/helvetica-neue-5/HelveticaNeueRoman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Local";
  src: url("../fonts/helvetica-neue-5/HelveticaNeueBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Dark / Black Theme Tokens */
  --bg: #050505;
  --bg2: #0a0a0a;
  --page-bg: #050505;
  --panel: #0f0f0f;
  --panel2: #141414;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow2: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  
  /* Accent Colors - Burnt Orange to Amber */
  --grad: linear-gradient(135deg, #D35400 0%, #FF9F43 100%);
  --grad2: linear-gradient(135deg, rgba(211, 84, 0, 0.1), rgba(255, 159, 67, 0.1));
  --accent-color: #D35400;
  --accent-soft: rgba(211, 84, 0, 0.15);
  --font-primary: "Helvetica Neue Local", "Helvetica Neue", Arial, sans-serif;
  --font-secondary: "Agency", "Helvetica Neue Local", "Helvetica Neue", Arial, sans-serif;
  
  --success-accent: #10b981;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-primary);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
}

/* Background & Animation Layer */
.site-bg-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background-color: var(--page-bg);
  pointer-events: none;
}

.site-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.55)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.site-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.7;
  animation: floatOrb 25s infinite ease-in-out;
  z-index: 1;
}

.orb-1 {
  top: -15%;
  right: -10%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(211, 84, 0, 0.45) 0%, rgba(211, 84, 0, 0) 75%);
}

.orb-2 {
  bottom: -10%;
  left: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.35) 0%, rgba(255, 159, 67, 0) 75%);
  animation-delay: -8s;
}

.orb-3 {
  top: 35%;
  left: 15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(211, 84, 0, 0.25) 0%, rgba(211, 84, 0, 0) 75%);
  animation-delay: -15s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 80px) scale(1.1); }
  66% { transform: translate(-40px, 40px) scale(0.9); }
}

::selection {
  background: var(--accent-color);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 2000;
  background: var(--accent-color);
  color: #fff;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  left: 12px;
}

.text-muted-2 {
  color: var(--muted) !important;
}

.btn {
  min-height: 48px;
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn-gradient {
  border: 0;
  color: #ffffff !important;
  font-weight: 600;
  background: var(--grad);
  border-radius: 4px;
  padding: 12px 24px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4);
  filter: brightness(1.1);
}

.btn-outline-glow {
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.btn-outline-glow:hover {
  background: var(--accent-soft);
  border-color: var(--accent-color) !important;
  color: #fff !important;
}

.navbar-darkglass {
  transition: all 0.3s ease;
  padding-top: 24px;
  padding-bottom: 24px;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar-darkglass.navbar-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.navbar-darkglass .navbar-brand {
  color: var(--text) !important;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-darkglass .nav-link {
  color: var(--muted) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-darkglass .nav-link:hover,
.navbar-darkglass .nav-link.active {
  color: var(--accent-color) !important;
}

.navbar-toggler {
  border-color: var(--accent-color) !important;
  background-color: var(--accent-soft);
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem var(--accent-soft);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(211, 84, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.brand-badge {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--grad);
  border-radius: 50%;
}

.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  background: transparent;
}

.hero-split {
  padding-bottom: 60px;
}

.hero-title-tight {
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  font-weight: 700;
}

.hero-subtitle {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--muted);
  font-size: 1.25rem;
  max-width: 600px;
}

/* Simplified Hero Media - Clean Portrait */
.hero-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 0px solid var(--border);
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.float-card {
  position: absolute;
  border-radius: 12px;
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  padding: 16px;
  z-index: 10;
  color: var(--text);
}

.hero .hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.hero .hero-title {
  font-family: var(--font-secondary);
  color: var(--text);
}

.hero .js-hero-line.text-muted-2 {
  font-family: var(--font-secondary);
  font-weight: 500;
}

/* Removed Orbs */
.hero-bg-orb {
  display: none;
}

.section-pad {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-dark {
  background: transparent;
}

.section-light {
  background: rgba(10, 10, 10, 0.4); /* Much more transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.panel {
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border-color: var(--accent-color);
  background: rgba(30, 30, 40, 0.6);
}

.icon-pill {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  box-shadow: 0 0 15px var(--accent-soft);
}

.stat-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent-color);
  background: rgba(30, 30, 40, 0.6);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--panel2);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.project-thumb{
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
  position: relative;
}

/* Keep img absolute so it can move inside the clipped frame */
.project-thumb img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;

  /* IMPORTANT: do NOT use CSS transition/transform for hover now */
  transform: translateY(0);
  will-change: transform;
}



.project-overlay {
  display: none; /* Cleaner look without overlay */
}

.cta-strip {
  background: var(--accent-color);
  border-radius: 8px;
  padding: 4rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 60%);
  pointer-events: none;
}

.cta-strip h2 {
  color: #ffffff;
  font-family: var(--font-secondary);
}

.cta-strip .text-muted-2 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.cta-strip .btn-gradient {
  background: #ffffff;
  color: var(--accent-color) !important;
}

.cta-strip .btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4);
  filter: brightness(1.1);
}

.step-marker {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-color);
  opacity: 0.1;
  margin-bottom: 1rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-color);
}

.table-compare {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table-compare thead th {
  background: var(--bg2);
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}

.table-compare td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.table-compare tr:last-child td {
  border-bottom: 0;
}

.footer {
  background: var(--accent-color);
  color: #ffffff;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.footer .text-muted-2 {
  color: rgb(255, 255, 255) !important;
}

.footer a {
  color: rgb(255, 255, 255);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer .panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.footer .h4 {
  color: #ffffff;
}

/* Typography refinements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
}

h1, h2, h3 {
  font-family: var(--font-secondary);
}

p {
  color: var(--muted);
}

.testimonial-carousel {
  position: relative;
}

.testimonial-carousel .carousel-item {
  padding: 0 3.25rem;
}

.testimonial-carousel .panel {
  margin-bottom: 0;
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  opacity: 0.95;
}

.testimonial-carousel .carousel-control-prev {
  left: 0;
}

.testimonial-carousel .carousel-control-next {
  right: 0;
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
  filter: invert(1) grayscale(1);
  width: 1rem;
  height: 1rem;
}

.testimonial-indicators {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.testimonial-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(148, 163, 184, 0.5);
  margin: 0;
}

.testimonial-indicators .active {
  background-color: var(--accent-color);
}

@media (max-width: 767.98px) {
  .testimonial-carousel .carousel-item {
    padding: 0;
  }

  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next {
    display: none;
  }
}
