/* :root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-alt: #eef2ff;
  --surface-muted: #f7f7f7;
  --surface-soft: #f2f2f2;
  --grey: #172033;
  --muted: #5f6b85;
  --grey-soft: #999;
  --grey-strong: #444;
  --grey-dark: #222;
  --white: #ffffff;
  --primary: #323384;
  --primary-dark: #2148b0;
  --secondary: #1D1E59;
  --secondary-soft: #4a4595;
  --secondary-deep: #3a3680;
  --border: #dfe5f2;
  --divider: #e0e0e0;
  --section-border: #eee;
  --primary: #2e2a7a;
  --neutral-light: #d0d0d0;
  --neutral-medium: #555;
  --neutral-border: #ccc;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 4px 16px rgba(0, 0, 0, 0.25);
  --header-bg: rgba(255, 255, 255, 0.95);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-75: rgba(255, 255, 255, 0.75);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-92: rgba(255, 255, 255, 0.92);
  --white-20: rgba(255, 255, 255, 0.2);
  --hero-gradient-start: #0f172a;
  --hero-gradient-end: #1e293b;
  --hero-overlay-dark: rgba(15, 23, 42, 0.8);
  --hero-overlay-mid: rgba(15, 23, 42, 0.45);
  --hero-overlay-soft: rgba(15, 23, 42, 0.7);
  --hero-overlay-deep: rgba(7, 12, 24, 0.9);
  --tertiary: #21343A;
} */

:root {
  /* ========= Brand ========= */

  --primary: #323384;
  --secondary: #1D1E59;
  --tertiary: #21343A;

  /* ========= Neutrals ========= */

  --white: #fff;
  --background: #f7f8fc;
  --surface: #fff;
  --surface-alt: #f2f2f2;

  --grey: #333333;
  --grey-muted: #909090;
  --grey-light: #999;

  --border: #dfe5f2;
  --border-light: #eee;

  /* ========= Effects ========= */

  --header-bg: rgba(255,255,255,.95);

  --shadow-sm: 0 4px 20px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.25);
  --shadow-lg: 0 18px 45px rgba(23,32,51,.08);

  /* ========= Overlays ========= */

  --overlay-dark: rgba(15,23,42,.8);
  --overlay-medium: rgba(15,23,42,.45);
  --overlay-light: rgba(255,255,255,.75);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  font-family: 'Open Sans', Arial, sans-serif;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--grey);
  background: var(--bg);
  line-height: 1.6;
}

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

.center{
  text-align: center;
}

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

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

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

h1{
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 16px;
}

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

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

