/* ============ BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Tecboe brand */
  --tecboe-primary: #340231;        /* deep purple from logo */
  --tecboe-primary-soft: #4c0648;
  --tecboe-bg: #f9f7ff;
  --tecboe-bg-soft: #f2ecff;
  --tecboe-surface: #ffffff;
  --tecboe-surface-soft: #f6f1ff;
  --tecboe-border-subtle: #e0d5ff;

  --tecboe-accent: #ffaf32;         /* orange gradient tones */
  --tecboe-accent-strong: #ff9330;

  --text-main: #1f1023;
  --text-muted: #6b526f;
  --text-soft: #8a6f99;

  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 18px 35px rgba(15, 23, 42, 0.10);
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #fff7e9, #f9f7ff 36%, #f1ebff 70%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  /* keep your existing background + font etc. */
  margin: 0;
}

/* ============ SHARED COMPONENTS ============ */
a {
  text-decoration: none;
  color: inherit;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar used on inner pages (slightly smaller header) */
/* Header uses same width as body */
.top-nav {
  padding: 1.1rem 6vw;   /* Increased vertical height */
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e4ddff;
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}


.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo-img {
  height: 30px;                 /* slightly smaller logo */
  width: auto;
  display: block;
}

.brand span {
  display: block;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--tecboe-primary);
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
  color: var(--text-muted);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--tecboe-accent),
    var(--tecboe-accent-strong)
  );
  transition: width 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
  color: var(--tecboe-primary-soft);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-size: 0.86rem;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--tecboe-accent),
    var(--tecboe-accent-strong)
  );
  box-shadow: 0 10px 25px rgba(255, 159, 59, 0.32);
  color: #3b1500;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(255, 159, 59, 0.42);
}

.btn-ghost {
  background: transparent;
  border: 1px solid #e1d5ff;
  color: var(--tecboe-primary-soft);
}

.btn-ghost:hover {
  background: #f1ebff;
}

/* Section layout — full width, aligned with header (no squished centre) */
.section {
  padding: 3rem 6vw 4rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title-group span {
  display: block;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tecboe-primary-soft);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tecboe-primary);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 460px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--tecboe-surface);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--tecboe-border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tecboe-primary-soft);
  margin-bottom: 0.7rem;
  opacity: 0.9;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--tecboe-primary);
}

.card-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 175, 50, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
  gap: 2.25rem;
  margin-top: 1.5rem;
}

.contact-panel {
  background: var(--tecboe-surface);
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--tecboe-border-subtle);
  box-shadow: var(--shadow-card);
}

.contact-panel h3 {
  margin-bottom: 0.75rem;
  color: var(--tecboe-primary);
}

.contact-panel p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact-details {
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.7;
}

.contact-details span {
  display: block;
}

.contact-highlight {
  color: var(--tecboe-accent-strong);
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 1.2rem 6vw 1.4rem;
  border-top: 1px solid #e4ddff;
  font-size: 0.78rem;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: #f8f5ff;
}

/* ============ HOME: SPLIT SCREEN ============ */

