/* -------------------------------------------------------------------------- */
/*                                 VARIABLES                                  */
/* -------------------------------------------------------------------------- */

:root {

  /* ===================================================== */
  /*  BRAND COLORS                                          */
  /* ===================================================== */
  --color-primary:         #1546f6;
  --color-primary-hover:   #1038c8;
  --color-primary-light:   #bfdbfe;
  --color-primary-dark:    #0a1b3f;

  --color-accent:          #6366f1;
  --color-success:         #22c55e;
  --color-warning:         #f59e0b;
  --color-error:           #ef4444;
  --color-info:            #38bdf8;

  /* ===================================================== */
  /*  NEUTRAL PALETTE                                       */
  /* ===================================================== */
  --color-white:    #ffffff;
  --color-gray-50:  #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;

  /* ===================================================== */
  /*  SEMANTIC COLORS                                       */
  /* ===================================================== */
  --color-text-main:       var(--color-gray-900);
  --color-text-secondary:  var(--color-gray-600);
  --color-text-light:      var(--color-gray-500);
  --color-text-disabled:   var(--color-gray-400);
  --color-text-inverse:    var(--color-white);

  --color-bg-body:         var(--color-white);
  --color-bg-alt:          var(--color-gray-50);
  --color-bg-section-alt:  var(--color-gray-50);
  --color-bg-muted:        var(--color-gray-100);
  --color-bg-card:         var(--color-white);
  --color-bg-overlay:      rgba(10, 27, 63, 0.48);

  --color-border:          var(--color-gray-200);
  --color-border-input:    var(--color-gray-300);
  --color-border-focus:    var(--color-primary);

  /* ===================================================== */
  /*  TYPOGRAPHY                                            */
  /* ===================================================== */
  --font-family:           "Figtree", system-ui, -apple-system, sans-serif;
  --font-family-mono:      "JetBrains Mono", "Fira Code", monospace;

  --font-weight-regular:   400;
  --font-weight-medium:    500;
  --font-weight-semibold:  600;
  --font-weight-bold:      700;
  --font-weight-extrabold: 800;

  /* Type scale - Fluid */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: clamp(15px, calc(0.85rem + 0.25vw), 16px);
  --text-lg:   clamp(16px, calc(0.95rem + 0.23vw), 18px);
  --text-xl:   clamp(18px, calc(1.08rem + 0.23vw), 20px);
  --text-2xl:  clamp(20px, calc(1.16rem + 0.45vw), 24px);
  --text-3xl:  clamp(24px, calc(1.36rem + 0.68vw), 30px);
  --text-4xl:  clamp(28px, calc(1.57rem + 0.9vw), 36px);
  --text-5xl:  clamp(34px, calc(1.8rem + 1.59vw), 48px);
  --text-6xl:  clamp(40px, calc(2.04rem + 2.27vw), 60px);
  --text-7xl:  clamp(48px, calc(2.46rem + 2.72vw), 72px);

  /* Aliases */
  --text-body:    var(--text-base);
  --text-body-lg: var(--text-lg);
  --text-h1:      var(--text-6xl);
  --text-h2:      var(--text-4xl);
  --text-h3:      var(--text-2xl);

  /* Line heights */
  --leading-none:    1;
  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.6;
  --leading-loose:   1.8;

  /* Letter spacing */
  --tracking-tight:   -0.02em;
  --tracking-snug:    -0.01em;
  --tracking-normal:    0em;
  --tracking-wide:     0.05em;
  --tracking-wider:    0.08em;
  --tracking-widest:   0.12em;

  /* ===================================================== */
  /*  HEADING TOKENS                                        */
  /* ===================================================== */
  --h1-size:          var(--text-6xl);
  --h1-color:         var(--color-primary-dark);
  --h1-weight:        var(--font-weight-bold);
  --h1-line-height:   var(--leading-tight);
  --h1-margin-bottom: var(--spacing-md);

  --h2-size:          var(--text-4xl);
  --h2-color:         var(--color-primary-dark);
  --h2-weight:        var(--font-weight-semibold);
  --h2-line-height:   var(--leading-snug);
  --h2-margin-bottom: var(--spacing-sm);

  --h3-size:          var(--text-2xl);
  --h3-color:         var(--color-primary-dark);
  --h3-weight:        var(--font-weight-semibold);
  --h3-line-height:   1.33;
  --h3-margin-bottom: var(--spacing-sm);

  --h4-size:          var(--text-xl);
  --h4-color:         var(--color-primary-dark);
  --h4-weight:        var(--font-weight-semibold);
  --h4-line-height:   1.4;
  --h4-margin-bottom: var(--spacing-sm);

  --h5-size:          var(--text-lg);
  --h5-color:         var(--color-primary-dark);
  --h5-weight:        var(--font-weight-semibold);
  --h5-line-height:   var(--leading-normal);
  --h5-margin-bottom: var(--spacing-sm);

  --h6-size:          var(--text-base);
  --h6-color:         var(--color-primary-dark);
  --h6-weight:        var(--font-weight-semibold);
  --h6-line-height:   var(--leading-normal);
  --h6-margin-bottom: var(--spacing-sm);

  --p-size:           var(--text-base);
  --p-color:          var(--color-text-main);
  --p-weight:         var(--font-weight-regular);
  --p-line-height:    var(--leading-relaxed);
  --p-margin-bottom:  var(--spacing-sm);

  /* ===================================================== */
  /*  SPACING SCALE                                         */
  /* ===================================================== */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Named aliases */
  --spacing-xs:  var(--space-2);
  --spacing-sm:  var(--space-4);
  --spacing-md:  var(--space-6);
  --spacing-lg:  var(--space-8);
  --spacing-xl:  var(--space-12);
  --spacing-xxl: var(--space-20);
  --spacing-3xl: var(--space-24);

  /* Section padding */
  --section-padding-y:    100px;
  --section-padding-y-sm: 60px;

  /* ===================================================== */
  /*  LAYOUT                                               */
  /* ===================================================== */
  --container-width:   1440px;
  --container-padding: var(--space-6);
  --container-narrow:  800px;
  --container-wide:    1440px;

  --grid-gap:    var(--spacing-lg);
  --grid-gap-sm: var(--spacing-md);
  --grid-gap-lg: var(--spacing-xl);

  /* ===================================================== */
  /*  BORDER RADIUS                                         */
  /* ===================================================== */
  --radius-none: 0px;
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Component aliases */
  --radius-btn:   var(--radius-full);
  --radius-card:  var(--radius-lg);
  --radius-input: var(--radius-md);
  --radius-badge: var(--radius-full);

  /* ===================================================== */
  /*  SHADOWS                                               */
  /* ===================================================== */
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.05);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl:    0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
  --shadow-2xl:   0 25px 50px -12px rgba(0,0,0,0.18);
  --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.06);
  --shadow-focus: 0 0 0 3px rgba(21,70,246,0.25);

  /* Component aliases */
  --shadow-card:   var(--shadow-md);
  --shadow-navbar: var(--shadow-sm);
  --shadow-btn:    var(--shadow-sm);

  /* ===================================================== */
  /*  TRANSITIONS                                           */
  /* ===================================================== */
  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;

  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --transition-base:      all var(--duration-normal) var(--ease-default);
  --transition-fast:      all var(--duration-fast) var(--ease-default);
  --transition-slow:      all var(--duration-slow) var(--ease-default);
  --transition-colors:    color var(--duration-fast) var(--ease-default),
                          background-color var(--duration-fast) var(--ease-default),
                          border-color var(--duration-fast) var(--ease-default);
  --transition-transform: transform var(--duration-normal) var(--ease-out);

  /* ===================================================== */
  /*  Z-INDEX                                               */
  /* ===================================================== */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:    10;
  --z-dropdown:  200;
  --z-sticky:    300;
  --z-navbar:    1000;
  --z-modal:     1100;
  --z-toast:     1200;
  --z-tooltip:   1300;

  /* ===================================================== */
  /*  COMPONENT — BUTTONS                                   */
  /* ===================================================== */
  --btn-padding-x-sm:      var(--space-4);
  --btn-padding-y-sm:      var(--space-2);
  --btn-padding-x-md:      var(--space-5);
  --btn-padding-y-md:      var(--space-3);
  --btn-padding-x-lg:      var(--space-8);
  --btn-padding-y-lg:      14px;
  --btn-font-size-sm:      var(--text-sm);
  --btn-font-size-md:      var(--text-sm);
  --btn-font-size-lg:      var(--text-base);
  --btn-radius:            var(--radius-btn);
  --btn-border-width:      1.5px;
  --btn-primary-bg:        var(--color-primary);
  --btn-primary-color:     var(--color-white);
  --btn-primary-bg-hover:  var(--color-primary-hover);
  --btn-outline-border:    var(--color-primary-light);
  --btn-outline-color:     var(--color-primary);

  /* ===================================================== */
  /*  COMPONENT — NAVBAR                                    */
  /* ===================================================== */
  --navbar-height:       72px;
  --navbar-padding-y:    var(--space-4);
  --navbar-bg:           rgba(255, 255, 255, 0.95);
  --navbar-border:       var(--color-border);
  --navbar-link-size:    15px;
  --navbar-link-color:   var(--color-text-main);
  --navbar-link-weight:  var(--font-weight-medium);
  --navbar-gap:          var(--space-8);

  /* ===================================================== */
  /*  COMPONENT — CARDS                                     */
  /* ===================================================== */
  --card-bg:           var(--color-bg-card);
  --card-border:       var(--color-border);
  --card-border-width: 1px;
  --card-radius:       var(--radius-card);
  --card-shadow:       var(--shadow-card);
  --card-padding:      var(--space-8);
  --card-padding-sm:   var(--space-6);

  /* ===================================================== */
  /*  COMPONENT — FORM / INPUT                              */
  /* ===================================================== */
  --input-height:       48px;
  --input-padding-x:    var(--space-4);
  --input-padding-y:    var(--space-3);
  --input-radius:       var(--radius-input);
  --input-border:       var(--color-border-input);
  --input-border-focus: var(--color-border-focus);
  --input-bg:           var(--color-white);
  --input-color:        var(--color-text-main);
  --input-placeholder:  var(--color-text-light);
  --input-font-size:    var(--text-base);
  --input-shadow-focus: var(--shadow-focus);

  /* ===================================================== */
  /*  COMPONENT — EYEBROW / BADGE                           */
  /* ===================================================== */
  --eyebrow-size:     var(--text-xs);
  --eyebrow-weight:   var(--font-weight-bold);
  --eyebrow-color:    var(--color-primary);
  --eyebrow-tracking: var(--tracking-wider);
  --eyebrow-margin:   var(--spacing-sm);
}

