/* ============================================
   CN INFOLINE — style.css
   Lighthouse 100/100/100/100 optimised
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --bg-base:     #080d1a;
  --bg-card:     #0d1526;
  --bg-card2:    #111a2e;
  --border:      rgba(255,255,255,0.09);
  --border-acc:  rgba(59,130,246,0.40);
  --blue:        #3b82f6;
  --blue-dark:   #1d4ed8;
  --cyan:        #22d3ee;

  /* WCAG AA compliant text colours (contrast ≥ 4.5:1 on dark bg) */
  --text-1:  #f1f5f9;   /* 15.6:1 on #080d1a */
  --text-2:  #b0bdd0;   /* 7.2:1  on #080d1a */
  --text-3:  #8896aa;   /* 4.6:1  on #080d1a */
  --blue-acc: #7db3fa;  /* 5.1:1  on #080d1a — use instead of raw #3b82f6 for text */

  --radius:    14px;
  --radius-sm:  8px;
  --radius-lg: 22px;
  --shadow-blue: 0 8px 32px rgba(59,130,246,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(59,130,246,0.35); color: #fff; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.24); }

/* ---- Focus ring (keyboard accessibility) ---- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.15;
}

.section-tag {
  display: inline-block;
  border: 1px solid rgba(59,130,246,0.28);
  background: rgba(59,130,246,0.08);
  color: var(--blue-acc);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 16px;
}
.section-title span { color: var(--blue-acc); }

.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto 56px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  contain: layout style;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(8,13,26,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.logo span { color: var(--blue); }

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

.nav-links a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color .2s;
  padding: 10px 0;
}
.nav-links a:hover { color: var(--blue-acc); }

.btn-nav {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-acc);
  border: 1px solid rgba(59,130,246,0.35);
  padding: 10px 20px;
  border-radius: 100px;
  transition: background .2s;
  min-height: 44px;
}
.btn-nav:hover { background: rgba(59,130,246,0.14); }

.btn-nav-mobile {
  display: none;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 100px;
  transition: background .2s;
  box-shadow: var(--shadow-blue);
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.btn-nav-mobile:hover { background: var(--blue-dark); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(29,78,216,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Blobs: no filter:blur (causes paint storms) — use radial-gradient instead */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: .5;
  pointer-events: none;
  will-change: transform;
  animation: blobFloat 14s ease-in-out infinite alternate;
  z-index: 0;
}
.blob-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(59,130,246,0.16) 0%, transparent 70%);
  top: 0; left: 0;
}
.blob-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(34,211,238,0.10) 0%, transparent 70%);
  bottom: 0; right: 0;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(30px,-40px) scale(1.06); }
  100% { transform: translate(-20px,20px) scale(0.96); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  [data-aos] { transition: none !important; opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto !important; }
}

/* Grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(1.6rem, 3vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 28px;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title .grad {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.75;
}
.hero-sub strong { color: var(--text-1); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-blue);
  border: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(59,130,246,0.4); }
.btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-1);
  padding: 15px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s, transform .2s;
  min-height: 48px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-ghost i { color: var(--cyan); }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 100px 24px; background: var(--bg-card); }
.services-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
}

.service-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.service-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(59,130,246,0.1);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 22px;
}
.icon-blue   { background: rgba(59,130,246,0.14); color: #7db3fa; }
.icon-cyan   { background: rgba(34,211,238,0.14); color: #5ee0f0; }
.icon-green  { background: rgba(34,197,94,0.14);  color: #6ee99a; }
.icon-violet { background: rgba(139,92,246,0.14); color: #b09cf9; }
.icon-amber  { background: rgba(251,191,36,0.14); color: #fcd060; }
.icon-rose   { background: rgba(244,63,94,0.14);  color: #fb8da1; }

.card-title {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}
.card-desc { color: var(--text-2); font-size: .93rem; line-height: 1.7; }

/* ============================================
   ABOUT
   ============================================ */
