/* styles.css */
:root {
  --primary-color: #1f4e92;
  /* blue - header / accents */
  --secondary-color: #f17e01;
  /* orange - primary CTA */
  --bg: #F7F9FC;
  --card: #ffffff;
  --text-color: #071334;
  --muted: #6b7280;
  --header-color: #071334;
  --radius: 16px;
  --container-max: 1200px;
}

/* Reset + base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%;
  font-family: Inter, Roboto, system-ui, -apple-system, 'Segoe UI', Arial;
  overflow-x: hidden;
  overflow-y: visible;
}


body {
  background: var(--bg);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px
}

/* Header */
.site-header {
  padding: 12px 0;
  position: sticky;
  z-index: 999;
  top: 0;
  background: #F7F9FC;
  transition: all 0s ease;
}

.section {
  transform: translateY(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0s ease;
}

.logo img {
  height: 80px;
  transition: height 0s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(7, 19, 52, 0.12);
}

.site-header.scrolled .header-inner {
  height: 40px;
}

.site-header.scrolled .logo img {
  height: 40px;
}

.site-header.scrolled .nav-cta {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 159, 5, 0.25);
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center
}

.nav a {
  color: var(--header-color);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px
}

.nav a:hover {
  background: rgba(0, 78, 137, 0.06)
}

.nav .nav-cta {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--secondary-color);
  color: white
}

/* Hamburger */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--primary-color)
}

.hamburger:focus {
  outline: 2px solid rgba(0, 78, 137, 0.15)
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 52, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 70;
  transform: translateX(100%);
  transition: transform 300ms ease;
  pointer-events: none
}

.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto
}

.mobile-menu-inner {
  width: 320px;
  background: var(--card);
  height: 100vh;
  padding: 22px;
  box-shadow: -24px 0 60px rgba(7, 19, 52, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px
}

.mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.mobile-logo img {
  height: 70px
}

.mobile-close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px
}

.mobile-cta {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 10px;
  border-radius: 10px
}

.mobile-foot {
  margin-top: auto
}

/* HERO */
.hero-wrap {
  margin: 18px auto;
  padding: 20px 6px;
  display: flex;
  gap: 20px;
  align-items: center
}

.hero-left {
  flex: 1;
  min-width: 220px
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.04);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 12px
}

.hero-title {
  font-size: 34px;
  line-height: 1.02;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 6px 18px rgba(242, 159, 5, 0.18);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid rgba(0, 78, 137, 0.12)
}

.trust-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap
}

.trust-badge {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(2, 6, 23, 0.04);
  border-radius: 999px;
  font-size: 12px;
  color: var(--primary-color)
}

/* Visual - desktop composed */
.hero-right {
  flex: 1.1;
  min-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-visual-desktop {
  display: block
}

.visual-bg-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(242, 159, 5, 0.12), rgba(0, 78, 137, 0.05) 40%, transparent 60%);
  filter: blur(24px);
  z-index: 1;
  left: 40px;
  top: 18px
}

.visual-cards {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3
}

.card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 18px 36px rgba(7, 19, 52, 0.08);
  display: flex;
  align-items: center;
  justify-content: center
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.card-main {
  width: 56%;
  height: 64%;
  left: 18%;
  top: 18%;
  border-radius: 16px
}

.card-side {
  width: 30%;
  height: 22%;
  right: 6%;
  border-radius: 12px
}

.card-side-top {
  top: 6%
}

.card-side-bottom {
  bottom: 8%
}

.visual-icons {
  position: absolute;
  bottom: 10px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 4
}

.visual-icons .icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(7, 19, 52, 0.06)
}

.visual-icons .icon img {
  width: 40px;
  height: 40px;
  object-fit: contain
}

.visual-icons .icon {
  transition: transform 180ms, box-shadow 180ms;
  border-radius: 8px;
  display: inline-flex;
  padding: 4px;
}

.visual-icons .icon.active-thumb,
.visual-icons .icon.active {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(242, 159, 5, 0.12);
}

.visual-icons .icon img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

/* mobile simplified visual (hidden on desktop) */
.hero-visual-mobile {
  display: none;
  width: 100%;
  max-width: 720px;
  text-align: center
}

.mobile-hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(7, 19, 52, 0.06)
}

.mobile-icons {
  display: flex;
  justify-content: center;
  margin-top: 10px
}

.mobile-icons .icon {
  width: 44px;
  height: 44px
}

/* Floating subtle animation */
.floating {
  transform: translateY(0);
  transition: transform 0.9s cubic-bezier(.2, .9, .3, 1)
}

.floating.slow {
  transition-duration: 1.6s
}

/* Responsive rules */
@media (max-width: 992px) {
  .hamburger {
    display: inline-flex
  }

  .desktop-nav {
    display: none
  }

  .hero-wrap {
    padding: 16px 12px;
    gap: 14px
  }

  .hero-title {
    font-size: 30px
  }

  .hero-visual {
    max-width: 560px;
    height: 360px
  }

  .card-main {
    width: 60%;
    height: 62%;
    left: 14%;
    top: 18%
  }

  .card-side {
    width: 34%;
    height: 20%;
    right: 6%
  }
}

