/* ============================================================
   CLIQHR — Brand Redesign (Optimized Build)
   Primary: Royal Blue #2E3192 · Accent: Orange #FF9800
   Purple/pink logo gradient reserved for logo + tiny accents only
============================================================ */

/* ============================================================
   1. CSS VARIABLES & RESET
============================================================ */
:root {
  /* Brand palette */
  --clr-brand:        #2E3192;  /* Royal Blue — primary */
  --clr-brand-dark:   #1F2270;  /* deeper navy for hover/depth */
  --clr-brand-soft:   #ECEDF9;  /* pale blue tint for chips/icons */
  --clr-brand-soft-2: #DFE1F5;

  --clr-accent:       #FF9800;  /* Orange — accent */
  --clr-accent-h:     #F57C00;  /* orange hover */
  --clr-accent-soft:  #FFF3E0;  /* pale orange tint */

  /* Hero-specific gradient accents (kept from original hero design) */
  --clr-hero-grad-start: #212B75;
  --clr-hero-grad-end:   #553B6F;
  --clr-hero-grad-hover-start: #FF8F00;
  --clr-hero-grad-hover-end:   #FE5DA3;

  /* Neutrals */
  --clr-bg:          #FFFFFF;
  --clr-bg-soft:     #EBEBEB;
  --clr-surface:     #FFFFFF;
  --clr-border:      #E5E7EB;
  --clr-text:        #1F2937;
  --clr-text-muted:  #5B6472;
  --clr-text-soft:   #9AA3B0;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs:  0.8rem;
  --fs-sm:  0.925rem;
  --fs-md:  1rem;
  --fs-lg:  1.125rem;
  --fs-xl:  1.375rem;
  --fs-2xl: 1.85rem;
  --fs-3xl: 2.4rem;
  --fs-4xl: 2.9rem;

  /* Spacing — consistent rhythm across every section */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.25rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;

  /* Radii */
  --radius-sm:  10px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(17,24,39,.06), 0 1px 2px rgba(17,24,39,.04);
  --shadow-md: 0 10px 28px rgba(17,24,39,.08);
  --shadow-lg: 0 24px 60px rgba(46,49,146,.14);

  --transition: 0.24s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
}

/* ============================================================
   2. UTILITY CLASSES
============================================================ */

.text-accent { color: var(--clr-hero-grad-hover-end); }

/* ============================================================
   3. SHARED LAYOUT
============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

.section-header h2 {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  font-weight: 800;
  color: var(--clr-brand);
  margin-bottom: 0.875rem;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.section-header p {
  color: var(--clr-text-muted);
  font-size: var(--fs-md);
  line-height: 1.75;
}

/* ============================================================
   4. BUTTONS
   (single source of truth — no duplicate/overridden rules)
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
}

/* Primary CTA — brand gradient, orange/pink on hover (used in hero + roles CTA) */
.btn-accent {
  background: linear-gradient(135deg, var(--clr-hero-grad-start), var(--clr-hero-grad-end));
  color: #fff;
  box-shadow: 0 14px 32px rgba(33,43,117,.18);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--clr-hero-grad-hover-start), var(--clr-hero-grad-hover-end));
  box-shadow: 0 18px 40px rgba(255,143,0,.22);
  transform: translateY(-3px);
}

.btn-accent i {
  transition: transform var(--transition);
}

.btn-accent:hover i {
  transform: translate(3px, -3px);
}

