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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  color: #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #f9fafb;
  font-size: 0.9rem;
}

.logo-text {
  font-size: 1.12rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  color: #cbd5f5;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  font-size: 0.85rem;
}

.lang-toggle {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: transparent;
  color: #e5e7eb;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.12s ease-out, color 0.12s ease-out,
    border-color 0.12s ease-out, transform 0.12s ease-out;
}

.lang-toggle:hover {
  background: rgba(15, 23, 42, 0.85);
}

.lang-toggle.is-active {
  background: #e5e7eb;
  color: #020617;
  border-color: transparent;
  transform: translateY(-0.5px);
}

.hero {
  padding: 3.4rem 0 3.5rem;
  background: radial-gradient(
      circle at top left,
      rgba(248, 250, 252, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, #020617, #020617 45%, #020617 60%, #020617 80%);
  color: #e5e7eb;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: stretch;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 3.1vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  color: #cbd5f5;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-copy {
  position: relative;
  height: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background-color 0.12s ease-out, color 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #f9fafb;
  /* Neutral shadow (no orange glow) so the button feels crisp */
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.32);
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.85);
  color: #0f172a;
}

.btn-outline:hover {
  border-color: rgba(249, 115, 22, 0.8);
  background: #f97316;
  color: #f9fafb;
}

.full-width {
  width: 100%;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.svilen-hero-image {
  width: 100%;
  height: 100%;
  max-width: 78%;
  border-radius: 1.25rem;
  margin-bottom: 0;
  margin-top: -0.25rem;
  margin-left: auto;
  margin-right: auto;
  /* Resize without cropping */
  object-fit: contain;
  /* No shadow under the hero image (clean edge to the section) */
  box-shadow: none;
  /* Fade the bottom of the image so overlay text stays readable */
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 18%,
    rgba(0, 0, 0, 1) 45%
  );
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 18%,
    rgba(0, 0, 0, 1) 45%
  );
}

@media (max-width: 900px) {
  .hero-copy {
    height: auto;
  }

  .svilen-hero-image {
    height: auto;
    max-width: 430px;
    margin-inline: auto;
    margin-top: -0.6rem;
  }
}

/* Overlay the stats on top of the hero image (desktop) */
.hero-highlights {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 1.4rem;
  padding: 0.9rem 0 0.2rem;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0) 0%,
    rgba(2, 6, 23, 0.9) 100%
  );
}

/* Ensure the overlays don’t stay absolute on small screens */
@media (max-width: 900px) {
  .hero-highlights {
    position: absolute; /* overlay on top of the hero image */
    padding: 0.9rem 0 0.2rem;
    margin-top: 0;
    bottom: 0.9rem; /* move stats slightly up from the image bottom */
    justify-content: center;
    align-items: center;
    gap: 1rem;
    /* Remove the shadow/gradient feel on mobile overlay */
    background: transparent;
  }

  /* Center each stat block text on mobile */
  .hero-highlights > div {
    text-align: center;
  }
}

.hero-highlight-number {
  font-size: 1.4rem;
  font-weight: 600;
  color: #f97316;
}

.hero-highlight-label {
  font-size: 0.85rem;
  color: #9ca3af;
}

.hero-card {
  background: radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.18),
      transparent 55%
    ),
    #020617;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.95rem 1.05rem 0.95rem;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.hero-card-header h2 {
  font-size: 1.22rem;
  margin: 0 0 0.2rem;
}

.hero-card-header p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.92rem;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.2rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: #e5e7eb;
}

.hero-card-list li::before {
  content: "▸";
  color: #f97316;
  margin-right: 0.4rem;
}

.hero-card-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto; /* Push CTA down to balance the card */
}

.hero-card-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.section {
  padding: 3.6rem 0;
  background: #f8fafc;
}

.section-alt {
  background: #0b1120;
  color: #e5e7eb;
}

.section-alt .section-header p {
  color: #9ca3af;
}

.section-header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-header.align-left {
  text-align: left;
}

.section-header h2 {
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: #64748b;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 0.96rem;
}

.grid {
  display: grid;
  gap: 1.6rem;
}

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

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


.project-image {
  border-radius: 0.9rem;
  margin-bottom: 0.7rem;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.3rem 1.35rem 1.25rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.section-alt .card {
  background: #020617;
  border-color: rgba(30, 64, 175, 0.45);
}

.service-card h3 {
  margin-top: 0.1rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.93rem;
  color: #4b5563;
}

.section-alt .service-card p {
  color: #9ca3af;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.section-alt .service-card ul {
  color: #e5e7eb;
}

.service-card li:not(:last-child) {
  margin-bottom: 0.25rem;
}

.service-card li::before {
  content: "•";
  color: #f97316;
  margin-right: 0.4rem;
}

.project-card {
  position: relative;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 0.6rem;
}

.section-alt .project-tag {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.5);
}

.project-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.project-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.section-alt .project-card p {
  color: #9ca3af;
}

.project-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: #4b5563;
}

.section-alt .project-card ul {
  color: #e5e7eb;
}

.project-card li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-card li::before {
  content: "▹";
  color: #f97316;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.about-grid p {
  margin-top: 0;
  color: #4b5563;
}

.about-map {
  margin-bottom: 0.9rem;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.about-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.about-facts ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
}

.about-facts li:not(:last-child) {
  margin-bottom: 0.4rem;
}

.small {
  font-size: 0.8rem;
  color: #6b7280;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.contact-details li:not(:last-child) {
  margin-bottom: 0.4rem;
}

.contact-details a {
  color: #f97316;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 500;
  color: #9ca3af;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(249, 115, 22, 0.7);
  outline-offset: 1px;
  border-color: transparent;
}

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

.site-footer {
  background: #020617;
  color: #64748b;
  padding: 1.4rem 0 1.6rem;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.footer-small {
  font-size: 0.78rem;
  color: #6b7280;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

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

  .hero {
    padding-top: 3.1rem;
  }

  .hero-card {
    /* On mobile we want the image first (hero-copy is before hero-card in the DOM). */
    order: 0;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}


