/* ============================================
   EvolvePeople Consulting — Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@200..700&display=swap');

/* ---------- Root Variables ---------- */
:root {
  --teal: #1c8fa0;
  --teal-dark: #146575;
  --green: #7cb342;
  --green-dark: #67982f;
  --blue: #2f8fc4;
  --blue-dark: #23709e;
  --ink: #22262a;
  --ink-soft: #4b5257;
  --paper: #ffffff;
  --paper-soft: #f4f6f7;
  --footer: #24282b;
  --border: #e3e7e9;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 40, 50, 0.08);
  --maxw: 1180px;
}

/* ---------- Reset & General ---------- */
*, *::before, *::after { 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Stack Sans Headline", sans-serif;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

p { 
  margin: 0 0 16px; 
  color: var(--ink-soft); 
}

a { 
  color: inherit; 
  text-decoration: none; 
}

img { 
  max-width: 100%; 
  display: block; 
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

section { 
  padding: 88px 0; 
}

.section-tight { 
  padding: 64px 0; 
}

/* ---------- User Profile Widget ---------- */
.user-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  margin: 15px 10px 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #9fc131;
  flex-shrink: 0;
}

.user-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.user-name {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-role {
  color: #9fc131;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar.collapsed .user-details {
  opacity: 0;
  pointer-events: none;
  width: 0;
}

.sidebar.collapsed .user-profile-card {
  padding: 10px;
  justify-content: center;
  background: transparent;
  border-color: transparent;
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary { 
  background: var(--blue); 
  color: #fff; 
}

.btn-primary:hover { 
  background: var(--blue-dark); 
  transform: translateY(-1px); 
}

.btn-outline-light { 
  background: transparent; 
  color: #fff; 
  border: 1.5px solid rgba(255,255,255,.7); 
}

.btn-outline-light:hover { 
  background: rgba(255,255,255,.15); 
}

.btn-white {
  margin: 26px 0 0 0;
  background: #fff;
  color: var(--ink);
}

.btn-white:hover {
  background: #000;
  color: #fff;
}

.link-underline {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px;
}

.link-underline:hover {
  font-weight: 700;
}

/* ==========================================
   NAVBAR (DESKTOP)
   ========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  box-sizing: border-box;
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

.brand-mark { 
  max-height: 45px; 
  width: auto; 
  display: block; 
}

.brand-text { 
  display: flex; 
  flex-direction: column; 
  line-height: 1.1; 
}

.brand-text b { 
  font-family: 'Poppins', sans-serif; 
  font-size: 17px; 
  font-weight: 700; 
  color: var(--ink); 
}

.brand-text span { 
  font-size: 11px; 
  color: var(--ink-soft); 
  letter-spacing: .04em; 
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* ---------- Hamburger Button ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   NAVBAR RESPONSIVE (TABLET & SMARTPHONE)
   ========================================== */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border);

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;

    padding: 20px 32px;
    margin: 0;
    gap: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    order: 1 !important;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    list-style: none;
  }

  .nav-links li {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0;
    text-decoration: none;
  }

  .nav-cta {
    order: 2 !important;
    width: 100%;
    margin: 12px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
  }

  .nav-cta .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: linear-gradient(90deg, rgba(15,25,30,.72) 0%, rgba(15,25,30,.42) 55%, rgba(15,25,30,.2) 100%);
}

.hero-inner { 
  position: relative; 
  z-index: 1; 
  max-width: 1100px; 
  padding: 60px 0; 
}

.hero .container { 
  width: 100%; 
}

.hero h1 { 
  color: #fff; 
  font-size: 42px; 
  margin-bottom: 20px; 
}

.hero p { 
  color: rgba(255,255,255,.92); 
  font-size: 17px; 
  max-width: 540px; 
}

.hero-sm h1 { 
  font-size: 34px; 
}

/* ---------- Problem / Blue Cards ---------- */
.section-blue { 
  background: var(--blue); 
  color: #fff; 
  text-align: center; 
}

.section-blue h2 { 
  color: #fff; 
  font-size: 32px; 
}

.section-blue > .container > p { 
  color: rgba(255,255,255,.88); 
  max-width: 640px; 
  margin-left: auto; 
  margin-right: auto; 
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.icon-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.icon-box {
  width: 46px; 
  height: 46px;
  border-radius: 8px;
  background: var(--green);
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin-bottom: 18px;
}

.icon-box svg { 
  width: 22px; 
  height: 22px; 
  stroke: #fff; 
  fill: none; 
}

.icon-card h3 { 
  font-size: 18px; 
  margin-bottom: 8px; 
  color: var(--ink); 
}

.icon-card p { 
  font-size: 14.5px; 
  margin: 0; 
  color: var(--ink-soft); 
}

.evp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
}

