/* ==========================================================================
   B-Agent (Barrel Agency) — Panel-Ready Dynamic Stylesheet
   ========================================================================== */
:root {
  --accent: #ffbf3b;
  --accent-hover: #f0ae22;
  --progress: #fad715;
  --dark: #2a2f35;
  --darker: #1c2126;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --surface-soft: #f8f8f9;
  --text-main: #2a2f35;
  --text-muted: #767d86;
  --border: #e8eaed;
  --container: 1200px;
  --radius: 4px;
  --shadow-soft: 0 14px 38px rgba(28, 33, 38, 0.08);
  --shadow-hover: 0 22px 48px rgba(28, 33, 38, 0.15);
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-main);
  background-color: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Barrel Section Header Blocks */
.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header.align-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 10px;
}

.eyebrow.on-dark {
  color: var(--accent);
}

.section-title {
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 600;
  line-height: 1.24;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.section-title.on-dark {
  color: #ffffff;
}

.header-line {
  width: 48px;
  height: 3px;
  background-color: var(--accent);
  margin: 18px auto 0;
  border-radius: 2px;
}

.align-left .header-line {
  margin-left: 0;
}

.section-subtitle {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
}

.section-subtitle.on-dark {
  color: rgba(255, 255, 255, 0.78);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-accent {
  background-color: var(--accent);
  color: #1c2126;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--dark);
  border-color: var(--dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}

.btn-dark:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #1c2126;
  transform: translateY(-2px);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-top: 16px;
}

.link-more svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  transition: transform var(--transition);
}

.link-more:hover {
  color: var(--accent-hover);
}

.link-more:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   1. Sticky Header & Mega/Dropdown Menu
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 96px;
  display: flex;
  align-items: center;
  transition: height var(--transition), background-color var(--transition), box-shadow var(--transition);
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled {
  height: 76px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom-color: transparent;
  box-shadow: 0 8px 30px rgba(28, 33, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo img {
  height: 36px;
  width: auto;
}

.brand-logo .logo-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo .logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo .logo-dark {
  display: block;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav > ul > li {
  position: relative;
  padding: 28px 0;
}

.main-nav > ul > li > a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.site-header.is-scrolled .main-nav > ul > li > a {
  color: var(--text-main);
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.main-nav > ul > li:hover > a::after {
  width: 100%;
}

.nav-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 10px;
  color: #ffffff;
  line-height: 1.2;
  transform: translateY(-5px);
}

/* Dropdown Submenu */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: #22262b;
  padding: 14px 0;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.24s ease;
}

.main-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.sub-menu li a:hover {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.04);
  padding-left: 26px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.site-header.is-scrolled .icon-btn {
  color: var(--text-main);
  border-color: var(--border);
}

.icon-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #1c2126;
}

.header-cta {
  padding: 10px 22px;
  font-size: 11.5px;
}

.mobile-toggle {
  display: none;
}

/* Mobile Drawer & Search Modal */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background-color: rgba(20, 24, 29, 0.97);
  padding: 90px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.mobile-drawer ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer ul li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.mobile-drawer .mobile-sub {
  padding-left: 16px;
  padding-bottom: 10px;
}

.mobile-drawer .mobile-sub li {
  border-bottom: none;
}

.mobile-drawer .mobile-sub li a {
  padding: 7px 0;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(20, 24, 29, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--accent);
  padding: 16px 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #ffffff;
  outline: none;
}

.search-hint {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

/* ==========================================================================
   2. Hero Slider (RevSlider B-Agent Style)
   ========================================================================== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 650px;
  max-height: 940px;
  background-color: var(--darker);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease, visibility 0.85s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 6.5s ease-out;
}

.hero-slide.is-active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(20, 24, 29, 0.52) 0%, rgba(16, 20, 24, 0.78) 100%);
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  font-size: clamp(220px, 32vw, 430px);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 191, 59, 0.14);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  padding: 40px 24px 0;
}

.hero-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(28, 33, 38, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-nav-btn svg {
  width: 22px;
  height: 22px;
}

.hero-nav-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #1c2126;
}

.hero-prev { left: 28px; }
.hero-next { right: 28px; }

.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.hero-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* ==========================================================================
   3. Intro Split Block (Row 1 — Cosmos Split)
   ========================================================================== */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.intro-split-text {
  background-color: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 8%;
}

.intro-split-inner {
  max-width: 520px;
}

.intro-split-inner h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 600;
  line-height: 1.34;
  margin-bottom: 20px;
  color: var(--text-main);
}

.intro-split-inner p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.intro-split-media {
  background-size: cover;
  background-position: center;
  min-height: 380px;
}

/* ==========================================================================
   4. Process Steps ("What we do best")
   ========================================================================== */
.section-pad {
  padding: 104px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-card {
  text-align: center;
  padding: 16px 12px;
  position: relative;
}

.process-icon-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background-color: var(--surface-alt);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-main);
  transition: all var(--transition);
}

.process-icon-wrap svg {
  width: 34px;
  height: 34px;
}

.process-step-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #1c2126;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card:hover .process-icon-wrap {
  background-color: var(--dark);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.process-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   5. Parallax Banner & 3-Column Showcase Cards
   ========================================================================== */
.parallax-callout {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 110px 0 165px;
  text-align: center;
  color: #ffffff;
}

.parallax-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 30, 36, 0.78);
}