.btn-primary {
  background: var(--clr-brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.btn-secondary {
  background: #fff;
  color: var(--clr-brand);
  border-color: var(--clr-brand);
}

.btn-secondary:hover {
  background: var(--clr-brand-soft);
  border-color: var(--clr-accent);
  color: var(--clr-brand);
}

/* ============================================================
   5. LOGO (single definition — used in hero nav + footer)
============================================================ */
.logo-link { z-index: 2; }

.brand-logo {
  width: 150px;
  height: auto;
  display: block;
}

.brand-logo--footer {
  width: 130px;
  height: auto;
  mix-blend-mode: multiply; /* blends out minor white edges on the white plate */
}

/* The logo's wordmark is dark navy, designed for a white background.
   On the dark footer it needs a light plate behind it to stay legible.
   (Single merged rule — previously duplicated across the LOGO and FOOTER sections.) */
.footer-col.brand-col .logo-link {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 15px;
}

/* ============================================================
   6. HERO SECTION
============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 6vw, 5rem);

  background:
    radial-gradient(circle at 15% 20%, rgba(33,43,117,.10), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(255,143,0,.10), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(254,93,163,.08), transparent 35%),
    linear-gradient(135deg, #dfe9ff 0%, #d5e2ff 35%, #e7eeff 70%, #f7f5ff 100%);
}

/* Decorative blur circles */
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: -180px;
  top: -180px;
  background: #FF8F00;
  opacity: .08;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -120px;
  bottom: -120px;
  background: #FE5DA3;
  opacity: .08;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

/* Body: two balanced columns, evenly spaced, vertically centered */
.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(1.5rem, 4vh, 3rem);
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.hero-content {
  flex: 1 1 480px;
  max-width: 640px;
  position: relative;
  z-index: 2;
  transform: translateY(-60px);
}

.hero h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  color: #2E3192;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.8;
  color: #4d568d;
  max-width: 560px;
  margin-bottom: 36px;
}

/* Inquiry card — solid white surface, balanced against hero copy */
.contact-card {
  flex: 1 1 420px;
  max-width: 460px;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.contact-card h2 {
  text-align: center;
  color: var(--clr-brand);
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 18px;
  background: var(--clr-bg-soft);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-pill);
  color: var(--clr-text);
  font-size: var(--fs-md);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.inquiry-form textarea {
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 84px;
}

.inquiry-form select option {
  background: #fff;
  color: var(--clr-text);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: var(--clr-text-soft);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--clr-brand);
  background: #fff;
}

/* ============================================================
   7. ABOUT SECTION
============================================================ */
.about-section {
  padding: var(--space-2xl) 0;
  background-color: #f9fbfd;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.about-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.sub-heading {
  text-transform: uppercase;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: 1.5px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #212B75;
  margin-bottom: 18px;
  font-weight: 800;
}

.about-content p {
  color: #64748b;
  line-height: 1.7;
  font-size: var(--fs-md);
  margin-bottom: 14px;
}

.about-content p:last-child { margin-bottom: 0; }

.about-image img {
  width: 90%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* Stats bar */
.stats-bar-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.875rem);
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.04);
  border: 1px solid #e2e8f0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Stat cards: icon → number → description, stacked and centered */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 10px;
  padding: 10px;
  height: 100%;
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box i {
  font-size: 40px;
  color: #2E3192;
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* ============================================================
   8. SERVICES SECTION
============================================================ */
.services-section {
  padding: var(--space-2xl) 0;
  background: var(--clr-bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--clr-surface);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-brand-soft-2);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--clr-brand);
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  background: var(--clr-brand-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.service-card:hover .service-icon {
  background: var(--clr-accent-soft);
  color: var(--clr-accent);
}

.service-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ============================================================
   9. ROLES SECTION
============================================================ */
.roles-section {
  padding: var(--space-2xl) 0;
  background: var(--clr-surface);
  position: relative;
  overflow: hidden;
}

.roles-bg-blob {
  position: absolute;
  top: 5%;
  right: -15%;
  width: 50%;
  height: 85%;
  background: radial-gradient(circle, rgba(46,49,146,.05) 0%, rgba(46,49,146,0) 70%);
  border-radius: 43% 57% 41% 59% / 51% 47% 53% 49%;
  pointer-events: none;
  z-index: 0;
}

.roles-section .container {
  position: relative;
  z-index: 1;
}

.roles-tagline {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-brand);
  margin-bottom: var(--space-sm);
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: var(--space-lg);
}

.category-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-badge {
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1.5px solid transparent;
}

.badge-tech    { background: var(--clr-brand); color: #fff; }
.badge-nontech {background: var(--clr-brand); color: #fff;}

.lists-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.roles-list {
  background: var(--clr-bg-soft);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.roles-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.45;
}

.roles-list li:last-child { margin-bottom: 0; }

.roles-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

/* ============================================================
   10. CLIENTS / LOGO SLIDER
============================================================ */
.clients-section {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--clr-surface);
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 0;
}

.slider-wrapper::before,
.slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-bg-soft), transparent);
}

.slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-bg-soft), transparent);
}

.slider-track {
  display: flex;
  width: max-content;
  gap: 1.75rem;
}

.slider-wrapper:hover .slider-track {
  animation-play-state: paused;
}

.track-left  { animation: slideLeft  40s linear infinite; }
.track-right { animation: slideRight 40s linear infinite; }

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 72px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
}

.logo-item img {
  max-width: 78%;
  max-height: 46px;
  object-fit: contain;
  filter: grayscale(30%) opacity(.8);
  transition: filter var(--transition), transform var(--transition);
}

.logo-item img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

/* ============================================================
   11. TESTIMONIALS
============================================================ */
.testimonials-section {
  padding: var(--space-2xl) 0;
  background: var(--clr-surface);
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.testimonials-intro {
  position: sticky;
  top: 100px;
}

.testimonials-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin: 0 0 .9rem;
}

.testimonials-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--clr-brand);
  margin: 0 0 1.1rem;
  letter-spacing: -.01em;
}

.testimonials-intro p {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--clr-text-muted);
  margin: 0 0 2rem;
  max-width: 40ch;
}

.testimonial-nav {
  display: flex;
  gap: .9rem;
}

.testimonial-nav button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-brand);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testimonial-nav button:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.testimonial-nav button:active { transform: translateY(0); }

.testimonial-nav button:focus-visible {
  outline: 2px solid var(--clr-brand);
  outline-offset: 3px;
}

.testimonial-nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.testimonial-stage {
  position: relative;
  min-height: 440px;
}

.testimonial-quote-mark {
  position: absolute;
  top: -34px;
  left: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 220px;
  line-height: 1;
  color: var(--clr-brand-soft-2);
  opacity: .7;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.testimonial-slider-wrapper {
  position: relative;
  z-index: 1;
}

.testimonial-track {
  position: relative;
  /* height is set dynamically by JS to match the tallest card,
     so every card occupies the same footprint and nothing jumps */
}

.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 420ms;
}

.testimonial-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

.testimonial-stars {
  display: flex;
  gap: .3rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--clr-accent);
}

.testimonial-text {
  margin: 0;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.65;
  color: var(--clr-brand);
  font-weight: 500;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  background: var(--clr-border);
  border: 2px solid var(--clr-brand-soft);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--clr-brand);
}