/* -------------------------------------------------------------------------- */
/*                                   RESET                                    */
/* -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  border: none;
  background: none;
}

/* -------------------------------------------------------------------------- */
/*                                  UTILITIES                                 */
/* -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-auto {
  margin-top: auto;
}

.mb-large {
  margin-bottom: var(--spacing-xl);
}

.text-secondary {
  color: var(--color-text-secondary);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid--2-col {
  grid-template-columns: repeat(2, 1fr);
}

/* Typography styles */
h1, .heading-1 {
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  color: var(--h1-color);
  margin-bottom: var(--h1-margin-bottom);
  letter-spacing: -0.02em;
}

h2, .heading-2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-line-height);
  color: var(--h2-color);
  margin-bottom: var(--h2-margin-bottom);
  letter-spacing: -0.01em;
}

h3, .heading-3 {
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  line-height: var(--h3-line-height);
  color: var(--h3-color);
  margin-bottom: var(--h3-margin-bottom);
}

h4, .heading-4 {
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  line-height: var(--h4-line-height);
  color: var(--h4-color);
  margin-bottom: var(--h4-margin-bottom);
}

h5 {
  font-size: var(--h5-size);
  font-weight: var(--h5-weight);
  line-height: var(--h5-line-height);
  color: var(--h5-color);
  margin-bottom: var(--h5-margin-bottom);
}

