* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #17202a;
  background: #50C0B8;
  line-height: 1.6;
}
.container { width: min(1120px, 92%); margin: auto; }
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,17,24,.96);
  border-bottom: 1px solid #26323c;
}
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { color: white; text-decoration: none; font-weight: 800; letter-spacing: 1.5px; font-size: 21px; }
.logo span { font-weight: 400; margin-left: 5px; color: #9be36a; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: #dce4e8; text-decoration: none; font-size: 14px; }
nav a:hover { color: #9be36a; }
.nav-contact { border: 1px solid #9be36a; padding: 9px 14px; border-radius: 4px; }

.hero {
  position: relative; min-height: 650px; display: flex; align-items: center;
  overflow: hidden; color: white; background: #0b141c;
}
.hero-content { position: relative; z-index: 2; padding: 100px 0; }
.eyebrow { color: #8fd65e; font-size: 12px; font-weight: 800; letter-spacing: 2px; margin: 0 0 14px; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; margin: 0 0 25px; letter-spacing: -2px; }
h1 span { color: #a9e67d; }
.hero-text { max-width: 650px; font-size: 20px; color: #cbd4da; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-block; padding: 13px 20px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.primary { background: #9be36a; color: #101811; }
.secondary { border: 1px solid #66747d; color: white; }
.hero-grid {
  position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(#91d65e 1px, transparent 1px), linear-gradient(90deg, #91d65e 1px, transparent 1px);
  background-size: 55px 55px;
  transform: perspective(500px) rotateX(58deg) scale(1.5);
  transform-origin: center bottom;
}

.section { padding: 90px 0; }
.section h2, .contact h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin: 0 0 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.card { background: #50C0B8; padding: 28px; border: 1px solid #e0e5e8; border-radius: 7px; }
.card h3 { margin: 18px 0 8px; font-size: 20px; }
.card p { margin: 0; color: #5d6870; }
.icon { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #4f8b2e; }

.dark { background: #111b23; color: white; }
.lead { color: #69757d; max-width: 750px; font-size: 18px; }
.dark .lead { color: #bdc8ce; }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tech-list span { border: 1px solid #43515b; padding: 12px 18px; border-radius: 4px; color: #e1e8eb; }

.project-placeholder {
  min-height: 240px; margin-top: 35px; border: 1px dashed #aeb8be;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #68747b; gap: 6px; background: #50C0B8;
}
.project-placeholder strong { letter-spacing: 2px; color: #29343b; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact { padding: 70px 0; background: #50C0B8; }
.contact-box { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-box p { margin-bottom: 0; }
footer { background: #0b1116; color: #8f9ba2; padding: 25px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 850px) {
  nav a:not(.nav-contact) { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 560px) {
  .nav { min-height: 72px; }
  .cards { grid-template-columns: 1fr; }
  .hero { min-height: 590px; }
  .hero-content { padding: 75px 0; }
  .contact-box, .footer-inner { flex-direction: column; align-items: flex-start; }
}

.logo-image { display: flex; align-items: center; text-decoration: none; }
.logo-image img { display: block; width: 255px; height: auto; max-height: 72px; object-fit: contain; }
@media (max-width: 560px) {
  .logo-image img { width: 170px; max-height: 52px; }
}

.project-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.project-group {
  background: #50C0B8;
  border: 1px solid #e0e5e8;
  border-radius: 7px;
  padding: 26px;
}
.project-group.wide { grid-column: 1 / -1; }
.project-group h3 { margin: 0 0 10px; font-size: 20px; }
.project-group p { margin: 0; color: #5d6870; line-height: 1.75; }
@media (max-width: 700px) {
  .project-groups { grid-template-columns: 1fr; }
  .project-group.wide { grid-column: auto; }
}

/* Brand background update */
.card, .project-group, .project-placeholder {
  background: #50C0B8;
}
.project-placeholder {
  color: #102018;
}
.project-placeholder strong {
  color: #102018;
}
.card p, .project-group p {
  color: #102018;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 38px;
}
.project-photo {
  margin: 0;
  background: #50C0B8;
  border: 1px solid rgba(16,32,24,.18);
  border-radius: 8px;
  overflow: hidden;
}
.project-photo img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: contain;
  background: #0b141c;
}
.project-photo figcaption {
  padding: 15px 18px;
  color: #102018;
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 700px) {
  .project-gallery { grid-template-columns: 1fr; }
  .project-photo img { height: 250px; }
}