.evp-card:hover .card-img {
  transform: scale(1.06);
}

/* ---------- Solutions ---------- */
.solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.solutions h2 { 
  font-size: 32px; 
  max-width: 420px; 
}

.solution-item { 
  padding: 22px 0; 
  border-bottom: 1px solid var(--border); 
}

.solution-item:first-child { 
  padding-top: 0; 
}

.solution-item h3 { 
  font-size: 19px; 
  margin-bottom: 8px; 
}

.solution-item p { 
  margin: 0; 
  font-size: 14.5px; 
}

/* ---------- Insights / Green Section ---------- */
.section-green { 
  background: var(--green); 
  color: #fff; 
  text-align: center; 
}

.section-green h2 { 
  color: #fff; 
  font-size: 32px; 
}

.insight-grid {
  display: grid; 
  grid-template-columns: repeat(3,1fr); 
  gap: 24px;
  margin-top: 40px; 
  text-align: left;
}

.insight-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.insight-card::before {
  content: '';
  position: absolute; 
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}

.insight-card:hover::before { 
  transform: scale(1.08); 
}

.insight-card::after {
  content: '';
  position: absolute; 
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.4) 100%);
  transition: background .4s ease;
}

.insight-card:hover::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%);
}

.insight-card .insight-text {
  position: absolute; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  z-index: 1;
  padding: 40px;
}

.insight-card h3 { 
  color: #fff; 
  font-size: 17px; 
  margin-bottom: 8px; 
}

.insight-card p { 
  color: #fff; 
  font-size: 13.5px; 
  margin: 0; 
  transition: color .2s ease; 
}

.insight-card:hover p { 
  color: rgba(255,255,255,.68); 
}

.wawasan-more {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  color: #fff; 
  font-weight: 600; 
  margin-top: 32px;
}

.wawasan-more .arrow { 
  transition: transform .2s ease; 
}

.wawasan-more:hover .arrow { 
  transform: translateX(6px); 
}

.wawasan-more:hover { 
  color: rgba(255,255,255,.8); 
}

.category-pill:hover { 
  background: #22262a; 
  color: #ffffff; 
  border-color: #22262a; 
}

.category-pill.active { 
  background: #042940; 
  color: #ffffff; 
  border-color: #042940; 
}

/* ---------- Clients ---------- */
.section-clients { 
  background: var(--paper-soft); 
  text-align: center; 
}

.section-clients h2 { 
  font-size: 30px; 
}

.section-clients p { 
  max-width: 560px; 
  margin: 0 auto 36px; 
}