/* MOBILE: simplified single image under 600px */
@media (max-width: 600px) {
  .hero-wrap {
    flex-direction: column;
    align-items: stretch;
    margin: 5px 5px;
    gap: 12px;
    display: block;
  }

  .hero-right {
    order: 2;
    margin-top: 6px
  }

  .hero-left {
    order: 1
  }

  .hero-visual-desktop {
    display: none
  }

  .hero-visual-mobile {
    display: block
  }

  .hero-title {
    font-size: 22px
  }

  .hero-sub {
    font-size: 14px
  }

  .eyebrow {
    font-size: 11px
  }

  .btn {
    padding: 10px 12px;
    font-size: 14px
  }

  .trust-badge {
    font-size: 11px;
    padding: 6px 8px
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .container {
    padding: 0 12px
  }

  .logo img {
    height: 70px
  }

  .hero-visual-mobile {
    max-width: 100%;
    height: auto
  }

  .mobile-hero-img {
    border-radius: 10px
  }

  .mobile-menu-inner {
    width: 100%;
    padding: 16px
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 44px
  }
}

.muted-small {
  font-size: 13px;
  color: var(--muted)
}

/* Gallery animation clone style */
.gl-anim-clone {
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 19, 52, 0.12);
  will-change: transform, opacity;
  pointer-events: none;
  opacity: 1;
}

/* active thumb feedback (icon parent) */
.visual-icons .icon.active-thumb,
.visual-icons .icon.active {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(242, 159, 5, 0.12);
}

/* ensure center image transitions nicely when replaced (small fade) */
#cardMain img {
  transition: opacity 220ms ease;
  display: block;
}

/* Mobile hero image box: consistent size & cropping */
.hero-visual-mobile .mobile-hero-img {
  width: 100%;
  /* fixed display height or use aspect-ratio */
  height: 240px;
  /* <- adjust height as you prefer */
  object-fit: cover;
  /* cover = fills box, cropping if needed */
  object-position: center;
  display: block;
  border-radius: 8px;
  background-color: #f8f8f8;
  transition: opacity 180ms ease;
  /* smooth swap */
}

/* Optional: keep same layout but use aspect ratio instead of fixed height */
@media (max-width: 599px) {
  .hero-visual-mobile .mobile-hero-img {
    height: auto;
    aspect-ratio: 16 / 9;
    /* or 4/3, choose what fits your design */
    width: 100%;
    object-fit: cover;
  }
}

/* Thumbnail active state for visual feedback */
.mobile-icons .icon.active,
.mobile-icons .icon img.active-thumb {
  outline: 1px solid #1f4e92;
  outline-offset: 2px;
}


/* =======================
   FOOTER
======================= */
.site-footer {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer-col {
  font-size: 14px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 12px;
}

.footer-about {
  color: var(--muted);
  line-height: 1.6;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
  color: var(--text-color);
}

.footer-links a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-contact {
  color: var(--text-color);
  line-height: 1.7;
}

.footer-cta {
  margin-top: 12px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(242, 159, 5, 0.12);
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 12px;
}

/* Bottom bar */
.footer-bottom {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  font-size: 13px;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
    height: 70px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-links {
    padding: 0;
  }

  .footer-links li {
    justify-content: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-cta {
    margin-left: auto;
    margin-right: auto;
  }
}

.footer-bottom a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.footer-bottom .disclaimer {
  position: relative;
  display: inline-block;
  margin-left: 8px;
  cursor: pointer;
  color: #00c6ff;
  font-weight: bold;
}

.footer-bottom .disclaimer:hover {
  color: #007bff;
}

/* Tooltip box */
.footer-bottom .tooltip {
  visibility: hidden;
  width: 280px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: left;
  padding: 10px 15px;
  border-radius: 8px;
  position: absolute;
  bottom: 125%;
  /* above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 13px;
  line-height: 1.4;
  z-index: 10;
}

/* Arrow under tooltip */
.footer-bottom .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

/* Show tooltip on hover */
.footer-bottom .disclaimer:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 550px) {
  .footer-bottom .tooltip {
    right: 0;
    left: auto;
    transform: none;
    max-width: 90vw;
  }

  .footer-bottom .tooltip::after {
    left: auto;
    right: 20px;
    transform: none;
  }
}



.section {
  padding: 70px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-color);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(7, 19, 52, 0.06);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.industries {
  background: #f7f9fc;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(7, 19, 52, 0.05);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.why-item {
  font-weight: 600;
  color: var(--text-color);
}

.process {
  background: linear-gradient(180deg, #ffffff, #f0f4f9);
}

.process-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.process-steps ol {
  padding-left: 20px;
  line-height: 2;
  font-weight: 600;
}

.process-cta {
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(7, 19, 52, 0.08);
}

.process-cta h3 {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 520px) {

  .services-grid,
  .industries-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}


.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  max-width: 480px;
}

.hero-scope span {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border-left: 4px solid var(--secondary-color);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(7, 19, 52, 0.08);
}


.hero-wrap {
  display: flex;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 80px;
}

.hero-left,
.hero-right {
  align-self: center;
}

.company-name {
  display: block;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  line-height: 1;
}

/* Brand colors */
.brand-cal {
  color: var(--primary-color);      /* Blue */
}

.brand-labo {
  color: var(--secondary-color);    /* Orange */
}

/* Tagline */
.hero-tagline {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 8px;
}

/* Tablet */
@media (max-width: 992px) {
  .company-name {
    font-size: 44px;
  }

  .hero-tagline {
    font-size: 30px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .company-name {
    font-size: 34px;
    margin-top: -25px;
  }

  .hero-tagline {
    font-size: 22px;
  }
}

.company-name::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
  margin-top: 8px;
}