h6 {
  font-size: var(--h6-size);
  font-weight: var(--h6-weight);
  line-height: var(--h6-line-height);
  color: var(--h6-color);
  margin-bottom: var(--h6-margin-bottom);
}

p, .body-text {
  font-size: var(--p-size);
  color: var(--p-color);
  line-height: var(--p-line-height);
  margin-bottom: var(--p-margin-bottom);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.eyebrow--blue {
  color: var(--color-primary);
}

.body-large {
  font-size: var(--text-body-lg);
  line-height: 1.6;
}

.body-text {
  font-size: var(--text-body);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/*                                BUTTONS                                     */
/* -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background-color: var(--color-primary);
  color: white;
}

.button--primary:hover {
  background-color: var(--color-primary-hover);
}

.button--outline {
  background-color: var(--color-white);
  border: var(--btn-border-width) solid var(--btn-outline-border);
  color: var(--btn-outline-color);
  font-weight: var(--font-weight-medium);
}

.button--outline:hover {
  background-color: var(--color-bg-body);
  border-color: var(--color-primary);
}

.button--sm {
  padding: var(--btn-padding-y-sm) var(--btn-padding-x-sm);
  font-size: var(--btn-font-size-sm);
}

.button--lg {
  padding: var(--btn-padding-y-lg) var(--btn-padding-x-lg);
  font-size: var(--btn-font-size-lg);
  width: 100%;
}

.button--block {
  display: flex;
  width: 100%;
}

.button-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------- */
/*                                 NAVBAR                                     */
/* -------------------------------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-navbar);
  background-color: var(--navbar-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navbar-border);
  padding: var(--navbar-padding-y) 0;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__menu {
  display: flex;
  gap: var(--navbar-gap);
  margin-left: auto;
  margin-right: auto;
}

.navbar__link {
  font-size: var(--navbar-link-size);
  font-weight: var(--navbar-link-weight);
  color: var(--navbar-link-color);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar__link:hover {
  color: var(--color-primary);
}

.navbar__link .chevron {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.dropdown:hover .chevron {
  transform: rotate(180deg);
}

.navbar__link .chevron svg {
  width: 10px;
  height: 6px;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown__content {
  display: none;
  position: absolute;
  background-color: var(--color-white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-xs) 0;
  z-index: var(--z-dropdown);
  border-radius: var(--radius-lg);
  top: 100%;
  left: 0;
  border: 1px solid var(--color-border);
  margin-top: var(--spacing-xs);
}

.dropdown__content::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 8px;
}

/* Triangle/Connector optional, keeping simple for now */

.dropdown:hover .dropdown__content {
  display: block;
}

.dropdown__link {
  color: var(--color-text-main);
  padding: 12px 12px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown__link:hover {
  background-color: var(--color-bg-section-alt); /* Light grey bg */
  color: var(--color-primary);
  padding-left: 24px; /* Slight shift effect */
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__login {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.navbar__login:hover {
  background-color: var(--color-primary);
  color: white;
}

.navbar__toggle {
  display: none;
}

/* -------------------------------------------------------------------------- */
/*                                 SECTIONS                                   */
/* -------------------------------------------------------------------------- */

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: var(--color-bg-section-alt);
}

.section--hero {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero__eyebrow {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-block;
}

.hero__title {
  font-size: var(--text-6xl);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 760px;
  margin: 0 auto 40px;
}

.hero__image-container {
  margin-top: 64px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.12),
    0 2px 10px -2px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  background-color: #fff;
}

.hero__image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/*                                   CARDS                                    */
/* -------------------------------------------------------------------------- */

.card {
  background-color: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  /* Slightly more rounded */
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
  height: 100%;
}



.card .heading-3 {
  margin-top: 4px;
}

.card p {
  margin-bottom: 24px;
  font-size: 15px;
  /* Slightly smaller for card body */
}

/* -------------------------------------------------------------------------- */
/*                                STATS BANNER                                */
/* -------------------------------------------------------------------------- */
.section--stats-banner {
  background-color: var(--color-primary);
  padding: 48px 0;
  color: var(--color-white);
}

.stats-banner__container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  text-align: center;
}

.stats-banner__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stats-banner__number {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 0;
}

.stats-banner__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .stats-banner__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .stats-banner__number {
    font-size: 40px;
  }
}

/* -------------------------------------------------------------------------- */
/*                                LOGO STRIP                                  */
/* -------------------------------------------------------------------------- */
.section--logos {
  background-color: var(--color-primary);
  padding: 48px 0;
  overflow: hidden;
}

.logo-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  opacity: 0.9;
}

.client-logo {
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.client-logo:hover {
  opacity: 1;
}

/* -------------------------------------------------------------------------- */
/*                            CAPABILITIES GRID                               */
/* -------------------------------------------------------------------------- */
.section--platform-overview {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: white; /* Swapped to White */
}

.grid--3-col {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background-color: var(--color-gray-50); /* Swapped to #F8FAFC */
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid var(--color-border); /* Restored border */
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 32px; /* Match solution-icon */
  height: 32px; /* Match solution-icon */
  margin-bottom: 20px; /* Match solution-icon */
  color: var(--color-primary);
}

.feature-title {
  font-size: 18px;
  font-weight: 600; /* Match solution-title */
  color: var(--color-primary-dark);
  margin-bottom: 12px; /* Match solution-title */
}

.feature-desc {
  font-size: 14px; /* Match solution-desc */
  line-height: 1.5; /* Match solution-desc */
  color: var(--color-text-secondary);
}

/* -------------------------------------------------------------------------- */
/*                                   FORMS                                    */
/* -------------------------------------------------------------------------- */

.section--form {
  padding-top: 40px;
}

.contact-form {
  max-width: 800px;
  background: transparent;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

/* Correcting margin bottom for single column groups if needed */
.form-row + .form-group {
  margin-bottom: 24px;
}

.form-label {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-dark);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text-main);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background-color: #fff;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(21, 70, 246, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-md);
  background-color: #fff;
  overflow: hidden;
}

.phone-input-group .country-code {
  padding: 12px 12px 12px 16px;
  background-color: transparent;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-main);
  border-right: 1px solid var(--color-border-input);
}