.client-logos {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.client-logo {
  width: 320px;
  height: 180px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  gap: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.client-logo img {
  max-width: 300px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-badge { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-family: 'Stack Sans Headline', sans-serif; 
  font-weight: 700; 
  font-size: 18px; 
  color: var(--ink); 
}

.client-badge svg { 
  width: 34px; 
  height: 34px; 
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid; 
  grid-template-columns: 1fr 1.15fr; 
  gap: 64px;
}

.contact-info h3 { 
  font-size: 20px; 
  margin-bottom: 6px; 
}

.contact-info p { 
  font-size: 15px; 
}

.contact-info .socials { 
  display: flex; 
  gap: 14px; 
  margin-top: 8px; 
}

.contact-info .socials a {
  width: 36px; 
  height: 36px; 
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.contact-info .socials svg { 
  width: 16px; 
  height: 16px; 
  fill: var(--ink); 
}

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
  margin-bottom: 20px; 
}

.field label { 
  display: block; 
  font-size: 14px; 
  font-weight: 600; 
  margin-bottom: 8px; 
}

.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  background: var(--paper-soft);
  color: var(--ink);
}

.field textarea { 
  min-height: 110px; 
  resize: vertical; 
}

.field input:focus, .field textarea:focus {
  outline: none; 
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47,143,196,.15);
}

.form-note { 
  font-size: 13.5px; 
  color: var(--ink-soft); 
  margin-top: -6px; 
}

/* ---------- Wawasan Grid + Pagination ---------- */
.insight-list-grid {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px;
}

.insight-list-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.insight-list-card img { 
  width: 100%; 
  height: 170px; 
  object-fit: cover; 
}

.insight-list-card-body { 
  padding: 18px 20px 22px; 
}

.insight-list-card h3 { 
  font-size: 16px; 
  margin-bottom: 8px; 
}

.insight-list-card p { 
  font-size: 13.5px; 
  margin: 0; 
}

.pagination {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 20px;
  margin-top: 40px;
}

.btn-outline-dark {
  background: #fff; 
  color: var(--ink); 
  border: 1px solid var(--border);
}

.btn-outline-dark:disabled { 
  opacity: .4; 
  cursor: not-allowed; 
}

.btn-outline-dark:not(:disabled):hover { 
  background: var(--paper-soft); 
}

.page-numbers { 
  display: flex; 
  gap: 8px; 
}

.page-num {
  width: 36px; 
  height: 36px; 
  border-radius: 6px;
  border: 1px solid var(--border); 
  background: #fff; 
  color: var(--ink-soft);
  font-weight: 600; 
  font-size: 14px; 
  cursor: pointer;
}

.page-num:hover { 
  background: var(--paper-soft); 
}

.page-num.active { 
  background: var(--blue); 
  border-color: var(--blue); 
  color: #fff; 
}

/* ---------- Article Detail Page ---------- */
.article-cover { 
  width: 100%; 
  height: 360px; 
  object-fit: cover; 
  border-radius: var(--radius); 
  margin-bottom: 28px; 
}

.article-meta {
  display: flex; 
  align-items: center; 
  gap: 10px;
  font-size: 13.5px; 
  color: var(--ink-soft); 
  margin-bottom: 14px;
}

.article-body { 
  font-size: 16px; 
  line-height: 1.8; 
  color: var(--ink-soft); 
}

.article-body p { 
  margin-bottom: 20px; 
}

/* ---------- Generic Page Intro ---------- */
.page-eyebrow {
  text-transform: uppercase; 
  letter-spacing: .08em; 
  font-size: 13px;
  font-weight: 700; 
  color: var(--teal-dark); 
  margin-bottom: 10px; 
  display: block;
}

.section-title { 
  text-align: center; 
  max-width: 640px; 
  margin: 0 auto 48px; 
}

.section-title h2 { 
  font-size: 32px; 
}

/* ---------- Services Page ---------- */
.service-block {
  display: grid; 
  grid-template-columns: 0.9fr 1.4fr; 
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child { 
  border-bottom: none; 
}

.service-block .icon-box { 
  width: 58px; 
  height: 58px; 
  margin-bottom: 22px; 
}

.service-block .icon-box svg { 
  width: 28px; 
  height: 28px; 
}

.service-block h3 { 
  font-size: 24px; 
}

.service-block ul { 
  margin: 18px 0 0; 
  padding-left: 20px; 
  color: var(--ink-soft); 
}

.service-block li { 
  margin-bottom: 8px; 
  font-size: 15px; 
}

.service-num {
  font-family: 'Poppins', sans-serif; 
  font-weight: 800; 
  font-size: 14px;
  color: var(--blue); 
  letter-spacing: .06em; 
  margin-bottom: 10px; 
  display: block;
}

.category-badge-hover:hover {
  background: #0d4fa2 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3) !important;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform .15s ease, box-shadow .15s ease;
}

.service-card:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow); 
}

.service-card img { 
  width: 100%; 
  height: 220px; 
  object-fit: cover; 
}

.service-card-body { 
  padding: 22px 24px 26px; 
}

.service-card-body h3 { 
  font-size: 19px; 
  margin-bottom: 10px; 
}

.service-card-body h3 small { 
  display: block; 
  font-size: 14px; 
  font-weight: 500; 
  color: var(--ink-soft); 
}

.service-card-body p { 
  font-size: 14.5px; 
  margin: 0; 
}

