/* ===================================================================
   FlyingTwin Private Limited — Modular Design System
   Physics-based digital twin modelling & AI-powered analytics

   MODULES
   1. Typography   2. Colour   3. Grid      4. Navbar
   5. Hero         6. About    7. Services  8. Industries
   9. Contact      10. Footer  + Reveal + Responsive
=================================================================== */

/* ===================================================================
   1. + 2.  TYPOGRAPHY & COLOUR MODULE — :root system
=================================================================== */
:root {
  /* ---- Colour ---- */
  --navy:    #00194F;   /* flying brand dark navy */
  --blue:    #003EA9;   /* twin brand blue */
  --blue-dk: #00266B;   /* twin hover state */
  --blue-lt: #f0f5ff;   /* light blue container tint */
  --bg:      #f5f7fa;   /* light gray background */
  --white:   #ffffff;   /* white background for cards/panels */
  --text-1:  #00194F;   /* primary brand dark navy text */
  --text-2:  #334155;   /* slate dark gray/black body text */
  --text-3:  #94a3b8;   /* tertiary muted gray text */
  --border:  #e2e8f0;   /* light border color */
  --accent:  #38bdf8;   /* cyan/sky-blue accent */
  --rule:    1px solid #e2e8f0;   /* structural divider */

  /* ---- Typeface stacks ---- */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;

  /* ---- Type scale (strictly defined & responsive) ---- */
  --fs-eyebrow: clamp(0.81rem, 1vw, 0.94rem);       /* mono labels / badges (scaled up!) */
  --fs-label:   clamp(0.68rem, 0.8vw, 0.75rem);     /* form labels */
  --fs-micro:   clamp(0.81rem, 1vw, 0.88rem);       /* small buttons */
  --fs-body:    clamp(0.94rem, 1.15vw, 1.06rem);    /* standard paragraphs */
  --fs-lead:    clamp(1.06rem, 1.35vw, 1.25rem);    /* lead text */
  --fs-h3:      clamp(1.18rem, 1.6vw, 1.44rem);     /* subheadings */
  --fs-h2:      clamp(1.75rem, 3vw, 2.75rem);       /* section headings */
  --fs-h1:      clamp(2.25rem, 4vw, 3.5rem);        /* page headings */
  --fs-hero:    clamp(2.5rem, 4.8vw, 4.5rem);       /* hero title */

  /* ---- Leading ---- */
  --lh-tight:   1.12;
  --lh-snug:    1.3;
  --lh-body:    1.75;

  /* ---- Grid ---- */
  --gutter:     88px;   /* desktop gutter */
  --cols:       12;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white); color: var(--text-1);
  font-size: var(--fs-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; line-height: var(--lh-body);
  font-weight: 400;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c7d2e0; border-radius: 3px; }

/* Every paragraph / description block is justified */
p, .ind-desc, .svc-short, .svc-full, .about-copy p, .sec-lead,
.page-lead, .contact-info-text { text-align: justify; }

/* Headings always use the display face */
h1, h2, h3, h4,
.hero-h1, .sec-h2, .page-h1, .ind-title, .svc-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Mono accent — eyebrow labels & numbered badges only */
.eyebrow, .card-num, .ind-num, .hero-badge,
.team-label, .fc-label, .fn-label {
  font-family: var(--font-mono);
}

/* ===================================================================
   3. GRID MODULE — root 12-column grid, 88px gutters
=================================================================== */
.grid12 {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 28px;
}

/* Section rhythm — alternating white / --bg backgrounds */
.sec { padding: 84px var(--gutter); background: var(--white); }
.sec-alt { background: var(--bg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-eyebrow); font-weight: 700; color: var(--blue);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ''; display: block; width: 26px; height: 2px; background: var(--blue); }
.sec-h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); color: var(--text-1); margin-bottom: 16px; }
.sec-lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 1000px; line-height: var(--lh-body); margin-bottom: 0; text-align: justify; text-justify: inter-word; }