.home-split-wrapper {
  flex: 1 1 auto;          /* takes the remaining vertical space */
  min-height: 0;           /* allow it to shrink if needed */
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

/* Each half */
.split-panel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* main background image */
.split-panel::before {
  content: "";
  position: absolute;
  inset: -5%;
  opacity: 0.25;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  transform: scale(1.02);
  transition: opacity 0.3s ease, transform 0.35s ease;
}

/* subtle pattern overlay per side */
.split-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  opacity: 0.25;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Left: SOFTWARE */
.split-panel--software {
  background:
    radial-gradient(circle at top left, #f3ecff, #fff7ea);
}
.split-panel--software::before {
  background-image: url("assets/software-code-01_.png");
}
.split-panel--software::after {
  right: 10%;
  top: 12%;
  background-image: url("assets/software-pattern-light.svg");
}

/* Right: STORYTELLING */
.split-panel--creative {
  background:
    radial-gradient(circle at top right, #ffeef7, #f5f0ff);
}
.split-panel--creative::before {
  background-image: url("assets/creative-banner-01_.png");
}
.split-panel--creative::after {
  left: 10%;
  bottom: 12%;
  background-image: url("assets/creative-pattern-light.svg");
}

/* Content overlay in each half */
.split-content {
  position: relative;
  padding: 2.4rem 3rem;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.75rem;
  border: 1px solid #e3d5ff;
  box-shadow: var(--shadow-soft);
}

.split-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 0.7rem;
  opacity: 0.85;
  color: var(--tecboe-primary-soft);
}

.split-heading {
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  color: var(--tecboe-primary);
}

.split-subheading {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.4rem;
  color: var(--text-muted);
}

.split-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.chip {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e3d5ff;
  background: #f6f1ff;
  color: var(--tecboe-primary-soft);
}

.split-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.split-overlay-label {
  position: absolute;
  bottom: 1.5rem;
  left: 3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
}

.split-overlay-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(115, 81, 135, 0.6);
}

/* Hover effects */
.split-panel:hover {
  box-shadow: 0 30px 60px rgba(148, 122, 175, 0.35);
  transform: translateY(-2px);
}
.split-panel:hover::before {
  opacity: 0.38;
  transform: scale(1.05);
}

/* Divider line in the middle */
.home-divider {
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    #d7c9ff,
    transparent
  );
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Small label at the top */
.home-top-label {
  position: absolute;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--tecboe-primary-soft);
  z-index: 10;
}

/* ============ PREVIEW STRIPS (inner pages) ============ */

.preview-strip {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 2.2rem;
  overflow-x: auto;
}



/* ===== Preview Strip Carousel ===== */
.preview-strip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 1rem 0 2.2rem;
}

.preview-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 2rem; /* spacing for arrows */
}

.preview-strip::-webkit-scrollbar {
  display: none;
}

/* Arrows */
/* ===== Preview Strip Carousel ===== */
.preview-strip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 1rem 0 2.2rem;
}

/* strip aligns with section-inner edges (no extra side padding) */
.preview-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;              /* 🔹 flush with body/section-inner */
}

.preview-strip::-webkit-scrollbar {
  display: none;
}

/* Cards (same as before, just here for context) */
.preview-card {
  min-width: 190px;
  max-width: 240px;
  background: var(--tecboe-surface);
  border-radius: 1.2rem;
  padding: 0.65rem 0.65rem 0.8rem;
  border: 1px solid var(--tecboe-border-subtle);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

/* Arrows */
.preview-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  color: var(--tecboe-primary);
  display: none;                 /* 🔹 default hidden; JS will show when needed */
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  z-index: 5;
}

.preview-arrow:hover {
  background: var(--tecboe-surface-soft);
  transform: translateY(-50%) scale(1.08);
}

/* Position arrows just outside content, so cards stay flush with edges */
.preview-arrow.left {
  left: -18px;
}

.preview-arrow.right {
  right: -18px;
}



.preview-card {
  min-width: 190px;
  max-width: 240px;
  background: var(--tecboe-surface);
  border-radius: 1.2rem;
  padding: 0.65rem 0.65rem 0.8rem;
  border: 1px solid var(--tecboe-border-subtle);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

.preview-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 0.9rem;
  display: block;
}

.preview-caption {
  font-size: 0.78rem;
  margin-top: 0.45rem;
  color: var(--text-muted);
}

/* ============ HERO BANNERS (software & creative) ============ */

.hero {
  width: 100%;
  padding: 3.2rem 6vw 3.4rem;
  border-bottom: 1px solid #e4ddff;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-text {
  max-width: 560px;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--tecboe-primary-soft);
  margin-bottom: 0.4rem;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.05;
  font-weight: 800;
  color: var(--tecboe-primary);
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: 1.6rem;
  display: block;
  border: 1px solid var(--tecboe-border-subtle);
  box-shadow: var(--shadow-soft);
}

