:root {
  --ink: #071226;
  --muted: #607086;
  --line: #dfe7f1;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --nav: #071b33;
  --blue: #1265ff;
  --green: #14a15a;
  --orange: #f97316;
  --gold: #f6a313;
  --shadow: 0 18px 48px rgba(7, 18, 38, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  font-weight: 900;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.navlinks a:hover {
  color: var(--blue);
}

.nav-cta {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(18, 101, 255, 0.22);
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 18, 38, 0.94), rgba(7, 27, 51, 0.74) 52%, rgba(249, 115, 22, 0.48)),
    url("images/logoYenkasaSoftOTechEmblem-512.jpeg") center/cover no-repeat;
}

.hero-inner {
  padding: 90px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  color: #ffd06a;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
}

.lead {
  max-width: 760px;
  color: #e8f2ff;
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin-bottom: 24px;
}

.actions,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

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

.btn-light {
  background: #fff;
  color: var(--nav);
}

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

section {
  padding: 86px 0;
}

section:nth-of-type(even) {
  background: var(--soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-kicker {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(7, 18, 38, 0.07);
}

.card.dark {
  background: var(--nav);
  color: #fff;
  border-color: #183553;
}

.card p {
  color: var(--muted);
  margin-top: 8px;
}

.product-description {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.product-description p {
  margin: 0;
  color: var(--muted);
}

.product-media {
  margin-top: 14px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.media-tile {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.media-tile:first-child {
  grid-column: 1 / -1;
}

.media-tile img,
.media-tile video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
}

.media-tile figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.card.dark p {
  color: #cfe0ff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.about-card {
  background: var(--nav);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  min-height: 100%;
  box-shadow: var(--shadow);
}

.about-card p {
  color: #d9e8ff;
  margin-top: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(7, 18, 38, 0.07);
}

.team-photo {
  background:
    linear-gradient(135deg, rgba(18, 101, 255, 0.16), rgba(249, 115, 22, 0.18)),
    #eef4ff;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center top;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(7, 18, 38, 0.08);
}

.team-body {
  padding: 18px;
}

.team-role {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-body dl {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.team-body dl div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.team-body dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-body dd {
  margin-top: 3px;
  color: #26364a;
  font-weight: 700;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.feature-list li {
  padding-left: 26px;
  position: relative;
  color: #324158;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 8px;
}

.feature-card {
  min-height: 100%;
}

.feature-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--blue);
  margin-bottom: 14px;
}

.gallery-section {
  background: var(--soft);
}

.gallery-intro {
  margin-bottom: 22px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.media-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.media-tile img,
.media-tile video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
}

.media-tile span {
  display: block;
  padding: 12px;
  font-weight: 850;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 18, 38, 0.94), rgba(7, 27, 51, 0.76)),
    url("images/background.jpeg") center/cover no-repeat;
}

.logo-panel {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 18px;
}

.logo-panel img {
  width: 100%;
  border-radius: 8px;
}

.footer {
  background: var(--nav);
  color: #d9e8ff;
  padding: 30px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-inner,
  .section-head,
  .grid-2,
  .grid-3,
  .about-layout,
  .team-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 64px 0;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .navlinks {
    justify-content: flex-start;
  }
}