.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2rem;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-row {
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* .header-line-top {
    --r: 77px;
    width: stretch;
    aspect-ratio: 12.5;
    background: var(--tertiary);
    border-top-left-radius: var(--r);
    mask: radial-gradient(var(--r) at 100% 100%, #0000 100%, #000 calc(100% + 1px)) 0 100% / var(--r) var(--r) no-repeat, linear-gradient(0, #0000 var(--r), #000 0);
    top: 10px;
    position: absolute;
    left: 25%;
}

.header-line-bottom {
  --r: 77px;

  width: 300px;
  aspect-ratio: 1.5;
  background: #519548;
  border-bottom-right-radius: var(--r);
  mask:
    radial-gradient(var(--r) at 0 0,#0000 100%,#000 calc(100% + 1px))
    100% 0/var(--r) var(--r) no-repeat,
    linear-gradient(#0000 var(--r),#000 0);
} */

.header-line-top{
  --r: 35px;
  background: var(--tertiary);
  border-top-left-radius: var(--r);
  mask:
    radial-gradient(var(--r) at 100% 100%, #0000 100%, #000 calc(100% + 1px))
    0 100% / var(--r) var(--r) no-repeat,
    linear-gradient(0, #0000 var(--r), #000 0);

  position: absolute;
  top: -20px;
  left: 180px;
  width: calc(100vw - 20px);
  height: 50px;
  z-index: -1;
}

.header-line-bottom {
    --r: 35px;
    background: var(--tertiary);
    border-bottom-right-radius: var(--r);
    mask: 
      radial-gradient(var(--r) at 0 0, #0000 100%, #000 calc(100% + 1px)) 
      100% 0 / var(--r) var(--r) no-repeat, 
      linear-gradient(#0000 var(--r), #000 0);

    position: absolute;
    top: 62px;
    right: 20px;
    width: 100vw;
    height: 50px;
    z-index: -1;
}

.shape {
    position: relative;
    width: 220px;
    height: 100%;
    background: var(--primary);
    border-radius: 0px;
    min-height: 92px
}

.shape::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60px;
  width: 60px;
  height: 92px;
  background: inherit;
}

.shape::after {
  content: "";
  position: absolute;
  top: 0;
  left: 97%;
  width: 100px;
  height: 100px;   /* was 140px */
  background: inherit;
  clip-path: path('M 0.00,0.00 L 80.00,0.00 Q 100.00,0.00 85.86,14.14 L 14.14,85.86 Q 0.00,100.00 0.00,80.00 Z');
}

.logo-img {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
    margin: 0 auto;
    top: 70%;
    transform: translateY(50%);
    min-width: 210px;
    left: 20px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================
   Navigation
========================= */

.site-nav {
  display:flex;
  align-items:center;
  gap:1.5rem;
}

/* ALL MENU ITEMS */
.nav-item,
.submenu-item {
  position:relative;
}

.menu-header {
  display:flex;
  align-items:center;
  gap:.35rem;
}

.nav-link {
  display:inline-flex;
  align-items:center;
  padding:.5rem;
  color:var(--grey-muted);
  font-weight:600;
}

.nav-link:hover {
  color: var(--primary);
}

.menu-toggle {
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
}

.caret {
  display:inline-block;
  font-size:.8rem;
  transition:transform .2s ease;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 100;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition:
    transform .3s ease,
    opacity .2s ease;
}

/* Open state */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =====================
   TOP LEVEL DROPDOWN
===================== */
.dropdown-menu {
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  padding:.75rem;
  background:white;
  border:1px solid var(--border);
  border-radius:.75rem;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:.25rem;
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);
  pointer-events:none;
  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility .2s ease;
}


/* hover opens top menu */
@media (min-width:761px) {
  .nav-item:hover > .dropdown-menu {
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }
}

/* invisible bridge */

.nav-item::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1rem;
  height:1rem;
}

/* =====================
   SECONDARY / TERTIARY
===================== */

.submenu-menu {
  display:flex;
  flex-direction:column;
  margin-top:.25rem;
  padding-left:.75rem;
  border-left:1px solid var(--border);
  max-height:0;
  opacity:0;
  overflow:hidden;
  transform:translateY(-5px);
  pointer-events:none;
  transition:
    max-height .25s ease,
    opacity .2s ease,
    transform .2s ease;
}


/* open on click */
.submenu-item.is-open > .submenu-menu {
  max-height:800px;
  opacity:1;
  transform:none;
  pointer-events:auto;
}



/* caret rotation */

.has-children.is-open > .menu-header .caret {
  transform:rotate(180deg);
}

/* hover states */

.dropdown-menu a:hover,
.submenu-menu a:hover {
  background:var(--surface-alt);
  border-radius:.4rem;
  padding-left:.5rem;
}

.menu-header .nav-link {
  flex:1;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  /* background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); */
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.04);
}

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

.hero-slide-1 {
  background-image: url('/images/hero/cefa-daycare-interior-classroom.jpg');
}

.hero-slide-2 {
  background-image: url('/images/hero/scm-insurance-interior-office-space.jpg');
}

.hero-slide-3 {
  background-image: url('/images/hero/bo-li-laser-eye-clinic-waiting-area.jpg');
}

.hero-slide-4 {
  background-image: url('/images/hero/dogtopia-reception-area.jpg');
}

.hero-slide-5 {
  background-image: url('/images/hero/bone-and-biscuit-interior-retail.jpg');
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  color: #fff;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: #fff;
  max-width: 900px;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 400;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 900px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.hero-breadcrumbs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.hero-breadcrumb {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-breadcrumb:hover,
.hero-breadcrumb:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  outline: none;
}

.hero-breadcrumb.active {
  background: #fff;
  transform: scale(1.15);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--neutral);
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.section {
  padding: 5rem 0;
}

.section-full {
  background: var(--surface-alt);
}

.section-full:nth-of-type(even) {
  background: var(--surface);
}

.section-hero-header{
  background: var(--primary);
  border-top: 5px solid var(--secondary);
  text-align: center;
}

.section-hero-header h1,
.section-hero-header p {
  color: var(--white) !important;
}

.section .container {
  display: grid;
  gap: 1rem;
}

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

.section p {
  margin: 0;
  color: var(--grey-muted);
}

.interior p {
  color: var(--surface-alt);
}

.sub-title{
  /* color: var(--primary); */
  font-family: "Oswald", Arial,sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 24
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(90vw, 900px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--grey);
  cursor: pointer;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.project-nav-section {
  padding-top: 0;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  color: var(--grey);
  text-decoration: none;
  min-width: 240px;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.project-nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.project-nav-link strong {
  font-size: 0.95rem;
}

.project-nav-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.1);
  color: var(--primary);
}

.project-nav-link:hover::before {
  transform: translateX(100%);
}

.project-nav-prev {
  align-items: flex-start;
}

.project-nav-next {
  align-items: flex-end;
  margin-left: auto;
}

.project-nav-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-muted);
}

@media (max-width: 640px) {
  .project-nav {
    flex-direction: column;
  }

  .project-nav-next {
    margin-left: 0;
  }
}

.services-container .icon .material-symbols-outlined {
    font-size: 2em;
    color: var(--primary);
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px;
}

.box,
.project-card,
.logo-box {
  flex: 1 1 calc(25% - 18px); /* 4 across on desktop */
  box-sizing: border-box;
  background: var(--surface);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.learn-more,
.view-project {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: transform .3s ease;
}

.box:hover .arrow,
.project-card:hover .arrow {
  transform: translateX(6px);
}

.box:hover,
.project-card:hover,
.logo-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.material-symbols-outlined {
  transition: transform .3s ease;
}

.card-link:hover .material-symbols-outlined {
  transform: scale(1.1);
}

#services .box {
  flex: 1 1 calc(50% - 16px);
}

.services-container{
  margin-top: 50px;
}

.icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.box h3,
.project-card h3 {
  color: var(--primary);
  font-size: 18px;
  margin: 0 0 12px;
}

.box p,
.project-card p {
  color: var(--grey-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.learn-more,
.view-project {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  /* margin-top: auto; */
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.projects-section {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
}

.projects-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.projects-text {
  flex: 0 0 min(320px, 100%);
  min-width: 0;
}

.projects-text h2 {
  font-size: 32px;
  margin: 8px 0 16px;
}

.projects-text .eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* Slideshow */
.projects-slideshow {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.slideshow-viewport {
  overflow: hidden;
  width: 100%;
}

.slideshow-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.project-card {
  flex: 0 0 calc(48% - 12px); /* 2 cards visible on desktop */
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  color: var(--grey-dark);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px 20px 0px 20px;
}

.category {
  text-transform: uppercase;
  font-size: 11px;
  color: var(--grey-muted);
  letter-spacing: 0.05em;
}

.project-info h3 {
  color: var(--primary);
  margin: 4px 0 8px;
}

.location {
  color: var(--grey-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.view-project {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

/* Arrows */
.slideshow-arrows {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-self: flex-start;
}

.arrow {
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
  opacity: .8;
  transition:
    transform .3s ease,
    opacity .3s ease;
}

.slideshow-arrows .arrow {
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.why-choose {
  text-align: center;
  padding: 80px 0;
}

.why-choose h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 48px;
}

.features-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  flex: 1 1 calc(16.666% - 1px); /* 6 across on desktop */
  box-sizing: border-box;
  padding: 0 24px;
  border-left: 1px solid var(--divider);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature:first-child {
  border-left: none;
}

.feature .icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.feature .icon .material-symbols-outlined {
  font-size: 1.75em;
  transition: transform 0.25s ease, color 0.25s ease;
}

.feature:hover .icon .material-symbols-outlined {
  transform: scale(1.08);
  color: var(--secondary);
}

.feature h3 {
  color: var(--primary);
  font-size: 16px;
  margin: 0 0 12px;
}

.feature p {
  color: var(--grey-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.contact-section {
  border: 1px solid var(--section-border);
}

.contact-split {
  display: flex;
  flex-wrap: wrap;
}

.contact-info,
.contact-form-container {
  flex: 1 1 50%;
  min-width: 0;
  box-sizing: border-box;
  padding: 60px;
}

.form-success[hidden] {
  display: none;
}

.form-success {
  background: var(--secondary);
  color: var(--white);
  padding: 60px;
}

.form-success h3 {
  margin-top: 0;
  font-size: 28px;
}

.form-success p {
  color: var(--white);
}

.micetype {
  font-size: 0.85em;
  color: #d9d9d9;
}

/* Left panel */

.contact-info {
  background: var(--surface-muted);
  background: url(/images/sketchbg.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-info h2 {
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--grey-muted);
  margin-bottom: 32px;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
}

/* Right panel */
.contact-form-container {
  background: var(--secondary);
  color: var(--white);
}

.contact-form-container h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 32px;
}

/* Form */

.contact-form {
  background: transparent;
  color: var(--white);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 14px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 2px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--white);
}

.contact-form textarea {
  width: 100%;
  margin-bottom: 24px;
  resize: vertical;
}

/* Submit button */

/* .contact-form .btn-primary,
.contact-form .btn-secondary {
  border: none;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
} */

.contact-form-content .btn-secondary:hover{
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--white);
}


/* Fine print */

.contact-form .micetype {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
  line-height: 1.5;
  margin: 20px 0 0;
}


/* Success state */

.form-success {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-success .material-symbols-outlined {
  font-size: 52px;
  color: var(--white);
  margin-bottom: 20px;
}

.form-success h2 {
  margin: 0 0 12px;
}

.form-success p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 400px;
  margin: 0;
}

/* stats */
.stats-section {
  padding: 50px 0;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 25%;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  padding: 0 32px;
  border-left: 1px solid var(--divider);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}

.stat:hover {
  transform: translateY(-4px);
}

.stat:first-child {
  border-left: none;
}

.stat .material-symbols-outlined {
  font-size: 36px;
  color: var(--primary);
  flex-shrink: 0; /* icon never shrinks/squishes */
  transition: transform 0.25s ease, color 0.25s ease;
}

.stat:hover .material-symbols-outlined {
  transform: scale(1.08);
  color: var(--secondary);
}

.stat-text h3 {
  color: var(--primary);
  font-size: 24px;
  margin: 0 0 4px;
}

.stat-text p {
  color: var(--grey-muted);
  font-size: 14px;
  margin: 0;
  white-space: nowrap;
}

/* testimonials */
.testimonials-section {
  text-align: center;
  padding: 80px 0;
  /* background: var(--surface-soft); */
}

.testimonials-section h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 48px;
}

.testimonials-slideshow {
  position: relative;
}

.slideshow-viewport {
  overflow: hidden;
  width: 100%;
}

.slideshow-track {
  display: flex;
  gap: 40px;
  transition: transform 0.4s ease;
}

.testimonial {
  flex: 1 1 calc(33.333% - 27px); /* 3 across on desktop */
  flex-shrink: 0;
  min-width: 0;
  box-sizing: border-box;
  text-align: left;
  background-image: url(/images/quotes.svg);
  background-repeat: no-repeat;
}

.quote-text {
  font-style: italic;
  color: var(--grey-strong);
  line-height: 1.6;
  margin-bottom: 20px;
}

.author {
  color: var(--primary) !important;
  font-weight: 700;
  margin: 0 0 4px;
}

.company {
  color: var(--grey-medium);
  margin: 0;
}

/* Breadcrumbs */
.slideshow-breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.breadcrumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--grey-muted);
  cursor: pointer;
  padding: 0;
}

.breadcrumb.active {
  background: var(--primary);
}

/* trusted by */
.trusted-by {
  text-align: center;
  padding: 80px 0;
}

.trusted-by h2 {
  display: inline-block;
  color: var(--primary);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  margin-bottom: 48px;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.logo-box {
  flex: 0 0 440px;
  /* width: 190px; */
  max-width: 440px;
  min-width: 0;
  box-sizing: border-box;
  height: 110px;
  background: var(--surface);
  border-radius: 6px;
}

.logo-box img {
  display: block;
  max-width: 190px;
  width: 100%;
  margin: 0 auto;
}

/* =========================
   FAQ Section
========================= */

.faq-section {
  background: var(--primary) !important;
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.faq-section h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--white);
}


.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: left;
}


/* FAQ Item */

.faq-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
}


/* Question Button */

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: var(--secondary);
  border: 0;

  padding: 20px 24px;

  color: var(--white);

  font-family: inherit;
  font-size: 16px;
  font-weight: 700;

  text-align: left;
  cursor: pointer;

  transition:
    background-color .25s ease;
}


.faq-question:hover {
  background: var(--border);
  color: var(--primary);
}


/* Plus Icon */

.faq-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;

  transition:
    transform .35s ease;
}


.faq-item.active .faq-icon {
  transform: rotate(45deg);
}


/* Answer Animation */

.faq-answer-wrapper {
  height: 0;
  overflow: hidden;

  transition:
    height .45s cubic-bezier(.4, 0, .2, 1);
}


.faq-answer {
  padding: 24px;
}


.faq-answer p {
  margin: 0;

  color: var(--grey-muted);

  font-size: 14px;
  line-height: 1.6;
}

/* ul li with check mark */
ul.inluded-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.inluded-list li:before {
  content: "✓";
  padding-right: 10px;
  color: var(--primary);
  font-size: 24px;
}

ul.inluded-list li{
    border-bottom: 1px solid var(--grey-light);
    padding: 20px 0px 20px 0px;
}

/* projects page */
.projects-page {
  padding: 60px 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.projects-page.is-filtering {
  opacity: 0.45;
  transform: translateY(4px);
}

.site-footer {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-footer.is-filtering {
  opacity: 0.45;
  transform: translateY(4px);
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--secondary);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-btn:hover {
  background: var(--surface-alt);
}

.filter-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-tile {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-tile:hover img {
  transform: scale(1.05);
}

.project-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(50, 51, 132, 0) 40%, rgba(29, 30, 89, 0.9) 100%);
}

.project-tile-overlay .view-project,
.project-tile-overlay .view-project .arrow {
  color: var(--white);
}

.project-tile-overlay .view-project .arrow,
.project-tile-overlay .view-project .material-symbols-outlined {
  transition: transform 0.3s ease;
}

.project-tile-overlay:hover .view-project .arrow,
.project-tile-overlay:hover .view-project .material-symbols-outlined {
  transform: translateX(6px);
}

.project-category {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.project-tile-overlay h3 {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 0 0 12px;
}

/* Hidden state for filtered-out tiles */
.project-tile.is-hidden {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
}

.project-tile.is-hidden.is-removed {
  display: none;
}

.project-tile.is-appearing {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}

.project-tile.is-appearing.is-visible {
  opacity: 1;
  transform: none;
}

/* about us page */
.values .material-symbols-outlined{
    font-size: 3em;
    color: var(--primary);
}

.values .icon {
  text-align: center;
  margin: 0;
}

.values h3 {
  text-align: center;
  color: var(--primary);
  font-size: 2em;
  font-family: Georgia, serif;
}

.values p {
  text-align: center;
}

/* Footer */

.site-footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  flex: 1 1 220px;
}

.footer-logo {
  height: 32px;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--white);
  font-size: 14px;
  margin: 0;
}

.footer-col {
  flex: 1 1 160px;
  min-width: 0;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact li {
  color: var(--white);
}

.footer-divider {
  border-top: 1px solid #0c0d33;
  margin-top: 48px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--white);
  font-size: 13px;
  margin: 0;
}


/* Tablet */
@media (max-width: 900px) {
  .box,
  .project-card,
  .logo-box {
    flex: 1 1 calc(50% - 12px);
  }

  .projects-section {
    padding: 64px 0;
  }

  .projects-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .projects-text {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .projects-slideshow {
    width: 100%;
  }

  .projects-section .slideshow-arrows {
    position: static;
    margin-top: 1rem;
    align-self: flex-end;
  }

  .projects-section .project-card {
    flex: 0 0 calc(50% - 12px);
  }

  .projects-section .project-card img {
    height: 200px;
  }

  .feature {
    flex: 1 1 calc(33.333% - 1px);
    margin-bottom: 40px;
  }

  /* Remove borders, re-add only for items that aren't first in their row */
  .feature {
    border-left: none;
  }

  .feature:nth-child(3n+2),
  .feature:nth-child(3n) {    border-left: 1px solid var(--divider);
  }

  .contact-info,
  .contact-form-container {
    flex: 1 1 100%;
  }

  .stat {
    flex: 1 1 50%;
    margin-bottom: 32px;
    border-left: none;
  }

  .stat:nth-child(odd) {
    border-left: none;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--divider);
  }

  .testimonial {
    flex: 1 1 calc(50% - 20px);
    flex-shrink: 0;
  }

  .logo-grid {
    gap: 20px;
  }

  .logo-box {
    flex: 0 0 190px;
    width: 190px;
    max-width: 190px;
  }

  .faq-item {
    flex: 1 1 100%;
  }

  .footer-brand {
    flex: 1 1 100%;
  }

  .footer-col {
    flex: 1 1 calc(33.333% - 22px);
  }

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

@media (max-width:760px) {

  .header-actions {
    gap: .75rem;
  }

  /* =====================
     MOBILE HAMBURGER
  ===================== */

  .mobile-menu-toggle {
    display:flex;
  }

  /* =====================
     MOBILE NAV PANEL
  ===================== */

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;

    width: 320px;
    height: 100vh;

    background: var(--white);

    padding: 6rem 2rem 2rem;

    display: flex;
    flex-direction: column;

    transform: translateX(100%);
    transition: transform .3s ease;

    box-shadow: var(--shadow-lg);

    z-index: 50;
  }


  .site-nav.open {
    transform: translateX(0);
  }


  .site-nav .nav-item {
    width:100%;
  }


  .site-nav .nav-link {
    padding: .75rem 0;
  }

  .site-header .container {
    padding:1rem 0;
  }


  /* =====================
     MOBILE MENU ITEMS
  ===================== */

  .nav-item,
  .submenu-item {
    width:100%;
  }

  .menu-header {
    width:100%;
  }

  .nav-link {
    width:100%;
    padding:1rem 0;
  }

  /* =====================
     MOBILE DROPDOWNS
  ===================== */


  .dropdown-menu {
    position:static;
    min-width:0;
    width:100%;
    padding:.25rem 0 .25rem 1rem;
    border:0;
    box-shadow:none;
    border-left:1px solid var(--border);
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    max-height:0;
    overflow:hidden;
  }

  .nav-item.is-open > .dropdown-menu {
    max-height:800px;
  }

  .submenu-menu {
    padding-left:1rem;
  }


}

/* Mobile */
@media (max-width: 600px) {
  .box,
  .project-card,
  .logo-box {
    flex: 1 1 100%;
  }

  .projects-section {
    padding: 56px 0;
  }

  .projects-text h2 {
    font-size: 1.75rem;
  }

  .projects-section .project-card {
    flex: 0 0 100%;
    min-width: 0;
  }

  .projects-section .project-card img {
    height: 180px;
  }

  .projects-section .project-info {
    padding: 18px 18px 4px;
  }

  .projects-section .view-project {
    font-size: 12px;
  }

  .projects-section .slideshow-arrows {
    gap: 10px;
    margin-top: 16px;
    align-self: flex-start;
  }

  .projects-section .arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .feature {
    flex: 1 1 50%;
    border-left: none !important;
    margin-bottom: 32px;
  }

  .contact-info,
  .contact-form-container {
    padding: 40px 24px;
  }

  .form-row {
    flex-direction: column;
  }

  .stat {
    flex: 1 1 50%;
    border-left: none !important;
    margin-bottom: 24px;
    justify-content: center;
    text-align: left;
  }

  .testimonial {
    flex: 1 1 100%;
    flex-shrink: 0;
  }

  .logo-grid {
    gap: 16px;
  }

  .logo-box {
    flex: 0 0 190px;
    width: 190px;
    max-width: 190px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 18px;
    font-size: 12px;
  }
}