.phone-input-group .form-input {
  border: none;
  border-radius: 0;
  flex: 1;
}

.phone-input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(21, 70, 246, 0.1);
}

/* -------------------------------------------------------------------------- */
/*                            CORE APPS SLIDER                                */
/* -------------------------------------------------------------------------- */
.section--core-module {
  background-color: #f9fafb;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: hidden;
  /* Hide scrollbar from page */
}

.section--platform-overview {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: hidden;
  /* Hide scrollbar from page */
}

/* Tabs */
.tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  background-color: #fff;
  padding: 8px;
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--color-border);
}

.tab-button {
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.tab-button:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-section-alt);
}

.tab-button.active {
  background-color: var(--color-primary);
  color: white;
}

/* Slider Track */
.apps-slider__container {
  display: flex;
  overflow-x: auto;
  /* padding: 24px 24px 48px; */
  /* Bottom padding for shadow */
  scroll-snap-type: x mandatory;
  gap: 24px;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* -------------------------------------------------------------------------- */
/*                          PLATFORM ARCHITECTURE                             */
/* -------------------------------------------------------------------------- */
.section--architecture {
  padding-top: 60px;
  padding-bottom: 60px;
}

.arch-diagram {
  background-color: #f8fafc;
  /* Light grey bg for diagram area */
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  position: relative;
  /* We'll use CSS Grid for the layout */
  display: flex;
  justify-content: center;
  align-items: center;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  grid-template-rows: repeat(3, auto);
  gap: 40px;
  /* Space for lines */
  position: relative;
}

.arch-box {
  background-color: white;
  border: 1px solid #bfdbfe;
  /* Light Blue Border similar to image */
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  z-index: 2;
  /* Sit above lines */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 110px;
}

.arch-box h4 {
  color: var(--color-primary-dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.arch-box p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

/* Positioning in Grid */
.arch-box--top {
  grid-column: 2;
  grid-row: 1;
}

.arch-box--left {
  grid-column: 1;
  grid-row: 2;
}

.arch-box--center {
  grid-column: 2;
  grid-row: 2;
  border-color: #93c5fd;
  /* Slightly darker */
}

.arch-box--right {
  grid-column: 3;
  grid-row: 2;
}

.arch-box--bottom {
  grid-column: 2;
  grid-row: 3;
}

/* Connecting Lines */
/* We can use pseudo elements on the center box or individual boxes */

/* Vertical Line (Top to Bottom through center) */
.arch-grid::before {
  content: "";
  position: absolute;
  top: 55px;
  /* Adjust based on box height */
  bottom: 55px;
  left: 50%;
  width: 1px;
  background-color: #bfdbfe;
  transform: translateX(-50%);
  z-index: 1;
}

/* Horizontal Line (Left to Right through center) */
.arch-grid::after {
  content: "";
  position: absolute;
  left: 140px;
  /* Half of col width */
  right: 140px;
  top: 50%;
  height: 1px;
  background-color: #bfdbfe;
  transform: translateY(-50%);
  z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .arch-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }

  .arch-box {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  /* Hide lines on mobile/stacked */
  .arch-grid::before,
  .arch-grid::after {
    display: none;
  }

  .arch-diagram {
    padding: 32px;
  }
}

/* -------------------------------------------------------------------------- */
/*                            WORKFLOW BUILDER                                */
/* -------------------------------------------------------------------------- */
.section--workflow {
  padding-top: 60px;
  padding-bottom: 60px;
}

.workflow-card {
  background-color: white;
  border-radius: 24px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.workflow-card__image {
  background-color: #f8fafc;
  position: relative;
  border-right: 1px solid var(--color-border);
  min-height: 500px;
}

.workflow-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-card__content {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workflow-card__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.workflow-card__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.workflow-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.workflow-feature:last-child {
  margin-bottom: 0;
}

.workflow-feature__icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.workflow-feature__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.workflow-feature__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .workflow-card {
    grid-template-columns: 1fr;
  }

  .workflow-card__image {
    min-height: 300px;
    order: -1;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .workflow-card__content {
    padding: 32px;
  }
}

.app-card {
  min-width: 100%;
  max-width: 1100px;
  /* Or responsive width */
  background-color: white;
  border-radius: 24px;
  padding: 0;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid var(--color-border);
}

.app-card__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.app-card__image {
  background-color: #ffffff;
  margin: 24px 24px 24px 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
}

.app-card__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.app-card__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 24px; */
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.app-card__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.app-card__link {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 40px;
}

.app-card__link:hover {
  text-decoration: underline;
}

/* App List */
.app-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.app-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.app-card__list li strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.app-card__list .check-circle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #e0e7ff;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-card__list .check-icon {
  color: var(--color-primary);
  width: 12px;
  height: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .app-card__image {
    margin: 24px 24px 0 24px;
    order: -1;
    width: calc(100% - 48px);
  }

  .app-card__content {
    padding: 32px;
  }

  .tabs-container {
    overflow-x: auto;
    justify-content: flex-start;
    border-radius: 12px;
    width: 100%;
  }

  .tab-button {
    white-space: nowrap;
  }
}

.form-checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  margin-bottom: 24px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.form-disclaimer a {
  text-decoration: underline;
  color: var(--color-text-secondary);
}

.form-disclaimer a:hover {
  color: var(--color-primary);
}

/* -------------------------------------------------------------------------- */
/*                                  FOOTER                                    */
/* -------------------------------------------------------------------------- */

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--color-border);
  background-color: #fff;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer__description {
  margin-top: 16px;
  margin-bottom: 32px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 24px;
  color: var(--color-text-main);
}

.footer__social a:hover {
  color: var(--color-primary);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__heading {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  font-size: 14px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer__list a:hover {
  color: var(--color-primary);
}

.footer__icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.copyright,
.footer__legal-links a {
  font-size: 12px;
  color: var(--color-text-light);
}

.footer__legal-links {
  display: flex;
  gap: 24px;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 27, 63, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 48px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-icon {
  color: var(--color-success);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.modal-message {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* -------------------------------------------------------------------------- */
/*                              MEDIA QUERIES                                 */
/* -------------------------------------------------------------------------- */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
  :root {
    --container-padding: 32px;
  }

  .navbar__menu {
    display: none;
    flex-direction: column;
    position: fixed; /* Changed to fixed for full screen */
    top: var(--navbar-height); /* Set to precise navbar height */
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height)); /* Full height minus navbar */
    background-color: var(--color-bg-body);
    padding: 40px var(--container-padding);
    border-top: 1px solid var(--color-border);
    box-shadow: none;
    z-index: 1000;
    overflow-y: auto;
  }

  .navbar__menu.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar__toggle {
    display: block;
    width: 24px;
    height: 24px;
    background: transparent;
    cursor: pointer;
  }

  .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-main);
    position: relative;
    transition: background 0.3s ease;
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: inherit;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
  }

  .hamburger::before {
    top: -6px;
  }

  .hamburger::after {
    top: 6px;
  }

  /* Active Toggle (X state) */
  .navbar__toggle.active .hamburger {
    background: transparent;
  }

  .navbar__toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--color-text-main);
  }

  .navbar__toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    background: var(--color-text-main);
  }

  .navbar__actions {
    display: none;
  }

  /* Mobile Dropdown Accordion */
  .dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .dropdown__content {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 0px;
    padding-bottom: 0;
    width: 100%;
    margin-top: 8px;
    border-radius: 0;
    background-color: transparent;
  }

  .dropdown__content::before {
    display: none;
  }

  /* Disable hover trigger on mobile */
  .dropdown:hover .dropdown__content {
    display: none;
  }

  /* JS Active class state for mobile accordion */
  .dropdown.active .dropdown__content {
    display: block;
    animation: fadeIn 0.2s ease forwards;
  }

  .dropdown.active .chevron {
    transform: rotate(180deg);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tablet Stacked Grid Requirement */
/* "Tablet 768–1024px: stacked grid behavior preserved" - usually means 2 cols might become 1 or stay 2 depending on density. 
   The design shows 2x2 grid. At 768px, 2 columns is tight but possible. 
   Let's keep 2 columns > 768px, and 1 column <= 768px.
*/
@media (max-width: 768px) {
  .grid--2-col {
    grid-template-columns: 1fr;
    /* Stacked */
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --spacing-xxl: 48px;
  }

  .section {
    padding: 48px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Ensure form groups have vertical spacing when stacked */
  .form-row .form-group:first-child {
    margin-bottom: 24px;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column-reverse;
    gap: 16px;
  }
}

/* -------------------------------------------------------------------------- */
/*                            TECH STACK SCROLLER                             */
/* -------------------------------------------------------------------------- */
.section--tech-stack {
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: hidden;
  /* Ensure no horiz scroll on body */
}

.scroller {
  max-width: 100%;
  /* Full width */
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    white 5%,
    white 95%,
    transparent
  );
  margin-bottom: 40px;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: nowrap;
  /* Force horizontal */
  gap: 4rem;
  /* Increased gap for bigger logos */
  width: max-content;
  animation: scroll 60s linear infinite;
}

.scroller[data-direction="right"] .scroller__inner {
  animation-direction: reverse;
}

.scroller[data-direction="left"] .scroller__inner {
  animation-direction: normal;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-100% / 3)
    ); /* Move exactly 1/3rd (one full set length) */
  }
}