/* ===================================================================
   4. NAVBAR MODULE — dark glassmorphism (darkblur)
 =================================================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 68px; /* fixed height */
  background: rgba(255, 255, 255, 0.9); /* white glassmorphism background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center;
  padding: 0 var(--gutter); justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: border-bottom 0.3s, background-color 0.3s;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}
#navbar.with-shadow {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

/* Left — logo image + text */
.nav-logo { 
  display: flex; align-items: center; text-decoration: none; flex-shrink: 0; 
  padding-right: 24px;
  border-right: 1px solid var(--border); /* 1px vertical divider separator */
  gap: 12px;
}
.nav-logo img, .fb-logo-row img {
  display: block;
  height: 32px;
  width: 32px;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.nav-logo-text {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
  color: #00194F; letter-spacing: -0.04em;
}
.nav-logo-text em { font-style: normal; color: #003EA9; }

/* Centre — nav links */
.nav-links {
  display: flex; align-items: center; gap: 40px; list-style: none;
  position: relative; margin-top: 0; padding-bottom: 0;
  margin-left: 24px;
}
.nav-links::after { display: none; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 500; color: var(--text-2); /* dark gray text */
  text-decoration: none; transition: color 0.2s, padding 0.2s;
  position: relative; padding-bottom: 6px;
  border-left: none; padding-left: 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--blue); transition: width 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.accent { color: var(--accent); }
.accent-color { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { width: 100%; }

/* Remove previous scroll logic for changing active state */
#navbar.scrolled .nav-links a.active,
#navbar.with-shadow .nav-links a.active {
  border-left: none; padding-left: 0;
}

/* Right — outlined CTA (navy border + text, fills navy on hover) -> NEW: solid blue */
.nav-cta {
  padding: 9px 22px; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; /* border-radius 8px */
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 700; /* bold */
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.2s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-dk); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; border: none; background: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===================================================================
   5. HERO MODULE — 40% navy text panel left, 60% full-bleed image right.
      2-slide carousel kept. Progress bar full width at bottom.
=================================================================== */
#home {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; background: var(--navy);
}
.hero-left {
  position: absolute; inset: 0;
  z-index: 2; background: transparent;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 70px;
  max-width: 760px;
}
.hero-content { display: flex; flex-direction: column; }

/* Badge — mono, uppercase, 1px left accent border (no pill) */
.hero-badge {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow); font-weight: 500;
  color: rgba(255,255,255,0.82); letter-spacing: 0.16em; text-transform: uppercase;
  border-left: 1px solid var(--accent);
  padding: 2px 0 2px 14px; margin-bottom: 40px; width: fit-content;
}

/* H1 — Syne 800, very large, tight leading. Key word underlined w/ accent. */
.hero-h1 {
  font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 800;
  line-height: var(--lh-tight); letter-spacing: -0.04em;
  color: #fff; margin-bottom: 34px;
}
.hero-h1 .accent {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}
.hero-sub {
  font-size: var(--fs-lead); color: rgba(255,255,255,0.7);
  max-width: 540px; line-height: var(--lh-body); margin-bottom: 44px;
  text-align: justify;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  padding: 13px 30px; background: var(--blue); color: #fff;
  border: none; border-radius: 4px; font-family: var(--font-body);
  font-size: var(--fs-micro); font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background 0.2s; display: inline-block;
}
.btn-hero-primary:hover { background: var(--blue-dk); }
.btn-hero-ghost {
  padding: 12px 26px; background: transparent; color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 4px;
  font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); }

/* Right — full-bleed image carousel */
.hero-right { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s cubic-bezier(0.4,0,0.2,1); }
.slide.active { opacity: 1; }
.slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.05); transition: transform 9s ease; }
.slide.active > img { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,26,46,0.9) 0%, rgba(12,26,46,0.62) 50%, rgba(12,26,46,0.35) 100%);
}
.slide-dots { position: absolute; bottom: 34px; right: var(--gutter); display: flex; gap: 9px; z-index: 3; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; border: none; transition: 0.3s; }
.dot.active { background: var(--accent); transform: scale(1.3); }

/* Progress bar — full viewport width at the very bottom */
.hero-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--accent); width: 0%; z-index: 4; }

/* ===================================================================
   6. ABOUT MODULE — asymmetric 5-col / 7-col split divided by a
      thick 3px navy vertical rule. 
=================================================================== */
.about-grid {
  max-width: 1000px;
  margin-top: 28px;
}
.about-grid::before {
  display: none;
}
.about-copy p:last-child { margin-bottom: 0; }
.team-label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 22px; }

.team-grid { 
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; 
  max-width: 900px; margin: 0 auto; 
}

