/* ================== RESET & BASE ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #18203c;
  background-color: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto; /* avoids weird stretching on responsive */
}

/* Layout components */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.flex-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ================== HERO SECTION ================== */

.hero-section {
  position: relative;
  min-height: 100vh;    
  min-width: 100vw;
  text-align: center;
  background: linear-gradient(180deg, #ffffff00 0%, #ffffff 100%);
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 0; 
}


/* BACKGROUND IMAGE */
.hero-bg-image {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 110%;
  background-image: url('../assets/images/Web_Herosection.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  z-index: 1;
  pointer-events: none;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px 40px;
}

/* LOGO TEXT */
.hero-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 10px;
}

.hero-title .brand-name {
  font-weight: 700;
  color: #000000;
}

.hero-title .brand-labs {
  font-weight: 500;
  font-style: italic;
  color: #2388ff;
  margin-left: 0;
  padding-left: 0; 
}

/* MAIN HEADING */
.hero-line-1 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  color: #18203c;
  margin-top: 40px;
  margin-bottom: 0;
}

.hero-line-2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  color: #2388ff;
  margin-top: 0;
}

/* DESCRIPTION */
.hero-description {
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: #0d1324;
  margin: 28px auto 0;
  max-width: 780px;
}

/* CTA BOX */
.hero-cta {
  background-color: #0d1324;
  border-radius: 999px;
  padding: 14px 34px;
  margin: 42px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.cta-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.cta-button {
  background-color: #3a86ff;
  border-radius: 999px;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: #2563eb;
  transform: scale(1.03);
}

/* HERO RESPONSIVE */
/* ================= HERO CTA: desktop (outer capsule visible) ================= */

/* Outer capsule (desktop / laptop) */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
  background-color: #0d1324;      /* dark outer capsule */
  padding-top: 14px;
  padding-right: 34px;
  padding-bottom: 14px;
  padding-left: 34px;
  border-radius: 999px;
}

/* small uppercase label inside outer capsule */
.cta-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  display: inline-block;
}

/* sky-blue primary button */
.cta-button {
  background-color: #3a86ff;
  border-radius: 999px;
  padding-top: 12px;
  padding-right: 40px;
  padding-bottom: 12px;
  padding-left: 40px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
  display: inline-block;
}

.cta-button:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

/* ================= HERO CTA: tablet & mobile (outer capsule removed) ================= */

/* On widths <= 768px: remove the dark outer capsule and the cta-text label.
   Only the blue Contact button remains; make it centered and responsive. */
@media (max-width: 768px) {

  /* remove outer capsule visuals while keeping container so layout remains */
  .hero-cta {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 28px !important;
    gap: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 !important;     /* ensure no big rounded parent visible */
    overflow: visible;               /* allow inner button shadow/shape if needed */
    width: 100%;
  }

  /* hide the LET'S CONNECT label */
  .cta-text {
    display: none !important;
  }

  /* keep only the blue button, make it fluid but constrained */
  .cta-button {
    display: block !important;
    width: 100% !important;
    max-width: 420px;
    background-color: #3a86ff !important; /* solid blue */
    color: #fff !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 12px 18px !important;
    box-sizing: border-box;
    box-shadow: none !important;
    margin: 0 10px;
  }

  /* .hero-section { padding-top: 10px; padding-bottom: -16px; } */
}

