/* =========================================================
   GLOBAL VARIABLES
========================================================= */

:root {
  --bg: #0a192f;
  --bg-secondary: #0d213d;
  --bg-soft: #102844;

  --primary: #0f52ba;
  --primary-light: #2878e8;
  --accent: #ff5722;

  --card: #f8fafc;
  --card-dark: #10243f;

  --text: #1e293b;
  --text-light: #e6f3ff;

  --muted: #93a3b8;
  --muted-light: rgba(230, 243, 255, 0.72);

  --border: rgba(230, 243, 255, 0.08);
  --border-light: #e6eef8;

  --on-bg: #e6f3ff;

  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.22);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;

  font-family:
    Inter,
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;

  color: var(--on-bg);
  background: var(--bg);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

p {
  line-height: 1.7;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);

  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;

  height: 76px !important;

  background: rgba(7, 20, 38, 0.85) !important;

  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;

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

body {
  padding-top: 76px !important;
}

/* 
.site-header:hover {
  background: rgba(10, 25, 47, 0.94);

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.12);
} */

.header-inner {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.brand {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: #fff;

  text-decoration: none;

  flex-shrink: 0;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}


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


.brand-logo {
  position: relative;

  width: 300px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 11px;

  background:
    linear-gradient(145deg,
      rgba(40, 120, 232, 0.16),
      rgba(15, 82, 186, 0.04));

  border: 1px solid rgba(40, 120, 232, 0.18);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.18),
    inset 0 0 20px rgba(40, 120, 232, 0.04);

  flex-shrink: 0;
}

/* =========================================================
   SIMPLE BRAND LOGO — NO CONTAINER / NO EFFECTS
========================================================= */
/* =========================================================
   SIMPLE BRAND
========================================================= */

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;


  padding: 0;
  margin: 0;

  background: transparent;
  border: 0;
  box-shadow: none;

  text-decoration: none;
}

/* =========================================================
   LOGO
========================================================= */

/* =========================================================
   RESPONSIVE BRAND LOGO
========================================================= */

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: clamp(150px, 18vw, 250px);
  height: auto;

  padding: 0;
  margin: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  flex-shrink: 0;
  overflow: visible;
}

.brand-logo .logo {
  display: block;

  width: 100%;
  height: auto;

  max-width: 250px;
  max-height: 70px;

  padding: 0;
  margin: 0;

  object-fit: contain;
  object-position: center;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  filter: none;

  transform: none;
  transition: none;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

  .brand-logo {
    width: 250px;
  }

  .brand-logo .logo {
    max-width: 250px;
    max-height: 70px;
  }
}


/* =========================================================
   DESKTOP / LAPTOP
========================================================= */