.tech-logo {
  height: 80px;
  /* Increased from 48px */
  width: auto;
  transition: transform 0.3s;
  opacity: 0.8;
}

.tech-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* -------------------------------------------------------------------------- */
/*                            INDUSTRY SOLUTIONS                              */
/* -------------------------------------------------------------------------- */
.section--solutions {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #f8fafc; /* Light grey bg */
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background-color: white;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.solution-icon {
  margin-bottom: 20px;
  color: var(--color-primary);
  width: 32px;
  height: 32px;
}

.solution-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/*                            CASE STUDIES (Testimonials)                     */
/* -------------------------------------------------------------------------- */
.section--testimonials {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: white;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  /* Ensure cards have space */
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  /* 3 cards visible, adjusted for gap */
  background-color: var(--color-gray-50);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.testimonial-author {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-text-secondary);
}

.slider-btn:hover {
  background-color: #f8fafc;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
    /* 2 cards */
  }
}

@media (max-width: 640px) {
  .testimonial-track {
    gap: 16px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    /* 1 card */
    padding: 24px;
  }
}

/* -------------------------------------------------------------------------- */
/*                            WHY BUILD WITH US (Values)                      */
/* -------------------------------------------------------------------------- */
.section--values {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #f8fafc; /* Light gray bg */
}