/* Portrait founder card */
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.08);
}
.team-photo {
  height: 320px; width: 100%; overflow: hidden;
  flex-shrink: 0;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: grayscale(100%); border-radius: 0; transition: filter 0.3s ease;
}
.team-card:hover .team-photo img { filter: grayscale(0%); }
.team-info {
  padding: 24px; background: var(--white);
  display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.team-li-link {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s;
}
.team-li-link:hover {
  color: #0a66c2;
  transform: scale(1.15);
}
.team-photo img.kavin-img {
  transform: scale(1.35);
  object-position: 50% 20%;
}
.team-photo img.aarthi-img {
  object-fit: contain;
  object-position: center;
  background-color: rgb(244, 242, 227);
}
.team-role { font-size: var(--fs-eyebrow); font-weight: 700; color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; line-height: 1.3; }
.team-spec { font-size: var(--fs-micro); color: var(--text-3); margin-bottom: 12px; }
.team-desc { font-size: 0.81rem; color: var(--text-2); text-align: justify; line-height: 1.6; }
.li-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px;
  border: 1px solid var(--blue); border-radius: 4px; color: var(--blue);
  font-size: var(--fs-micro); font-weight: 500; text-decoration: none; transition: background 0.2s;
  margin-top: auto;
}
.li-btn:hover { background: var(--blue-lt); }

.founders-section {
  background: var(--bg);
  padding: 0 var(--gutter) 72px;
}
.founders-section .reveal {
  max-width: 900px;
  margin: 0 auto;
}

/* ===================================================================
   9. CONTACT MODULE — 2-col: info+address left, form right.
 =================================================================== */
#contact { padding: 72px var(--gutter); }
.contact-head { margin-bottom: 40px; }
.contact-grid {
  display: grid; grid-template-columns: 38% 1fr; gap: 64px; align-items: start;
}
.contact-left { display: flex; flex-direction: column; }
.contact-h2 {
  font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 800; color: var(--text-1);
  margin-bottom: 8px; line-height: 1.1; letter-spacing: -0.02em;
}
.contact-lead { font-size: var(--fs-lead); color: var(--text-2); text-align: justify; line-height: 1.6; }
.contact-blocks { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.mission-block { display: flex; gap: 16px; align-items: flex-start; }
.mission-icon {
  width: 40px; height: 40px; background: var(--blue-lt);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--blue); font-size: 20px;
}
.mission-content { display: flex; flex-direction: column; gap: 4px; }
.mission-label { font-family: var(--font-body); font-size: 0.88rem; font-weight: 700; color: var(--text-1); }
.mission-text { font-size: 0.81rem; color: var(--text-2); text-align: justify; line-height: 1.6; }
.contact-divider { height: 1px; background: var(--border); margin: 32px 0 16px 0; }
.contact-footer-note { font-size: var(--fs-eyebrow); color: var(--text-3); }

.enquiry-card {
  background: var(--white); border-radius: 12px; 
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 40px 44px;
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 26px; }
.f-grp { display: flex; flex-direction: column; gap: 8px; }
.f-grp label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; color: var(--text-3); letter-spacing: 0.12em; text-transform: uppercase; }
.f-grp input,
.f-grp select,
.f-grp textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 16px; color: var(--text-1); font-size: var(--fs-body); font-family: var(--font-body);
  outline: none; width: 100%; -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.f-grp input:focus, .f-grp select:focus, .f-grp textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.08);
}
.f-grp input::placeholder, .f-grp textarea::placeholder { color: var(--text-3); }
.f-grp select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px; cursor: pointer;
}
.f-grp select option { background: var(--white); color: var(--text-1); }
.f-grp textarea { resize: none; height: 80px; }
.f-full { margin-bottom: 26px; }
.f-hint { font-size: var(--fs-micro); color: var(--text-3); margin-bottom: 24px; margin-top: -6px; }
.form-submit {
  width: 100%; padding: 15px; background: var(--blue); color: var(--bg);
  border: none; border-radius: 8px; font-family: var(--font-display);
  font-size: var(--fs-body); font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: #7dd3fc; transform: translateY(-1px); }
.form-submit i { font-size: 1rem; }
.form-success { display: none; text-align: center; padding: 44px 20px; }
.form-success .tick { font-size: 2.75rem; margin-bottom: 12px; }
.form-success h4 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.form-success p { font-size: 0.88rem; color: var(--text-2); text-align: center; }

/* ===================================================================
   PAGE HEADER (Services / Industries)
=================================================================== */
.page-header { position: relative; background: var(--white); border-bottom: var(--rule); }
.page-header.plain { padding: 132px var(--gutter) 64px; }
.page-header-img {
  width: 100%; height: 460px; object-fit: cover; object-position: center 30%;
  display: block; filter: brightness(0.42);
}
.page-header-body {
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-60%);
  padding: 0 var(--gutter); background: none;
}
.page-header-body .eyebrow { color: rgba(255,255,255,0.78); }
.page-header-body .eyebrow::before { background: rgba(255,255,255,0.5); }
.page-header-body .page-lead { color: rgba(255,255,255,0.7); }
.page-header-body .page-h1 { color: #ffffff; }
.page-header-body .accent-color { color: var(--accent); }
.page-h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.035em; color: var(--text-1); margin-bottom: 16px; line-height: var(--lh-tight); }
.page-lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 580px; line-height: var(--lh-body); }

