/* ===========================================
   ASA FACILITY PTY LTD — Design System
   Premium Corporate Website Styles
   =========================================== */

/* ── Custom Properties ─────────────────── */
:root {
  --navy: #0D2B45;
  --navy-dark: #081C2E;
  --teal: #009A8D;
  --teal-light: #00BFB0;
  --slate: #5B7C8F;
  --green: #2FAE66;
  --grey: #A6ADB4;
  --bg-light: #F4F6F8;
  --bg-white: #FFFFFF;
  --text-dark: #0F1B2D;
  --text-body: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;

  --gradient-hero: linear-gradient(135deg, rgba(13,43,69,0.92) 0%, rgba(0,154,141,0.80) 100%);
  --gradient-navy: linear-gradient(135deg, #0D2B45 0%, #1A4060 100%);
  --gradient-teal: linear-gradient(135deg, #009A8D 0%, #00BFB0 100%);
  --gradient-card: linear-gradient(180deg, rgba(0,154,141,0.04) 0%, rgba(13,43,69,0.02) 100%);
  --gradient-cta: linear-gradient(135deg, #0D2B45 0%, #009A8D 50%, #2FAE66 100%);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1280px;
  --max-w-narrow: 900px;
  --header-h: 80px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 3px rgba(13,43,69,0.04);
  --shadow-sm: 0 2px 8px rgba(13,43,69,0.06);
  --shadow-md: 0 4px 24px rgba(13,43,69,0.10);
  --shadow-lg: 0 8px 40px rgba(13,43,69,0.14);
  --shadow-xl: 0 20px 60px rgba(13,43,69,0.18);
  --shadow-teal: 0 8px 30px rgba(0,154,141,0.25);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --speed-fast: 0.2s;
  --speed: 0.35s;
  --speed-slow: 0.6s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--speed-fast) var(--ease); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-gradient {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: 6rem 0;
}

.section--grey {
  background: var(--bg-light);
}

.section--navy {
  background: var(--gradient-navy);
  color: #fff;
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #fff;
}

.section--navy p {
  color: rgba(255,255,255,0.8);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-header .section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--speed) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--speed-fast) var(--ease);
}

.btn:hover::after { opacity: 1; }

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--gradient-teal);
  color: #fff;
  box-shadow: var(--shadow-teal);
}

.btn--primary:hover {
  box-shadow: 0 12px 36px rgba(0,154,141,0.35);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,154,141,0.04);
}

.btn--dark {
  background: var(--navy);
  color: #fff;
}

.btn--dark:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 1.1rem 2.6rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Header ────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all var(--speed) var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header--transparent {
  background: transparent;
}

.header--solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px rgba(13,43,69,0.08);
}

.header--solid .nav-link { color: var(--text-dark); }
.header--solid .nav-link:hover,
.header--solid .nav-link.active { color: var(--teal); }

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--speed-fast) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--speed) var(--ease);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link:hover,
.nav-link.active { color: #fff; }

.header-cta {
  margin-left: 1rem;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--speed) var(--ease);
}

.header--solid .mobile-toggle span { background: var(--navy); }

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,43,69,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav .nav-link {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
}

.mobile-nav .btn { margin-top: 1rem; }

/* ── Hero Section ──────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: var(--header-h);
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Floating decorative shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--teal-light);
}

.hero-shapes .shape--1 {
  width: 500px; height: 500px;
  top: -10%; right: -5%;
  animation: float 20s ease-in-out infinite;
}

.hero-shapes .shape--2 {
  width: 300px; height: 300px;
  bottom: 5%; left: -3%;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-shapes .shape--3 {
  width: 150px; height: 150px;
  top: 30%; right: 15%;
  animation: float 12s ease-in-out infinite 3s;
}

/* Page Hero (subpages) */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--gradient-navy);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(0,154,141,0.08);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1.5rem;
}

.page-hero .breadcrumb a { color: var(--teal-light); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ── Service Cards ─────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--speed) var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transition: transform var(--speed) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,154,141,0.1) 0%, rgba(0,154,141,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--teal);
  transition: all var(--speed) var(--ease);
}

.service-card:hover .card-icon {
  background: var(--gradient-teal);
  color: #fff;
  transform: scale(1.05);
}

.service-card .card-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 1.2rem;
  transition: gap var(--speed) var(--ease);
}

.service-card:hover .card-link { gap: 0.65rem; }

.service-card .card-link svg { width: 16px; height: 16px; }

/* ── Service Detail Blocks ─────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail:nth-child(even) .service-detail__img { order: -1; }

.service-detail__content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-detail__content h3 .detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,154,141,0.12) 0%, rgba(0,154,141,0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.service-detail__content h3 .detail-icon svg { width: 22px; height: 22px; }

.service-detail__content p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.service-detail__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.service-detail__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.service-detail__benefits li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.service-detail__img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform var(--speed-slow) var(--ease);
}

.service-detail:hover .service-detail__img img {
  transform: scale(1.03);
}

/* ── Industry Cards ────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  group: true;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--speed-slow) var(--ease);
}

.industry-card:hover img { transform: scale(1.08); }

.industry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,43,69,0.9) 0%, rgba(13,43,69,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: background var(--speed) var(--ease);
}

.industry-card:hover .industry-card__overlay {
  background: linear-gradient(to top, rgba(0,154,141,0.9) 0%, rgba(13,43,69,0.4) 60%, rgba(13,43,69,0.1) 100%);
}

.industry-card__overlay h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.industry-card__overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed) var(--ease), opacity var(--speed) var(--ease);
  opacity: 0;
}

.industry-card:hover .industry-card__overlay p {
  max-height: 100px;
  opacity: 1;
}

/* Icon-based industry cards (alternative) */
.industry-icon-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--speed) var(--ease);
}