/* Extra small phones: tighten spacing */
@media (max-width: 480px) {
  .hero-cta {
    margin-top: 20px !important;
  }

  .cta-button {
    max-width: 360px;
    padding-top: 10px;
    padding-right: 18px;
    padding-bottom: 10px;
    padding-left: 18px;
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-bg-image {
    top: -40px;
    height: 520px;
  }

  .hero-content {
    padding: 0 20px 64px;
  }
}

@media (max-width: 768px) {
  .hero-bg-image {
    top: -20px;
    height: 420px;
    background-size: cover;
  }

  .hero-section {
    background: linear-gradient(180deg,rgba(255,255,255,0) 0%,#e9f2ff 45%,#ffffff 100%);
  }


  .hero-content {
    padding: 0 16px 56px;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  .hero-line-1 {
    margin-top: 28px;
  }

  .hero-cta {
    width: 100%;
    max-width: 360px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 20px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-bg-image {
    height: 360px;
  }

  .hero-title {
    margin-top: 4px;
  }

  .hero-line-1 {
    font-size: 28px;
  }

  .hero-line-2 {
    font-size: 26px;
  }

  .hero-description {
    margin-top: 18px;
  }

  .hero-cta {
    margin-top: 28px;
  }
}

/* ================== PROBLEM SECTION ================== */

.problem-section {
  position: relative;
  padding: 96px 0 120px;
  background-color: #ffffff;
  overflow: hidden;
  margin-top: -50px;
}

/* big blue gradient on the right */
.problem-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 80% 0%,
      #e7f0ff 0,
      #f4f7ff 38%,
      #ffffff 70%
    );
  z-index: 0;
}

/* keep content centered and away from edges */
.problem-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* top label */
.section-label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2388ff;
  margin-bottom: 16px;
}

/* main heading */
.section-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  color: #18203c;
  margin: 0;
}

/* gradient blue */
.section-title .gradient-text {
  background: linear-gradient(90deg, #1a2b57 0%, #2388ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* grid of three problems */
.problems-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  margin-top: 100px;
}

/* base card */
.problem-item {
  flex: 1;
  max-width: 340px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  padding-top: 8px;
}

/* highlighted middle card */
.problem-item-highlight {
  background: #f4f8ff;
  border-radius: 16px;
  padding: 24px 32px 32px;
  box-shadow: 0 16px 48px rgba(43, 103, 179, 0.16);
  transform: translateY(-8px);
}

/* titles */
.problem-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #18203c;
  margin: 0 0 18px;
}

/* small blue underline */
.problem-line {
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background-color: #2388ff;
  margin-bottom: 18px;
}

/* description text */
.problem-description {
  font-size: 15px;
  line-height: 1.7;
  color: #18203c;
  margin: 0;
}

.problem-description .highlight {
  color: #2388ff;
  font-weight: 500;
}

/* responsive tweaks */
@media (max-width: 1024px) {
  .problem-inner {
    padding: 0 24px;
  }

  .section-title {
    font-size: 38px;
  }

  .problems-grid {
    flex-direction: column;
    gap: 32px;
    margin-top: 64px;
  }

  .problem-item,
  .problem-item-highlight {
    max-width: 100%;
  }

  .problem-item-highlight {
    transform: none;
  }
}

@media (max-width: 600px) {
  .problem-section {
    padding: 72px 0 96px;
  }

  .section-title {
    font-size: 30px;
  }
}

/* ================== FEATURES SECTION (cleaned & merged) ================== */

/* Container + background */
.features-section {
  position: relative;
  padding: 80px 0 100px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  z-index: 0;
}

.features-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* Headings */
.features-header {
  text-align: left;
  margin-bottom: 60px;
  margin-left: 50px;
}

.features-label {
  font-size: 26px;
  font-weight: 500;
  color: #2388ff;
  margin-bottom: 12px;
}

.features-brand {
  font-weight: 700;
  color: #2388ff;
}

.features-subtitle {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: #18203c;
  margin: 0;
}

/* ================== GRID / COLUMN LAYOUT ================== */

/* Desktop: 3 equal columns */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-left: 50px;
  margin-right: 50px;
  gap: 0 44px;
  align-items: start;
}

/* Each column holds a paired card (small mock + info) */
.feature-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  position: relative;
}