@media (min-width: 1025px) and (max-width: 1399px) {

  .brand-logo {
    width: 220px;
  }

  .brand-logo .logo {
    max-width: 220px;
    max-height: 65px;
  }
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {

  .brand-logo {
    width: 190px;
  }

  .brand-logo .logo {
    max-width: 190px;
    max-height: 58px;
  }
}


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

@media (min-width: 481px) and (max-width: 768px) {

  .brand-logo {
    width: 175px;
  }

  .brand-logo .logo {
    max-width: 175px;
    max-height: 54px;
  }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .brand-logo {
    width: 150px;
  }

  .brand-logo .logo {
    max-width: 150px;
    max-height: 48px;
  }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

  .brand-logo {
    width: 130px;
  }

  .brand-logo .logo {
    max-width: 130px;
    max-height: 42px;
  }
}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.site-nav {
  display: flex;
  align-items: center;

  gap: 4px;
}

.site-nav a {
  position: relative;

  display: inline-flex;
  align-items: center;

  padding: 10px 13px;

  color: var(--on-bg);

  text-decoration: none;

  font-size: 0.94rem;

  font-weight: 500;

  opacity: 0.72;

  border-radius: var(--radius-sm);

  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    background 0.25s ease;
}

.site-nav a:hover {
  color: var(--white);

  opacity: 1;

  background:
    rgba(255, 255, 255, 0.055);
}


/* Navigation underline */

.site-nav a:not(:last-child)::after {
  content: "";

  position: absolute;

  left: 13px;
  right: 13px;

  bottom: 4px;

  height: 2px;

  background:
    linear-gradient(90deg,
      var(--primary),
      var(--primary-light));

  border-radius: 10px;

  transform: scaleX(0);

  transform-origin: center;

  transition:
    transform 0.25s ease;
}

.site-nav a:not(:last-child):hover::after {
  transform: scaleX(1);
}


/* Contact CTA */

.site-nav a:last-child {
  margin-left: 9px;

  padding: 10px 19px;

  color: var(--white);

  opacity: 1;

  background:
    linear-gradient(135deg,
      var(--primary),
      var(--primary-light));

  border:
    1px solid rgba(255, 255, 255, 0.12);

  border-radius: 9px;

  box-shadow:
    0 7px 20px rgba(15, 82, 186, 0.22);

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

.site-nav a:last-child::after {
  display: none;
}

.site-nav a:last-child:hover {
  color: var(--white);

  background:
    linear-gradient(135deg,
      #1264d6,
      #1478f2);

  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(15, 82, 186, 0.35);
}


/* =========================================================
   MOBILE NAV BUTTON
========================================================= */

.nav-toggle {
  display: none;

  width: 42px;
  height: 42px;

  align-items: center;
  justify-content: center;

  padding: 0;

  color: var(--on-bg);

  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid rgba(230, 243, 255, 0.1);

  border-radius: 10px;

  font-size: 1.3rem;

  cursor: pointer;

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

.nav-toggle:hover {
  background:
    rgba(255, 255, 255, 0.1);

  border-color:
    rgba(230, 243, 255, 0.18);

  transform:
    translateY(-1px);
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
  position: relative;

  padding: 7rem 0 6rem;

  overflow: hidden;

  background:
    linear-gradient(180deg,
      rgba(10, 25, 47, 0.96),
      rgba(10, 25, 47, 0.9));
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.65;
}

.hero::before,
.why-modern::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  top: -170px;
  right: -120px;

  background:
    rgba(15, 82, 186, 0.2);

  filter: blur(110px);

  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr) minmax(320px, 460px);

  align-items: center;

  gap: 3rem;
}

.hero-content {
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  background: rgba(8, 22, 45, 0.8);
}

.hero h1 {
  margin: 0 0 1rem;

  font-size: clamp(2.7rem,
      5vw,
      4.7rem);

  max-width: 28rem;

  line-height: 1.02;

  letter-spacing: -0.045em;

  color: var(--on-bg);
}

.hero h1 span {
  color: var(--primary-light);
}

.lead {
  max-width: 650px;

  margin:
    0 0 1.8rem;

  color:
    var(--muted-light);

  font-size: 1.1rem;

  line-height: 1.8;
}



/* =========================================================
   LANDING PAGE ADDITIONS
   Append this block to the very end of styles.css
========================================================= */

:root {
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* If not already linked in <head>, add this to index.ejs <head>:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
*/


/* =========================================================
   HERO SIGNATURE — BUILD WINDOW
   Replaces the static hero-visual image with a terminal
   that types code, then reveals a live rendered preview.
========================================================= */

.build-window {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.build-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.build-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.build-dot:nth-child(1) {
  background: #ff5f56;
}

.build-dot:nth-child(2) {
  background: #ffbd2e;
}

.build-dot:nth-child(3) {
  background: #27c93f;
}

.build-file {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.build-body {
  position: relative;
  min-height: 300px;
}

.build-code {
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--text-light);
  white-space: pre-wrap;
}

.build-code .c1 {
  color: #7dd3fc;
}

.build-code .c2 {
  color: #a5f3a5;
}

.build-code .c3 {
  color: #ffbd7a;
}

.build-code .c4 {
  color: var(--muted);
}

.build-preview {
  position: absolute;
  inset: 0;
  background: var(--card);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 20px;
}

.build-preview.show {
  opacity: 1;
  transform: translateY(0);
}

.bp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bp-logo {
  width: 70px;
  height: 9px;
  border-radius: 4px;
  background: var(--text);
}

.bp-links {
  display: flex;
  gap: 6px;
}

.bp-links span {
  width: 34px;
  height: 7px;
  border-radius: 4px;
  background: #cbd5e1;
}

.bp-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.bp-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-line {
  height: 11px;
  border-radius: 4px;
  background: var(--text);
}

.bp-line.w1 {
  width: 85%;
}

.bp-line.w2 {
  width: 60%;
  background: #94a3b8;
  height: 8px;
}

.bp-btn {
  margin-top: 6px;
  width: 90px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary);
}

.bp-art {
  width: 100px;
  height: 70px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.bp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bp-card {
  height: 52px;
  border-radius: 8px;
  background: #eef2f7;
  border: 1px solid #e2e8f0;
}


/* =========================================================
   TECH STACK STRIP
========================================================= */

.stack-strip {
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}

.stack-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: stackScroll 26s linear infinite;
}

.stack-item {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: color 0.25s ease;
}

.stack-item:hover {
  color: var(--on-bg);
}

.stack-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.stack-item:hover .stack-logo {
  transform: scale(1.15);
}

.stack-logo-custom {
  transition: transform 0.25s ease;
}

.stack-item:hover .stack-logo-custom {
  transform: scale(1.15);
}

@keyframes stackScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   PROCESS SECTION
========================================================= */

.process-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  padding: 0 1.6rem;
  border-left: 1px solid var(--border);
}

.process-step:first-child {
  border-left: 0;
  padding-left: 0;
}

.process-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
}

.process-step h3 {
  margin: 0 0 0.6rem;
  color: var(--on-bg);
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.87rem;
  line-height: 1.7;
}


/* =========================================================
   WHY-US STATS ROW
========================================================= */

.why-stats {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin: 0 0 1.8rem;
}

.why-stats div {
  display: flex;
  flex-direction: column;
}

.why-stats strong {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.why-stats span {
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--muted);
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.proof-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.proof-card {
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.proof-quote {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 1.6rem;
  line-height: 1;
}

.proof-card p {
  margin: 0 0 1.4rem;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.75;
}

.proof-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proof-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
}

.proof-person strong {
  display: block;
  font-size: 0.86rem;
}

.proof-person span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}


.home-cta {
  position: relative;
  padding: 8rem 0;
  background-image:
    linear-gradient(180deg, rgba(7, 20, 38, 0.88) 0%, rgba(7, 20, 38, 0.95) 100%),
    url("/assets/icons/home-cta-bg.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.home-cta-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 30%, #a5c3f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-cta-content p {
  color: var(--muted-light);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   LANDING ADDITIONS — RESPONSIVE
========================================================= */

@media (max-width: 950px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.2rem;
  }

  .process-step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

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

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

  .process-step {
    border-left: 0;
    padding-left: 0;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
  }

  .process-step:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .why-stats {
    gap: 1.4rem;
  }

  .home-cta-card {
    padding: 3rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-track {
    animation: none;
  }

  .build-preview {
    transition: none;
  }
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding:
    0.78rem 1.2rem;

  border-radius:
    var(--radius-sm);

  border: 0;

  text-decoration: none;

  font-weight: 600;

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

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

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

  background:
    linear-gradient(90deg,
      var(--primary),
      #0b67e0);

  box-shadow:
    0 8px 24px rgba(15, 82, 186, 0.25);
}

.btn.primary:hover {
  box-shadow:
    0 12px 30px rgba(15, 82, 186, 0.38);
}

.btn.outline {
  color: var(--on-bg);

  background: transparent;

  border:
    1px solid rgba(255, 255, 255, 0.12);
}

.btn.outline:hover {
  background:
    rgba(255, 255, 255, 0.06);

  border-color:
    rgba(255, 255, 255, 0.22);
}

.btn.ghost {
  color: var(--on-bg);

  background: transparent;

  border:
    1px dashed rgba(255, 255, 255, 0.1);
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 1.5rem;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 700px;

  margin:
    0 auto 3rem;

  text-align: center;
}

.section-header h2 {
  margin:
    0 0 0.8rem;

  font-size:
    clamp(2rem, 4vw, 3rem);

  line-height: 1.1;

  letter-spacing: -0.035em;

  color: var(--on-bg);
}

.section-header p {
  margin: 0;

  color: var(--muted-light);

  font-size: 1rem;
}


/* Light section */

.section.light {
  background:
    #f8fafc;

  color:
    var(--text);
}

.section.light h2,
.section.light h3 {
  color:
    var(--text);
}

.section.light p {
  color:
    #64748b;
}


/* =========================================================
   GRID
========================================================= */

.grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit,
      minmax(220px, 1fr));

  gap: 1.4rem;
}


/* =========================================================
   SERVICES
========================================================= */

.services-preview article {
  position: relative;

  padding: 1.6rem;

  background:
    var(--card);

  color:
    var(--text);

  border:
    1px solid rgba(15, 82, 186, 0.06);

  border-radius:
    var(--radius-md);

  box-shadow:
    0 6px 18px rgba(16, 24, 40, 0.05);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.services-preview article:hover {
  transform:
    translateY(-6px);

  box-shadow:
    0 18px 40px rgba(16, 24, 40, 0.1);
}

.services-preview article h3 {
  margin:
    0 0 0.7rem;

  color:
    var(--text);

  font-size: 1.15rem;
}

.services-preview article p {
  margin: 0;

  color:
    #64748b;
}


/* =========================================================
   CARD
========================================================= */

.card {
  background:
    var(--card);

  color:
    var(--text);

  padding:
    1.5rem;

  border-radius:
    var(--radius-md);

  box-shadow:
    var(--shadow-sm);
}

.card h3 {
  margin-top: 0;
}

.card-cta {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 1rem;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit,
      minmax(280px, 1fr));

  gap: 1.5rem;
}

.portfolio-card {
  overflow: hidden;

  background:
    var(--card);

  border-radius:
    var(--radius-lg);

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

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform:
    translateY(-6px);

  box-shadow:
    var(--shadow-md);
}

.portfolio-card img {
  width: 100%;

  aspect-ratio: 16 / 10;

  object-fit: cover;
}

.portfolio-content {
  padding: 1.4rem;
}

.portfolio-content h3 {
  margin:
    0 0 0.5rem;

  color:
    var(--text);
}

.portfolio-content p {
  margin: 0;

  color:
    #64748b;
}


/* =========================================================
   FORMS
========================================================= */

.form {
  width: 100%;
}

.form label {
  display: block;

  margin-bottom:
    0.5rem;

  color:
    var(--text-light);

  font-weight: 500;
}

.form-group {
  margin-bottom:
    1.2rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;

  padding:
    0.85rem 1rem;

  color:
    var(--text);

  background:
    linear-gradient(180deg,
      #ffffff,
      #fbfdff);

  border:
    1px solid var(--border-light);

  border-radius:
    10px;

  outline: none;

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

.form textarea {
  min-height: 140px;

  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color:
    var(--primary);

  box-shadow:
    0 0 0 3px rgba(15, 82, 186, 0.12);
}


/* =========================================================
   FOOTER
========================================================= */
/* =========================================================
   PREMIUM FOOTER
========================================================= */

.site-footer {
  position: relative;

  margin-top: 5rem;

  padding: 5rem 0 1.5rem;

  background:
    radial-gradient(circle at 15% 20%,
      rgba(15, 82, 186, 0.14),
      transparent 30%),
    linear-gradient(180deg,
      #08182d 0%,
      #061221 100%);

  border-top:
    1px solid rgba(255, 255, 255, 0.07);

  color: var(--on-bg);

  overflow: hidden;
}


/* Subtle glow */

.site-footer::before {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  right: -120px;
  bottom: -150px;

  background:
    rgba(15, 82, 186, 0.16);

  filter:
    blur(100px);

  border-radius: 50%;

  pointer-events: none;
}


/* =========================================================
   FOOTER TOP
========================================================= */

.footer-top {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns:
    1.6fr 1fr 1.2fr 1.4fr;

  gap: 3rem;

  padding-bottom: 4rem;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;

  align-items: center;


  color:
    var(--on-bg);

  text-decoration: none;

  font-size: 1.25rem;

  font-weight: 700;
}

.footer-logo img {
  width: 250px;
  height: 70px;

  object-fit: cover;
}

.footer-brand>p {
  margin:
    1.2rem 0 1.5rem;

  color:
    var(--muted);

  font-size:
    0.94rem;

  line-height:
    1.75;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.footer-column h3 {
  margin:
    0 0 1.2rem;

  color:
    var(--white);

  font-size:
    1rem;

  font-weight:
    600;
}

.footer-column a {
  margin-bottom:
    0.7rem;

  color:
    var(--muted);

  text-decoration: none;

  font-size:
    0.92rem;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-column a:hover {
  color:
    var(--white);

  transform:
    translateX(3px);
}


/* =========================================================
   CONTACT COLUMN
========================================================= */

.footer-contact p {
  max-width:
    260px;

  margin:
    0 0 1rem;

  color:
    var(--muted);

  font-size:
    0.92rem;

  line-height:
    1.7;
}

.footer-email {
  margin-bottom:
    1.3rem !important;

  color:
    var(--on-bg) !important;

  font-weight:
    500;
}


/* =========================================================
   FOOTER CTA
========================================================= */

.footer-cta {
  display: inline-flex !important;

  align-items: center;

  justify-content: center;

  gap: 12px;

  padding:
    0.7rem 1.1rem;

  color:
    var(--white) !important;

  background:
    linear-gradient(135deg,
      var(--primary),
      var(--primary-light));

  border-radius:
    8px;

  box-shadow:
    0 8px 22px rgba(15, 82, 186, 0.22);

  font-weight:
    600;

  transform:
    none !important;

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

.footer-cta span {
  font-size:
    1.1rem;

  transition:
    transform 0.25s ease;
}

.footer-cta:hover {
  transform:
    translateY(-2px) !important;

  box-shadow:
    0 12px 28px rgba(15, 82, 186, 0.35);
}

.footer-cta:hover span {
  transform:
    translateX(3px);
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
  display: flex;

  align-items: center;

  gap: 8px;
}

.social-links a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 38px;
  height: 38px;

  padding: 0 10px;

  margin: 0;

  color:
    var(--muted);

  background:
    rgba(255, 255, 255, 0.04);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius:
    8px;

  font-size:
    0.72rem;

  text-decoration:
    none;

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

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

  background:
    var(--primary);

  border-color:
    var(--primary);

  transform:
    translateY(-2px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
  position: relative;

  z-index: 1;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1.5rem;

  padding-top:
    1.5rem;

  color:
    var(--muted);

  font-size:
    0.85rem;
}

.footer-legal {
  display: flex;

  align-items: center;

  gap: 1.5rem;
}

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

  text-decoration:
    none;

  transition:
    color 0.25s ease;
}

.footer-legal a:hover {
  color:
    var(--white);
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 950px) {

  .footer-top {
    grid-template-columns:
      1.5fr 1fr 1fr;

    gap:
      2.5rem;
  }

  .footer-contact {
    grid-column:
      span 3;
  }
}


@media (max-width: 700px) {

  .site-footer {
    padding:
      4rem 0 1.5rem;
  }

  .footer-top {
    grid-template-columns:
      1fr 1fr;

    gap:
      2.5rem 2rem;

    padding-bottom:
      3rem;
  }

  .footer-brand {
    grid-column:
      span 2;

    max-width:
      100%;
  }

  .footer-contact {
    grid-column:
      span 2;
  }

  .footer-bottom {
    flex-direction:
      column;

    align-items:
      flex-start;

    gap:
      1rem;
  }

  .footer-legal {
    flex-wrap:
      wrap;

    gap:
      1rem;
  }
}


@media (max-width: 480px) {

  .footer-top {
    grid-template-columns:
      1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column:
      span 1;
  }

  .footer-legal {
    flex-direction:
      column;

    align-items:
      flex-start;

    gap:
      0.6rem;
  }
}

/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
  display: flex;

  align-items: center;

  gap: 10px;
}

.social-links a {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  margin: 0;

  color:
    var(--on-bg);

  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius:
    50%;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.social-links a:hover {
  background:
    var(--primary);

  transform:
    translateY(-2px);
}


/* =========================================================
   UTILITY
========================================================= */

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

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 800px) {

  .site-header {
    padding:
      12px 0;
  }

  .header-inner {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;

    top:
      calc(100% + 12px);

    left: 0;
    right: 0;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 2px;

    padding:
      10px;

    background:
      rgba(10, 25, 47, 0.97);

    backdrop-filter:
      blur(20px);

    -webkit-backdrop-filter:
      blur(20px);

    border:
      1px solid rgba(230, 243, 255, 0.08);

    border-radius:
      14px;

    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.35);

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-10px);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .site-nav.show {
    opacity: 1;

    visibility: visible;

    transform:
      translateY(0);
  }

  .site-nav a {
    width: 100%;

    padding:
      13px 14px;

    margin: 0;

    border-radius:
      8px;
  }

  .site-nav a:hover {
    background:
      rgba(255, 255, 255, 0.07);
  }

  .site-nav a:not(:last-child)::after {
    display: none;
  }

  .site-nav a:last-child {
    justify-content: center;

    margin:
      7px 0 0;

    padding:
      13px;
  }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .hero {
    padding:
      5rem 0;
  }

  .hero .container {
    grid-template-columns:
      1fr;

    gap:
      2rem;
  }

  .hero-content {
    max-width:
      760px;
  }
}


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

@media (max-width: 600px) {

  .container {
    width:
      calc(100% - 28px);
  }

  .hero {
    padding:
      4rem 0;
  }

  .hero h1 {
    font-size:
      2.5rem;
  }

  .lead {
    font-size:
      1rem;
  }

  .hero-actions {
    align-items:
      stretch;

    flex-direction:
      column;
  }

  .hero-actions .btn {
    width:
      100%;
  }

  .section {
    padding:
      3.5rem 0;
  }

  .section-header {
    margin-bottom:
      2rem;
  }

  .section-header h2 {
    font-size:
      2rem;
  }

  .footer-inner {
    flex-direction:
      column;

    gap:
      2rem;
  }

  .brand-text {
    font-size:
      1.05rem;
  }

  .logo {
    width:
      40px;

    height:
      40px;
  }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

  .hero h1 {
    font-size:
      2.15rem;
  }

  .brand-text {
    display:
      none;
  }

  .site-nav {
    left:
      -2px;

    right:
      -2px;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior:
      auto;
  }

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }
}


/* =========================================================
   MODERN SERVICES SECTION
========================================================= */

.services-modern {
  position: relative;

  overflow: hidden;

  padding:
    7rem 0;

  background:
    linear-gradient(180deg,
      #0a192f 0%,
      #081a32 50%,
      #07172b 100%);
}


/* =========================================================
   ANIMATED BACKGROUND
========================================================= */

.services-bg {
  position: absolute;

  inset: 0;

  pointer-events: none;

  overflow: hidden;
}


/* Ambient glowing circles */

.glow {
  position: absolute;

  border-radius: 50%;

  filter:
    blur(80px);

  opacity: 0.45;

  animation:
    glowFloat 12s ease-in-out infinite alternate;
}

.glow-one {
  width: 350px;
  height: 350px;

  top: -150px;
  left: -100px;

  background:
    rgba(15, 82, 186, 0.35);

  animation-delay:
    0s;
}

.glow-two {
  width: 300px;
  height: 300px;

  top: 35%;
  right: -130px;

  background:
    rgba(40, 120, 232, 0.2);

  animation-delay:
    -4s;
}

.glow-three {
  width: 260px;
  height: 260px;

  bottom: -120px;
  left: 40%;

  background:
    rgba(0, 180, 255, 0.13);

  animation-delay:
    -7s;
}


@keyframes glowFloat {

  0% {
    transform:
      translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform:
      translate3d(40px, -30px, 0) scale(1.12);
  }

  100% {
    transform:
      translate3d(-30px, 35px, 0) scale(0.95);
  }
}


/* =========================================================
   FLOATING DOTS
========================================================= */

.floating-dot {
  position: absolute;

  width: 5px;
  height: 5px;

  background:
    rgba(95, 170, 255, 0.8);

  border-radius: 50%;

  box-shadow:
    0 0 15px rgba(40, 120, 232, 0.8);

  animation:
    dotFloat 8s ease-in-out infinite;
}

.dot-one {
  top: 22%;
  left: 12%;

  animation-delay:
    -2s;
}

.dot-two {
  top: 65%;
  right: 16%;

  animation-delay:
    -5s;
}

.dot-three {
  top: 42%;
  left: 55%;

  animation-delay:
    -7s;
}


@keyframes dotFloat {

  0%,
  100% {
    transform:
      translateY(0);

    opacity:
      0.35;
  }

  50% {
    transform:
      translateY(-35px);

    opacity:
      1;
  }
}


/* =========================================================
   GRID BACKGROUND
========================================================= */

.grid-overlay {
  position: absolute;

  inset: 0;

  opacity: 0.28;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size:
    60px 60px;

  mask-image:
    linear-gradient(to bottom,
      transparent,
      black 20%,
      black 80%,
      transparent);
}


/* =========================================================
   CONTENT
========================================================= */

.services-content {
  position: relative;

  z-index: 2;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
  max-width:
    760px;

  margin:
    0 auto 4rem;

  text-align:
    center;
}

.section-label {
  display:
    inline-block;

  margin-bottom:
    1rem;

  color:
    var(--primary-light);

  font-size:
    0.73rem;

  font-weight:
    700;

  letter-spacing:
    0.18em;

  text-transform:
    uppercase;
}

.section-heading h2 {
  margin:
    0 0 1.2rem;

  color:
    var(--on-bg);

  font-size:
    clamp(2.3rem,
      5vw,
      4rem);

  line-height:
    1.05;

  letter-spacing:
    -0.045em;
}

.section-heading h2 span {
  display:
    block;

  color:
    var(--primary-light);
}

.section-heading p {
  max-width:
    650px;

  margin:
    0 auto;

  color:
    var(--muted-light);

  font-size:
    1.02rem;

  line-height:
    1.8;
}


/* =========================================================
   SERVICE GRID
========================================================= */

.services-grid-modern {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    1rem;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-modern-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 2rem;
  overflow: hidden;
  background: rgba(13, 33, 61, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.service-modern-card:hover {
  transform: translateY(-6px);
  border-color: rgba(40, 120, 232, 0.4);
  background: rgba(13, 33, 61, 0.65);
  box-shadow:
    0 25px 50px rgba(7, 20, 38, 0.5),
    0 0 30px rgba(40, 120, 232, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


/* Card glow */

.service-modern-card::before {
  content:
    "";

  position:
    absolute;

  width:
    220px;

  height:
    220px;

  top:
    -130px;

  right:
    -100px;

  background:
    rgba(15, 82, 186, 0.25);

  filter:
    blur(60px);

  border-radius:
    50%;

  opacity:
    0;

  transition:
    opacity 0.4s ease;
}


/* Bottom shine */

.service-modern-card::after {
  content:
    "";

  position:
    absolute;

  left:
    10%;

  right:
    10%;

  bottom:
    -80px;

  height:
    100px;

  background:
    rgba(40, 120, 232, 0.15);

  filter:
    blur(45px);

  border-radius:
    50%;

  opacity:
    0;

  transition:
    opacity 0.4s ease;
}


.service-modern-card:hover {
  transform:
    translateY(-12px);

  border-color:
    rgba(70, 145, 245, 0.35);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.28);
}

.service-modern-card:hover::before,
.service-modern-card:hover::after {
  opacity:
    1;
}

.service-modern-card:hover .service-icon-modern {
  transform:
    rotate(-5deg) scale(1.08);

  background:
    rgba(15, 82, 186, 0.22);
}


/* Featured card */

.featured-service {
  border-color:
    rgba(40, 120, 232, 0.22);

  background:
    linear-gradient(145deg,
      rgba(15, 82, 186, 0.15),
      rgba(255, 255, 255, 0.035));
}


/* =========================================================
   CARD TOP
========================================================= */

.service-card-top {
  position:
    relative;

  z-index:
    2;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  margin-bottom:
    2rem;
}


/* Icon */

.service-icon-modern {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  width:
    55px;

  height:
    55px;

  color:
    #ffffff;

  background:
    rgba(15, 82, 186, 0.25);

  border:
    1px solid rgba(15, 82, 186, 0.35);

  border-radius:
    18px;

  font-size:
    1.2rem;

  font-weight:
    700;

  box-shadow:
    inset 0 0 18px rgba(15, 82, 186, 0.18);

  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.service-icon-modern svg {
  width: 24px;
  height: 24px;
  color: currentColor;
}

.service-modern-card:hover .service-icon-modern {
  transform:
    rotate(-5deg) scale(1.08);

  background:
    rgba(15, 82, 186, 0.22);
}


/* Number */

.service-number {
  color:
    rgba(230, 243, 255, 0.22);

  font-size:
    0.75rem;

  font-weight:
    700;

  letter-spacing:
    0.12em;
}


/* =========================================================
   CARD TEXT
========================================================= */

.service-modern-card h2,
.service-modern-card h3 {
  position:
    relative;

  z-index:
    2;

  margin:
    0 0 0.9rem;

  color:
    var(--on-bg);

  font-size:
    1.18rem;

  line-height:
    1.3;

  letter-spacing:
    -0.02em;
}

.service-modern-card p {
  position:
    relative;

  z-index:
    2;

  margin:
    0;

  color:
    var(--muted-light);

  font-size:
    0.88rem;

  line-height:
    1.7;
}


/* =========================================================
   SERVICE TAGS
========================================================= */

.service-tags {
  position:
    relative;

  z-index:
    2;

  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    7px;

  margin-top:
    1.5rem;
}

.service-tags span {
  padding:
    5px 9px;

  color:
    rgba(230, 243, 255, 0.7);

  background:
    rgba(255, 255, 255, 0.045);

  border:
    1px solid rgba(255, 255, 255, 0.07);

  border-radius:
    6px;

  font-size:
    0.68rem;
}


/* =========================================================
   SERVICE ARROW
========================================================= */

.service-arrow {
  position:
    relative;

  z-index:
    2;

  display:
    inline-flex;

  align-items:
    center;

  gap:
    9px;

  margin-top:
    auto;

  padding-top:
    1.7rem;

  color:
    var(--on-bg);

  text-decoration:
    none;

  font-size:
    0.88rem;

  font-weight:
    600;
}

.service-arrow span {
  display:
    inline-flex;

  transition:
    transform 0.3s ease;
}

.service-arrow:hover span {
  transform:
    translate(4px, -4px);
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-modern {
  position:
    relative;

  overflow:
    hidden;

  padding:
    7rem 0;

  background:
    linear-gradient(180deg,
      rgba(10, 25, 47, 0.98),
      rgba(8, 20, 43, 0.98));

  color:
    var(--on-bg);
}

.why-modern::before {
  content:
    "";

  position:
    absolute;

  width:
    450px;

  height:
    450px;

  right:
    -200px;

  top:
    -200px;

  background:
    rgba(15, 82, 186, 0.2);

  filter:
    blur(90px);

  border-radius:
    50%;
}


/* =========================================================
   WHY GRID
========================================================= */

.why-modern-grid {
  position:
    relative;

  z-index:
    1;

  display:
    grid;

  grid-template-columns:
    0.9fr 1.1fr;

  align-items:
    center;

  gap:
    5rem;
}


/* =========================================================
   WHY CONTENT
========================================================= */

.why-modern-content {
  position:
    relative;

  z-index:
    1;

  max-width:
    560px;
}

.why-modern-content .section-label {
  color:
    var(--primary-light);
}

.why-modern-content h2 {
  margin:
    0 0 1.2rem;

  color:
    var(--on-bg);

  font-size:
    clamp(2.2rem,
      4vw,
      3.5rem);

  line-height:
    1.06;

  letter-spacing:
    -0.045em;
}

.why-modern-content h2 span {
  display:
    block;

  color:
    var(--primary);
}

.why-modern-content p {
  margin:
    0 0 1.8rem;

  color:
    var(--muted-light);

  font-size:
    1rem;

  line-height:
    1.8;
}


/* Button */

.why-button {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    9px;
}

.why-button span {
  transition:
    transform 0.25s ease;
}

.why-button:hover span {
  transform:
    translateX(4px);
}


/* =========================================================
   WHY FEATURES
========================================================= */

.why-modern-features {
  display:
    grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap:
    1rem;
}

.why-feature-modern {
  display:
    flex;

  align-items:
    flex-start;

  gap:
    1rem;

  padding:
    1.5rem;

  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid rgba(255, 255, 255, 0.12);

  border-radius:
    15px;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.18);

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

.why-feature-modern:hover {
  transform:
    translateY(-6px);

  border-color:
    rgba(15, 82, 186, 0.15);

  box-shadow:
    0 18px 35px rgba(16, 24, 40, 0.09);
}


/* Feature icon */

.why-feature-icon {
  flex-shrink:
    0;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  width:
    40px;

  height:
    40px;

  color:
    var(--white);

  background:
    rgba(15, 82, 186, 0.22);

  border-radius:
    12px;

  font-size:
    0.9rem;

  font-weight:
    700;
}

.why-feature-modern h3 {
  margin:
    0 0 0.45rem;

  color:
    var(--on-bg);

  font-size:
    0.98rem;
}

.why-feature-modern p {
  margin:
    0;

  color:
    var(--muted-light);

  font-size:
    0.84rem;

  line-height:
    1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

  .services-grid-modern {
    grid-template-columns:
      1fr 1fr;
  }

  .service-modern-card:last-child {
    grid-column:
      span 2;
  }

  .why-modern-grid {
    grid-template-columns:
      1fr;

    gap:
      3rem;
  }

  .why-modern-content {
    max-width:
      700px;
  }
}


@media (max-width: 650px) {

  .services-modern,
  .why-modern {
    padding:
      5rem 0;
  }

  .section-heading {
    margin-bottom:
      2.5rem;
  }

  .section-heading h2 {
    font-size:
      2.35rem;
  }

  .services-grid-modern {
    grid-template-columns:
      1fr;
  }

  .service-modern-card {
    min-height:
      380px;
  }

  .service-modern-card:last-child {
    grid-column:
      auto;
  }

  .why-modern-features {
    grid-template-columns:
      1fr;
  }

  .why-modern-content h2 {
    font-size:
      2.3rem;
  }

  .grid-overlay {
    background-size:
      40px 40px;
  }
}


@media (prefers-reduced-motion: reduce) {

  .glow,
  .floating-dot {
    animation:
      none;
  }

  .service-modern-card,
  .why-feature-modern {
    transition:
      none;
  }
}



/* =========================================================
   SERVICES PAGE — FINAL OVERRIDES
   Add this at the VERY END of styles.css
========================================================= */

/* Desktop: 4 service cards per row */
.services-grid-modern {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Service card */
.service-modern-card {
  min-height: 390px;
  padding: 1.7rem;
}

/* =========================================================
   FEATURED SERVICES
========================================================= */

.featured-service {
  background:
    linear-gradient(145deg,
      rgba(15, 82, 186, 0.19),
      rgba(255, 255, 255, 0.045));

  border-color:
    rgba(40, 120, 232, 0.28);
}


/* =========================================================
   TABLET — 3 COLUMNS
========================================================= */

@media (max-width: 1100px) {

  .services-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================
   SMALL TABLET — 2 COLUMNS
========================================================= */

@media (max-width: 850px) {

  .services-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-modern-card {
    min-height: 380px;
  }

}


/* =========================================================
   MOBILE — 1 COLUMN
========================================================= */

@media (max-width: 600px) {

  .services-grid-modern {
    grid-template-columns: 1fr;
  }

  .service-modern-card {
    min-height: 350px;
    padding: 1.5rem;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 2.5rem;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

  .service-modern-card {
    min-height: 330px;
    padding: 1.25rem;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 2.2rem;
  }

}


/* =========================================================
   MODERN CONTACT PAGE
========================================================= */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background:
    radial-gradient(circle at 85% 10%,
      rgba(15, 82, 186, 0.18),
      transparent 28%),
    linear-gradient(180deg,
      #0a192f 0%,
      #081a32 100%);
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -220px;
  bottom: -200px;
  background: rgba(40, 120, 232, 0.15);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}


/* =========================================================
   HEADER
========================================================= */

.contact-header {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.contact-header .section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-header h1 {
  margin: 0 0 1.2rem;
  color: var(--on-bg);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-header h1 span {
  color: var(--primary-light);
}

.contact-header p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted-light);
  font-size: 1rem;
  line-height: 1.8;
}


/* =========================================================
   CONTACT GRID
========================================================= */

.contact-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 2rem;
  align-items: stretch;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-card {
  padding: 2.2rem;

  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.035));

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.22);
}

.contact-card-header {
  margin-bottom: 2rem;
}

.contact-card-header h2 {
  margin: 0 0 0.5rem;
  color: var(--on-bg);
  font-size: 1.5rem;
}

.contact-card-header p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.9rem;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form label {
  display: block;
  margin-bottom: 0.5rem;

  color: var(--on-bg);
  font-size: 0.85rem;
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;

  color: var(--text);
  background: rgba(255, 255, 255, 0.97);

  border: 1px solid transparent;
  border-radius: 10px;

  outline: none;

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

.form input {
  height: 50px;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #94a3b8;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--primary-light);

  box-shadow:
    0 0 0 4px rgba(40, 120, 232, 0.13);

  transform: translateY(-1px);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {
  width: 100%;
  min-height: 52px;

  margin-top: 0.5rem;

  font-size: 0.95rem;

  border-radius: 10px;
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.contact-submit:hover .btn-arrow {
  transform: translateX(4px);
}


/* =========================================================
   FORM STATUS
========================================================= */

.form-status {
  min-height: 24px;
  margin-top: 1rem;

  font-size: 0.85rem;
  text-align: center;
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #fb7185;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;

  padding: 1.3rem;

  background:
    rgba(255, 255, 255, 0.055);

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);

  background:
    rgba(255, 255, 255, 0.08);

  border-color:
    rgba(40, 120, 232, 0.3);
}


/* =========================================================
   CONTACT ICON
========================================================= */

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 46px;
  height: 46px;

  color: var(--white);

  background:
    rgba(15, 82, 186, 0.2);

  border:
    1px solid rgba(40, 120, 232, 0.25);

  border-radius: 12px;

  font-size: 1.1rem;
}


/* =========================================================
   CONTACT TEXT
========================================================= */

.contact-info-card h3 {
  margin: 0 0 0.25rem;

  color: var(--on-bg);

  font-size: 0.9rem;
}

.contact-info-card p,
.contact-info-card a {
  margin: 0;

  color: var(--muted-light);

  font-size: 0.85rem;
  line-height: 1.5;

  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--primary-light);
}


/* =========================================================
   AVAILABILITY
========================================================= */

.contact-availability {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;

  margin-top: auto;
  padding: 1.2rem;

  background:
    linear-gradient(135deg,
      rgba(15, 82, 186, 0.14),
      rgba(40, 120, 232, 0.04));

  border:
    1px solid rgba(40, 120, 232, 0.2);

  border-radius: 15px;
}

.availability-dot {
  width: 9px;
  height: 9px;

  margin-top: 5px;

  flex-shrink: 0;

  background: #22c55e;

  border-radius: 50%;

  box-shadow:
    0 0 0 5px rgba(34, 197, 94, 0.1),
    0 0 15px rgba(34, 197, 94, 0.5);
}

.contact-availability strong {
  display: block;

  margin-bottom: 0.25rem;

  color: var(--on-bg);

  font-size: 0.85rem;
}

.contact-availability p {
  margin: 0;

  color: var(--muted);

  font-size: 0.78rem;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

  .contact-section {
    padding: 5rem 0;
  }

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

  .contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact-availability {
    grid-column: span 2;
  }
}


@media (max-width: 600px) {

  .contact-section {
    padding: 4rem 0;
  }

  .contact-header {
    margin-bottom: 2.5rem;
  }

  .contact-header h1 {
    font-size: 2.5rem;
  }

  .contact-card {
    padding: 1.4rem;
    border-radius: 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-availability {
    grid-column: auto;
  }
}


/* =========================================================
   PORTFOLIO PAGE
========================================================= */


/* =========================================================
   PORTFOLIO HERO
========================================================= */
/* =========================================================
   TRIFELIX — NEW PORTFOLIO
========================================================= */

.portfolio-page-main {
  overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

.portfolio-new-hero {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(circle at 75% 30%,
      rgba(40, 120, 232, 0.16),
      transparent 35%),
    var(--bg);
}


.portfolio-new-grid-bg {
  position: absolute;
  inset: 0;

  opacity: 0.35;

  background-image:
    linear-gradient(rgba(40, 120, 232, 0.06) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(40, 120, 232, 0.06) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    linear-gradient(to bottom,
      black,
      transparent);
}


.portfolio-new-orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(1px);

  pointer-events: none;
}


.orb-1 {
  width: 420px;
  height: 420px;

  top: -180px;
  right: -100px;

  background:
    radial-gradient(circle,
      rgba(40, 120, 232, 0.18),
      transparent 70%);

  animation: portfolioOrbFloat 8s ease-in-out infinite;
}


.orb-2 {
  width: 280px;
  height: 280px;

  bottom: -130px;
  left: -100px;

  background:
    radial-gradient(circle,
      rgba(15, 82, 186, 0.16),
      transparent 70%);

  animation: portfolioOrbFloat 10s ease-in-out infinite reverse;
}


.portfolio-new-hero-inner {
  position: relative;

  z-index: 2;

  max-width: 850px;

  padding: 120px 0 90px;
}


.portfolio-new-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 25px;

  color: var(--primary-light);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.18em;
}


.portfolio-new-eyebrow span {
  width: 30px;
  height: 1px;

  background: var(--primary-light);
}


.portfolio-new-hero h1 {
  max-width: 900px;

  margin: 0;

  color: var(--white);

  font-size: clamp(3.4rem, 7vw, 6.8rem);

  line-height: 0.98;

  letter-spacing: -0.055em;

  font-weight: 900;
}


.portfolio-new-hero h1 span {
  display: block;

  color: transparent;

  background:
    linear-gradient(90deg,
      var(--primary-light),
      #72b4ff);

  background-clip: text;
  -webkit-background-clip: text;
}


.portfolio-new-hero p {
  max-width: 650px;

  margin: 30px 0 0;

  color: var(--muted-light);

  font-size: 17px;

  line-height: 1.8;
}


.portfolio-hero-stats {
  display: flex;

  gap: 55px;

  margin-top: 55px;
}


.portfolio-hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.portfolio-hero-stats strong {
  color: var(--white);

  font-size: 28px;
}


.portfolio-hero-stats span {
  color: var(--muted);

  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}


/* =========================================================
   WORK SECTION
========================================================= */

.portfolio-work-section {
  padding: 110px 0;

  background:
    linear-gradient(180deg,
      var(--bg),
      #08182c);
}


.portfolio-work-header {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 45px;
}


.portfolio-mini-label {
  color: var(--primary-light);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.18em;
}


.portfolio-work-header h2 {
  max-width: 650px;

  margin: 12px 0 0;

  color: var(--white);

  font-size: clamp(2.5rem, 5vw, 4.5rem);

  line-height: 1;

  letter-spacing: -0.05em;
}


.portfolio-work-header h2 span {
  color: var(--muted);
}


.portfolio-result-count {
  display: flex;
  align-items: baseline;
  gap: 7px;

  white-space: nowrap;

  color: var(--muted);
}


.portfolio-result-count strong {
  color: var(--white);

  font-size: 35px;
}


/* =========================================================
   CONTROLS
========================================================= */

.portfolio-controls {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 45px;

  padding: 8px;

  border: 1px solid var(--border);

  border-radius: 16px;

  background:
    rgba(16, 40, 68, 0.55);

  backdrop-filter: blur(15px);
}


.portfolio-filter-buttons {
  display: flex;

  gap: 5px;

  overflow-x: auto;

  scrollbar-width: none;
}


.portfolio-filter-buttons::-webkit-scrollbar {
  display: none;
}


.portfolio-filter {
  border: 0;

  padding: 12px 20px;

  border-radius: 10px;

  background: transparent;

  color: var(--muted);

  cursor: pointer;

  font: inherit;

  font-size: 13px;
  font-weight: 700;

  white-space: nowrap;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}


.portfolio-filter:hover {
  color: var(--white);
}


.portfolio-filter.active {
  color: var(--white);

  background:
    linear-gradient(135deg,
      var(--primary),
      var(--primary-light));

  box-shadow:
    0 8px 20px rgba(40, 120, 232, 0.22);
}


.portfolio-search {
  position: relative;

  flex: 0 0 230px;
}


.portfolio-search svg {
  position: absolute;

  left: 15px;
  top: 50%;

  width: 17px;
  height: 17px;

  transform: translateY(-50%);

  stroke: var(--muted);

  fill: none;

  stroke-width: 1.8;
}


.portfolio-search input {
  width: 100%;

  padding: 12px 15px 12px 43px;

  border: 1px solid var(--border);

  border-radius: 10px;

  outline: none;

  background:
    rgba(10, 25, 47, 0.7);

  color: var(--white);

  font: inherit;

  font-size: 13px;
}


.portfolio-search input::placeholder {
  color: var(--muted);
}


.portfolio-search input:focus {
  border-color:
    rgba(40, 120, 232, 0.5);

  box-shadow:
    0 0 0 3px rgba(40, 120, 232, 0.08);
}


/* =========================================================
   PROJECT GRID
========================================================= */

.portfolio-projects {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;
}


.portfolio-project {
  position: relative;

  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border:
    1px solid rgba(230, 243, 255, 0.09);

  border-radius: 24px;

  background:
    linear-gradient(145deg,
      rgba(16, 40, 68, 0.9),
      rgba(7, 22, 42, 0.96));

  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;

  animation: portfolioProjectIn 0.5s ease both;
}


.portfolio-project:hover {
  transform: translateY(-8px);

  border-color:
    rgba(40, 120, 232, 0.35);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25);
}


.portfolio-project-featured {
  grid-column: span 2;

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;
}


.portfolio-project-wide {
  grid-column: span 2;

  display: grid;

  grid-template-columns: 0.9fr 1.1fr;
}


/* =========================================================
   PROJECT VISUAL
========================================================= */

.portfolio-project-visual {
  position: relative;

  min-height: 350px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    radial-gradient(circle at center,
      rgba(40, 120, 232, 0.15),
      transparent 65%);
}


.portfolio-project-featured .portfolio-project-visual {
  min-height: 470px;
}


.portfolio-project-wide .portfolio-project-visual {
  min-height: 400px;
}


.portfolio-project-visual::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(135deg,
      rgba(40, 120, 232, 0.07),
      transparent 50%);
}


.portfolio-project-visual img {
  position: relative;

  z-index: 2;

  width: 82%;
  height: 82%;

  object-fit: contain;

  filter:
    drop-shadow(0 25px 30px rgba(0, 0, 0, 0.3));

  transition:
    transform 0.5s cubic-bezier(.2, .8, .2, 1);
}


.portfolio-project:hover .portfolio-project-visual img {
  transform:
    scale(1.08) translateY(-5px);
}


.portfolio-project-number {
  position: absolute;

  top: 22px;
  left: 25px;

  z-index: 5;

  color: rgba(230, 243, 255, 0.35);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.1em;
}


.portfolio-project-type {
  position: absolute;

  right: 22px;
  top: 20px;

  z-index: 5;

  padding: 7px 11px;

  border: 1px solid rgba(40, 120, 232, 0.2);

  border-radius: 100px;

  background:
    rgba(10, 25, 47, 0.6);

  color: var(--muted-light);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.1em;
}


.portfolio-project-glow {
  position: absolute;

  width: 250px;
  height: 250px;

  border-radius: 50%;

  background:
    rgba(40, 120, 232, 0.1);

  filter: blur(60px);
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.portfolio-project-content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 35px;
}


.portfolio-project-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}


.portfolio-project-category {
  color: var(--primary-light);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.14em;
}


.portfolio-project-arrow {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid var(--border);

  border-radius: 50%;

  color: var(--muted);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}


.portfolio-project:hover .portfolio-project-arrow {
  color: var(--white);

  background: var(--primary);

  transform: rotate(45deg);
}


.portfolio-project h3 {
  margin: 25px 0 15px;

  color: var(--white);

  font-size: clamp(1.7rem, 3vw, 2.7rem);

  line-height: 1.05;

  letter-spacing: -0.04em;
}


.portfolio-project:not(.portfolio-project-featured) .portfolio-project:not(.portfolio-project-wide) h3 {
  font-size: 2rem;
}


.portfolio-project h3 span {
  display: block;

  color: var(--muted);
}


.portfolio-project p {
  max-width: 600px;

  margin: 0;

  color: var(--muted-light);

  font-size: 14px;

  line-height: 1.8;
}


/* =========================================================
   TECHNOLOGY
========================================================= */

.portfolio-tech {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 25px;
}


.portfolio-tech span {
  padding: 7px 10px;

  border:
    1px solid rgba(230, 243, 255, 0.08);

  border-radius: 7px;

  background:
    rgba(230, 243, 255, 0.035);

  color: var(--muted-light);

  font-size: 10px;
  font-weight: 700;
}


.portfolio-project-link {
  display: inline-flex;

  align-items: center;
  gap: 10px;

  width: fit-content;

  margin-top: auto;
  padding-top: 35px;

  color: var(--white);

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;
}


.portfolio-project-link span {
  color: var(--primary-light);

  transition:
    transform 0.25s ease;
}


.portfolio-project-link:hover span {
  transform: translateX(5px);
}


/* =========================================================
   FILTER STATES
========================================================= */

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


.portfolio-project.is-visible {
  animation:
    portfolioProjectIn 0.45s ease both;
}


@keyframes portfolioProjectIn {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes portfolioOrbFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -25px, 0);
  }

}


/* =========================================================
   EMPTY STATE
========================================================= */

.portfolio-empty {
  display: none;

  padding: 90px 20px;

  text-align: center;
}


.portfolio-empty.visible {
  display: block;
}


.portfolio-empty-icon {
  width: 60px;
  height: 60px;

  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid var(--border);

  border-radius: 50%;

  color: var(--muted);

  font-size: 25px;
}


.portfolio-empty h3 {
  margin: 0 0 8px;

  color: var(--white);

  font-size: 22px;
}


.portfolio-empty p {
  margin: 0 0 20px;

  color: var(--muted);
}


.portfolio-empty button {
  padding: 11px 18px;

  border: 0;

  border-radius: 9px;

  background: var(--primary);

  color: var(--white);

  cursor: pointer;

  font: inherit;

  font-weight: 700;
}


/* =========================================================
   FINAL CTA
========================================================= */

.portfolio-final-cta {
  padding: 20px 0 120px;

  background: #08182c;
}


.portfolio-final-card {
  position: relative;

  overflow: hidden;

  padding: 85px 50px;

  text-align: center;

  border:
    1px solid rgba(40, 120, 232, 0.22);

  border-radius: 28px;

  background:
    radial-gradient(circle at 50% 0%,
      rgba(40, 120, 232, 0.17),
      transparent 55%),
    rgba(16, 40, 68, 0.7);
}


.portfolio-final-card>span {
  color: var(--primary-light);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.18em;
}


.portfolio-final-card h2 {
  max-width: 750px;

  margin: 20px auto;

  color: var(--white);

  font-size: clamp(2.4rem, 5vw, 4.5rem);

  line-height: 1;

  letter-spacing: -0.05em;
}


.portfolio-final-card h2 strong {
  display: block;

  color: var(--primary-light);
}


.portfolio-final-card p {
  max-width: 600px;

  margin: 0 auto 30px;

  color: var(--muted-light);

  line-height: 1.8;
}


.portfolio-final-card a {
  display: inline-flex;

  align-items: center;
  gap: 12px;

  padding: 14px 22px;

  border-radius: 10px;

  background:
    linear-gradient(135deg,
      var(--primary),
      var(--primary-light));

  color: var(--white);

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;

  box-shadow:
    0 10px 30px rgba(40, 120, 232, 0.2);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  .portfolio-project-featured,
  .portfolio-project-wide {
    grid-column: span 2;

    grid-template-columns: 1fr;
  }

  .portfolio-project-featured .portfolio-project-visual,
  .portfolio-project-wide .portfolio-project-visual {
    min-height: 350px;
  }

}


@media (max-width: 750px) {

  .portfolio-new-hero {
    min-height: auto;
  }

  .portfolio-new-hero-inner {
    padding: 100px 0 70px;
  }

  .portfolio-new-hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .portfolio-hero-stats {
    gap: 30px;
  }

  .portfolio-work-section {
    padding: 75px 0;
  }

  .portfolio-work-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-search {
    flex: auto;
    width: 100%;
  }

  .portfolio-projects {
    grid-template-columns: 1fr;
  }

  .portfolio-project,
  .portfolio-project-featured,
  .portfolio-project-wide {
    grid-column: span 1;

    display: flex;
  }

  .portfolio-project-visual,
  .portfolio-project-featured .portfolio-project-visual,
  .portfolio-project-wide .portfolio-project-visual {
    min-height: 300px;
  }

  .portfolio-project-content {
    padding: 27px;
  }

}


@media (max-width: 480px) {

  .portfolio-new-hero-inner {
    padding-top: 85px;
  }

  .portfolio-new-hero p {
    font-size: 14px;
  }

  .portfolio-hero-stats {
    gap: 22px;
  }

  .portfolio-hero-stats strong {
    font-size: 23px;
  }

  .portfolio-hero-stats span {
    font-size: 9px;
  }

  .portfolio-project-visual,
  .portfolio-project-featured .portfolio-project-visual,
  .portfolio-project-wide .portfolio-project-visual {
    min-height: 260px;
  }

  .portfolio-project h3,
  .portfolio-project:not(.portfolio-project-featured) .portfolio-project:not(.portfolio-project-wide) h3 {
    font-size: 1.8rem;
  }

  .portfolio-final-card {
    padding: 60px 25px;
  }

}


/* =========================================================
   ABOUT US
========================================================= */


/* =========================================================
   HERO
========================================================= */

.about-hero-modern {
  position: relative;
  overflow: hidden;

  padding: 7rem 0 6rem;

  background:
    radial-gradient(circle at 85% 15%,
      rgba(40, 120, 232, 0.13),
      transparent 32%),
    linear-gradient(180deg,
      #0a192f 0%,
      #091a31 100%);
}

.about-hero-grid {
  position: absolute;
  inset: 0;

  opacity: 0.28;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size:
    55px 55px;

  mask-image:
    linear-gradient(to bottom,
      black,
      transparent);

  pointer-events: none;
}

.about-hero-glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(90px);

  pointer-events: none;
}

.about-glow-left {
  width: 300px;
  height: 300px;

  left: -160px;
  top: 10%;

  background:
    rgba(15, 82, 186, 0.18);
}

.about-glow-right {
  width: 350px;
  height: 350px;

  right: -180px;
  bottom: -180px;

  background:
    rgba(40, 120, 232, 0.12);
}


/* =========================================================
   HERO LAYOUT
========================================================= */

.about-hero-layout {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr) minmax(360px, 0.95fr);

  align-items: center;

  gap: 5rem;
}

.about-hero-content {
  max-width: 700px;
}

.about-hero-content h1 {
  margin: 1rem 0 1.4rem;

  color: var(--on-bg);

  font-size:
    clamp(2.8rem,
      5.2vw,
      4.7rem);

  line-height: 1.02;

  letter-spacing: -0.05em;
}

.about-hero-content h1 span {
  display: block;

  color: var(--primary-light);
}

.about-hero-content>p {
  max-width: 650px;

  margin: 0;

  color: var(--muted-light);

  font-size: 1.05rem;

  line-height: 1.85;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.about-hero-actions {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 2rem;
}

.about-hero-actions .btn {
  display: inline-flex;

  align-items: center;

  gap: 9px;
}


/* =========================================================
   SYSTEM VISUAL
========================================================= */

.about-hero-visual {
  display: flex;

  align-items: center;
  justify-content: flex-end;
}

.about-system-card {
  width: 100%;

  max-width: 480px;

  overflow: hidden;

  background:
    rgba(8, 22, 45, 0.88);

  border:
    1px solid rgba(255, 255, 255, 0.09);

  border-radius: 22px;

  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.3);

  backdrop-filter:
    blur(20px);

  -webkit-backdrop-filter:
    blur(20px);
}

.about-system-header {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 13px 17px;

  color: var(--muted);

  background:
    rgba(255, 255, 255, 0.035);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);

  font-family:
    var(--mono, monospace);

  font-size: 0.68rem;
}

.about-system-dots {
  display: flex;

  gap: 6px;
}

.about-system-dots span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.2);
}

.about-system-dots span:nth-child(1) {
  background: #ff6b5f;
}

.about-system-dots span:nth-child(2) {
  background: #ffc34d;
}

.about-system-dots span:nth-child(3) {
  background: #4ed17a;
}

.about-system-body {
  padding: 1.6rem;
}

.system-intro {
  display: flex;

  flex-direction: column;

  gap: 6px;

  padding-bottom: 1.5rem;

  border-bottom:
    1px solid var(--border);
}

.system-command {
  color: var(--primary-light);

  font-family:
    var(--mono, monospace);

  font-size: 0.72rem;
}

.system-intro strong {
  color: var(--on-bg);

  font-size: 1.25rem;

  letter-spacing: -0.02em;
}

.system-intro small {
  color: var(--muted);

  font-size: 0.76rem;
}


/* =========================================================
   SYSTEM FLOW
========================================================= */

.system-flow {
  display: flex;

  flex-direction: column;

  padding: 1.4rem 0;
}

.system-flow-item {
  display: flex;

  align-items: center;

  gap: 13px;
}

.flow-number {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  color: var(--primary-light);

  background:
    rgba(40, 120, 232, 0.09);

  border:
    1px solid rgba(40, 120, 232, 0.2);

  border-radius: 9px;

  font-family:
    var(--mono, monospace);

  font-size: 0.65rem;
}

.system-flow-item strong {
  display: block;

  color: var(--on-bg);

  font-size: 0.82rem;
}

.system-flow-item small {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 0.68rem;
}

.system-flow-line {
  width: 1px;

  height: 18px;

  margin-left: 16px;

  background:
    rgba(40, 120, 232, 0.25);
}


/* =========================================================
   SYSTEM STATUS
========================================================= */

.system-status {
  display: flex;

  align-items: center;

  gap: 8px;

  padding-top: 1rem;

  color: var(--muted);

  border-top:
    1px solid var(--border);

  font-family:
    var(--mono, monospace);

  font-size: 0.65rem;
}

.system-status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background:
    #43d17a;

  box-shadow:
    0 0 12px rgba(67, 209, 122, 0.5);
}


/* =========================================================
   WHO WE ARE
========================================================= */

.about-who {
  padding: 7rem 0;

  background:
    var(--bg);
}

.about-who-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr) minmax(360px, 0.85fr);

  gap: 5rem;

  align-items: center;
}

.about-who-content {
  max-width: 650px;
}

.about-who-content h2 {
  margin: 1rem 0 1.3rem;

  color: var(--on-bg);

  font-size:
    clamp(2.2rem,
      4vw,
      3.4rem);

  line-height: 1.08;

  letter-spacing: -0.04em;
}

.about-who-content h2 span {
  color: var(--primary-light);
}

.about-who-content p {
  margin: 0 0 1rem;

  color: var(--muted-light);

  font-size: 0.96rem;

  line-height: 1.8;
}


/* =========================================================
   INLINE LINK
========================================================= */

.about-inline-link {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-top: 1rem;

  color: var(--on-bg);

  text-decoration: none;

  font-size: 0.86rem;

  font-weight: 600;

  transition:
    color 0.25s ease;
}

.about-inline-link span {
  transition:
    transform 0.25s ease;
}

.about-inline-link:hover {
  color: var(--primary-light);
}

.about-inline-link:hover span {
  transform: translateX(5px);
}


/* =========================================================
   PROCESS
========================================================= */

.about-process {
  position: relative;

  display: flex;

  flex-direction: column;

  border:
    1px solid var(--border);

  border-radius: 20px;

  overflow: hidden;

  background:
    rgba(255, 255, 255, 0.025);
}

.about-process::before {
  content: "";

  position: absolute;

  left: 34px;

  top: 40px;

  bottom: 40px;

  width: 1px;

  background:
    linear-gradient(to bottom,
      var(--primary-light),
      rgba(40, 120, 232, 0.08));
}

.process-item {
  position: relative;

  display: grid;

  grid-template-columns: 68px 1fr;

  gap: 1rem;

  padding: 1.5rem;

  border-bottom:
    1px solid var(--border);
}

.process-item:last-child {
  border-bottom: 0;
}

.process-index {
  position: relative;
  z-index: 1;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  color: var(--primary-light);

  background:
    var(--bg);

  border:
    1px solid rgba(40, 120, 232, 0.28);

  border-radius: 10px;

  font-family:
    var(--mono, monospace);

  font-size: 0.66rem;
}

.process-content h3 {
  margin: 0 0 0.4rem;

  color: var(--on-bg);

  font-size: 1rem;
}

.process-content p {
  margin: 0;

  color: var(--muted);

  font-size: 0.82rem;

  line-height: 1.65;
}

.process-item.active {
  background:
    linear-gradient(90deg,
      rgba(15, 82, 186, 0.12),
      transparent);
}


/* =========================================================
   MISSION
========================================================= */

.about-mission-modern {
  padding: 1rem 0 7rem;

  background:
    var(--bg);
}

.mission-modern-card {
  position: relative;

  display: grid;

  grid-template-columns:
    1.1fr 0.9fr;

  align-items: center;

  min-height: 470px;

  overflow: hidden;

  padding: 3.5rem;

  background:
    radial-gradient(circle at 85% 50%,
      rgba(40, 120, 232, 0.16),
      transparent 38%),
    linear-gradient(145deg,
      rgba(15, 82, 186, 0.17),
      rgba(255, 255, 255, 0.035));

  border:
    1px solid rgba(40, 120, 232, 0.25);

  border-radius: 28px;
}

.mission-modern-content {
  position: relative;
  z-index: 2;

  max-width: 650px;
}

.mission-modern-content h2 {
  margin: 1rem 0 1.3rem;

  color: var(--on-bg);

  font-size:
    clamp(2.3rem,
      4vw,
      3.6rem);

  line-height: 1.05;

  letter-spacing: -0.045em;
}

.mission-modern-content h2 span {
  color: var(--primary-light);
}

.mission-modern-content p {
  max-width: 600px;

  margin: 0 0 1rem;

  color: var(--muted-light);

  font-size: 0.94rem;

  line-height: 1.8;
}


/* =========================================================
   MISSION VISUAL
========================================================= */

.mission-visual-modern {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 370px;
}

.mission-ring {
  position: absolute;

  border:
    1px solid rgba(40, 120, 232, 0.2);

  border-radius: 50%;
}

.ring-one {
  width: 290px;
  height: 290px;

  animation:
    missionRotate 18s linear infinite;
}

.ring-two {
  width: 210px;
  height: 210px;

  border-color:
    rgba(40, 120, 232, 0.32);

  animation:
    missionRotateReverse 14s linear infinite;
}

.ring-three {
  width: 130px;
  height: 130px;

  border-color:
    rgba(40, 120, 232, 0.45);
}

.ring-one::before,
.ring-two::before {
  content: "";

  position: absolute;

  width: 7px;
  height: 7px;

  top: 10%;

  left: 50%;

  border-radius: 50%;

  background:
    var(--primary-light);

  box-shadow:
    0 0 15px rgba(40, 120, 232, 0.8);
}

.ring-two::before {
  top: auto;

  bottom: 5%;

  left: 25%;
}

.mission-image-wrapper {
  position: absolute;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(40, 120, 232, 0.12) 0%, transparent 70%);
  z-index: 1;
}

