/* ==========================================================================
   Svastika Infotech LLP Design System & CSS Stylesheet
   Based on Pinterest-design-analysis visual system from DESIGN.md
   ========================================================================== */

/* 1. Typography Import (Inter as Body, Manrope as Display/Headings) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

/* 2. Custom CSS Properties (Tokens) */
:root {
  /* Brand & Accents */
  --color-primary: #e60023;          /* Pinterest Red */
  --color-primary-pressed: #cc001f;
  --color-ink: #000000;
  --color-ink-soft: #211922;

  /* Surfaces & Backgrounds */
  --color-canvas: #ffffff;
  --color-surface-soft: #fbfbf9;     /* Cream tinted canvas body */
  --color-surface-card: #f6f6f3;     /* Warm cream for card/pin/search default */
  --color-secondary-bg: #e5e5e0;     /* Warm grey-cream for secondary buttons */
  --color-secondary-pressed: #c8c8c1;
  --color-surface-dark: #262622;     /* Near-black for dark footer/blocks */
  --color-hairline: #dadad3;
  --color-hairline-soft: #e5e5e0;

  /* Text Colors */
  --color-body: #33332e;             /* Standard body text */
  --color-charcoal: #262622;
  --color-mute: #62625b;             /* Metadata and secondary text */
  --color-ash: #91918c;              /* Disabled text, placeholder */
  --color-stone: #c8c8c1;
  --color-on-dark: #ffffff;
  --color-on-dark-mute: rgba(255, 255, 255, 0.7);

  /* Semantic & Interactive */
  --color-focus-outer: #435ee5;      /* Focus ring outer blue */
  --color-focus-inner: #ffffff;
  --color-success-deep: #103c25;
  --color-success-pale: #c7f0da;

  /* Shapes (Border Radii) */
  --rounded-none: 0px;
  --rounded-sm: 8px;
  --rounded-md: 16px;                /* Dominant corner radius */
  --rounded-lg: 32px;                /* Large cards / modal */
  --rounded-full: 9999px;            /* Capsules / pill buttons / badges */

  /* Spacing */
  --spacing-xxs: 4px;
  --spacing-xs: 6px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;
  --spacing-section: 64px;           /* Vertical gap between sections */

  /* Layout Constants */
  --content-max-width: 1280px;
  --header-height: 64px;

  /* Fonts */
  --font-display: 'Manrope', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 3. Reset & Reset-like Elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-surface-soft);
  color: var(--color-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  background: none;
}

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

/* Double-ring Focus Indicator for Accessibility */
input:focus-visible, 
button:focus-visible, 
a:focus-visible {
  outline: 4px solid var(--color-focus-outer);
  outline-offset: 2px;
  border-radius: var(--rounded-md);
  box-shadow: inset 0 0 0 2px var(--color-focus-inner);
}

/* Clearer text contrast for selections */
::selection {
  background-color: var(--color-primary);
  color: var(--color-on-dark);
}

/* 4. Typography Classes */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--color-ink);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--color-ink);
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--color-ink);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--color-ink);
}

.heading-md {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-ink);
}

.body-md {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-body);
}

.body-strong {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink);
}

.body-sm {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-mute);
}

.body-sm-strong {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
}

.caption-md {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-mute);
}

.caption-sm {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-mute);
}

.link-inline {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink-soft);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.link-inline:hover {
  border-color: var(--color-ink-soft);
  opacity: 1;
}

/* 5. Generic Components */
.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 16px;
  height: 40px;
  border-radius: var(--rounded-md);
  cursor: pointer;
  transition: background-color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.1s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

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

.btn-primary:hover {
  background-color: var(--color-primary-pressed);
  opacity: 1;
}

.btn-secondary {
  background-color: var(--color-secondary-bg);
  color: var(--color-ink);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-pressed);
  opacity: 1;
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-ink);
}

.btn-tertiary:hover {
  background-color: var(--color-surface-card);
  opacity: 1;
}