/* ===================================================================
   7. SERVICES MODULE — Boxed cards.
 =================================================================== */
.services-section { padding: 72px var(--gutter) 84px; background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: transparent;
  border: none;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--rule);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, height 0.2s;
  height: auto;
  min-height: 300px; /* min-height when closed so they are all the same size */
}

.svc-card.expanded {
  height: auto; /* expands to fit content when open */
}
@media (max-width: 640px) {
  .svc-card {
    height: auto; /* responsive auto height on mobile */
    min-height: auto;
  }
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: #003EA9;
  box-shadow: 0 12px 36px rgba(0, 25, 79, 0.05);
}

.on-request-badge {
  font-family: var(--font-mono);
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #003EA9;
  border: 1px solid #003EA9; border-radius: 100px;
  padding: 4px 12px;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
}
.svc-card:hover .on-request-badge { color: #fff; background: #003EA9; border-color: #003EA9; }

/* Centre — title + short description (+ expandable full) */
.svc-main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0;
}
.svc-title {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: #00194F; margin-bottom: 12px; letter-spacing: -0.02em; line-height: var(--lh-snug);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-short { font-size: 0.88rem; color: #1e293b; line-height: 1.6; text-align: justify; }
.svc-full {
  font-size: 0.84rem; color: #475569; line-height: 1.6;
  margin-top: 14px;
  display: none; text-align: justify;
}
.svc-full.open { display: block; }

/* Right — expand control */
.svc-action { display: flex; align-items: center; margin-top: auto; padding-top: 20px; width: 100%; }
.learn-more-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 0.81rem; font-weight: 600; color: #003EA9;
  background: transparent; border: 1.5px solid #003EA9; border-radius: 6px;
  padding: 10px 18px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s; width: 100%;
}
.learn-more-btn:hover { background: #003EA9; color: #ffffff; border-color: #003EA9; }

/* ===================================================================
   8. INDUSTRIES MODULE — alternating image / text rows (unchanged
      layout). Text panel: 2px blue left rule, mono number, Syne title,
      justified copy, outlined tag pill.
=================================================================== */
.ind-section { padding: 0 0 84px; }
.ind-row {
  display: grid; grid-template-columns: 420px 1fr;
  min-height: 380px; border-bottom: var(--rule);
  align-items: stretch;
}
.ind-row.alt { grid-template-columns: 1fr 420px; }
.ind-row.alt .ind-img { order: 2; }
.ind-row.alt .ind-body { order: 1; background: var(--bg); }
.ind-img { position: relative; overflow: hidden; background: #d1dce8; }
.ind-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.6s ease;
  position: absolute; inset: 0;
}
.ind-row:hover .ind-img img { transform: scale(1.04); }
.ind-body {
  padding: 48px 56px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
  border-left: 2px solid var(--blue);   /* thin vertical accent on text panel */
}
.ind-row.alt .ind-body { border-left: 2px solid var(--blue); }
.ind-num {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.16em;
  color: var(--blue); margin-bottom: 16px; display: block;
}
.ind-title {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 30px); font-weight: 700; color: var(--text-1);
  letter-spacing: -0.025em; line-height: var(--lh-snug); margin-bottom: 18px;
}
.ind-desc { font-size: 0.88rem; color: var(--text-2); line-height: var(--lh-body); text-align: justify; width: 100%; }
.ind-tag {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 24px; padding: 6px 15px;
  border: 1px solid var(--blue); border-radius: 100px;
  font-size: var(--fs-eyebrow); font-weight: 500; color: var(--blue);
}
.ind-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ===================================================================
   CTA BAR
=================================================================== */
.cta-bar {
  background: var(--navy); padding: 40px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-bar-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; max-width: 540px; line-height: 1.35; }