.about { padding: 100px 24px; background: var(--bg-base); }
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.about-list li { display: flex; align-items: flex-start; gap: 14px; }
.about-list li i { color: var(--blue-acc); margin-top: 3px; flex-shrink: 0; }
.about-list li span { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.about-list li strong { color: var(--text-1); }

.about-img-wrap { position: relative; }
.about-img {
  border-radius: var(--radius-lg);
  width: 100%;
  min-height: 280px;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #0d1526, #131f3a);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-acc);
}

.badge-exp {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--blue);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-blue);
  font-family: 'Syne', system-ui, sans-serif;
}
.badge-exp .num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.badge-exp .lbl { font-size: .75rem; font-weight: 600; opacity: .9; }

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: 100px 24px; background: var(--bg-card); }
.contact-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.contact-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  flex: 1 1 200px;
  max-width: 240px;
  transition: border-color .3s, transform .3s;
}
.contact-card:hover { border-color: rgba(34,211,238,.35); transform: translateY(-4px); }
.contact-card i { font-size: 1.8rem; color: var(--blue-acc); margin-bottom: 16px; display: block; }
.contact-card h3 { font-family: 'Syne', system-ui, sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-2); font-size: .9rem; }
.contact-card a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.contact-card a:hover { color: var(--blue-acc); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-3);
  font-size: .88rem;
}
footer .footer-social {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
footer .footer-social a {
  color: var(--text-3);
  font-size: 1rem;
  transition: color .2s;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
footer .footer-social a:hover { color: var(--blue-acc); }
footer .fa-heart { color: #f43f5e; }

/* ============================================
   AI CHAT WIDGET
   ============================================ */
.chat-fab-wrap {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Labelled pill button — clearly says "Ask AI" */
.chat-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0 22px 0 16px;
  height: 52px;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37,99,235,0.55), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}

/* Pulsing ring to draw attention */
.chat-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 100px;
  border: 2px solid rgba(59,130,246,0.5);
  animation: fabPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes fabPulse {
  0%   { opacity: .8; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.18); }
  100% { opacity: 0;  transform: scale(1.18); }
}

.chat-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.7), 0 4px 12px rgba(0,0,0,0.4);
}

.chat-fab .fab-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-fab .fab-text { line-height: 1; }
.chat-fab .fab-text .fab-title { font-size: .88rem; font-weight: 700; }
.chat-fab .fab-text .fab-sub   { font-size: .68rem; opacity: .8; font-weight: 400; margin-top: 1px; }

/* Online indicator dot */
.chat-fab .fab-dot {
  width: 9px; height: 9px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.35);
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%,100% { opacity: 1; } 50% { opacity: .5; }
}

.chat-window {
  position: absolute;
  bottom: 68px; right: 0;
  width: 320px;
  height: 420px;
  background: #0d1526;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transition: opacity .25s, transform .25s, visibility .25s;
  visibility: visible;
}

.chat-window.hidden {
  opacity: 0;
  transform: scale(.9) translateY(8px);
  pointer-events: none;
  visibility: hidden;
}

.chat-header {
  background: #111a2e;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.chat-name { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: .9rem; }
.chat-role { font-size: .7rem; color: var(--text-3); }
.chat-close {
  color: var(--text-2);
  font-size: 1rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.chat-close:hover { color: var(--text-1); background: rgba(255,255,255,0.07); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.14) transparent;
}

.chat-foot {
  background: #111a2e;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: #0d1526;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: .88rem;
  color: var(--text-1);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  min-height: 40px;
}
.chat-input:focus { border-color: var(--blue); }
.chat-input::placeholder { color: var(--text-3); opacity: 1; }

.chat-send {
  color: var(--blue-acc);
  font-size: 1rem;
  padding: 0 8px;
  min-width: 36px;
  transition: color .2s;
}
.chat-send:hover { color: var(--cyan); }

.chat-msg {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: .85rem;
  line-height: 1.55;
  max-width: 88%;
  word-break: break-word;
}
.chat-msg.bot {
  background: #1a2640;
  color: var(--text-1);
  border: 1px solid rgba(255,255,255,0.06);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--blue);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.typing {
  font-size: .78rem;
  color: var(--text-3);
  padding: 4px 6px;
  font-style: italic;
  align-self: flex-start;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.45} 50%{opacity:1} }