.value-card {
  background-color: #ffffff; /* White card */
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid var(--color-border); /* Matches the border look in image */
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.value-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.value-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* -------------------------------------------------------------------------- */
/*                                   FAQ                                      */
/* -------------------------------------------------------------------------- */
.section--faq {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: white;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-toggle:hover .faq-question {
  color: var(--color-primary);
}

.faq-question {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary-dark);
  padding-right: 24px;
}

.faq-icon {
  font-size: 24px;
  color: var(--color-text-secondary);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  opacity: 0;
}

.faq-content p {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* -------------------------------------------------------------------------- */
/*                                Newsletter                                  */
/* -------------------------------------------------------------------------- */
.section--newsletter {
  background-color: white;
  padding-top: 60px;
  padding-bottom: 60px;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form {
  margin-bottom: 16px;
}

.input-group {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 6px 6px 6px 16px;
  transition: all 0.2s ease;
}

.input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42, 91, 215, 0.1);
}

.input-icon {
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--color-text-main);
  padding: 8px 0;
  min-width: 0; /* Fix flex overflow */
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.privacy-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.newsletter-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.feature-check {
  color: #10b981;
}

/* -------------------------------------------------------------------------- */
/*                           GLOBAL RESPONSIVE                                */
/* -------------------------------------------------------------------------- */

/* Tablet & Mobile Grid Fixes */
@media (max-width: 1024px) {
  .grid--3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid--3-col {
    grid-template-columns: 1fr;
  }

  .grid--2-col {
    grid-template-columns: 1fr;
  }

  .newsletter-features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }


  .section {
    padding: 60px 0; /* Reduce padding on mobile */
  }
}