/* Category Service Tiles */
.category-tile {
  background-color: var(--color-surface-card);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

/* Filter Chips (used for Capabilities) */
.filter-chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-surface-card);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--rounded-full);
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-chip-active {
  background-color: var(--color-ink);
  color: var(--color-canvas);
}

/* Pin Overlay badge */
.pin-overlay-pill {
  background-color: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--rounded-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 6. Layout and Header Navigation */
.header-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-canvas);
  border-bottom: 1px solid var(--color-hairline-soft);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--color-ink);
  opacity: 1 !important;
}

.logo-icon {
  width: 24px;
  height: 24px;
  background-color: var(--color-primary);
  border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-canvas);
  font-weight: 800;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-charcoal);
  padding: 8px var(--spacing-xs);
  border-radius: var(--rounded-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background-color: var(--color-surface-card);
  color: var(--color-ink);
}

.nav-link.active {
  color: var(--color-primary);
  background-color: rgba(230, 0, 35, 0.05);
}

/* Mobile Hamburger Menu */
.hamburger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-ink);
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 7. Page Section Specific Styles */
.section {
  padding: var(--spacing-section) 0;
}

/* Hero Section */
.section-hero {
  background-color: var(--color-surface-soft);
  padding-top: calc(var(--spacing-section) + 32px);
  padding-bottom: calc(var(--spacing-section) + 32px);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

/* Startup Hero Badge */
.startup-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background-color: rgba(230, 0, 35, 0.06);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--rounded-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(230, 0, 35, 0.12);
  width: fit-content;
}

.startup-badge svg {
  flex-shrink: 0;
}

.startup-badge-divider {
  opacity: 0.3;
  margin: 0 2px;
}

.hero-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.hero-headline {
  margin-bottom: var(--spacing-lg);
}

.hero-desc {
  font-size: 16px;
  color: var(--color-body);
  margin-bottom: var(--spacing-md);
  max-width: 550px;
  line-height: 1.4;
}