/* The rounded pale panel that visually groups mock + info */
.pair-card {
  background: #f3f8ff;
  border-radius: 18px;
  padding: 28px 20px 20px; /* leave space on top for floating mock */
  box-shadow: none;
  position: relative;
  overflow: visible;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

/* The mini mock that visually floats above the pair-card */
/* .top-mock {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -30%); 
  z-index: 3;
  width: calc(100% - 64px);
  max-width: 360px;
  display: block;
} */

/* On large desktop make it slightly smaller and lifted a bit less */
/* ================== LAPTOP-ONLY STYLING (1025px — 1600px) ================== */
/* Paste this AFTER your existing features CSS to override laptop behavior */

@media (min-width: 1025px) and (max-width: 1600px) {

  /* keep grid 3 columns and align tops */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 44px;
    align-items: start; /* ensure columns align to the same top line */
  }

  .feature-column {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .features-header{    
    margin-left: 50px;
    margin-right: 50px;
  }

  /* make every pale panel reserve the same top space so tops line up */
  .pair-card {
    padding-top: 48px !important;      /* reserve identical space for the mini mock */
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 32px;
    border-radius: 18px;
    max-width: 420px;
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    min-height: 360px;                 /* ensures bottoms don't drift — tune if needed */
  }

  /* center the mini mocks and lift them gently (same lift for all columns) */
  .top-mock {
    position: relative;                /* in-flow for consistent alignment */
    margin: -36px auto 12px;           /* soft, even overlap on all columns */
    width: 72%;
    max-width: 420px;
    left: auto;
    transform: none;
    z-index: 3;
    display: block;
  }
  .top-mock-email{
    margin-bottom: 150px;
  }
  .top-mock-automation{
    margin-bottom: 25px;
    max-height: min-content;
  }

  /* ensure mini mock visuals are consistent (white card with subtle border & shadow) */
  .top-mock .mock-content,
  .top-mock .automation-card-mini,
  .top-mock .detail-card-mini {
    background: #fff;
    border: 1px solid #edf3ff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(33, 86, 164, 0.06);
    padding: 12px 14px; /* compact inside the floating mock */
  }

  /* text info area stays visually lower so title + paragraph align properly */
  .pair-card .feature-info { margin-top: 18px; }

  /* remove any conflicting per-card offsets */
  .info-card-1, .info-card-2, .info-card-3,
  .feature-column, .feature-info {
    margin-top: 0 !important;
  }

  /* small type adjustments for laptop for better visual match */
  .features-subtitle { font-size: 42px; line-height: 1.16; }
  .info-title { font-size: 30px; }
  .info-desc  { font-size: 18px; line-height: 1.7; color: #5e718f; }

  /* keep mock icons and inner sizing balanced */
  .top-mock .mock-icon { width: 18px; height: 18px; }
  .top-mock .mock-file-btn, .top-mock .mock-send-btn { width: 20px; height: 20px; }
  .top-mock .mock-file-btn img, .top-mock .mock-send-btn img { width: 16px; height: 16px; }
}


/* Very large desktops: keep a slightly larger floating look but not overlapping headings */
@media (min-width: 1601px) {
  .top-mock {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -36%);
    width: 70%;
    max-width: 480px;
    z-index: 3;
  }
}

/* Make sure the inner small mock uses white background and border like the originals */
.top-mock .mock-content,
.top-mock .automation-card-mini,
.top-mock .detail-card-mini {
  background: #ffffff;
  border: 1px solid #edf3ff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(33,86,164,0.06);
}

/* Small variant inside floating mock */
.small .mock-icon { width:16px; height:16px; }
.small .mock-file-btn, .small .mock-send-btn { width:18px; height:18px; }
.small .mock-file-btn img, .small .mock-send-btn img { width:14px; height:14px; }
.small .mock-content, .small .automation-card-mini, .small .detail-card-mini { padding:10px 12px; }

/* Make space between top mock and the info inside the pair-card */
.pair-card .feature-info { margin-top: 18px; }

/* reset any legacy per-card top offsets (kept removed) */
.info-card-1, .info-card-2, .info-card-3 { grid-column:auto; grid-row:auto; margin-top:0; }

/* Reset feature-info to be visually inside pair-card (we use pair-card background) */
.feature-info {
  background: transparent;
  border: none;
  padding: 0;
}

/* ================== MOCK / CARD STYLES (kept from your original design) ================== */

/* Base mock content style */
.mock-content {
  background: #ffffff;
  border: 1px solid #edf1fb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(33, 86, 164, 0.08);
  display: flex;
  flex-direction: column;
}

/* email mock variation (if present) */
.mock-email { padding: 20px 16px 16px 16px; }

/* header row inside mocks */
.mock-header-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.mock-icon-with-text { display:flex; align-items:center; gap:10px; flex:1; }
.mock-icon { width:24px; height:24px; flex-shrink:0; }
.mock-label { font-size:12px; font-weight:500; color:#0f255f; }

/* text row inside mock */
.mock-text-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.mock-subtext { font-size:11px; color:#7d8ac2; flex-grow:1; }

/* small action buttons */
.mock-side-buttons { display:flex; gap:8px; align-items:center; }
.mock-file-btn, .mock-send-btn { background:transparent; border:none; cursor:pointer; padding:0; width:24px; height:24px; display:flex; align-items:center; justify-content:center; }

/* = automation mini card (middle mock) */
/* automation mini */
.automation-card-mini { background:#fff; border:1px solid #edf1ff; border-radius:14px; padding:16px; box-shadow:0 10px 24px rgba(33,86,164,0.1); }
.automation-top-mini { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.gmail-icon-circle-mini { width:20px; height:20px; border-radius:50%; background:#f3f6ff; display:flex; align-items:center; justify-content:center; }
.gmail-icon-circle-mini img { width:18px; height:18px; }
.automation-save-btn-mini { padding:4px 10px; border-radius:999px; font-size:10px; font-weight:600; border:none; cursor:pointer; background:#e9f1ff; color:#2388ff; }

/* timeline & pill */
.automation-body-mini { display:flex; gap:10px; align-items:flex-start; }
.automation-timeline-mini { display:flex; flex-direction:column; align-items:center; width:12px; }
.timeline-dot-mini { width:10px; height:10px; border-radius:50%; background:#d3dcff; }
.timeline-dot-active-mini { background:#2f6bff; box-shadow:0 0 0 3px rgba(47,107,255,0.2); }
.timeline-line-mini { width:2px; height:24px; background:#e3e9ff; margin:4px 0; flex-grow:1; }
.automation-pill-mini { display:flex; align-items:center; gap:6px; font-size:10px; color:#4a5b8f; background:#fff; border:1px solid #edf1ff; border-radius:20px; padding:8px 14px; white-space:nowrap; }
.automation-dropdown-mini { display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:10px; color:#4a5b8f; background:#e9f1ff; border:1px solid #dbe7ff; border-radius:25px; padding:8px 14px; width:100%; }

/* detail card */
.detail-card-mini { background:#fff; border:1px solid #edf3ff; border-radius:12px; padding:16px; }
.detail-header-mini { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.detail-icon-mini { height:28px; width:auto; }
.detail-tags-mini { display:flex; gap:6px; }
.tag-light-mini { background:#f0f4f9; padding:3px 8px; border-radius:999px; font-size:9px; font-weight:600; color:#6476b4; }
.tag-dark-mini { background:#e9f1ff; padding:3px 8px; border-radius:999px; font-size:9px; font-weight:600; color:#2370ff; }
.detail-title-mini { font-size:13px; font-weight:600; color:#0e2677; margin:8px 0; }
.detail-desc-mini { font-size:11px; color:#6476b4; line-height:1.5; margin-bottom:8px; }
.detail-list-mini { list-style:none; padding:0; margin:0; }
.detail-list-mini li { display:flex; align-items:flex-start; gap:5px; font-size:11px; color:#6476b4; margin-bottom:6px; line-height:1.4; }
/* key points heading in card */
.detail-key-mini {
  font-size: 12px;
  font-weight: 700;
  color: #23407a;
  margin: 0 0 8px 0;
}

/* list: remove browser bullets and align nicely */
.detail-list-mini {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* each list item: small blue circular bullet + text */
.detail-list-mini li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #5f74a8;
  font-size: 13px;
  line-height: 1.5;
}

/* decorative round bullet (blue) */
.detail-bullet {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5aa0ff, #2f6bff);
  margin-top: 6px; /* visually center with line-height of text */
  box-shadow: 0 2px 6px rgba(47,107,255,0.12);
  flex-shrink: 0;
}

/* text block in list item */
.detail-list-text {
  display: block;
}


/* info text */
.feature-info { padding:0; background:transparent; border:none; margin: 20px;}
.info-title { font-size:31px; font-weight:620; color:#18203c; margin:0 0 12px 0; line-height:1.3; }
.info-desc { font-size:19px; line-height:1.6; color:#6b7a9f; margin:0; }

/* ================== RESPONSIVE BEHAVIOR ================== */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .features-inner { padding: 0 24px; }
  .features-subtitle { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .pair-card { padding: 26px 18px 18px; border-radius: 16px; }
  /* use a slight lift but keep it from overlapping the header */
  .top-mock { max-width: 360px; }
  .feature-column .pair-card { max-width: 560px; margin: 0 auto; }
}

/* Mobile: single column — KEPT UNCHANGED (your approved mobile look remains) */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; gap: 28px; padding: 0; }
  .feature-column { align-items: center; }
  .feature-column .pair-card { max-width: 360px; width: calc(100% - 28px); padding: 30px 18px 18px; border-radius: 16px; }
  .top-mock {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    margin: 20px;
    margin: -12px auto 14px; /* soft lift that won't overlap heading */;
    width: 86%;
    max-width: 320px;
  }
  .features-label{
    font-size:25px;
  }
  .small .mock-content, .small .automation-card-mini, .small .detail-card-mini { padding: 10px 12px; border-radius: 14px; }
  .pair-card .feature-info { margin-top: 6px;}
  .features-subtitle { font-size:28px; line-height:1.15; }
  .info-title { font-size:18px; }
  .info-desc { font-size:14px; line-height:1.5; color:#45567f; }
}


/* Very small phones */
@media (max-width: 420px) {
  .feature-column .pair-card { width: calc(100% - 24px); padding: 22px 14px 14px; border-radius: 14px; }
  .top-mock { width: 92%; margin: -10px auto 8px; max-width: 300px; }
  .features-subtitle { font-size: 24px; }
  .info-title { font-size: 16px; }
  .info-desc { font-size: 13px; }
}

/* small tweak for narrow devices */
@media (max-width: 480px) {
  .features-section { padding-top: 40px; padding-bottom: 60px; }
  .features-inner { padding: 0 16px; }
}




/* ================== ROLES SECTION ================== */

.roles-section {
  position: relative;
  background-color: #ffffff;
  background-image: url('../assets/images/img_dots.png');
  background-repeat: repeat;
  background-size: contain;
  box-shadow: 0px 12px 26px #3f6da314;
  padding: 100px 0 110px;
  overflow: hidden;
}

/* top blur */
.roles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 330px;
  background-image: url('../assets/images/img_blur_bg_white_a700_331x1920.png');
  background-size: cover;
  opacity: 0.9;
  z-index: 0;
}

.roles-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.roles-title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.3;
  color: #18203c;
  margin: 0 0 40px;
}

/* center block */
.roles-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: max-content;
  margin: 0 auto;
}

.roles-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 4px;
}

/* role pill */
.role-button {
  background-color: #ffffff;
  border: 1px solid rgba(6, 6, 6, 0.16);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #060606;
  white-space: nowrap;
  cursor: default;
  box-shadow: 0 1px 2px rgba(0, 25, 75, 0.06);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.role-button:hover {
  background-color: #2388ff;
  border-color: #2388ff;
  color: #ffffff;
}

/* mobile: allow wrapping but keep center overall */
@media (max-width: 992px) {
  .roles-grid {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .roles-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .roles-section {
    padding: 72px 0 90px;
  }

  .roles-title {
    font-size: 32px;
  }
}

/* ================== STATS SECTION ================== */

.stats-section {
  background-color: #ffffff;
  background-image: url('../assets/images/img_grid_blue_gray_200.png');
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0px 12px 26px #3f6da314;
  padding: 110px 0 120px;
  position: relative;
}

.stats-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 320px;
  background-image: url('../assets/images/img_blur_bg_white_a700_314x1920.png');
  background-size: cover;
  opacity: 0.85;
}

/* 2-column layout */
.stats-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: 90px;
  align-items: center;
}

/* LEFT TEXT */
.stats-text {
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  color: #4b4b4b;
  text-align: left;
  max-width: 540px;
}

.stats-strong {
  color: #000000;
  font-weight: 700;
}

.stats-info {
  align-self: flex-start;
  max-width: 420px;
}

/* label + line */
.stats-label {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 4px;
  text-align: left;
}

.stats-line {
  width: 100%;
  max-width: 260px;
  height: 3px;
  background-color: #f25037;
  margin-bottom: 14px;
}

/* people grid card */
.people-grid {
  background: #ffffff;
  padding: 26px 26px 32px;
  border-radius: 18px;
  box-shadow: 0 25px 55px rgba(11, 20, 40, 0.10);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-row-gap: 14px;
  grid-column-gap: 14px;
  width: 430px;
  max-width: 100%;
}

.people-grid img {
  width: 24px;
  height: 48px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
  .stats-content {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .stats-info {
    max-width: 100%;
  }

  .stats-text {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .stats-section {
    padding: 80px 0 90px;
  }

  .stats-text {
    font-size: 30px;
    text-align: left;
  }

  .people-grid {
    width: 100%;
  }
}

/* ================== TESTIMONIALS SECTION ================== */

.testimonials-section {
  position: relative;
  padding: 100px 20px 140px;
  background-color: #ffffff;
  background-image: url('../assets/images/img_grid_blue_gray_200_1194x1920.png');
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0px 12px 26px #3f6da314;
}

/* Blur gradient at bottom */
.testimonials-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 620px;
  background-image: url('../assets/images/img_blur_bg_white_a700_528x1920.png');
  background-size: cover;
  opacity: 0.85;
  z-index: 0;
}

/* Centered content area */
.testimonials-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.25;
  color: #18203c;
  margin-bottom: 60px;
}

/* GRID */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 32px;
  align-items: stretch;
  overflow-x: auto;          /* allows JS scrollBy to work if needed */
  scroll-behavior: smooth;
}

/* Cards */
.testimonial-card {
  background-color: #ffffff;
  border-radius: 22px;
  border: 1px solid #dae3ef;
  padding: 28px 24px;
  box-shadow: 0px 4px 12px rgba(13, 10, 44, 0.06);
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 240px;          /* ensures some width for horizontal scroll */
}

/* Header inside card */
.testimonial-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  color: #292824;
}

.testimonial-company {
  display: inline-block;
  padding: 5px 12px;
  background-color: #e3efff;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  color: #2388ff;
}

/* Text */
.testimonial-text {
  font-size: 14px;
  line-height: 1.55;
  color: #292824;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .testimonials-section {
    padding: 80px 16px 100px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ================== FOOTER ================== */

.footer-section {
  position: relative;
  padding: 110px 0 0;
  background: #e3efff;
  overflow: hidden;
}

/* MAP BACKGROUND */
.footer-bg {
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  height: 500px;
  background-image: url('../assets/images/BG Image.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

/* MAIN CONTENT */
.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 0;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* HEADING */
.footer-title {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.2;
  color: #18203c;
  margin: 0;
}

/* BRAND over the map */
.footer-brand {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.2;
  margin: 0;
}

.footer-brand .brand-name {
  font-weight: 700;
  color: #000;
}

.footer-brand .brand-labs {
  font-weight: 500;
  font-style: italic;
  color: #2388ff;
  margin-left: 0;
  padding-left: 0;
  letter-spacing: 0;
}

/* BOTTOM BAR */
.footer-links {
  margin-top: auto;
  width: 100%;
  background: #e9f2ff;
  border-top: 1px solid #bcd6ff;
  padding: 14px 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  line-height: 1.5;
}

/* Left text */
.footer-credit {
  color: #000;
  white-space: nowrap;
}

.footer-credit .brand {
  font-weight: 700;
}

.footer-credit .labs {
  font-weight: 500;
  font-style: italic;
}

/* Right side: email + links */
.footer-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contact .mail {
  margin-right: 56px;
}

.footer-contact .linkedin {
  font-weight: 700;
  color: #0a66c2;
  cursor: pointer;
}

.footer-contact .contact {
  font-weight: 700;
  cursor: pointer;
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-section {
    padding-top: 80px;
  }

  .footer-bg {
    top: 180px;
    height: 260px;
    background-size: 110% auto;
  }

  .footer-content {
    padding: 0 20px;
    min-height: 520px;
  }

  .footer-brand {
    bottom: 130px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    padding: 14px 24px;
    text-align: center;
  }

  .footer-contact {
    margin-left: 0;
    justify-content: center;
  }

  .footer-contact .mail {
    margin-right: 0;
  }

  .footer-credit {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .footer-title {
    top: -70px;
  }

  .footer-bg {
    top: 200px;
  }

  .footer-brand {
    bottom: 140px;
  }
}