.parallax-callout .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.showcase-overlap {
  margin-top: -95px;
  position: relative;
  z-index: 4;
  padding-bottom: 30px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.showcase-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.showcase-thumb {
  height: 230px;
  overflow: hidden;
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.showcase-card:hover .showcase-thumb img {
  transform: scale(1.07);
}

.showcase-body {
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.showcase-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.showcase-body p {
  color: var(--text-muted);
  flex: 1;
}

/* ==========================================================================
   6. Filterable Portfolio Grid + Lightbox
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #1c2126;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--darker);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.4s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 28, 34, 0.92) 0%, rgba(24, 28, 34, 0.35) 60%, transparent 100%);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.portfolio-card:hover img {
  transform: scale(1.08);
  opacity: 0.72;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-cats {
  font-family: 'Nunito', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}

.portfolio-overlay h3 {
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
}

.portfolio-overlay span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(16, 20, 25, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  background: #ffffff;
  border-radius: 6px;
  max-width: 880px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  box-shadow: var(--shadow-hover);
}

.lightbox-media {
  background: #14181d;
  min-height: 360px;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

/* ==========================================================================
   7. Who We Are & Skill Progress Bars
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 44px;
}

.skill-card {
  background: #ffffff;
  padding: 34px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.skill-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.progress-track {
  height: 7px;
  background: #eceef1;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--progress);
  border-radius: 6px;
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   8. 4-Column Discipline Cards Over Dark Background
   ========================================================================== */
.disciplines-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 104px 0;
}

.disciplines-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 33, 38, 0.86);
}

.disciplines-section .container {
  position: relative;
  z-index: 2;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.role-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.role-card:hover {
  transform: translateY(-8px);
}

.role-card-img {
  height: 175px;
  overflow: hidden;
}

.role-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.role-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.role-card-body p {
  color: var(--text-muted);
  font-size: 13.8px;
  flex: 1;
}

/* ==========================================================================
   9. Service Mockup Showcase & Animated Counters
   ========================================================================== */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 54px;
  align-items: center;
}

.service-bullets {
  margin: 24px 0 32px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.counters-strip {
  margin-top: 72px;
  padding-top: 54px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.counter-number {
  font-family: 'Nunito', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

.counter-number span {
  color: var(--accent);
}

.counter-label {
  margin-top: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ==========================================================================
   10. Meet The Team (6 Cards)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.team-photo {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-body {
  padding: 26px 26px 28px;
}

.team-role {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 4px;
}

.team-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-body p {
  font-size: 13.8px;
  color: var(--text-muted);
}

/* ==========================================================================
   11. News & Events + Testimonials
   ========================================================================== */
.news-testimonials-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.post-thumb {
  height: 175px;
  overflow: hidden;
  position: relative;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #1c2126;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
}

.post-body {
  padding: 22px;
}

.post-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.post-body h3 {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.post-body p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Testimonials Box */
.testimonials-panel {
  background: var(--dark);
  color: #ffffff;
  border-radius: 6px;
  padding: 44px 36px;
  position: relative;
}

.quote-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #1c2126;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.quote-badge svg {
  width: 22px;
  height: 22px;
}

.testimonial-item {
  display: none;
}

.testimonial-item.is-active {
  display: block;
}

.testimonial-quote {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.testimonial-author h4 {
  font-size: 15px;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 12.5px;
  color: var(--accent);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.t-dot {
  width: 26px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background var(--transition);
}

.t-dot.is-active {
  background: var(--accent);
}

/* ==========================================================================
   12. Features + Office Gallery + Mission + Partners
   ========================================================================== */
.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 84px;
}

.feature-box {
  background: #ffffff;
  padding: 34px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}

.feature-box:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 191, 59, 0.16);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 14px;
}

.office-carousel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--darker);
  aspect-ratio: 16 / 9;
  max-height: 580px;
  width: 100%;
}

.office-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.office-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.office-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 34px 28px;
  background: linear-gradient(to top, rgba(20, 24, 29, 0.88), transparent);
  color: #ffffff;
}

.office-caption h3 {
  font-size: 21px;
  font-weight: 600;
}

.office-caption p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.office-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  z-index: 4;
}

.mission-banner {
  margin-top: 84px;
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.mission-banner img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.mission-banner h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.32;
  margin-bottom: 14px;
}

.partners-bar {
  padding: 58px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: center;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.62;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.partner-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.partner-item img {
  max-height: 52px;
  width: auto;
}

/* ==========================================================================
   13. Contact Info Cards & "Do you love us yet?" Form
   ========================================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 84px;
}

.contact-info-card {
  background: #ffffff;
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.contact-info-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.contact-form-card {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  padding: 54px 48px;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d7dce2;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-main);
  background: #fafbfc;
  transition: border-color var(--transition), background var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
}

.alert-banner {
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   14. Footer & Scroll-to-Top
   ========================================================================== */
.site-footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 84px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1.2fr;
  gap: 40px;
  padding-bottom: 64px;
}

.footer-widget h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-contact-line {
  margin-top: 14px;
  font-size: 13.5px;
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-recent li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-recent li:last-child {
  border-bottom: none;
}

.footer-recent a {
  display: block;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-recent a:hover {
  color: var(--accent);
}

.footer-recent span {
  font-size: 11.5px;
  color: var(--accent);
}

.footer-bottom {
  background-color: var(--darker);
  padding: 24px 0;
  font-size: 13px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

.social-links a:hover {
  color: var(--accent);
}

.scroll-top-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #1c2126;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--dark);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .portfolio-grid,
  .process-grid,
  .roles-grid,
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-testimonials-layout,
  .service-split {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 72px 0;
  }
  .intro-split,
  .showcase-grid,
  .skills-grid,
  .team-grid,
  .features-strip,
  .news-grid,
  .counters-strip,
  .lightbox-dialog,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid,
  .process-grid,
  .roles-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-nav-btn {
    display: none;
  }
  .contact-form-card {
    padding: 34px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