.author-meta {
  font-size: var(--fs-xs);
  color: var(--clr-text-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.author-meta .designation { font-weight: 700; color: var(--clr-accent); }
.author-meta .company { font-weight: 700; color: var(--clr-text-muted); }

/* ============================================================
   12. FOOTER
============================================================ */
.site-footer {
  background: var(--clr-brand-dark);
  color: #C7CAE8;
  font-size: var(--fs-sm);
}

.site-footer .brand-desc {
  color: #a0aec0;
  max-width: 280px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) clamp(1rem,5vw,3rem) var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.25rem;
}

.footer-heading {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer-links li { margin-bottom: 0.65rem; }

.footer-links a {
  color: #C7CAE8;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--clr-accent);
  padding-left: 4px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.contact-icon { flex-shrink: 0; }

.contact-list a {
  color: #C7CAE8;
  transition: color var(--transition);
}

.contact-list a:hover { color: var(--clr-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.25rem clamp(1rem,5vw,3rem);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: #9096C4;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  font-size: var(--fs-xs);
  color: #9096C4;
  transition: color var(--transition);
}

.legal-links a:hover { color: #fff; }

/* ============================================================
   13. FLOATING CONTACT BUTTONS
============================================================ */
.floating-contact {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.06);
}

.phone-btn { background: var(--clr-brand); }
.phone-btn:hover { background: var(--clr-accent); }

/* WhatsApp keeps its recognizable brand green — a utility icon, not a UI accent */
.whatsapp-btn { background: #25D366; }

.whatsapp-btn::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37,211,102,0.35);
  animation: pulse 2s infinite;
  z-index: -1;
}

/* ============================================================
   14. ANIMATIONS & KEYFRAMES
============================================================ */
@keyframes slideLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes slideRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .track-left,
  .track-right,
  .testimonial-track,
  .testimonial-card,
  .testimonial-nav button,
  .btn,
  .service-card,
  .logo-item img,
  .floating-btn,
  .whatsapp-btn::before {
    animation: none;
    transition: none;
  }
}

/* ============================================================
   15. RESPONSIVE BREAKPOINTS
   (Desktop = default styles above. Tablet 769–1200px and
   Mobile ≤768px are handled below; nothing above 900px is
   touched by the new mobile-only rules added in this pass.)
============================================================ */

/* Large desktop tune-down (≤ 1200px) */
@media (max-width: 1200px) {
  .hero-content { max-width: 560px; }
}

/* Large tablet (≤ 1100px) */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet (≤ 900px) — unchanged from the original build */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-body {
    flex-direction: column;
    text-align: center;
    padding-top: var(--space-md);
    padding-bottom: var(--space-lg);
  }

  .hero-content {
    flex: 1 1 100%;
    max-width: 640px;
    transform: translateY(0);
    margin-bottom: var(--space-md);
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-card {
    max-width: 520px;
    width: 100%;
  }

  .about-main-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-image { order: -1; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-intro {
    position: static;
    text-align: center;
  }

  .testimonials-intro p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-nav { justify-content: center; }

  .testimonial-quote-mark {
    font-size: 140px;
    left: 0;
    top: -20px;
  }

  .testimonial-stage { min-height: 400px; }
}

/* ============================================================
   MOBILE (≤ 768px) — new fixes in this pass.
   Scoped strictly to ≤768px so the tablet layout above
   (769–900px) stays exactly as it was.
============================================================ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  /* Center the logo in the header on mobile */
  .hero > .logo-link {
    display: flex;
    justify-content: center;
    margin: 0 auto var(--space-sm);
  }

  /* Move the testimonial nav buttons below the card and center them.
     .testimonials-intro is unwrapped with display:contents so its
     children become direct items of the testimonials-grid and can
     be reordered independently of the card/stage. */
  .testimonials-grid {
    row-gap: var(--space-sm);
  }

  .testimonials-intro {
    display: contents;
  }

  .testimonials-eyebrow { order: 1; }
  .testimonials-intro h2 { order: 2; }
  .testimonials-intro p  { order: 3; margin-bottom: 0; }
  .testimonial-stage     { order: 4; margin-top: var(--space-sm); }

  .testimonial-nav {
    order: 5;
    justify-content: center;
    margin-top: var(--space-md);
  }

  .testimonial-quote-mark {
    font-size: 90px;
    top: -8px;
    left: 4px;
  }

  .testimonial-stage { min-height: 380px; }
}

/* Mobile (≤ 640px) */
@media (max-width: 640px) {
  :root {
    --space-2xl: 3rem;
    --space-xl:  2rem;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 15px; /* keep text off the edges on narrow screens */
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .lists-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
    border-radius: 22px;
  }

  .author-row { flex-wrap: wrap; }

  .logo-item {
    width: 130px;
    height: 56px;
  }

  .slider-wrapper::before,
  .slider-wrapper::after {
    width: 50px;
  }

  .section-header {
    margin-bottom: var(--space-md);
  }

  .floating-contact {
    right: 15px;
    bottom: 15px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
    font-size: 21px;
  }
}

/* Small mobile (≤ 400px) */
@media (max-width: 400px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.85rem;
    letter-spacing: -1px;
  }

  .testimonial-nav button {
    width: 46px;
    height: 46px;
  }
}

/* Extra-small mobile (≤ 340px) — guards the narrowest supported
   devices (320px) against overflow on buttons/inputs */
@media (max-width: 340px) {
  .btn {
    padding: 14px 24px;
    font-size: var(--fs-sm);
  }

  .contact-card { padding: 1.25rem; }

  .inquiry-form input,
  .inquiry-form select,
  .inquiry-form textarea {
    padding: 11px 14px;
  }
}