@media (max-width: 480px) {
  .newsletter-container {
    padding: 0 16px;
  }

  .input-group {
    padding: 4px 4px 4px 12px;
  }


}

/* -------------------------------------------------------------------------- */
/*                                MISSION SECTION                             */
/* -------------------------------------------------------------------------- */

.section--mission {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--color-bg-body);
}

.mission-text {
  max-width: 520px;
  margin: 0 auto;
}

.mission-image-placeholder {
  width: 100%;
  height: 480px;
  background-color: #E2E8F0;
  border-radius: 24px;
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .section--mission {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .mission-image-placeholder {
    height: 300px;
  }
}
/* -------------------------------------------------------------------------- */
/*                            WHAT WE DO SECTION                              */
/* -------------------------------------------------------------------------- */

.section--what-we-do {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-bg-section-alt); /* Light grey background */
}

.what-we-do-text {
    max-width: 520px;
    margin: 0 auto;
}

.what-we-do-image-placeholder {
    width: 100%;
    height: 480px;
    background-color: #E2E8F0;
    border-radius: 24px;
    background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .section--what-we-do {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .what-we-do-image-placeholder {
        height: 300px;
        order: -1; /* Image first on mobile? Usually image first is better for alternating layout consistency */
    }

    /* Since grid--2-col stacks to single col on mobile, we can use order property flex/grid children */
    .what-we-do-image-container {
        order: -1; /* Ensure image is on top if desired, or let text be on top. Screenshot implies parallel structure. */
        margin-bottom: 24px;
    }
    
    /* Wait, grid children order. Grid 1fr single col -> order works. */
}

/* -------------------------------------------------------------------------- */
/*                            WHY EMPHAS SECTION                              */
/* -------------------------------------------------------------------------- */

.section--why-emphas {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-bg-body);
}

.why-emphas-text {
    max-width: 520px;
    margin: 0 auto;
}

.why-emphas-image-placeholder {
    width: 100%;
    height: 480px;
    background-color: #E2E8F0;
    border-radius: 24px;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .section--why-emphas {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .why-emphas-image-placeholder {
        height: 300px;
    }
}

/* -------------------------------------------------------------------------- */
/*                            OUR VISION SECTION                              */
/* -------------------------------------------------------------------------- */

.section--vision {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-bg-section-alt);
}

.vision-text {
    max-width: 520px;
    margin: 0 auto;
}