/* ---------- Portfolio ---------- */
.case-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 28px; 
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.case-card-head {
  padding: 26px 28px 20px;
  display: flex; 
  align-items: center; 
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.case-card-body { 
  padding: 24px 28px 28px; 
}

.case-tag {
  display: inline-block; 
  font-size: 12.5px; 
  font-weight: 700;
  background: rgba(124,179,66,.12); 
  color: var(--green-dark);
  padding: 4px 10px; 
  border-radius: 6px; 
  margin-bottom: 14px;
}

.case-row { 
  display: flex; 
  gap: 14px; 
  margin-bottom: 14px; 
}

.case-row b { 
  min-width: 90px; 
  flex-shrink: 0; 
  font-size: 13.5px; 
  color: var(--ink); 
}

.case-row span { 
  font-size: 14px; 
  color: var(--ink-soft); 
}

.case-result {
  margin-top: 16px; 
  padding-top: 16px; 
  border-top: 1px dashed var(--border);
  font-size: 14.5px; 
  font-weight: 600; 
  color: var(--teal-dark);
}

.cta-banner {
  background: var(--blue);
  color: #fff; 
  text-align: center; 
  border-radius: var(--radius);
  padding: 56px 40px; 
  margin-top: 64px;
}

.cta-banner h2 { 
  color: #fff; 
  font-size: 32px; 
}

.cta-banner p { 
  color: rgba(255,255,255,.88); 
  max-width: 480px; 
  margin: 0 auto 26px; 
}

/* ---------- Consult Banner ---------- */
.consult-banner {
  background: var(--green);
  border-radius: var(--radius);
  margin-top: 48px;
  padding: 32px 40px;
  display: flex; 
  align-items: center; 
  gap: 28px;
  color: #fff;
}

.consult-banner .cb-icon {
  width: 52px; 
  height: 52px; 
  flex-shrink: 0;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.consult-banner .cb-icon svg { 
  width: 100%; 
  height: 100%; 
}

.consult-banner .cb-label {
  font-weight: 800; 
  font-size: 15px; 
  letter-spacing: .03em;
  border-right: 1px solid rgba(255,255,255,.4);
  padding-right: 28px; 
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}

.consult-banner p { 
  color: rgba(255,255,255,.92); 
  margin: 0; 
  flex: 1; 
  font-size: 14.5px; 
}

.consult-banner .btn-light {
  background: #fff; 
  color: var(--ink); 
  flex-shrink: 0;
  padding: 12px 24px; 
  border-radius: 6px; 
  font-weight: 600; 
  font-size: 14.5px;
  border: none; 
  cursor: pointer;
}

.consult-banner .btn-light:hover { 
  background: #eee; 
}

/* ---------- Service Detail Modal ---------- */
.modal-overlay {
  position: fixed; 
  inset: 0; 
  z-index: 1000;
  background: rgba(20,25,28,.55);
  display: none;
  align-items: center; 
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { 
  display: flex; 
}

.modal-box {
  background: #fff;
  border-radius: 14px;
  max-width: 560px; 
  width: 100%;
  padding: 40px 44px;
  position: relative;
  max-height: 86vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute; 
  top: 18px; 
  right: 18px;
  background: none; 
  border: none; 
  cursor: pointer;
  width: 32px; 
  height: 32px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--ink-soft);
}

.modal-close:hover { 
  background: var(--paper-soft); 
}

.modal-box h3 { 
  font-size: 21px; 
  margin-bottom: 22px; 
  padding-right: 24px; 
}

.modal-box ol { 
  margin: 0; 
  padding-left: 20px; 
}

.modal-box li { 
  margin-bottom: 14px; 
  font-size: 14.5px; 
  color: var(--ink-soft); 
}

.modal-box li b { 
  color: var(--ink); 
}

/* ---------- Thank You Page ---------- */
.thankyou-section {
  background: var(--paper-soft);
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.thankyou-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 60px;
  text-align: center;
}

.thankyou-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
}

.thankyou-card h1 {
  font-size: 40px;
  margin-bottom: 18px;
}

.thankyou-card p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 18px;
}

.thankyou-highlight {
  color: var(--teal);
  font-weight: 700;
}

.thankyou-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================
   FOOTER (DESKTOP)
   ========================================== */
.footer {
  background-color: var(--footer);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.footer-brand img {
  max-width: 180px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin-top: 16px;
}

.footer-contact h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 10px;
  margin-top: 16px;
}

.footer-contact h4:first-child {
  margin-top: 0;
}

.footer-contact p, 
.footer-contact a {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-bottom: 16px;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer .socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer .social svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.footer .social:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

.footer-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #888888;
}

/* ==========================================
   GLOBAL RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Tablet & Smartphone Medium (Max 880px) */
@media (max-width: 880px) {
  .card-grid, 
  .insight-grid, 
  .insight-list-grid, 
  .service-cards, 
  .case-grid {
    grid-template-columns: 1fr;
  }

  .solutions {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .consult-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .consult-banner .cb-label {
    border-right: none;
    padding-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-map {
    grid-column: span 2;
  }

  .footer-map iframe {
    height: 200px;
  }
}

/* Smartphone Small (Max 576px) */
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-top: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-map {
    grid-column: span 1;
  }

  .footer-brand, 
  .footer-contact {
    text-align: left;
  }

  .footer .socials {
    justify-content: flex-start;
  }

  .footer-map iframe {
    height: 180px;
  }

  .thankyou-card {
    padding: 36px 28px;
  }

  .thankyou-card h1 {
    font-size: 32px;
  }
}