.industry-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.industry-icon-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--teal);
  transition: all var(--speed) var(--ease);
}

.industry-icon-card:hover .icon-wrap {
  background: var(--gradient-teal);
  color: #fff;
  transform: scale(1.1);
}

.industry-icon-card .icon-wrap svg { width: 28px; height: 28px; }

.industry-icon-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.industry-icon-card p { font-size: 0.88rem; color: var(--text-light); }

/* ── Stats / Counter Section ───────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section--navy .stat-item .stat-number {
  color: var(--teal-light);
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.stat-item .stat-label--dark {
  color: var(--text-light);
}

/* ── Feature / Why Choose Us Cards ─────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--speed) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transition: transform var(--speed) var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-card .feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,154,141,0.12) 0%, rgba(47,174,102,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--teal);
  transition: all var(--speed) var(--ease);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-teal);
  color: #fff;
  transform: scale(1.08) rotate(5deg);
}

.feature-card .feature-icon svg { width: 30px; height: 30px; }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* ── CTA Banner ────────────────────────── */
.cta-banner {
  background: var(--gradient-cta);
  background-size: 200% 200%;
  animation: gradientShift 8s ease-in-out infinite;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -200px;
  right: -100px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -100px;
  left: -50px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ── About Page ────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-intro__img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-intro__img .experience-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--gradient-teal);
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-intro__img .experience-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-intro__img .experience-badge .badge-text {
  font-size: 0.85rem;
  opacity: 0.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--speed) var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card .value-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,154,141,0.12);
  line-height: 1;
  margin-bottom: 1rem;
}

.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { font-size: 0.9rem; color: var(--text-light); }

/* ── Contact Page & Forms ──────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info {
  background: var(--gradient-navy);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0,154,141,0.15);
  bottom: -100px;
  right: -80px;
}

.contact-info h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.contact-info-item .info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-light);
}

.contact-info-item .info-icon svg { width: 22px; height: 22px; }

.contact-info-item h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.contact-info-item a:hover { color: var(--teal-light); }

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-light);
  color: var(--text-dark);
  transition: all var(--speed-fast) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0,154,141,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B7C8F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit-btn {
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show { display: block; }

.form-success svg {
  width: 64px;
  height: 64px;
  color: var(--green);
  margin-bottom: 1rem;
}

.form-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-light); }

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Footer ────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.footer-about .logo {
  margin-bottom: 1.2rem;
}

.footer-about .logo img { height: 42px; }

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--speed-fast) var(--ease);
}

.footer-social a:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social a svg { width: 18px; height: 18px; }

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--speed-fast) var(--ease);
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width var(--speed) var(--ease);
}

.footer-links a:hover {
  color: var(--teal-light);
}

.footer-links a:hover::before { width: 12px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover { color: var(--teal-light); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bar a { color: var(--teal); }
.footer-bar a:hover { text-decoration: underline; }

/* ── Quote Modal ───────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,43,69,0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed) var(--ease);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  transform: translateY(30px) scale(0.95);
  transition: transform var(--speed) var(--ease-bounce);
  position: relative;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--speed-fast) var(--ease);
}

.modal-close:hover {
  background: #fee;
  color: #e53e3e;
}

.modal-close svg { width: 18px; height: 18px; }

.modal h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.modal > p { color: var(--text-light); margin-bottom: 2rem; }

/* ── Animations ────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Scroll-triggered animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--speed-slow) var(--ease), transform var(--speed-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--speed-slow) var(--ease), transform var(--speed-slow) var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--speed-slow) var(--ease), transform var(--speed-slow) var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--speed-slow) var(--ease), transform var(--speed-slow) var(--ease);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grid items */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.10s; }
.stagger > *:nth-child(3) { transition-delay: 0.15s; }
.stagger > *:nth-child(4) { transition-delay: 0.20s; }
.stagger > *:nth-child(5) { transition-delay: 0.25s; }
.stagger > *:nth-child(6) { transition-delay: 0.30s; }
.stagger > *:nth-child(7) { transition-delay: 0.35s; }
.stagger > *:nth-child(8) { transition-delay: 0.40s; }
.stagger > *:nth-child(9) { transition-delay: 0.45s; }
.stagger > *:nth-child(10) { transition-delay: 0.50s; }

/* ── Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .about-intro { grid-template-columns: 1fr; gap: 2rem; }
  .about-intro__img { order: -1; }

  .contact-grid { grid-template-columns: 1fr; }

  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail:nth-child(even) .service-detail__img { order: 0; }
  .service-detail__img { order: -1; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .nav-links, .header-cta { display: none; }
  .mobile-toggle { display: flex; }

  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }

  .page-hero { padding: 7rem 0 3rem; }

  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .service-detail__benefits { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar { flex-direction: column; text-align: center; }

  .form-grid { grid-template-columns: 1fr; }

  .cta-banner { padding: 3rem 1.5rem; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .modal { padding: 1.8rem; margin: 1rem; }

  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item .stat-number { font-size: 2.4rem; }
}

/* ── Utilities ─────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-white { color: #fff; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Loading Spinner for form */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll indicator on hero */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--teal-light);
  border-radius: 3px;
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

/* Trust badges row */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  color: var(--green);
}

/* Process Steps (for About page) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  transition: all var(--speed) var(--ease);
}

.process-step:hover .step-number {
  background: var(--gradient-teal);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
}

.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; color: var(--text-light); }

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps::before { display: none; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* Clients/Partners logos row */
.clients-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 2rem 0;
  flex-wrap: wrap;
  opacity: 0.5;
}

.clients-strip img {
  height: 36px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.clients-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Page transition */
.page-transition {
  animation: fadeIn 0.4s var(--ease);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--speed) var(--ease);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
}

.back-to-top svg { width: 22px; height: 22px; }
