@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-ThinItalic.woff') format('woff');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-SemiBoldItalic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-ExtraBoldItalic.woff') format('woff');
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Gellix';
  src: url('./fonts/Gellix-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
}

:root {
  /* Brand & Accents */
  --color-primary: #04AA23;
  --color-primary-dark: #03881C;
  
  /* Backgrounds */
  --color-bg-main: #0C1119;
  --color-bg-surface: #0E141C;
  --color-bg-elevated: #151D2A;
  
  /* Typography */
  --color-text-primary: #F5F6F8;
  --color-text-secondary: #7C8697;
  --color-text-tertiary: #A0AEC0;
  
  /* Borders & Dividers */
  --color-border: #17202B;

  /* Typography Sizes */
  --text-massive: clamp(48px, 5vw, 60px);
  --text-h1-desktop: 48px;
  --text-hero-secondary: 40px;
  --text-h1-mobile: 32px;
  --text-card-title: 16px;
  --text-large-body: 18px;
  --text-body: 16px;
  --text-nav-btn: 15px;
  --text-small: 13px;
  --text-xs: 12px;
  --text-pill: 11px;
  --text-eyebrow: 10px;

  /* Font Family - Using Gellix as requested, with robust fallbacks */
  --font-family: 'Gellix', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --spacing-container: 1280px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-main);
  background-image: 
    radial-gradient(circle 500px at -100px -100px, rgba(4, 170, 35, 0.07) 0%, transparent 70%),
    radial-gradient(circle 500px at calc(100% + 100px) 250px, rgba(4, 170, 35, 0.05) 0%, transparent 70%);
  background-repeat: no-repeat;
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

/* Ambient Background Glows - disabled pseudo-elements to avoid mobile viewport expansion */
body::before, 
body::after {
  display: none;
}

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

main {
  flex: 1;
  padding-top: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-nav-cta {
  display: none;
}

/* Header & Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  background-color: rgba(12, 17, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.logo-svg {
  display: block;
  width: 103px;
  height: 31px;
  background-color: currentColor;
  -webkit-mask: url('assets/danaleko.svg') no-repeat center;
  mask: url('assets/danaleko.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-nav-btn);
  font-weight: 600;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover, 
.nav-links a.active {
  color: var(--color-text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn-white {
  background-color: var(--color-text-primary);
  color: var(--color-bg-main);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: var(--text-nav-btn);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-white:hover {
  background-color: #E2E4E8;
}

.btn-white:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: var(--text-nav-btn);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(4, 170, 35, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 24px;
  font-size: var(--text-nav-btn);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--color-bg-elevated);
  border-color: #2A3645;
}

.icon-arrow {
  transition: transform 0.2s ease;
}

.btn-white:hover .icon-arrow,
.btn-primary:hover .icon-arrow,
.btn-secondary:hover .icon-arrow {
  transform: translate(2px, -2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: var(--text-massive);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--color-text-primary);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: var(--text-large-body);
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.service-card {
  background-color: var(--color-bg-surface);
  border: 0.5px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.portfolio-thumbnail {
  width: calc(100% + 56px);
  margin-top: -28px;
  margin-left: -28px;
  margin-right: -28px;
  aspect-ratio: 16 / 9;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  margin-bottom: 24px;
  background-color: var(--color-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-thumbnail > svg {
  color: var(--color-text-secondary);
  opacity: 0.2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .portfolio-thumbnail img,
.service-card:hover .portfolio-thumbnail > svg {
  transform: scale(1.05);
}


.full-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: 16px;
}

.service-card:hover {
  background-image: radial-gradient(circle at center, rgba(4, 170, 35, 0.12) 0%, transparent 95%);
  border-color: rgba(4, 170, 35, 0.2);
}

.pill {
  align-self: flex-start;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--color-text-tertiary);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: var(--text-pill);
  font-weight: 600;
  margin-bottom: 24px;
}

.card-title {
  font-size: var(--text-card-title);
  font-weight: 600;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card:hover .card-title {
  color: rgba(4, 170, 35, 0.95);
}



.card-title a {
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card-title svg {
  color: var(--color-text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card:hover .card-title svg {
  color: var(--color-primary);
  transform: translate(2px, -2px);
}

.card-desc {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.card-features {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-features li {
  font-size: var(--text-small);
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-footer {
  margin-top: auto;
  padding-top: 32px;
}

.card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card-link svg {
  color: var(--color-text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card:hover .card-link svg {
  color: var(--color-text-primary);
  transform: translate(2px, -2px);
}

/* Search Component */
.search-container {
  position: relative;
  max-width: 650px;
  margin: 0 auto 60px auto;
  width: 100%;
}

.search-input {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px 16px 48px;
  color: var(--color-text-primary);
  font-size: var(--text-body);
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: rgba(4, 170, 35, 0.5);
  background-color: rgba(4, 170, 35, 0.02);
}

.search-input::placeholder {
  color: var(--color-text-secondary);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  pointer-events: none;
}

/* Softwares Cards Elements */
.card-label-green {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tech-tag {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: var(--color-text-tertiary);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 100px;
}

.hidden-card {
  display: none !important;
}

/* Softwares No Results State */
.no-results-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  border: 1px dashed var(--color-border);
  border-radius: 16px;
  max-width: 650px;
  margin: 0 auto;
}

.no-results-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-text-secondary);
}