.hero-desc.hero-startup-info {
  font-size: 16px;
  color: var(--color-body);
  font-weight: 400;
  margin-bottom: var(--spacing-xxl);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--rounded-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   API Verification Animation System (Core Business Visualization)
   ========================================================================== */

.conn-path {
  stroke: var(--color-hairline);
  stroke-width: 2;
  stroke-dasharray: 4 4;
  fill: none;
  transition: stroke 0.3s ease;
}

.conn-path-tl { animation: active-path-tl 8s infinite linear; }
.conn-path-tr { animation: active-path-tr 8s infinite linear; }
.conn-path-bl { animation: active-path-bl 8s infinite linear; }
.conn-path-br { animation: active-path-br 8s infinite linear; }

@keyframes active-path-tl {
  0% { stroke: var(--color-primary); stroke-dashoffset: 0; }
  10% { stroke: var(--color-primary); stroke-dashoffset: -20; }
  12%, 100% { stroke: var(--color-hairline); stroke-dashoffset: 0; }
}
@keyframes active-path-tr {
  0%, 25% { stroke: var(--color-hairline); stroke-dashoffset: 0; }
  25% { stroke: var(--color-primary); stroke-dashoffset: 0; }
  35% { stroke: var(--color-primary); stroke-dashoffset: -20; }
  37%, 100% { stroke: var(--color-hairline); stroke-dashoffset: 0; }
}
@keyframes active-path-bl {
  0%, 50% { stroke: var(--color-hairline); stroke-dashoffset: 0; }
  50% { stroke: var(--color-primary); stroke-dashoffset: 0; }
  60% { stroke: var(--color-primary); stroke-dashoffset: -20; }
  62%, 100% { stroke: var(--color-hairline); stroke-dashoffset: 0; }
}
@keyframes active-path-br {
  0%, 75% { stroke: var(--color-hairline); stroke-dashoffset: 0; }
  75% { stroke: var(--color-primary); stroke-dashoffset: 0; }
  85% { stroke: var(--color-primary); stroke-dashoffset: -20; }
  87%, 100% { stroke: var(--color-hairline); stroke-dashoffset: 0; }
}

.data-packet {
  opacity: 0;
}

.data-packet-tl {
  offset-path: path('M 35 40 L 100 75');
  animation: travel-packet-tl 8s infinite linear;
}
.data-packet-tr {
  offset-path: path('M 165 40 L 100 75');
  animation: travel-packet-tr 8s infinite linear;
}
.data-packet-bl {
  offset-path: path('M 35 110 L 100 75');
  animation: travel-packet-bl 8s infinite linear;
}
.data-packet-br {
  offset-path: path('M 165 110 L 100 75');
  animation: travel-packet-br 8s infinite linear;
}

@keyframes travel-packet-tl {
  0% { offset-distance: 0%; opacity: 0; }
  2% { opacity: 1; }
  10% { offset-distance: 100%; opacity: 1; }
  11%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes travel-packet-tr {
  0%, 25% { offset-distance: 0%; opacity: 0; }
  27% { opacity: 1; }
  35% { offset-distance: 100%; opacity: 1; }
  36%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes travel-packet-bl {
  0%, 50% { offset-distance: 0%; opacity: 0; }
  52% { opacity: 1; }
  60% { offset-distance: 100%; opacity: 1; }
  61%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes travel-packet-br {
  0%, 75% { offset-distance: 0%; opacity: 0; }
  77% { opacity: 1; }
  85% { offset-distance: 100%; opacity: 1; }
  86%, 100% { offset-distance: 100%; opacity: 0; }
}

.hub-group {
  transform-origin: 100px 75px;
  animation: hub-pulse 8s infinite ease-in-out;
}

.hub-ripple {
  transform-origin: 100px 75px;
  animation: hub-ripple-wave 8s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes hub-pulse {
  0%, 8%, 15%, 33%, 40%, 58%, 65%, 83%, 90%, 100% {
    transform: scale(1);
  }
  10%, 35%, 60%, 85% {
    transform: scale(1.12);
  }
}

@keyframes hub-ripple-wave {
  0%, 8%, 15%, 33%, 40%, 58%, 65%, 83%, 90%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  10%, 35%, 60%, 85% {
    transform: scale(1);
    opacity: 0.5;
  }
  14%, 39%, 64%, 89% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.node-group {
  transform-origin: var(--origin);
}
.node-group-tl { --origin: 35px 40px; animation: node-active-tl 8s infinite ease-in-out; }
.node-group-tr { --origin: 165px 40px; animation: node-active-tr 8s infinite ease-in-out; }
.node-group-bl { --origin: 35px 110px; animation: node-active-bl 8s infinite ease-in-out; }
.node-group-br { --origin: 165px 110px; animation: node-active-br 8s infinite ease-in-out; }

.node-group-tl .node-circle { animation: circle-active-tl 8s infinite ease-in-out; }
.node-group-tr .node-circle { animation: circle-active-tr 8s infinite ease-in-out; }
.node-group-bl .node-circle { animation: circle-active-bl 8s infinite ease-in-out; }
.node-group-br .node-circle { animation: circle-active-br 8s infinite ease-in-out; }

.node-group-tl text { animation: text-active-tl 8s infinite ease-in-out; }
.node-group-tr text { animation: text-active-tr 8s infinite ease-in-out; }
.node-group-bl text { animation: text-active-bl 8s infinite ease-in-out; }
.node-group-br text { animation: text-active-br 8s infinite ease-in-out; }

.node-circle {
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.node-group text {
  transition: fill 0.3s ease;
}

@keyframes node-active-tl {
  0%, 8% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
  10% { transform: scale(1.15); filter: drop-shadow(0 4px 12px rgba(16, 60, 37, 0.25)); }
  22% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
}
@keyframes circle-active-tl {
  0%, 8% { fill: var(--color-secondary-bg); stroke: none; }
  10%, 20% { fill: var(--color-success-pale); stroke: var(--color-success-deep); stroke-width: 1.5; }
  22% { fill: var(--color-secondary-bg); stroke: none; }
}
@keyframes text-active-tl {
  0%, 8% { fill: var(--color-ink); }
  10%, 20% { fill: var(--color-success-deep); }
  22% { fill: var(--color-ink); }
}

@keyframes node-active-tr {
  0%, 33% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
  35% { transform: scale(1.15); filter: drop-shadow(0 4px 12px rgba(16, 60, 37, 0.25)); }
  47% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
}
@keyframes circle-active-tr {
  0%, 33% { fill: var(--color-secondary-bg); stroke: none; }
  35%, 45% { fill: var(--color-success-pale); stroke: var(--color-success-deep); stroke-width: 1.5; }
  47% { fill: var(--color-secondary-bg); stroke: none; }
}
@keyframes text-active-tr {
  0%, 33% { fill: var(--color-ink); }
  35%, 45% { fill: var(--color-success-deep); }
  47% { fill: var(--color-ink); }
}

@keyframes node-active-bl {
  0%, 58% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
  60% { transform: scale(1.15); filter: drop-shadow(0 4px 12px rgba(16, 60, 37, 0.25)); }
  72% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
}
@keyframes circle-active-bl {
  0%, 58% { fill: var(--color-secondary-bg); stroke: none; }
  60%, 70% { fill: var(--color-success-pale); stroke: var(--color-success-deep); stroke-width: 1.5; }
  72% { fill: var(--color-secondary-bg); stroke: none; }
}
@keyframes text-active-bl {
  0%, 58% { fill: var(--color-ink); }
  60%, 70% { fill: var(--color-success-deep); }
  72% { fill: var(--color-ink); }
}

@keyframes node-active-br {
  0%, 83% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
  85% { transform: scale(1.15); filter: drop-shadow(0 4px 12px rgba(16, 60, 37, 0.25)); }
  97% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(16, 60, 37, 0)); }
}
@keyframes circle-active-br {
  0%, 83% { fill: var(--color-secondary-bg); stroke: none; }
  85%, 95% { fill: var(--color-success-pale); stroke: var(--color-success-deep); stroke-width: 1.5; }
  97% { fill: var(--color-secondary-bg); stroke: none; }
}
@keyframes text-active-br {
  0%, 83% { fill: var(--color-ink); }
  85%, 95% { fill: var(--color-success-deep); }
  97% { fill: var(--color-ink); }
}

/* About Section */
.section-about {
  background-color: var(--color-canvas);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.about-layout {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-top: var(--spacing-lg);
  font-size: 16px;
  color: var(--color-body);
}

/* Services (What We Do) Section */
.section-services {
  background-color: var(--color-surface-soft);
}

.section-header {
  margin-bottom: calc(var(--spacing-section) - 20px);
  text-align: center;
}

.section-title {
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-mute);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.service-icon-wrap {
  width: 44px;
  height: 44px;
  background-color: var(--color-canvas);
  border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
}

.service-icon {
  font-weight: 700;
  font-size: 18px;
}

.service-title {
  margin-bottom: var(--spacing-md);
}

.service-description {
  color: var(--color-mute);
  flex-grow: 1;
}

/* Products & Projects Section */
.section-projects {
  background-color: var(--color-canvas);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
}

/* Asymmetric alternating row layout matching feature-card design system */
.project-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-xxl);
  background-color: var(--color-surface-card);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  align-items: center;
}

.project-card:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.project-card:nth-child(even) .project-image-container {
  order: 2;
}

.project-card:nth-child(even) .project-content {
  order: 1;
}

.project-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  overflow: hidden;
  background-color: var(--color-canvas);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image {
  transform: scale(1.03);
}

.project-overlay {
  position: absolute;
  bottom: var(--spacing-lg);
  left: var(--spacing-lg);
  z-index: 10;
}

.project-content {
  padding: var(--spacing-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.project-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.25;
  margin-bottom: -10px;
}

.project-title {
  margin-top: var(--spacing-xxs);
}

.project-category {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-desc {
  color: var(--color-charcoal);
  font-size: 16px;
  line-height: 1.5;
}

.project-tech {
  margin-top: var(--spacing-xs);
}

.project-tech-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-mute);
  margin-bottom: var(--spacing-xs);
  letter-spacing: 0.5px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.tech-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-mute);
  background-color: var(--color-canvas);
  padding: 4px 10px;
  border-radius: var(--rounded-full);
  border: 1px solid var(--color-hairline-soft);
}

.project-link-wrap {
  margin-top: var(--spacing-md);
}

/* Technology / Capabilities Section */
.section-capabilities {
  background-color: var(--color-surface-soft);
}

.capabilities-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
}

.capability-column {
  background-color: var(--color-canvas);
  padding: var(--spacing-xxl);
  border-radius: var(--rounded-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.capability-title {
  border-bottom: 1px solid var(--color-hairline-soft);
  padding-bottom: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

/* Certifications Section */
.section-certifications {
  background-color: var(--color-surface-soft);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xxl);
}

.certificate-card {
  background-color: var(--color-canvas);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  border: 1px solid var(--color-hairline-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.certificate-badge-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(230, 0, 35, 0.06);
  color: var(--color-primary);
  border-radius: var(--rounded-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.certificate-title {
  margin-bottom: var(--spacing-sm);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
}

.certificate-desc {
  color: var(--color-mute);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.certificate-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
  margin-bottom: var(--spacing-lg);
  font-size: 12px;
}

.meta-label {
  font-weight: 700;
  color: var(--color-mute);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-weight: 600;
  color: var(--color-ink);
}

.certificate-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Location & Contact Section */
.section-location {
  background-color: var(--color-canvas);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.location-address {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.location-details {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxs);
}

.location-detail-item {
  font-size: 14px;
}

.location-detail-label {
  font-weight: 700;
  color: var(--color-mute);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.location-map-wrap {
  width: 100%;
  height: 400px;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  position: relative;
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 8. Footer Section */
.footer-wrapper {
  background-color: var(--color-canvas);
  border-top: 1px solid var(--color-hairline);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--spacing-xxl);
  padding: 48px 0 32px 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-ink);
}

.footer-tagline {
  color: var(--color-mute);
  max-width: 320px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-ink);
  letter-spacing: 0.5px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  list-style: none;
}

.footer-link {
  font-size: 14px;
  color: var(--color-mute);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-ink);
}

.footer-bottom {
  border-top: 1px solid var(--color-hairline-soft);
  padding: var(--spacing-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-mute);
}

/* 9. Scroll Animations & Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* 10. Responsive Media Queries */
@media (max-width: 1024px) {
  :root {
    --spacing-section: 48px;
  }
  
  .hero-layout, .capabilities-layout, .location-layout {
    gap: var(--spacing-xl);
  }
  
  .project-card, .project-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .project-card:nth-child(even) .project-image-container {
    order: 1;
  }
  
  .project-card:nth-child(even) .project-content {
    order: 2;
  }
  
  .project-image-container {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 40px;
  }
  
  /* Primary navigation drawer */
  .hamburger-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-canvas);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-xl);
    gap: var(--spacing-md);
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.03);
    transition: right 0.3s ease;
    z-index: 1099;
    border-left: 1px solid var(--color-hairline-soft);
  }
  
  .nav-links.nav-active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 12px var(--spacing-md);
  }
  
  /* Hamburger animations */
  .hamburger-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .hamburger-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  /* Stacking columns */
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-desc {
    margin: 0 auto var(--spacing-xxl) auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: var(--spacing-lg);
  }

  
  .capabilities-layout {
    grid-template-columns: 1fr;
  }
  
  .location-layout {
    grid-template-columns: 1fr;
  }
  
  .location-map-wrap {
    margin-top: var(--spacing-lg);
    height: 300px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-section: 32px;
  }
  
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .about-facts {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .project-content {
    padding: var(--spacing-xl);
  }
  
  .project-image-container {
    min-height: 220px;
  }
}