.vision-image-placeholder {
    width: 100%;
    height: 480px;
    background-color: #E2E8F0;
    border-radius: 24px;
    background-image: url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .section--vision {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .vision-image-placeholder {
        height: 300px;
    }

    .vision-image-container {
        order: -1;
        margin-bottom: 24px;
    }
}

/* -------------------------------------------------------------------------- */
/*                            OUR VALUES SECTION                              */
/* -------------------------------------------------------------------------- */

.section--values-about {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-bg-body);
}

.values-text {
    max-width: 520px;
    margin: 0 auto;
}

.values-image-placeholder {
    width: 100%;
    height: 480px;
    background-color: #E2E8F0;
    border-radius: 24px;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .section--values-about {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .values-image-placeholder {
        height: 300px;
    }
}

/* -------------------------------------------------------------------------- */
/*                           WHO WE SERVE SECTION                             */
/* -------------------------------------------------------------------------- */

.section--who-we-serve {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-bg-section-alt);
}

.who-we-serve-text {
    max-width: 520px;
    margin: 0 auto;
}

.who-we-serve-image-placeholder {
    width: 100%;
    height: 480px;
    background-color: #E2E8F0;
    border-radius: 24px;
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .section--who-we-serve {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .who-we-serve-image-placeholder {
        height: 300px;
    }

    .who-we-serve-image-container {
        order: -1;
        margin-bottom: 24px;
    }
}

/* -------------------------------------------------------------------------- */
/*                            OUR TEAM SECTION                                */
/* -------------------------------------------------------------------------- */

.section--our-team {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--color-bg-body);
}

.our-team-text {
    max-width: 520px;
    margin: 0 auto;
}

.our-team-image-placeholder {
    width: 100%;
    height: 480px;
    background-color: #E2E8F0;
    border-radius: 24px;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .section--our-team {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .our-team-image-placeholder {
        height: 300px;
    }
}

/* -------------------------------------------------------------------------- */
/*                            ACTIVE PAGE STYLING                             */
/* -------------------------------------------------------------------------- */

.navbar__link.active,
.dropdown__link.active,
.footer__list a.active {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
}

/* Ensure intlTelInput takes full width */
.iti {
  width: 100%;
}
.iti__search-input {
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------------------- */
/*                               TECH STACK STRIP                             */
/* -------------------------------------------------------------------------- */
.section--tech-stack {
  background-color: var(--color-bg-body);
  padding: 60px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.tech-stack__title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.tech-stack__container {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.tech-stack__wrapper {
  display: flex;
  width: fit-content;
  animation: logo-scroll 150s linear infinite;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
}

.tech-stack__item {
  flex-shrink: 0;
  width: 120px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  /* filter: grayscale(1) opacity(0.6); */
}

.tech-stack__item:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

.tech-stack__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 40px)); /* Half of the 80px gap */
  }
}

/* Custom Grid for Features */
.grid-features {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .grid-features {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Scroll Reveal — Slide-Up Animation
   Elements with .reveal start hidden and slide up when
   .visible is added via IntersectionObserver in script.js
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(52px);
    transition:
        opacity  0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

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

/* Safety: if a .reveal somehow ends up inside an already-visible
   .reveal container, make sure it isn't permanently hidden */
.reveal.visible > .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   Hero Section — Page Load Keyframe Animation
   Pure CSS: no JS needed, fires as soon as the stylesheet loads.
   animation-fill-mode: both keeps element at opacity:0 during
   the delay, and at opacity:1 after the animation finishes.
   ============================================================ */

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

/* Step 1 — Eyebrow badge */
.section--hero .hero__eyebrow,
.section--hero .eyebrow {
    animation: slideUpIn 0.80s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

/* Step 2 — Main heading */
.section--hero .hero__title,
.section--hero .heading-1 {
    animation: slideUpIn 0.80s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

/* Step 3 — Subtitle / description */
.section--hero .hero__subtitle,
.section--hero .body-large {
    animation: slideUpIn 0.80s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

/* Step 4 — CTA buttons */
.section--hero .button-group {
    animation: slideUpIn 0.80s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

/* Step 5 — Hero image (index.html only) */
.section--hero .hero__image-container {
    animation: slideUpIn 0.90s cubic-bezier(0.22, 1, 0.36, 1) 0.68s both;
}

/* Respect prefers-reduced-motion for hero too */
@media (prefers-reduced-motion: reduce) {
    .section--hero .hero__eyebrow,
    .section--hero .eyebrow,
    .section--hero .hero__title,
    .section--hero .heading-1,
    .section--hero .hero__subtitle,
    .section--hero .body-large,
    .section--hero .button-group,
    .section--hero .hero__image-container {
        animation: none;
    }
}

/* ── Submit Button Loading Spinner ────────────────────────── */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