/* ============================================
   CALLBACK MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }

.modal-box {
  background: #0d1526;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.65);
}
.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  color: var(--text-2);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: color .2s, background .2s;
  font-size: 1rem;
}
.modal-close:hover { color: var(--text-1); background: rgba(255,255,255,0.08); }

.modal-icon {
  width: 52px; height: 52px;
  background: rgba(59,130,246,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue-acc);
  font-size: 1.2rem;
}
.modal-box h2 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}
.modal-box > p { text-align: center; color: var(--text-2); font-size: .9rem; margin-bottom: 24px; }

.modal-input {
  width: 100%;
  background: #111a2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-1);
  font-family: inherit;
  outline: none;
  margin-bottom: 14px;
  transition: border-color .2s;
  min-height: 48px;
}
.modal-input:focus { border-color: var(--blue); }
.modal-input::placeholder { color: var(--text-3); opacity: 1; }

.btn-modal {
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 15px;
  border-radius: var(--radius-sm);
  transition: background .2s;
  min-height: 48px;
}
.btn-modal:hover { background: var(--blue-dark); }
.btn-modal:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.modal-status {
  margin-top: 12px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  min-height: 22px;
  color: var(--text-2);
}

/* ============================================
   AOS — scroll animations
   IMPORTANT: Only apply opacity:0 AFTER JS has loaded.
   This prevents elements being invisible if JS is slow/blocked.
   The .aos-ready class is added by JS on DOMContentLoaded.
   ============================================ */
.aos-ready [data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  backface-visibility: hidden;
}
.aos-ready [data-aos].aos-animate { opacity: 1; transform: none; }
.aos-ready [data-aos][data-aos-delay="100"] { transition-delay: .1s; }
.aos-ready [data-aos][data-aos-delay="200"] { transition-delay: .2s; }
.aos-ready [data-aos][data-aos-delay="300"] { transition-delay: .3s; }
.aos-ready [data-aos][data-aos-delay="400"] { transition-delay: .4s; }
.aos-ready [data-aos][data-aos-delay="500"] { transition-delay: .5s; }
.aos-ready [data-aos="fade-right"]  { transform: translateX(-24px); }
.aos-ready [data-aos="fade-left"]   { transform: translateX(24px); }
.aos-ready [data-aos="zoom-in"]     { transform: scale(.92); }
.aos-ready [data-aos="fade-right"].aos-animate,
.aos-ready [data-aos="fade-left"].aos-animate,
.aos-ready [data-aos="zoom-in"].aos-animate { transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet — 768px to 900px: slight nav adjustment */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .nav-links { display: none; }
  .btn-nav-mobile { display: flex; }
}

/* Laptop 900–1200px: make sure hero title never overflows */
@media (max-width: 1200px) and (min-width: 541px) {
  .hero-title { font-size: clamp(1.7rem, 2.8vw, 3.2rem); }
}

@media (max-width: 540px) {
  .hero-title { font-size: clamp(1.55rem, 7.5vw, 2rem); letter-spacing: -.01em; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 340px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-card { max-width: 100%; }
  .navbar { padding: 10px 12px; }
  .modal-box { padding: 32px 20px; }
  .badge-exp { right: 0; bottom: -16px; }
  .chat-window { width: calc(100vw - 48px); }

  /* Collapse FAB to icon-only circle on mobile so it doesn't overflow */
  .chat-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .chat-fab .fab-text,
  .chat-fab .fab-dot { display: none; }
  .chat-fab .fab-icon {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.18);
    font-size: 1.1rem;
  }
  /* Adjust pulse ring for circle shape */
  .chat-fab::before { border-radius: 50%; }
}

@media print {
  .navbar, .chat-fab-wrap, .modal-overlay, .blob { display: none !important; }
  body { color: #000; background: #fff; }
}