.no-results-title {
  font-size: var(--text-card-title);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.no-results-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.6;
}

.no-results-desc strong {
  color: var(--color-text-primary);
}

/* Portfolio Filters & Pagination */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 60px auto;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: var(--text-small);
  font-family: inherit;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.mobile-filter-container {
  display: none;
  position: relative;
  max-width: 360px;
  margin: 0 auto 40px auto;
  width: 100%;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: var(--text-small);
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select.open .select-trigger {
  border-color: rgba(4, 170, 35, 0.5);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.select-icon {
  color: var(--color-text-secondary);
  transition: transform 0.3s ease;
}

.custom-select.open .select-icon {
  transform: rotate(180deg);
}

.select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.custom-select.open .select-dropdown {
  display: flex;
}

.select-search-container {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
}

.select-search-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: var(--text-small);
  outline: none;
}

.select-search-input::placeholder {
  color: #4b5868;
}

.select-options-list {
  max-height: 200px;
  overflow-y: auto;
}

/* Custom Scrollbar for the list */
.select-options-list::-webkit-scrollbar {
  width: 6px;
}
.select-options-list::-webkit-scrollbar-track {
  background: transparent;
}
.select-options-list::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 10px;
}

.select-option {
  padding: 14px 20px;
  font-family: inherit;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.select-option:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.select-option.selected {
  color: var(--color-primary);
  background-color: rgba(4, 170, 35, 0.05);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.page-btn {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: var(--text-small);
  font-family: inherit;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover:not(.disabled) {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
}

.page-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Contact Page Styles - Modern Multi-step Flow */
.contact-page-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Desktop & Computer (100vh fitted viewport) */
@media (min-width: 993px) {
  .contact-page-layout {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .contact-page-layout .header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    flex-shrink: 0;
    z-index: 50;
    background-color: transparent;
  }

  .contact-page-layout .contact-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    width: 100%;
    overflow-y: auto;
  }

  .contact-page-layout .multistep-card {
    width: 100%;
    max-width: 660px;
    margin: auto 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
  }

  .contact-page-layout .footer {
    flex-shrink: 0;
  }

  .contact-page-layout .multistep-header {
    padding: 0 0 20px 0;
  }

  .contact-page-layout .step-header-text {
    margin-bottom: 20px;
  }

  .contact-page-layout .large-cards-grid {
    gap: 12px;
    margin-bottom: 16px;
  }

  .contact-page-layout .large-service-card {
    padding: 16px 20px;
  }

  .contact-page-layout .step-nav-footer {
    margin-top: 18px;
  }

  .contact-page-layout .step-question {
    font-size: 26px;
    margin-bottom: 6px;
  }
}

/* Tablet & Mobile Screens (Natural, smooth flowing layout) */
@media (max-width: 992px) {
  .contact-page-layout {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
  }

  .contact-page-layout .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
  }

  .contact-page-layout .contact-main {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 104px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
  }

  .contact-page-layout .multistep-card {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .contact-page-layout .contact-main {
    padding-top: 96px;
    padding-bottom: 40px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-page-layout .multistep-header {
    padding: 0 0 16px 0;
  }

  .contact-page-layout .multistep-header-bar {
    margin-bottom: 12px;
  }

  .contact-page-layout .step-header-text {
    margin-bottom: 18px;
  }

  .contact-page-layout .step-tag {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }

  .contact-page-layout .step-question {
    font-size: 21px;
    letter-spacing: -0.3px;
    line-height: 1.28;
    margin-bottom: 6px;
  }

  .contact-page-layout .step-desc {
    font-size: 13px;
    line-height: 1.45;
  }

  .contact-page-layout .large-cards-grid {
    gap: 10px;
    margin-bottom: 16px;
  }

  .contact-page-layout .large-service-card {
    padding: 14px 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .contact-page-layout .card-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .contact-page-layout .card-service-icon {
    width: 20px;
    height: 20px;
  }

  .contact-page-layout .card-heading {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .contact-page-layout .card-subtext {
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-page-layout .check-circle {
    width: 20px;
    height: 20px;
  }

  .contact-page-layout .step-nav-footer {
    margin-top: 18px;
    width: 100%;
  }

  .contact-page-layout .btn-step-next {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14.5px;
  }

  .contact-page-layout .step-header-spacer {
    width: 40px;
  }

  .contact-page-layout .btn-step-nav {
    padding: 5px 10px;
    font-size: 11px;
  }

  .contact-page-layout .step-badge {
    padding: 5px 10px;
    font-size: 11px;
    gap: 6px;
  }

  .contact-page-layout .form-control {
    font-size: 16px; /* Prevents auto-zoom in mobile Safari */
  }

  .contact-page-layout .input-group .code-select .select-dropdown {
    width: 100%;
    max-width: 100%;
  }

  .contact-page-layout .budget-field-control {
    font-size: 20px;
  }

  .contact-page-layout .budget-currency-symbol {
    font-size: 22px;
    margin-right: 8px;
  }

  .contact-page-layout .step-confirmation-pane {
    padding: 24px 12px;
  }

  .contact-page-layout .conf-headline {
    font-size: 22px;
  }

  .contact-page-layout .inquiry-summary-card {
    padding: 16px;
  }
}

/* Header & Progress Bar */
.multistep-header {
  padding: 0 0 32px 0;
  background: transparent;
}

.multistep-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.btn-step-nav {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-step-nav:hover {
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-step-nav.hidden-nav {
  visibility: hidden;
  pointer-events: none;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.3px;
}

.step-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
}

.step-header-spacer {
  width: 68px; /* Counterweight to keep badge centered */
}

.progress-track {
  width: 100%;
  height: 3px;
  background-color: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #04AA23, #10B981);
  border-radius: 3px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step Panes */
.multistep-form {
  position: relative;
}

.step-pane {
  display: none;
  padding: 0;
}

@media (max-width: 640px) {
  .step-pane {
    padding: 0;
  }
  .multistep-header {
    padding: 0 0 24px 0;
  }
}

.step-pane.active {
  display: block;
  animation: stepFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header-text {
  margin-bottom: 26px;
}

.step-tag {
  display: inline-block;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.step-question {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .step-question {
    font-size: 22px;
  }
}

.step-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Step 1: Large Clickable Service Cards */
.large-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.large-service-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
  color: inherit;
  font-family: inherit;
}

.large-service-card:hover {
  border-color: rgba(4, 170, 35, 0.45);
  background-color: rgba(21, 29, 42, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.large-service-card.selected {
  border-color: rgba(4, 170, 35, 0.45);
  background-color: rgba(4, 170, 35, 0.05);
  box-shadow: none;
}

.card-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  color: var(--color-primary);
}

.card-service-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.large-service-card:hover .card-icon-circle,
.large-service-card.selected .card-icon-circle {
  transform: scale(1.08);
  border-color: rgba(4, 170, 35, 0.5);
  background-color: rgba(4, 170, 35, 0.12);
  color: #34D399;
}

.large-service-card:hover .card-service-icon,
.large-service-card.selected .card-service-icon {
  color: #34D399;
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.large-service-card.selected .card-heading {
  color: #ffffff;
}

.card-subtext {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin: 0;
}

.card-check-pill {
  flex-shrink: 0;
}

.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.large-service-card.selected .check-circle {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 10px rgba(4, 170, 35, 0.4);
}

.large-service-card.selected .check-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

/* Step 2: Branching Chips & Subsections */
.chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

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

.chip-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-option-btn:hover {
  border-color: rgba(4, 170, 35, 0.4);
  color: var(--color-text-primary);
  background-color: rgba(21, 29, 42, 0.9);
}

.chip-option-btn.selected {
  border-color: rgba(4, 170, 35, 0.45);
  background-color: rgba(4, 170, 35, 0.08);
  color: #ffffff;
  font-weight: 500;
  box-shadow: none;
}

.chip-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  transition: all 0.2s ease;
}

.chip-option-btn.selected .chip-check {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

.chip-option-btn.selected .chip-check::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
}

.step-subsection {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.subsection-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

/* Step 3: Budget */
.budget-box-wrapper {
  max-width: 520px;
  padding: 8px 0 16px;
}

.budget-input-field {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 20px;
  transition: all 0.2s ease;
}

.budget-input-field:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), 0 0 18px rgba(4, 170, 35, 0.15);
}

.budget-input-field.disabled-field {
  opacity: 0.45;
  background-color: rgba(255, 255, 255, 0.02);
}

.budget-currency-symbol {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  margin-right: 12px;
  line-height: 1;
}

.budget-field-control {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
  font-family: inherit;
  width: 100%;
}

.budget-field-control::placeholder {
  color: #435163;
}

.budget-helper-text {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 8px;
  margin-bottom: 22px;
}

.budget-unknown-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.budget-unknown-checkbox-label input {
  display: none;
}

.custom-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.budget-unknown-checkbox-label input:checked + .custom-check-box {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(4, 170, 35, 0.4);
}

.checkbox-label-text {
  font-size: 14px;
  color: var(--color-text-primary);
}

/* Step 4: Timeline Cards */
.timeline-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .timeline-cards-grid {
    grid-template-columns: 1fr;
  }
}

.timeline-card-item {
  padding: 20px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  color: inherit;
  font-family: inherit;
}

.timeline-card-item:hover {
  border-color: rgba(4, 170, 35, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.timeline-card-item.selected {
  border-color: var(--color-primary);
  background-color: rgba(4, 170, 35, 0.08);
  box-shadow: 0 2px 8px rgba(4, 170, 35, 0.1);
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.timeline-tag svg {
  flex-shrink: 0;
}

.timeline-tag.urgent {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.timeline-caption {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin: 0;
}

.timeline-card-item .card-radio-indicator {
  position: absolute;
  top: 18px;
  right: 18px;
}

.timeline-card-item.selected .card-radio-indicator .radio-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

/* Step Navigation Footer */
.step-nav-footer {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
}

.btn-step-next {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-step-next:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(4, 170, 35, 0.3);
  transform: translateY(-1px);
}

.step-error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
}

/* Step 5: Contact Details Inputs */
.contact-fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.req-star {
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1;
}

.opt-label {
  text-transform: none;
  font-weight: 400;
  color: #5d6b7b;
  font-size: 11px;
  letter-spacing: 0;
}

.form-control {
  width: 100%;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.form-control::placeholder {
  color: #4b5868;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), 0 0 14px rgba(4, 170, 35, 0.15);
}

.form-control:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.02);
}

.form-control.is-invalid {
  border-color: #ef4444;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

/* Autofill fixes */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover, 
.form-control:-webkit-autofill:focus, 
.form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--color-bg-elevated) inset !important;
  -webkit-text-fill-color: var(--color-text-primary) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Phone input group */
.input-group {
  display: flex;
  gap: 12px;
  width: 100%;
  position: relative;
}

@media (max-width: 600px) {
  .input-group {
    flex-direction: column;
  }
}

.input-group .code-select {
  flex: 0 0 210px;
  min-width: 180px;
  position: relative;
}

@media (max-width: 600px) {
  .input-group .code-select {
    flex: 1 1 100%;
    width: 100%;
  }
}

.input-group .code-select .select-trigger {
  padding: 13px 14px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 13px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-group .code-select.open .select-trigger {
  border-color: var(--color-primary);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 0 0 1px var(--color-primary);
}

.input-group .code-select .select-dropdown {
  width: 320px;
  max-width: 90vw;
  background-color: #111823;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  top: calc(100% + 6px);
}

.input-group .phone-input-field {
  flex: 1;
  min-width: 0;
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 12.5px;
  margin-top: 5px;
  min-height: 18px;
}

.form-actions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .form-actions-split {
    grid-template-columns: 1fr;
  }
}

.btn-contact-submit {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-contact-submit:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(4, 170, 35, 0.3);
}

.btn-contact-whatsapp {
  background-color: #25D366;
  border: 1px solid transparent;
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-contact-whatsapp:hover {
  background-color: #20BA59;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

/* Step 6: Confirmation Screen */
.step-confirmation-pane {
  padding: 40px 36px 44px;
}

.confirmation-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conf-celebration-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(4, 170, 35, 0.12);
  border: 1px solid rgba(4, 170, 35, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 20px;
  animation: bounceCelebration 1.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

.conf-celebration-badge svg {
  color: var(--color-primary);
}

@keyframes bounceCelebration {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-6px) scale(1.04); }
}

.conf-headline {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.conf-subtext {
  font-size: 14.5px;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.inquiry-summary-card {
  width: 100%;
  max-width: 480px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 14px;
}

.summary-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1.5px;
}

.summary-timestamp {
  font-size: 12px;
  color: var(--color-text-secondary);
  font-family: monospace;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.summary-label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.summary-value {
  color: var(--color-text-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.summary-value.highlight-green {
  color: #34D399;
}

.conf-cta-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

.conf-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  background: rgba(4, 170, 35, 0.08);
  border: 1px solid rgba(4, 170, 35, 0.25);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.conf-cta-link:hover {
  background: rgba(4, 170, 35, 0.16);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Terms of Service Page
   ========================================================================== */
.terms-main {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 80px;
  justify-content: flex-start;
}

.terms-hero {
  text-align: center;
  margin-bottom: 48px;
}

.terms-hero-title {
  font-size: var(--text-hero-secondary);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text-primary);
  letter-spacing: -1px;
}

.terms-hero-subtitle {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.terms-hero-subtitle strong {
  color: var(--color-text-primary);
}

.terms-cards-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.terms-card {
  padding: 32px;
  text-align: left;
}

.terms-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.terms-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(4, 170, 35, 0.1);
  border: 1px solid rgba(4, 170, 35, 0.2);
  color: var(--color-primary);
  flex-shrink: 0;
}

.terms-tag {
  display: block;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.terms-card-title {
  font-size: var(--text-subtitle);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
}

.terms-card-body p {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.terms-card-body p:last-child {
  margin-bottom: 0;
}

.terms-card-body strong {
  color: var(--color-text-primary);
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.terms-list.success-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304AA23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='8 12 11 15 16 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
  border-radius: 0;
}

.terms-list.warning-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ef4444; /* red dot */
}

.terms-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

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

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

.terms-inner-card {
  background-color: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
}

.terms-inner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.terms-inner-title.warning-text {
  color: #ef4444;
}

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

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

.warning-dot {
  background-color: #ef4444;
}

.terms-inner-card p {
  font-size: 12px;
  margin-bottom: 0;
}

.terms-divider-block {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.terms-small-text {
  font-size: 11px !important;
  color: #5d6b7b !important;
  margin-top: 24px;
}

.terms-stacked-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.terms-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  margin-top: 24px;
  background-color: rgba(4, 170, 35, 0.04);
  border: 1px solid rgba(4, 170, 35, 0.2);
}

.center-icon {
  margin: 0 auto 24px auto;
}

.terms-cta-card p {
  max-width: 500px;
  margin: 16px auto 32px auto;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.terms-btn {
  margin: 0;
}

@media (max-width: 768px) {
  .contact-main {
    min-height: auto;
    padding-top: 100px;
  }

  .contact-hero {
    margin-bottom: 24px;
  }

  .contact-hero-title {
    font-size: 32px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .code-select {
    width: 100%;
  }

  /* Terms Page Mobile Rules */
  .terms-main {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .terms-grid-3, .terms-grid-2 {
    grid-template-columns: 1fr;
  }
  .terms-card-header {
    flex-direction: row;
    gap: 16px;
  }
  .terms-card {
    padding: 24px;
  }
  .terms-hero-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .form-actions {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Scrollable Page Logic (Override) */
.page-scrollable {
  justify-content: flex-start !important;
  padding-bottom: 60px;
}

.page-scrollable .hero {
  padding-top: 80px;
  padding-bottom: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 0 40px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.1px;
  color: #7C8697;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.footer a {
  color: #7C8697;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--color-text-primary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .filter-container {
    display: none;
  }

  .mobile-filter-container {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-white {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background-color: var(--color-bg-main);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
  }
  
  .nav-links .mobile-nav-cta .btn-white {
    width: 100%;
    justify-content: center;
    color: var(--color-bg-main);
  }
  
  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: -0.5px;
  }
  
  .hero-subtitle {
    font-size: var(--text-body);
  }
}

@media (max-width: 650px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  
  .hero-actions a {
    width: auto;
    padding: 12px 16px;
    font-size: 13px;
    justify-content: center;
  }
}

@media (min-width: 993px) {
  /* removed to allow scrolling */
}

.page-btn[data-page="prev"],
.page-btn[data-page="next"] {
  border-color: transparent;
}

/* ==========================================================================
   Behance-Styled Portfolio Details Modal View
   ========================================================================== */
body.behance-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.behance-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(5, 8, 14, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.behance-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.behance-modal-shell {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Top Sticky Navigation Bar (Behance Style) */
.behance-sticky-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 120;
  background-color: rgba(12, 17, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.behance-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.behance-author-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.behance-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(4, 170, 35, 0.15);
  border: 1px solid rgba(4, 170, 35, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.behance-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.behance-author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.behance-author-role {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.behance-bar-divider {
  width: 1px;
  height: 22px;
  background-color: var(--color-border);
  margin: 0 4px;
}

.behance-bar-title-wrap {
  min-width: 0;
  overflow: hidden;
}

.behance-bar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.behance-bar-category {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.behance-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.behance-appreciate-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.behance-appreciate-btn:hover {
  border-color: rgba(4, 170, 35, 0.5);
  background: rgba(4, 170, 35, 0.1);
  color: #34D399;
}

.behance-appreciate-btn.liked {
  background: rgba(4, 170, 35, 0.18);
  border-color: var(--color-primary);
  color: #34D399;
}

.behance-appreciate-btn svg {
  transition: transform 0.2s ease, fill 0.2s ease;
}

.behance-appreciate-btn:active svg {
  transform: scale(1.25);
}

.behance-appreciate-btn.liked svg {
  fill: var(--color-primary);
  stroke: var(--color-primary);
}

.behance-external-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.behance-external-btn:hover {
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.behance-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.behance-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Modal Content Container */
.behance-container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  box-sizing: border-box;
}

/* Hero Showcase Card */
.behance-hero-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-elevated);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 36px;
}

.behance-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.behance-hero-card > svg {
  color: var(--color-text-secondary);
  opacity: 0.25;
  width: 64px;
  height: 64px;
}

/* Project Header & Metadata */
.behance-meta-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 36px 40px;
  margin-bottom: 40px;
}

.behance-meta-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.behance-project-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin-bottom: 12px;
}

.behance-project-desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 800px;
  margin: 0;
}

.behance-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.behance-tag {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
}

.behance-grid-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
}

.behance-meta-item-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.behance-meta-item-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Case Study Blocks */
.behance-stream {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 50px;
}

.behance-block {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 36px 40px;
}

.behance-block-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.behance-block-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.behance-block-text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Color Palette Cards (Behance Style) */
.behance-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.behance-palette-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-elevated);
}

.palette-color-block {
  height: 80px;
  width: 100%;
}

.palette-meta {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.palette-hex {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-primary);
  font-family: monospace;
}

.palette-role {
  font-size: 11px;
  color: var(--color-text-secondary);
}

/* Typography Specimens */
.behance-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.behance-type-card {
  padding: 22px;
  border-radius: 14px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
}

.type-label {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.type-specimen {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}

.type-alphabet {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  letter-spacing: 1px;
}

/* Deliverables & Deliverable Cards */
.behance-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.behance-feature-item {
  padding: 20px;
  border-radius: 14px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: rgba(4, 170, 35, 0.12);
  border: 1px solid rgba(4, 170, 35, 0.25);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-info h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Project Footer & Bottom Appreciation (Classic Behance) */
.behance-footer-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.behance-big-appreciate {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(4, 170, 35, 0.1);
  border: 1.5px solid rgba(4, 170, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 16px;
}

.behance-big-appreciate:hover {
  transform: scale(1.08);
  background: rgba(4, 170, 35, 0.2);
  border-color: var(--color-primary);
  box-shadow: 0 0 24px rgba(4, 170, 35, 0.3);
}

.behance-big-appreciate.liked {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 28px rgba(4, 170, 35, 0.5);
}

.behance-big-appreciate.liked svg {
  fill: #ffffff;
  stroke: #ffffff;
}

.behance-big-app-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.behance-big-app-count {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.behance-cta-divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  background-color: var(--color-border);
  margin: 20px 0 32px;
}

.behance-cta-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.behance-cta-sub {
  font-size: 14.5px;
  color: var(--color-text-secondary);
  max-width: 460px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.behance-cta-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.behance-cta-btn:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(4, 170, 35, 0.3);
  transform: translateY(-1px);
}

/* Prev / Next Project Switcher */
.behance-nav-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.behance-switch-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.behance-switch-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
}

/* Responsive Behance Modal */
@media (max-width: 768px) {
  .behance-sticky-bar {
    padding: 10px 16px;
    gap: 10px;
  }

  .behance-bar-divider,
  .behance-author-role,
  .behance-bar-category {
    display: none;
  }

  .behance-bar-title {
    font-size: 13px;
    max-width: 130px;
  }

  .behance-author-name {
    font-size: 12.5px;
  }

  .behance-appreciate-btn span {
    display: none;
  }

  .behance-appreciate-btn {
    padding: 8px 10px;
  }

  .behance-external-btn span {
    display: none;
  }

  .behance-external-btn {
    padding: 8px 10px;
  }

  .behance-close-btn {
    width: 34px;
    height: 34px;
  }

  .behance-container {
    padding: 20px 16px 60px;
  }

  .behance-meta-card {
    padding: 24px 20px;
  }

  .behance-project-title {
    font-size: 26px;
  }

  .behance-project-desc {
    font-size: 14.5px;
  }

  .behance-grid-meta {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .behance-block {
    padding: 24px 20px;
  }

  .behance-type-grid {
    grid-template-columns: 1fr;
  }

  .behance-footer-card {
    padding: 36px 20px;
  }

  .behance-cta-title {
    font-size: 21px;
  }

  .behance-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .behance-nav-switcher {
    flex-direction: column;
    gap: 12px;
  }

  .behance-switch-btn {
    width: 100%;
    justify-content: center;
  }
}