.cta-bar-btn {
  padding: 13px 30px; background: var(--blue); color: #fff;
  border: none; border-radius: 4px; font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background 0.2s; display: inline-block;
}
.cta-bar-btn:hover { background: var(--blue-dk); }

/* ===================================================================
   10. FOOTER MODULE — 4px blue top rule, italic DM Sans tagline,
       hover = colour shift + 2px left translate.
=================================================================== */
footer { background: var(--navy); padding: 0 var(--gutter); border-top: 4px solid var(--blue); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 40px; padding: 44px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fb-logo-row { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.fb-logo-row img { height: 30px; }
.fb-logo-row span { font-family: var(--font-display); font-size: 1.06rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; }
.fb-address { font-style: italic; font-size: 0.81rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.fc-label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.fc-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fc-icon { font-size: 0.75rem; color: rgba(255,255,255,0.35); flex-shrink: 0; }
.fc-text { font-size: 0.81rem; color: rgba(255,255,255,0.5); line-height: 1.4; transition: transform 0.2s; }
.fc-text a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s, transform 0.2s; display: inline-block; }
.fc-text a:hover { color: #fff; transform: translateX(2px); }
.social-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 12px; width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 4px;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  margin-right: 8px;
}
.social-icon-btn.linkedin:hover { border-color: #0a66c2; color: #fff; background: #0a66c2; }
.social-icon-btn.youtube:hover { border-color: #ff0000; color: #fff; background: #ff0000; }
.social-icon-btn.whatsapp:hover { border-color: #25d366; color: #fff; background: #25d366; }
.social-icon-btn.instagram:hover { border-color: #e1306c; color: #fff; background: #e1306c; }

.fn-label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.fn-link { display: flex; align-items: center; gap: 7px; font-size: 0.81rem; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 9px; transition: color 0.2s, transform 0.2s; }
.fn-link:hover { color: #fff; transform: translateX(2px); }
.fn-arrow { font-size: 0.62rem; color: rgba(255,255,255,0.3); }
.footer-bottom { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: var(--fs-eyebrow); color: rgba(255,255,255,0.3); }
.footer-copy span { color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: var(--fs-eyebrow); color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s, transform 0.2s; display: inline-block; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); transform: translateX(2px); }

/* ===================================================================
   REVEAL
=================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   RESPONSIVE — breakpoints 1100 / 900 / 640
=================================================================== */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .hero-left { padding: 70px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .page-header-img { height: 300px; }
  .ind-body { padding: 44px 44px; }
  .contact-grid { gap: 40px; }
  .svc-card { grid-template-columns: 110px 1fr auto; }
  .svc-main { padding: 28px 32px; }
}
@media (max-width: 900px) {
  :root { --gutter: 36px; }
  .hero-sub { max-width: 100%; }
  .slide-dots { right: 36px; }

  /* About stacks; remove central rule */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid::before { display: none; }

  .founders-section { padding: 0 36px 64px; }
  .team-grid { max-width: 100%; }

  /* Contact stacks */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .page-header-img { height: 240px; }
  .services-section { padding: 56px 36px 64px; }

  /* Industry rows stack */
  .ind-row { grid-template-columns: 1fr; min-height: auto; }
  .ind-row.alt .ind-img { order: 0; }
  .ind-row.alt .ind-body { order: 0; }
  .ind-img { height: 260px; }
  .ind-body { padding: 40px 36px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .slide-dots { right: 20px; }

  /* Mobile nav */
  .nav-links { display: none; }
  .nav-cta-d { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--navy); border-bottom: none;
    padding: 24px; gap: 18px; z-index: 998; margin-top: 0;
  }
  .nav-links.open::after { display: none; }

  /* Stack form rows */
  .f-row { grid-template-columns: 1fr; gap: 26px; }

  /* Services rows stack the number above content */
  .svc-card { grid-template-columns: 1fr; }
  .svc-num { min-height: 0; padding: 16px; justify-content: flex-start; border-right: none; border-bottom: var(--rule); }
  .svc-main { padding: 24px 20px; }
  .svc-action { justify-content: flex-start; padding: 0 20px 24px; }

  /* Founder cards stack 1-col and adjust padding */
  .team-grid { grid-template-columns: 1fr; max-width: 100%; }
  .team-info { padding: 20px; }
  .enquiry-card { padding: 20px; }
  .founders-section { padding: 0 20px 56px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-header-img { height: 200px; }
  .services-section { padding: 44px 20px 56px; }
  .ind-body { padding: 32px 20px; }
  .cta-bar { padding: 32px 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}
