/* ZYNEY PTE. LTD. - Corporate Website Stylesheet */

:root {
  --primary: #0f2942;
  --primary-mid: #163a5c;
  --secondary: #0d7c8c;
  --accent: #18a4b8;
  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --surface-tint: #ebf3f7;
  --ink: #162433;
  --ink-muted: #52657a;
  --border: #dce5ee;
  --footer-bg: #0a1c2e;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 41, 66, 0.06);
  --shadow-md: 0 10px 28px rgba(15, 41, 66, 0.1);
  --shadow-lg: 0 18px 42px rgba(15, 41, 66, 0.14);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.site-nav {
  background: rgba(15, 41, 66, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 2px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

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

.nav-cta {
  padding: 9px 18px !important;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  color: #ffffff !important;
  transition: background var(--transition) !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary);
  background-image:
    linear-gradient(135deg, rgba(10, 28, 46, 0.88) 0%, rgba(15, 41, 66, 0.78) 55%, rgba(13, 124, 140, 0.65) 100%),
    url('../img/hero-singapore.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 112px 0 96px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #e3f5f8;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 860px;
  margin: 0 auto 20px;
}

.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

/* Snapshot Strip */
.snapshot-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.snapshot-item {
  padding-left: 16px;
  border-left: 3px solid var(--secondary);
}

.snapshot-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.snapshot-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
}

/* Section Shared */
section {
  padding: 84px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-subtitle {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

/* About Section */
.about {
  background: var(--surface-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.02rem;
}

.about-text p:last-of-type {
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.highlight-box strong {
  display: block;
  color: var(--primary);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.highlight-box span {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.45;
  display: block;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  margin-top: 16px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-badge-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.about-badge-value {
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
}

/* Services Section */
.services {
  background: var(--surface);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--secondary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

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

.service-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 124, 140, 0.35);
}

.service-card.is-hidden {
  display: none;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-mid);
  border: 1px solid var(--border);
}

.service-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Framework Banner */
.framework {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}

.framework-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.framework-head h3 {
  font-size: 1.45rem;
  font-weight: 700;
}

.framework-head p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  max-width: 520px;
}

.framework-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}

.framework-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.framework-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Industries Section */
.industries {
  background: var(--surface-alt);
}

.industries-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.industry-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 11px 22px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), color var(--transition);
}

.industry-tag:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Case Studies / Solutions */
.cases {
  background: var(--surface);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.case-img {
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.case-img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.case-card:hover .case-img img {
  transform: scale(1.04);
}

.case-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 41, 66, 0.88);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.case-content {
  padding: 24px;
  flex: 1;
}

.case-content h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.case-content p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Commitment Section */
.commitment {
  background: var(--primary);
  color: #ffffff;
}

.commitment .section-kicker {
  color: #79d7e3;
}

.commitment .section-title {
  color: #ffffff;
}

.commitment .section-title::after {
  background: var(--accent);
}

.commitment .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.commitment-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}

.commitment-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.commitment-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(24, 164, 184, 0.18);
  color: #79d7e3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commitment-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.commitment-item p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Contact & Corporate Information Section */
.contact {
  background: var(--surface-alt);
}

.corp-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.corp-card h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.corp-card-intro {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.corp-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.corp-row {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.corp-row-full {
  grid-column: 1 / -1;
}

.corp-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.corp-row-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 5px;
}

.corp-row-value {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
}

.corp-row-value a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 124, 140, 0.35);
  transition: color var(--transition), border-color var(--transition);
}

.corp-row-value a:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

.corp-activities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.corp-activities li {
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--surface-alt);
  border-left: 3px solid var(--secondary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  margin-top: 14px;
  max-width: 380px;
  line-height: 1.65;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #79d7e3;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-details strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Responsive */
@media (max-width: 980px) {
  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: none !important;
  }

  .hero {
    padding: 84px 0 72px;
  }

  section {
    padding: 64px 0;
  }

  .framework {
    padding: 28px 24px;
  }

  .framework-list,
  .about-highlights,
  .commitment-grid,
  .cases-grid,
  .corp-meta,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .corp-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
