* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background: #f0efef;
  color: #243d4b;
}

header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(7, 40, 59, 0.97);
  border-bottom: 1px solid #ffffff18;
  padding: 18px 5vw;
}

nav {
  max-width: 1360px;
  margin: auto;
  gap: 24px;
}

nav ul {
  gap: 26px;
}

nav a {
  font-size: 14px;
  transition: color 0.2s;
}

nav a:hover {
  color: #58d4c5;
}

.logo {
  height: 58px;
  width: auto;
}

.lang-switch button {
  font: inherit;
  font-size: 12px;
}

section {
  max-width: 1280px;
  padding: 90px 5vw;
}

section h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
  margin: 14px 0 25px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #248575;
  text-transform: uppercase;
}

.hero {
  max-width: none;
  padding: 0;
  min-height: 700px;
  height: calc(100svh - 95px);
  max-height: 1000px;
  background: #07283b;
  display: flex;
  align-items: center;
}

.hero .slide {
  object-position: center;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 22, 35, 0.94),
      rgba(3, 22, 35, 0.64) 42%,
      rgba(3, 22, 35, 0.06) 80%
    ),
    linear-gradient(0deg, #07283b, transparent 28%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 1280px;
  margin: auto;
  padding: 60px 5vw 120px;
  color: white;
}

.hero .eyebrow {
  color: #6addc0;
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -2px;
  margin: 24px 0;
  max-width: 760px;
}

.hero h1 span {
  color: #6addc0;
}

.hero-copy > p {
  max-width: 580px;
  font-size: 17px;
  line-height: 1.9;
  color: #c6d6df;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 25px;
  border: 1px solid #ffffff55;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
}

.action.primary {
  background: #70d6b4;
  color: #07283b;
  border-color: #70d6b4;
}

.action:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 5vw;
  right: 5vw;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #b5cbd4;
  font-size: 11px;
  letter-spacing: 2px;
}

.tech-strip {
  background: #07283b;
  color: #bed2db;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px 60px;
  padding: 24px;
  font-size: 12px;
  letter-spacing: 2px;
  border-top: 1px solid #ffffff18;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-layout p {
  line-height: 1.9;
  color: #57707d;
}

.about-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
}

.image-caption {
  font-size: 11px;
  color: #6c7e86;
  margin-top: 10px;
}

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

.card {
  background: #fff;
  border: 1px solid #dce2e3;
  border-radius: 8px;
  text-align: left;
  padding: 32px;
  box-shadow: none;
  transition: transform 0.25s;
}

.card:hover {
  transform: translateY(-7px);
}

.card .number {
  font-size: 12px;
  letter-spacing: 2px;
  color: #248575;
}

.card h3 {
  font-size: 23px;
  color: #07283b;
  margin: 30px 0 12px;
}

.card p {
  font-size: 14px;
  color: #607681;
  line-height: 1.8;
}

.solution-section {
  background: #07283b;
  max-width: none;
  color: #fff;
}

.solution-inner {
  max-width: 1150px;
  margin: auto;
}

.solution-section h2 {
  color: #fff;
}

.solution-section .eyebrow {
  color: #70d6b4;
}

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

.portfolio-item {
  border-radius: 8px;
  background: #10374b;
  overflow: hidden;
  box-shadow: none;
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: 265px;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-content {
  padding: 24px;
}

.portfolio-content h3 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 10px;
}

.portfolio-content p {
  color: #a8c1ce;
  font-size: 13px;
  line-height: 1.8;
}

.view-more-btn {
  display: inline-block;
  border: 1px solid #7ea4b5;
  padding: 14px 28px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  background: transparent;
}

.concept-note {
  color: #91aebc;
  font-size: 12px;
  margin-top: 22px;
}

.contact-banner {
  padding: 65px 5vw;
  max-width: none;
  background: #dcece7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.contact-banner h2 {
  margin: 0;
  font-size: 30px;
}

.contact-banner .action {
  background: #07283b;
  color: #fff;
}

.contact-box {
  right: 18px;
  bottom: 18px;
  gap: 8px;
}

.contact-btn,
.hotmail-btn {
  width: 44px;
  height: 44px;
  padding: 0;
}

footer {
  padding: 55px 5vw;
}

.footer-company {
  max-width: 1150px;
}

.footer-company p {
  max-width: 790px;
  font-size: 13px;
  line-height: 1.9;
  color: #b3cbd5;
}

.footer-company h3 {
  font-size: 22px;
}

button,
a {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #70d6b4;
  outline-offset: 5px;
}

.portfolio-page-title {
  background: #07283b;
  color: #fff;
  padding-bottom: 20px;
}

.portfolio-page-title h1 {
  font-size: clamp(36px, 5vw, 65px);
  margin: 15px 0;
}

.portfolio-page-title p {
  color: #b3cbd5;
}

.portfolio-page-title .eyebrow {
  color: #70d6b4;
}

@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  nav ul {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 22px;
  }

  .hero {
    min-height: 650px;
  }

  .about-layout {
    gap: 30px;
  }

  .services,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 55px;
  }

  .hero-copy {
    padding-bottom: 90px;
  }

  .hero-bottom {
    font-size: 9px;
    letter-spacing: 1px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 12px 20px;
  }

  nav {
    flex-direction: row;
    gap: 14px;
  }

  .logo {
    height: 43px;
  }

  nav ul {
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 11px;
  }

  .hero {
    min-height: 650px;
    height: auto;
  }

  .hero .slide {
    object-position: 62% center;
  }

  .hero:after {
    background:
      linear-gradient(90deg, #031623ec, #03162366),
      linear-gradient(0deg, #07283b, transparent);
  }

  .hero-copy {
    padding: 70px 24px 120px;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-bottom {
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 8px;
  }

  .tech-strip {
    font-size: 10px;
    gap: 15px 25px;
  }

  section {
    padding: 60px 24px;
  }

  .about-layout,
  .services,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

  .card {
    padding: 26px;
  }

  .contact-banner {
    padding: 45px 24px;
    display: block;
  }

  .contact-banner h2 {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .contact-box {
    right: 10px;
    bottom: 10px;
  }

  .contact-btn,
  .hotmail-btn {
    width: 38px;
    height: 38px;
  }

  .portfolio-item img {
    height: 240px;
  }

  .modal-content {
    width: calc(100% - 40px);
    max-width: 360px;
  }
}

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

  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