/* background image overlays */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-size: cover;
  background-position: center right;
  pointer-events: none;
}

/* software hero */
.hero--software {
  background:
    radial-gradient(circle at top left, #fff7ea, #f2ecff 55%);
}
.hero--software::before {
  background-image: url("assets/software-hero.jpg");
}

/* creative hero */
.hero--creative {
  background:
    radial-gradient(circle at top right, #ffeef7, #f4f0ff 55%);
}
.hero--creative::before {
  background-image: url("assets/creative-hero.jpg");
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .home-split-wrapper {
    grid-template-columns: 1fr;
  }

  .home-divider,
  .home-top-label {
    display: none;
  }

  .split-panel {
    min-height: 50vh;
  }

  .split-content {
    padding: 2.1rem 1.8rem 2.4rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-img {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding-inline: 1.5rem;
  }

  .top-nav {
    padding-inline: 1.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .hero {
    padding-inline: 1.5rem;
  }
}

/* Shared inner width for header + body + hero */
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}



.top-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hero shares same width */
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero {
  width: 100%;
  padding: 7rem 6vw 7.4rem;  /* Increased top & bottom padding */
  border-bottom: 1px solid #e4ddff;
  position: relative;
  overflow: hidden;
}


/* ===== Portfolio Grid (modern collage) ===== */
/* ===== Full-bleed Masonry Gallery ===== */

/* Make the gallery stretch full viewport width, centered */
.portfolio-masonry-full {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 0 2vw 3rem;  /* slight side padding so it doesn’t touch the browser edge */
}

/* Masonry columns */
.portfolio-masonry {
  column-count: 5;
  column-gap: 1rem;
}

@media (max-width: 1400px) {
  .portfolio-masonry {
    column-count: 4;
  }
}

@media (max-width: 1024px) {
  .portfolio-masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .portfolio-masonry {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .portfolio-masonry {
    column-count: 1;
  }
}

/* Tiles behave like Pinterest cards */
.portfolio-tile {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: var(--tecboe-surface);
  border: 1px solid var(--tecboe-border-subtle);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.portfolio-tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover effect */
.portfolio-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(52, 2, 49, 0.45),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.portfolio-tile:hover::after {
  opacity: 1;
}


/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;                /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.open {
  display: flex;                /* shown when .open is added */
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.6);
  overflow: hidden;
}

.lightbox-image {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  padding: 0.7rem 1.2rem 1rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tecboe-primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 102;
  transition: 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.05);
  background: #fff;
}


/* Home Page Logo */
.home-logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;   /* was larger, now tighter */
}

.home-logo-img {
  height: 60px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.home-logo-img:hover {
  opacity: 1;
}


/* ===== Mobile nav toggle (hamburger) ===== */

.nav-toggle {
  display: none;                /* hidden on desktop */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  margin-left: 1rem;
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--tecboe-primary-soft);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

/* When nav is open, animate the burger (optional but nice) */
.top-nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.top-nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.top-nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Mobile layout ===== */
@media (max-width: 768px) {
  .top-nav {
    padding-inline: 1.5rem;
  }

  .top-nav-inner {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;       /* show burger on mobile */
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.6rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e4ddff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    padding: 0.6rem 0.9rem;
    display: none;              /* hidden by default on mobile */
    flex-direction: column;
    gap: 0.4rem;
    min-width: 180px;
    z-index: 30;
  }

  .nav-links a {
    padding: 0.35rem 0.3rem;
    font-size: 0.86rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text-main);
  }

  .nav-links a::after {
    display: none;              /* remove underline bar in dropdown */
  }

  /* When nav is open on mobile */
  .top-nav.nav-open .nav-links {
    display: flex;
  }
}