.mission-img-3d {
  width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {

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

  50% {
    transform: translateY(-8px);
  }
}

.value-card-image {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.mission-core {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  width: 110px;
  height: 110px;

  border-radius: 50%;

  background:
    linear-gradient(145deg,
      var(--primary),
      var(--primary-light));

  box-shadow:
    0 0 70px rgba(40, 120, 232, 0.3);
}

.mission-core span {
  color: rgba(255, 255, 255, 0.7);

  font-family:
    var(--mono, monospace);

  font-size: 0.58rem;

  letter-spacing: 0.12em;
}

.mission-core strong {
  margin: 3px 0;

  color: #fff;

  font-size: 1rem;

  letter-spacing: -0.02em;
}

.mission-core small {
  color: rgba(255, 255, 255, 0.65);

  font-size: 0.48rem;

  text-align: center;
}

@keyframes missionRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes missionRotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}


/* =========================================================
   VALUES
========================================================= */

.about-values-modern {
  padding: 7rem 0;

  background:
    linear-gradient(180deg,
      var(--bg-secondary),
      var(--bg));
}

.about-section-heading {
  max-width: 650px;

  margin-bottom: 3rem;
}

.about-section-heading h2 {
  margin: 0.9rem 0 0.8rem;

  color: var(--on-bg);

  font-size:
    clamp(2.2rem,
      4vw,
      3.3rem);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.about-section-heading h2 span {
  color: var(--primary-light);
}

.about-section-heading p {
  margin: 0;

  color: var(--muted);

  font-size: 0.92rem;

  line-height: 1.7;
}

.values-modern-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 1rem;
}

.value-modern-card {
  position: relative;

  min-height: 280px;

  padding: 1.6rem;

  overflow: hidden;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid var(--border);

  border-radius: 18px;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.value-modern-card::after {
  content: "";

  position: absolute;

  width: 120px;
  height: 120px;

  right: -65px;
  bottom: -65px;

  border-radius: 50%;

  background:
    rgba(40, 120, 232, 0.09);

  filter: blur(25px);
}

.value-modern-card:hover {
  transform: translateY(-6px);

  border-color:
    rgba(40, 120, 232, 0.3);

  background:
    rgba(255, 255, 255, 0.055);
}

.value-card-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 2.3rem;
}

.value-number {
  color: var(--primary-light);

  font-family:
    var(--mono, monospace);

  font-size: 0.67rem;

  letter-spacing: 0.1em;
}

.value-symbol {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  color: var(--primary-light);

  background:
    rgba(40, 120, 232, 0.08);

  border:
    1px solid rgba(40, 120, 232, 0.2);

  border-radius: 11px;

  font-size: 1rem;
}

.value-modern-card h3 {
  margin: 0 0 0.7rem;

  color: var(--on-bg);

  font-size: 1.08rem;
}

.value-modern-card p {
  margin: 0;

  color: var(--muted);

  font-size: 0.82rem;

  line-height: 1.7;
}


/* =========================================================
   CAPABILITIES
========================================================= */

.about-capabilities-modern {
  padding: 7rem 0;

  background:
    var(--bg);
}

.capabilities-modern-grid {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 5rem;

  align-items: start;
}

.capabilities-modern-intro {
  position: sticky;

  top: 100px;
}

.capabilities-modern-intro h2 {
  margin: 1rem 0 1.2rem;

  color: var(--on-bg);

  font-size:
    clamp(2.2rem,
      4vw,
      3.3rem);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.capabilities-modern-intro h2 span {
  color: var(--primary-light);
}

.capabilities-modern-intro p {
  max-width: 480px;

  margin: 0 0 1.8rem;

  color: var(--muted-light);

  font-size: 0.92rem;

  line-height: 1.75;
}


/* =========================================================
   CAPABILITY LIST
========================================================= */

.capability-modern-list {
  border-top:
    1px solid var(--border);
}

.capability-modern-item {
  display: grid;

  grid-template-columns:
    48px 1fr 30px;

  gap: 1.3rem;

  align-items: center;

  padding: 1.5rem 0;

  border-bottom:
    1px solid var(--border);

  transition:
    padding 0.3s ease,
    border-color 0.3s ease;
}

.capability-modern-item:hover {
  padding-left: 10px;

  border-color:
    rgba(40, 120, 232, 0.35);
}

.capability-modern-item>span {
  color: var(--primary-light);

  font-family:
    var(--mono, monospace);

  font-size: 0.66rem;
}

.capability-modern-item h3 {
  margin: 0 0 0.35rem;

  color: var(--on-bg);

  font-size: 1rem;
}

.capability-modern-item p {
  max-width: 560px;

  margin: 0;

  color: var(--muted);

  font-size: 0.78rem;

  line-height: 1.6;
}

.capability-modern-item>strong {
  color: var(--muted);

  font-size: 1.1rem;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.capability-modern-item:hover>strong {
  color: var(--primary-light);

  transform: translateX(4px);
}


/* =========================================================
   FINAL CTA
========================================================= */

.about-final-cta {
  padding: 1rem 0 7rem;

  background:
    var(--bg);
}

.about-final-card {
  position: relative;

  overflow: hidden;

  padding: 4rem 2rem;

  text-align: center;

  background:
    radial-gradient(circle at 50% 0%,
      rgba(40, 120, 232, 0.18),
      transparent 45%),
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(40, 120, 232, 0.2);

  border-radius: 24px;
}

.about-final-card h2 {
  max-width: 700px;

  margin: 0.9rem auto 1rem;

  color: var(--on-bg);

  font-size:
    clamp(2.2rem,
      4vw,
      3.5rem);

  line-height: 1.05;

  letter-spacing: -0.045em;
}

.about-final-card h2 span {
  color: var(--primary-light);
}

.about-final-card p {
  max-width: 620px;

  margin: 0 auto 1.8rem;

  color: var(--muted-light);

  font-size: 0.92rem;

  line-height: 1.75;
}

.about-final-card .btn {
  display: inline-flex;

  align-items: center;

  gap: 9px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .about-hero-layout {
    grid-template-columns:
      1fr 0.85fr;

    gap: 3rem;
  }

  .about-who-grid {
    grid-template-columns: 1fr 1fr;

    gap: 3rem;
  }

  .values-modern-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .capabilities-modern-grid {
    gap: 3rem;
  }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 850px) {

  .about-hero-modern {
    padding: 5.5rem 0 5rem;
  }

  .about-hero-layout {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .about-hero-content {
    max-width: 760px;
  }

  .about-hero-visual {
    justify-content: flex-start;
  }

  .about-system-card {
    max-width: 600px;
  }

  .about-who-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .mission-modern-card {
    grid-template-columns: 1fr;

    gap: 2rem;

    padding: 3rem;
  }

  .mission-visual-modern {
    min-height: 300px;
  }

  .capabilities-modern-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .capabilities-modern-intro {
    position: static;
  }

}


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

@media (max-width: 650px) {

  .about-hero-modern {
    padding: 4.5rem 0 4rem;
  }

  .about-hero-content h1 {
    font-size:
      clamp(2.45rem,
        11vw,
        3.2rem);
  }

  .about-hero-content>p {
    font-size: 0.94rem;
  }

  .about-hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .about-hero-actions .btn {
    justify-content: center;

    width: 100%;
  }

  .about-system-body {
    padding: 1.2rem;
  }

  .about-who,
  .about-values-modern,
  .about-capabilities-modern {
    padding: 5rem 0;
  }

  .about-who-content h2,
  .about-section-heading h2,
  .capabilities-modern-intro h2 {
    font-size: 2.35rem;
  }

  .process-item {
    grid-template-columns:
      48px 1fr;

    padding: 1.2rem;
  }

  .about-process::before {
    left: 23px;
  }

  .mission-modern-card {
    min-height: auto;

    padding: 2rem 1.4rem;

    border-radius: 20px;
  }

  .mission-modern-content h2 {
    font-size: 2.35rem;
  }

  .mission-visual-modern {
    min-height: 260px;
  }

  .ring-one {
    width: 220px;
    height: 220px;
  }

  .ring-two {
    width: 160px;
    height: 160px;
  }

  .ring-three {
    width: 105px;
    height: 105px;
  }

  .mission-core {
    width: 90px;
    height: 90px;
  }

  .values-modern-grid {
    grid-template-columns: 1fr;
  }

  .value-modern-card {
    min-height: auto;
  }

  .capability-modern-item {
    grid-template-columns:
      35px 1fr 20px;

    gap: 0.8rem;
  }

  .capability-modern-item p {
    font-size: 0.75rem;
  }

  .about-final-cta {
    padding-bottom: 5rem;
  }

  .about-final-card {
    padding: 3rem 1.3rem;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

  .about-system-card {
    border-radius: 17px;
  }

  .system-intro strong {
    font-size: 1.1rem;
  }

  .about-final-card h2 {
    font-size: 2.25rem;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .mission-ring {
    animation: none;
  }

  .value-modern-card,
  .capability-modern-item,
  .about-inline-link span {
    transition: none;
  }

}

/* =========================================================
   CAREERS PAGE — COMPLETE UI
   ========================================================= */

/* =========================================================
   CAREER HERO
   ========================================================= */
.career-hero {
  position: relative;
  min-height: 720px;

  display: flex;
  align-items: center;

  overflow: hidden;
  isolation: isolate;

  background: var(--bg);
}

.career-hero-image {
  position: absolute;
  inset: -2%;

  z-index: -3;

  background-image: url("/assets/icons/careerBg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  transform: scale(1.03);
}

.career-hero-overlay {
  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    linear-gradient(90deg,
      rgba(10, 25, 47, 0.97) 0%,
      rgba(10, 25, 47, 0.86) 35%,
      rgba(10, 25, 47, 0.58) 68%,
      rgba(10, 25, 47, 0.35) 100%);
}

.career-hero-inner {
  position: relative;
  z-index: 2;

  width: min(100% - 40px, var(--container));

  margin: 0 auto;

  padding: 120px 0 100px;
}

.career-hero-content {
  max-width: 760px;
}

.career-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 25px;

  color: var(--primary-light);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.16em;
}

.career-eyebrow span {
  width: 36px;
  height: 2px;

  background: var(--primary-light);

  border-radius: 999px;
}

.career-hero h1 {
  margin: 0;

  color: var(--white);

  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.98;

  font-weight: 850;

  letter-spacing: -0.045em;
}

.career-hero h1 strong {
  display: block;

  color: var(--primary-light);
}

.career-hero p {
  max-width: 650px;

  margin: 30px 0 0;

  color: var(--muted-light);

  font-size: 18px;
  line-height: 1.8;
}

.career-hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 36px;
}


/* =========================================================
   CAREER BUTTONS
========================================================= */

.career-btn {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0 24px;

  border-radius: var(--radius-md);

  font-size: 14px;
  font-weight: 750;

  text-decoration: none;

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

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

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

  background: var(--primary-light);

  box-shadow:
    0 12px 30px rgba(40, 120, 232, 0.28);
}

.career-btn-primary:hover {
  background: #3c8af1;

  box-shadow:
    0 18px 40px rgba(40, 120, 232, 0.35);
}

.career-btn-outline {
  color: var(--text-light);

  border: 1px solid rgba(230, 243, 255, 0.15);

  background: rgba(230, 243, 255, 0.04);

  backdrop-filter: blur(12px);
}

.career-btn-outline:hover {
  border-color: rgba(40, 120, 232, 0.55);

  background: rgba(40, 120, 232, 0.1);
}


/* =========================================================
   CAREER SECTION COMMON
========================================================= */

.career-section-label {
  display: inline-block;

  margin-bottom: 15px;

  color: var(--primary-light);

  font-size: 11px;
  font-weight: 850;

  letter-spacing: 0.16em;
}

.career-section-title {
  max-width: 760px;

  margin: 0 auto 60px;

  text-align: center;
}

.career-section-title h2 {
  margin: 0;

  color: var(--text-light);

  font-size: clamp(36px, 4.5vw, 58px);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.career-section-title h2 strong {
  color: var(--primary-light);
}

.career-section-title p {
  max-width: 650px;

  margin: 20px auto 0;

  color: var(--muted-light);

  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   CAREER INTRO
========================================================= */

.career-intro {
  position: relative;

  padding: 120px 0;

  overflow: hidden;

  background:
    radial-gradient(circle at 15% 50%,
      rgba(40, 120, 232, 0.09),
      transparent 35%),
    var(--bg);
}

.career-intro-grid {
  width: min(100% - 40px, var(--container));

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr) minmax(0, 0.95fr);

  gap: 80px;

  align-items: center;
}

.career-intro-image {
  position: relative;

  min-height: 520px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: var(--radius-lg);

  background: var(--bg-soft);

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

.career-intro-image img {
  width: 100%;
  height: 100%;

  min-height: 520px;

  display: block;

  object-fit: cover;
}

.career-intro-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(to top,
      rgba(10, 25, 47, 0.88),
      transparent 60%);
}

.career-image-label {
  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 28px;

  z-index: 2;

  display: flex;
  align-items: center;

  gap: 14px;

  color: var(--white);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.1em;
}

.career-number-badge {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #75aaff;

  border:
    1px solid rgba(40, 120, 232, 0.5);

  background:
    rgba(40, 120, 232, 0.1);
}

.career-number-badge--pill {
  width: 45px;
  height: 30px;

  border-radius: 999px;

  font-size: 11px;
}

.career-number-badge--circle {
  width: 52px;
  height: 52px;

  border-radius: 50%;

  font-size: 12px;
  font-weight: 800;
}

.career-intro-content {
  max-width: 580px;
}

.career-intro-content h2 {
  margin: 0;

  color: var(--text-light);

  font-size: clamp(38px, 4vw, 56px);

  line-height: 1.06;

  letter-spacing: -0.04em;
}

.career-intro-content h2 strong {
  display: block;

  color: var(--primary-light);
}

.career-intro-content p {
  margin: 24px 0 0;

  color: var(--muted-light);

  font-size: 16px;
  line-height: 1.85;
}

.career-text-link {
  display: inline-flex;

  margin-top: 30px;

  color: var(--primary-light);

  font-size: 14px;
  font-weight: 750;

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.career-text-link:hover {
  color: var(--white);

  transform: translateX(4px);
}


/* =========================================================
   LIFE AT TRIFELIX
========================================================= */

.career-culture {
  padding: 120px 0;

  background: var(--bg-secondary);
}

.career-culture-grid {
  width: min(100% - 40px, var(--container));

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.career-culture-card {
  position: relative;

  min-height: 470px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: var(--radius-lg);

  background: var(--card-dark);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.career-culture-card:hover {
  transform: translateY(-8px);

  border-color:
    rgba(40, 120, 232, 0.45);
}

.career-culture-card img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}

.career-culture-card:hover img {
  transform: scale(1.06);
}

.career-culture-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(to top,
      rgba(10, 25, 47, 0.98) 0%,
      rgba(10, 25, 47, 0.7) 48%,
      rgba(10, 25, 47, 0.05) 100%);
}

.career-culture-overlay {
  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 28px;

  z-index: 2;
}

.career-culture-overlay h3 {
  margin: 20px 0 10px;

  color: var(--white);

  font-size: 25px;
}

.career-culture-overlay p {
  margin: 0;

  color: var(--muted-light);

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


/* =========================================================
   VALUES
========================================================= */

.career-values-section {
  padding: 120px 0;

  background: var(--bg);
}

.career-values-heading {
  width: min(100% - 40px, var(--container));

  margin: 0 auto 60px;

  display: grid;

  grid-template-columns: 1fr 0.8fr;

  gap: 70px;

  align-items: end;
}

.career-values-heading h2 {
  max-width: 620px;

  margin: 0;

  color: var(--text-light);

  font-size: clamp(38px, 4vw, 56px);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.career-values-heading h2 strong {
  color: var(--primary-light);
}

.career-values-heading>p {
  margin: 0;

  color: var(--muted-light);

  font-size: 15px;
  line-height: 1.8;
}

/* =========================================================
   CAREER VALUES GRID
========================================================= */
/* =========================================================
   CAREER VALUES GRID
========================================================= */

.career-values-grid {
  width: min(100% - 40px, var(--container));

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}


/* =========================================================
   VALUE CARD
========================================================= */

.career-value-card {
  height: 400px;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  background:
    linear-gradient(145deg,
      rgba(16, 40, 68, 0.95),
      rgba(10, 25, 47, 0.98));

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

.career-value-card:hover {
  transform: translateY(-7px);

  border-color: rgba(40, 120, 232, 0.45);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.2);
}


/* =========================================================
   IMAGE AREA
   TOP 50% OF CARD
========================================================= */

.career-value-image {
  position: relative;

  width: 100%;
  height: 250px;

  flex: 0 0 250px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    radial-gradient(circle at center,
      rgba(40, 120, 232, 0.14),
      transparent 72%);
}


/* =========================================================
   LARGE ILLUSTRATION
========================================================= */

.career-value-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  padding: 0;

  /*
    Your PNGs have transparent space around
    the actual illustration, so scale it up.
  */
  transform: scale(1.55);

  transition:
    transform 0.4s ease;
}


.career-value-card:hover .career-value-image img {
  transform: scale(1.7);
}


/* =========================================================
   NUMBER
========================================================= */

.career-values-number {
  width: 52px;
  height: 52px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 18px 26px 14px;

  color: var(--primary-light);

  border: 1px solid rgba(40, 120, 232, 0.45);

  border-radius: 50%;

  background: rgba(40, 120, 232, 0.03);

  font-size: 16px;
  font-weight: 850;
}


/* =========================================================
   TITLE
========================================================= */

.career-value-card h3 {
  margin: 0 26px 10px;

  color: var(--white);

  font-size: 22px;
  line-height: 1.2;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.career-value-card p {
  margin: 0 26px;

  color: var(--muted-light);

  font-size: 14px;

  line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .career-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 640px) {

  .career-values-grid {
    width: min(100% - 30px, var(--container));

    grid-template-columns: 1fr;
  }

  .career-value-card {
    height: 480px;
  }

  .career-value-image {
    height: 240px;
    flex-basis: 240px;
  }

  .career-value-image img {
    transform: scale(1.45);
  }

  .career-value-card:hover .career-value-image img {
    transform: scale(1.55);
  }

}

/* =========================================================
   OPEN POSITIONS
========================================================= */

.career-openings {
  padding: 120px 0;

  background: var(--bg-secondary);
}

.career-job-list {
  width: min(100% - 40px, var(--container));

  margin: 0 auto;

  display: flex;
  flex-direction: column;

  gap: 14px;
}

.career-job {
  display: grid;

  grid-template-columns: 70px minmax(0, 1fr) auto;

  gap: 30px;

  align-items: center;

  padding: 32px;

  border:
    1px solid var(--border);

  border-radius: var(--radius-lg);

  background:
    rgba(16, 40, 68, 0.58);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.career-job:hover {
  transform: translateX(6px);

  border-color:
    rgba(40, 120, 232, 0.45);

  background:
    rgba(16, 40, 68, 0.9);
}

.career-job-number {
  color:
    rgba(117, 170, 255, 0.6);

  font-size: 16px;
  font-weight: 800;
}

.career-job-main>span {
  color: var(--primary-light);

  font-size: 10px;
  font-weight: 850;

  letter-spacing: 0.15em;
}

.career-job-main h3 {
  margin: 8px 0;

  color: var(--white);

  font-size: 25px;
}

.career-job-main p {
  max-width: 720px;

  margin: 0;

  color: var(--muted-light);

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

.career-job-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 18px;
}

.career-job-meta span {
  padding: 7px 11px;

  color: var(--muted-light);

  border:
    1px solid var(--border);

  border-radius: var(--radius-sm);

  background:
    rgba(255, 255, 255, 0.035);

  font-size: 11px;
}

.career-apply {
  min-width: 125px;
  min-height: 45px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 0 18px;

  color: var(--white);

  border:
    1px solid rgba(40, 120, 232, 0.45);

  border-radius: var(--radius-md);

  background:
    rgba(40, 120, 232, 0.1);

  font-size: 13px;
  font-weight: 750;

  text-decoration: none;

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

.career-apply:hover {
  border-color: var(--primary-light);

  background: var(--primary-light);
}

.career-application-note {
  width: min(100% - 40px, var(--container));

  margin: 30px auto 0;

  display: flex;
  align-items: flex-start;

  gap: 22px;

  padding: 28px;

  border:
    1px solid rgba(40, 120, 232, 0.18);

  border-radius: var(--radius-lg);

  background:
    linear-gradient(135deg,
      rgba(40, 120, 232, 0.08),
      rgba(40, 120, 232, 0.02));
}

.career-mail-icon {
  width: 54px;
  height: 54px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white);

  border-radius: var(--radius-md);

  background: var(--primary-light);

  font-size: 22px;
  font-weight: 800;
}

.career-application-note h3 {
  margin: 0 0 8px;

  color: var(--white);

  font-size: 19px;
}

.career-application-note p {
  margin: 0;

  color: var(--muted-light);

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

.career-application-note a {
  display: inline-block;

  margin-top: 10px;

  color: var(--primary-light);

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}


/* =========================================================
   HIRING PROCESS
========================================================= */

.career-process {
  padding: 120px 0;

  background: var(--bg);
}

.career-process-grid {
  width: min(100% - 40px, var(--container));

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0;

  position: relative;
}

.career-process-grid::before {
  content: "";

  position: absolute;

  top: 26px;
  left: 7%;
  right: 7%;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(40, 120, 232, 0.45),
      transparent);
}

.career-process-item {
  position: relative;

  padding: 0 28px;

  text-align: center;
}

.career-process-item .career-number-badge {
  position: relative;

  z-index: 2;

  margin-bottom: 28px;

  background: var(--bg);
}

.career-process-item h3 {
  margin: 0 0 12px;

  color: var(--white);

  font-size: 21px;
}

.career-process-item p {
  margin: 0;

  color: var(--muted-light);

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


/* =========================================================
   FINAL CAREER CTA
========================================================= */

.career-final {
  position: relative;

  min-height: 560px;

  display: flex;
  align-items: center;

  overflow: hidden;

  isolation: isolate;

  background: var(--bg);
}

.career-final-image {
  position: absolute;
  inset: 0;

  z-index: -3;

  background-image: url("/assets/icons/joinus.png");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.career-final-overlay {
  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    linear-gradient(90deg,
      rgba(10, 25, 47, 0.96),
      rgba(10, 25, 47, 0.76),
      rgba(10, 25, 47, 0.38));
}

.career-final-content {
  width: min(100% - 40px, var(--container));

  margin: 0 auto;

  padding: 100px 0;
}

.career-final-content>span {
  color: var(--primary-light);

  font-size: 11px;
  font-weight: 850;

  letter-spacing: 0.16em;
}

.career-final-content h2 {
  max-width: 720px;

  margin: 18px 0 0;

  color: var(--white);

  font-size: clamp(42px, 5vw, 68px);

  line-height: 1;

  letter-spacing: -0.045em;
}

.career-final-content h2 strong {
  display: block;

  color: var(--primary-light);
}

.career-final-content p {
  max-width: 590px;

  margin: 24px 0 30px;

  color: var(--muted-light);

  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .career-intro-grid {
    gap: 50px;
  }

  .career-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-process-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 55px 0;
  }

  .career-process-grid::before {
    display: none;
  }

}


@media (max-width: 900px) {

  .career-hero {
    min-height: 650px;
  }

  .career-intro-grid {
    grid-template-columns: 1fr;
  }

  .career-intro-content {
    max-width: 720px;
  }

  .career-culture-grid {
    grid-template-columns: 1fr;

    max-width: 650px;
  }

  .career-values-heading {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .career-job {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .career-apply {
    grid-column: 2;

    justify-self: start;
  }

}


@media (max-width: 640px) {

  .career-hero {
    min-height: 650px;
  }

  .career-hero-inner {
    width: min(100% - 30px, var(--container));

    padding: 90px 0;
  }

  .career-hero-image {
    background-position: 65% center;
  }

  .career-hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(10, 25, 47, 0.97),
        rgba(10, 25, 47, 0.84));
  }

  .career-hero h1 {
    font-size: 46px;
  }

  .career-hero p {
    font-size: 15px;
  }

  .career-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .career-btn {
    width: 100%;
  }

  .career-intro,
  .career-culture,
  .career-values-section,
  .career-openings,
  .career-process {
    padding: 80px 0;
  }

  .career-intro-grid,
  .career-culture-grid,
  .career-values-heading,
  .career-values-grid,
  .career-job-list,
  .career-process-grid {
    width: min(100% - 30px, var(--container));
  }

  .career-intro-image {
    min-height: 350px;
  }

  .career-intro-image img {
    min-height: 350px;
  }

  .career-values-grid {
    grid-template-columns: 1fr;
  }

  .career-value-card {
    min-height: auto;
  }

  .career-process-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .career-process-item {
    padding: 0 10px;
  }

  .career-job {
    grid-template-columns: 1fr;

    gap: 15px;

    padding: 24px;
  }

  .career-apply {
    grid-column: auto;

    width: 100%;
  }

  .career-application-note {
    width: min(100% - 30px, var(--container));

    flex-direction: column;
  }

  .career-final {
    min-height: 500px;
  }

  .career-final-content {
    width: min(100% - 30px, var(--container));

    padding: 80px 0;
  }

  .career-final-image {
    background-position: center;
  }

}

/* =========================================================
   AESTHETIC UPGRADES & ANIMATIONS
========================================================= */

/* Custom Cursor Follower */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(40, 120, 232, 0.15);
  border: 1.5px solid rgba(40, 120, 232, 0.6);
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(0, 0, 0);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    width 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    height 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

.custom-cursor.cursor-hover {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 87, 34, 0.12);
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.3);
}

/* SPA Page transitions */
main {
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

main.page-transitioning {
  opacity: 0;
  transform: translateY(12px);
}

main.page-entered {
  opacity: 0;
  transform: translateY(-12px);
  animation: pageEnterFinish 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes pageEnterFinish {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal animation system */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.reveal-up {
  transform: none !important;
}

.reveal-scale {
  transform: none !important;
}

.reveal-fade {
  transform: none !important;
}

.reveal-left {
  transform: none !important;
}

.reveal-right {
  transform: none !important;
}

.reveal.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Staggered transition delays bypassed for instant page rendering */
.delay-50 {
  transition-delay: 0ms !important;
}

.delay-100 {
  transition-delay: 0ms !important;
}

.delay-150 {
  transition-delay: 0ms !important;
}

.delay-200 {
  transition-delay: 0ms !important;
}

.delay-250 {
  transition-delay: 0ms !important;
}

.delay-300 {
  transition-delay: 0ms !important;
}

.delay-400 {
  transition-delay: 0ms !important;
}

.delay-500 {
  transition-delay: 0ms !important;
}


/* Interactive Hover States and Premium Visual Adjustments */
.btn {
  position: relative;
  transition:
    transform 0.2s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease !important;
}

.btn:hover {
  box-shadow: 0 8px 24px rgba(40, 120, 232, 0.22);
}

.btn.primary:hover {
  box-shadow: 0 8px 24px rgba(40, 120, 232, 0.32);
}

.btn.outline:hover {
  background: rgba(230, 243, 255, 0.05);
}

/* Glassmorphism for modern service cards and headers */
.service-modern-card,
.proof-card,
.process-step,
.why-feature-modern {
  border: 1px solid var(--border);
  background: rgba(16, 36, 63, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.service-modern-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(40, 120, 232, 0.4);
  background: rgba(16, 36, 63, 0.75);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(40, 120, 232, 0.1);
}

.proof-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 120, 232, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Portfolio Filtering Animation helper states */
.pf-card {
  transition:
    opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 1;
  transform: scale(1);
}

.pf-card-scale-down {
  opacity: 0;
  transform: scale(0.9);
}

.pf-card-hidden {
  display: none !important;
}

/* Make tech stack logos glow on hover */
.stack-item {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), color 0.2s ease;
}

.stack-item:hover {
  transform: translateY(-3px) scale(1.05);
  color: var(--primary-light);
}


/* =========================================================
   HERO VIDEO BACKDROP & MOCKUP STYLING
========================================================= */
.hero-video-bg,
.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.24;
  /* subtle background glow */
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 25, 47, 0.4) 0%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-gradient-title {
  font-weight: 850 !important;
  background: linear-gradient(135deg, #ffffff 20%, #2878e8 70%, #ff5722 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.mockup-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  background: rgba(13, 33, 61, 0.35);
  border: 1px solid rgba(230, 243, 255, 0.12);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(40, 120, 232, 0.12);
  overflow: visible;
  /* elements can pop out */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  background: rgba(8, 20, 38, 0.9);
  border-bottom: 1px solid rgba(230, 243, 255, 0.08);
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  gap: 7px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-dot.red {
  background-color: #ff5f56;
}

.mockup-dot.yellow {
  background-color: #ffbd2e;
}

.mockup-dot.green {
  background-color: #27c93f;
}

.mockup-address {
  flex-grow: 1;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(230, 243, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 0;
  margin-left: 20px;
  margin-right: 36px;
  font-family: monospace;
  letter-spacing: 0.5px;
  border: 1px solid rgba(230, 243, 255, 0.05);
}

.mockup-body {
  position: relative;
  width: 100%;
  height: 290px;
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px;
  overflow: visible;
}

.mockup-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px;
}

.mockup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 33, 61, 0.05) 0%, rgba(10, 25, 47, 0.4) 100%);
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px;
  pointer-events: none;
}

/* Glassmorphic floating cards */
.glass-overlay-card {
  position: absolute;
  background: rgba(16, 36, 63, 0.78);
  border: 1px solid rgba(230, 243, 255, 0.16);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(40, 120, 232, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 15px;
  color: var(--on-bg);
  z-index: 10;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  transform: translateZ(28px);
}

.glass-overlay-card:hover {
  border-color: rgba(40, 120, 232, 0.45);
  transform: translateZ(45px) scale(1.03);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(40, 120, 232, 0.2);
}

.glass-overlay-card.chart-card {
  left: -28px;
  bottom: 28px;
  width: 210px;
}

.glass-overlay-card.info-card {
  right: -28px;
  top: 28px;
  width: 200px;
}

.glass-overlay-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 7px;
}

.glass-overlay-card .card-value {
  font-size: 1.55rem;
  font-weight: 850;
  color: #fff;
  margin-bottom: 5px;
  font-family: monospace;
}

.glass-overlay-card .card-desc {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.35;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 8px #27c93f;
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(39, 201, 63, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
  }
}

.card-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-top: 8px;
  border-bottom: 1px solid rgba(230, 243, 255, 0.08);
  padding-bottom: 2px;
}

.card-chart .bar {
  flex-grow: 1;
  background: linear-gradient(to top, var(--primary) 0%, var(--primary-light) 100%);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  transition: height 0.6s ease;
}

/* Styling for icons in career values grid */
.career-values-grid article img {
  width: 140px;
  height: 140px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}

.career-values-grid article:has(img) h3 {
  margin-top: 15px;
}

/* Styling for icons in career process timeline */
.career-process-item img {
  width: 130px;
  height: 130px;
  max-width: 100%;
  object-fit: contain;
  margin: 20px auto 15px;
  display: block;
}

.career-process-item:has(img) h3 {
  margin-top: 15px;
}


/* =========================================================
   GLOBAL RESPONSIVENESS AUDIT FIXES (MOBILE, TABLET, LAPTOP)
========================================================= */

/* 1. Viewport Overflows & Layout Container Safeguard */
body,
html {
  max-width: 100%;
  overflow-x: hidden;
}

/* 2. Responsive Hero Mockup Adjustments */
@media (max-width: 900px) {
  .hero-visual {
    justify-content: center;
    min-height: auto;
    margin-top: 1.5rem;
  }

  .mockup-frame {
    max-width: 100%;
  }

  .mockup-body {
    height: 270px;
  }

  .glass-overlay-card.chart-card {
    left: 10px;
    bottom: 10px;
    width: 180px;
  }

  .glass-overlay-card.info-card {
    right: 10px;
    top: 10px;
    width: 180px;
  }
}

@media (max-width: 480px) {
  .mockup-body {
    height: 210px;
  }

  .glass-overlay-card {
    padding: 10px;
  }

  .glass-overlay-card.chart-card {
    left: 8px;
    bottom: 8px;
    width: 145px;
    transform: translateZ(5px);
  }

  .glass-overlay-card.info-card {
    right: 8px;
    top: 8px;
    width: 145px;
    transform: translateZ(5px);
  }

  .glass-overlay-card .card-value {
    font-size: 1.15rem;
  }

  .glass-overlay-card .card-chart {
    height: 25px;
  }
}

/* 3. Grid Responsiveness enhancements (Services modern grid and Portfolio) */
.services-grid-modern,
.portfolio-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
}

/* 4. Why Choose Us responsiveness */
@media (max-width: 950px) {
  .why-modern-grid {
    grid-template-columns: 1fr !important;
    gap: 3.5rem;
  }

  .why-modern-content {
    text-align: center;
  }

  .why-stats {
    justify-content: center;
  }
}

/* 5. Services Detail & Sub-sections */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 30px !important;
}

/* 6. Footer responsiveness */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .footer-column {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

/* =========================================================
   HOMEPAGE CUSTOM ILLUSTRATION & BANNER STYLING
========================================================= */

.service-card-image {
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 1.5rem 0 !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
  border: none !important;
  border-radius: 0 !important;
  transition: transform 0.4s ease !important;
}

.service-modern-card {
  overflow: hidden !important;
}

.service-modern-card:hover .service-card-image {
  transform: translateY(-2px) scale(1.05);
}

@media (max-width: 1200px) {
  .service-card-image {
    width: 48px !important;
    margin: 0 0 1.5rem 0 !important;
    height: 48px !important;
  }
}

@media (max-width: 950px) {
  .service-card-image {
    width: 48px !important;
    margin: 0 0 1.5rem 0 !important;
    height: 48px !important;
  }
}

@media (max-width: 380px) {
  .service-card-image {
    width: 48px !important;
    margin: 0 0 1.25rem 0 !important;
    height: 48px !important;
  }
}

/* Process section images */
.process-step-image {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 18px;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.process-step:hover .process-step-image {
  transform: translateY(-5px) scale(1.04);
}

/* Why choose us image wrapper */
.why-partner-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-partner-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.why-partner-image-wrapper:hover .why-partner-img {
  transform: scale(1.03) translateY(-4px);
}

@media (max-width: 950px) {
  .why-partner-image-wrapper {
    margin: 0 auto;
  }
}

/* =========================================================
   SERVICES INTERACTIVE FILTER SYSTEM & PREMIUM BADGES
   ========================================================= */

.services-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: -1rem auto 3.5rem;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  max-width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.filter-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.filter-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: rgba(40, 120, 232, 0.2);
  box-shadow:
    0 10px 20px rgba(15, 82, 186, 0.3),
    0 0 15px rgba(40, 120, 232, 0.1);
}

/* Service Card Badge */
.service-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(40, 120, 232, 0.3);
  color: var(--primary-light);
  font-family: var(--mono, monospace);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.service-modern-card:hover .service-card-badge {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(40, 120, 232, 0.4);
}

@media (max-width: 768px) {
  .services-filters {
    border-radius: 20px;
    max-width: 100%;
    margin-bottom: 2.5rem;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

/* Hero adjustments: left-aligned content & clean background image (no color overlays) */
.hero-content {
  display: grid !important;
  grid-template-columns: 1fr !important;
  text-align: left !important;
  align-items: center !important;
  min-height: 75vh !important;
}

.hero-copy {
  max-width: 680px !important;
  align-items: flex-start !important;
  margin: 0 !important;
  text-align: left !important;
}

.hero-image-bg {
  opacity: 1 !important;
  /* Fully visible background image */
}

/* Remove colored glows and gradient tints from the background image */
.hero-bg .glow,
.hero-bg .floating-dot,
.hero-bg .grid-overlay {
  display: none !important;
}

.hero-video-overlay {
  background: transparent !important;
  /* Remove background color overlay */
}

.hero-gradient-title {
  font-size: 2.8rem !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .hero-gradient-title {
    font-size: 2.2rem !important;
  }
}

/* Transparent Header and Footer to match background image theme */
.site-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.site-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.site-footer::before {
  display: none !important;
  /* remove solid footer glow */
}

.process-card-image-wrapper {
  display: block;
  background: rgba(255, 255, 255, 0.015);
  padding: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.process-card-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.process-card:hover .process-card-img {
  transform: scale(1.04);
}

.process-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2.2rem !important;
}

.process-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(13, 33, 61, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 120, 232, 0.25);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(40, 120, 232, 0.1);
}



.process-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}

.process-card-info h3 {
  margin: 0.4rem 0 0.8rem;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
}

.process-card-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-light);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .process-card {
    grid-template-columns: 1fr;
  }

  .process-card-image-wrapper {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
  }

  .process-card-info {
    padding: 2rem;
  }
}

/* Widescreen commonbg.png background for subpages spanning to the bottom (Services & Contact) */
.services-page-main,
.contact-page-main {
  position: relative !important;
  background-image: url('/assets/icons/commonbg.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  z-index: 1 !important;
  width: 100% !important;
}

/* Portfolio and About page top hero background: homebg.png (not for complete page) */
/* Widescreen background visible like home page for Portfolio & About heros */
.portfolio-hero,
.about-hero-modern {
  position: relative !important;
  background: transparent !important;
  z-index: 1 !important;
}

.portfolio-hero-bg,
.about-hero-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
  overflow: hidden !important;
}

.portfolio-hero-bg .hero-image-bg,
.about-hero-bg .hero-image-bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  /* Fully visible background image matching homepage */
}

/* Remove solid background colors from top hero sections to reveal background image */
.services-page-main .services-modern,
.contact-page-main .contact-section {
  background: transparent !important;
}

/* Visually separate the why-modern section on the services page with a dark translucent panel */
.services-page-main .why-modern {
  background: rgba(6, 17, 33, 0.75) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6rem 0 !important;
}

/* Encase the final CTA on sub-pages inside a gorgeous glass container card */
.services-page-main .section .container,
.portfolio-page-main .section .container,
.about-page-main .section .container {
  background: rgba(13, 33, 61, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  padding: 5rem 3rem !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* Remove conflicting background color overlays and glow elements */
.services-bg .glow,
.services-bg .floating-dot,
.services-bg .grid-overlay,
.portfolio-hero-bg .glow,
.portfolio-hero-bg .grid-overlay,
.about-hero-glow,
.about-hero-grid {
  display: none !important;
}

/* Subtle dark overlay for subpages to maintain optimal text readability */
.services-page-main::before,
.contact-page-main::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(10, 25, 47, 0.45) !important;
  z-index: -1 !important;
}

/* Premium Visual Portfolio Cards (Mockup Banners & Card Body) */
.pf-card {
  padding: 0 !important;
  /* Reset padding to allow full-bleed banner */
  display: flex !important;
  flex-direction: column !important;
  background: rgba(13, 33, 61, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.pf-card-banner {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.pf-card:hover .pf-card-banner img {
  transform: scale(1.04);
}

.pf-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pf-card-body h3 {
  margin: 0 !important;
  font-size: 1.3rem !important;
  color: var(--white) !important;
}

.pf-card-body p {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: var(--muted-light) !important;
  line-height: 1.6 !important;
}

.pf-category {
  font-size: 0.72rem !important;
  letter-spacing: 0.06em !important;
  color: var(--primary-light) !important;
}

/* Adjust featured card layout on desktop to look visually unified */
@media (min-width: 992px) {
  .pf-card.pf-featured {
    grid-column: span 2 !important;
  }
}

/* Adjust featured card layout on desktop to look visually unified */
@media (min-width: 992px) {
  .pf-card.pf-featured {
    grid-column: span 2 !important;
  }
}

/* =========================================================
   OUR PROCESS PAGE STYLES
========================================================= */

.process-page-main {
  position: relative;
  overflow: hidden;
  padding-bottom: 5rem;
}

.process-timeline-section {
  padding: 6rem 0;
  position: relative;
}

.process-intro-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.process-intro-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 15px;
}

.process-intro-header h2 span {
  display: block;
  color: var(--muted);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-step-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  margin-bottom: 4rem;
  position: relative;
}

.process-step-row:last-child {
  margin-bottom: 0;
}

.process-step-number-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: 1px solid rgba(40, 120, 232, 0.3);
  box-shadow: 0 0 20px rgba(40, 120, 232, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--mono, monospace);
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 2;
}

.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(40, 120, 232, 0.4) 0%, rgba(40, 120, 232, 0.05) 100%);
  margin-top: 15px;
  min-height: 120px;
}

.process-step-row:last-child .step-line {
  display: none;
}

.process-step-card {
  background: linear-gradient(145deg, rgba(16, 40, 68, 0.35), rgba(7, 22, 42, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.process-step-card:hover {
  border-color: rgba(40, 120, 232, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-phase {
  font-family: var(--mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  font-weight: 700;
}

.process-step-card h3 {
  margin: 10px 0 15px;
  color: var(--white);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.process-step-card p {
  color: var(--muted-light);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.step-deliverables {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.5rem 2rem;
}

.step-deliverables strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 12px;
}

.step-deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-deliverables li {
  font-size: 0.9rem;
  color: var(--muted-light);
  position: relative;
  padding-left: 18px;
}

.step-deliverables li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--primary-light);
  font-size: 1.1rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .process-step-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .process-step-number-col {
    flex-direction: row;
    gap: 15px;
  }

  .step-line {
    display: none;
  }

  .process-step-card {
    padding: 1.8rem;
  }
}

/* =========================================================
   BLOG INDEX PAGE STYLES
========================================================= */

.blog-page-main {
  position: relative;
  overflow: hidden;
  padding-bottom: 5rem;
}

.blog-grid-section {
  padding: 5rem 0;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: linear-gradient(145deg, rgba(16, 40, 68, 0.35), rgba(7, 22, 42, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 4rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transition: border-color 0.3s ease;
}

.blog-featured-card:hover {
  border-color: rgba(40, 120, 232, 0.2);
}

.blog-featured-visual {
  height: 100%;
  min-height: 380px;
  background: radial-gradient(circle at center, rgba(40, 120, 232, 0.1), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-featured-visual img {
  width: 50%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-featured-card:hover .blog-featured-visual img {
  transform: scale(1.06) translateY(-4px);
}

.blog-featured-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-badge {
  font-family: var(--mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(40, 120, 232, 0.1);
  border: 1px solid rgba(40, 120, 232, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
}

.blog-meta-item {
  font-size: 0.8rem;
  color: var(--muted);
}

.blog-meta-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

.blog-featured-content h2 {
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 15px 0;
}

.blog-featured-content h2 a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-featured-content h2 a:hover {
  color: var(--primary-light);
}

.blog-featured-content p {
  color: var(--muted-light);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0 0 25px 0;
}

.blog-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.blog-author-avatar,
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-family: var(--mono, monospace);
  font-size: 0.85rem;
  font-weight: 700;
}

.blog-author-row strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
}

.blog-author-row span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
}

.blog-read-btn span {
  color: var(--primary-light);
  transition: transform 0.2s ease;
}

.blog-read-btn:hover span {
  transform: translateX(4px);
}

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

.blog-grid-card {
  background: linear-gradient(145deg, rgba(16, 40, 68, 0.3), rgba(7, 22, 42, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.blog-grid-card:hover {
  transform: translateY(-6px);
  border-color: rgba(40, 120, 232, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-visual {
  height: 200px;
  background: radial-gradient(circle at center, rgba(40, 120, 232, 0.08), transparent 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-card-visual img {
  width: 32%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.3));
  transition: transform 0.5s ease;
}

.blog-grid-card:hover .blog-card-visual img {
  transform: scale(1.05) translateY(-3px);
}

.blog-card-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-content h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 15px 0 10px;
  letter-spacing: -0.01em;
}

.blog-card-content h3 a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-content h3 a:hover {
  color: var(--primary-light);
}

.blog-card-content p {
  color: var(--muted-light);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0 0 20px 0;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}

.blog-card-link span {
  color: var(--primary-light);
  transition: transform 0.2s ease;
}

.blog-grid-card:hover .blog-card-link {
  color: var(--white);
}

.blog-grid-card:hover .blog-card-link span {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-visual {
    min-height: 250px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .blog-featured-visual img {
    width: 25%;
  }

  .blog-featured-content {
    padding: 2.2rem;
    border-left: none;
  }

  .blog-featured-content h2 {
    font-size: 1.8rem;
  }
}

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

  .blog-card-visual img {
    width: 25%;
  }
}

/* =========================================================
   BLOG POST DETAIL STYLES
========================================================= */

.blog-article-main {
  padding-bottom: 6rem;
}

.blog-post-content-section {
  padding: 4rem 0;
}

.article-container {
  max-width: 780px !important;
  margin: 0 auto;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 3rem;
  transition: color 0.2s ease;
}

.blog-back-link span {
  transition: transform 0.25s ease;
}

.blog-back-link:hover {
  color: var(--white);
}

.blog-back-link:hover span {
  transform: translateX(-4px);
}

.article-header {
  margin-bottom: 3rem;
}

.article-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 15px 0 25px;
}

.article-author-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}

.author-info span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.article-banner {
  height: 380px;
  background: radial-gradient(circle at center, rgba(40, 120, 232, 0.08), transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 4rem;
  position: relative;
}

.article-banner img {
  width: 250px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(230, 243, 255, 0.85);
}

.article-body p {
  margin: 0 0 2rem 0;
}

.article-body h2,
.article-body h3 {
  color: var(--white);
  margin: 3.5rem 0 1.5rem;
  letter-spacing: -0.02em;
}

.article-body h2 {
  font-size: 1.8rem;
}

.article-body h3 {
  font-size: 1.45rem;
}

.article-body blockquote {
  margin: 3rem 0;
  padding: 2rem 2.5rem;
  background: rgba(40, 120, 232, 0.04);
  border-left: 3px solid var(--primary-light);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--white);
  font-size: 1.25rem;
}

.article-body blockquote p {
  margin: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 2rem 0;
  padding-left: 25px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: var(--white);
}

.article-newsletter-card {
  margin-top: 5rem;
  background: linear-gradient(145deg, rgba(16, 40, 68, 0.35), rgba(7, 22, 42, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.article-newsletter-card h3 {
  font-size: 1.8rem;
  margin: 0 0 15px 0;
  color: var(--white);
  letter-spacing: -0.02em;
}

.article-newsletter-card p {
  font-size: 0.98rem;
  color: var(--muted-light);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 30px 0;
}

.newsletter-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .article-banner {
    height: 250px;
    margin-bottom: 3rem;
  }

  .article-banner img {
    width: 150px;
  }

  .article-newsletter-card {
    padding: 2.2rem;
  }

  .article-newsletter-card h3 {
    font-size: 1.5rem;
  }
}


/* =========================================================
   GLOBAL WHATSAPP FAB
========================================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
}

.whatsapp-fab:hover {
  transform: scale(1.1) rotate(8deg);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 480px) {
  .whatsapp-fab {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-fab svg {
    width: 24px;
    height: 24px;
  }
}



/* =========================================================
   PROJECT DISCUSSION CENTERED DIALOG POPUP
========================================================= */
.project-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 33, 0.85);
  /* Dark translucent backdrop */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 20px;
}

.project-popup-overlay.show-popup {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.project-popup-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(40, 120, 232, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-popup-overlay.show-popup .project-popup-dialog {
  transform: scale(1);
}

.popup-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.popup-dialog-header h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.project-popup-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 5px;
  transition: all 0.2s ease;
  line-height: 1;
}

.project-popup-close-btn:hover {
  color: #0f172a;
  transform: scale(1.1);
}

.popup-dialog-body {
  padding: 30px 28px;
  background: #ffffff;
  color: #475569;
  line-height: 1.6;
  font-size: 0.98rem;
  text-align: left;
}

.popup-dialog-body p {
  margin: 0 0 25px 0;
}

.popup-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.popup-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 500;
}

.popup-service-item span {
  color: #2878e8;
  font-weight: 700;
}

.popup-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.popup-dialog-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.popup-btn-neutral {
  border-color: #cbd5e1 !important;
  color: #64748b !important;
  background: transparent !important;
}

.popup-btn-neutral:hover {
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

.popup-btn-whatsapp {
  border-color: #25d366 !important;
  color: #25d366 !important;
  background: transparent !important;
}

.popup-btn-whatsapp:hover {
  background-color: #25d366 !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .project-popup-dialog {
    max-width: 100%;
  }

  .popup-services-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .popup-dialog-footer {
    flex-direction: column-reverse;
    gap: 10px;
    align-items: stretch;
  }

  .popup-dialog-footer .btn {
    width: 100%;
    padding: 12px !important;
  }
}



/* =========================================================
   SUBPAGE TRANSPARENT HERO OVERRIDES
========================================================= */
.process-page-main .portfolio-new-hero,
.blog-page-main .portfolio-new-hero,
.services-page-main .portfolio-new-hero {
  background: transparent !important;
}

.process-page-main .portfolio-new-grid-bg,
.blog-page-main .portfolio-new-grid-bg,
.services-page-main .portfolio-new-grid-bg {
  background: transparent !important;
}



/* =========================================================
   SERVICES MID-PAGE CTA BANNER
========================================================= */
.services-mid-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(40, 120, 232, 0.1) 0%, rgba(10, 25, 47, 0.2) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  margin: 4rem 0;
}

.mid-cta-content {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.mid-cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.mid-cta-content p {
  font-size: 1.05rem;
  color: var(--muted-light);
  line-height: 1.7;
  margin: 0 0 15px 0;
}

/* =========================================================
   SERVICES FAQ ACCORDION SECTION
========================================================= */
.services-faq-section {
  padding: 6rem 0;
  background: transparent;
}

.faq-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 15px;
}

.faq-header p {
  font-size: 1.05rem;
  color: var(--muted-light);
  line-height: 1.6;
}

.faq-accordion-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(16, 36, 63, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.12rem;
  color: var(--white);
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--primary-light);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.faq-answer p {
  padding-bottom: 24px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted-light);
  line-height: 1.6;
}

/* Active State toggles */
.faq-item.active {
  border-color: rgba(40, 120, 232, 0.3);
  background: rgba(16, 36, 63, 0.65);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  opacity: 1;
  padding-top: 5px;
}