@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #081b27;
  --bg-soft: #0d2a3a;
  --card: #112f40;
  --text: #eef7fb;
  --muted: #bfd2de;
  --accent: #45c4c3;
  --accent-2: #66dbe0;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1180px;
  --hero-frame-height: 25rem;
  --hero-progress-duration: 10s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 450px at 20% -10%, rgba(69, 196, 195, 0.2), transparent),
    linear-gradient(180deg, var(--bg) 0%, #071620 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5.25rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(8, 27, 39, 0.86);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 154px;
  max-width: 32vw;
}

.menu-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--text);
  background: rgba(69, 196, 195, 0.14);
}

.language {
  display: inline-flex;
  gap: 0.25rem;
}

.language a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.38rem 0.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.language a.active_lang {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.main-hero {
  border-top: 0;
  background-image:
    linear-gradient(to bottom, rgba(7, 22, 32, 0.28), rgba(7, 22, 32, 0.62)),
    url("./media/sec1_bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-top: 6rem;
}

.main-hero h1 {
  margin: 0 auto 1.3rem;
  max-width: 920px;
  text-align: center;
  line-height: 1.22;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
}

.hero-carousel {
  position: relative;
  max-width: 980px;
  margin: 0 auto 2rem;
  touch-action: pan-y;
}

.hero-carousel-track {
  display: grid;
  position: relative;
  min-height: var(--hero-frame-height);
}

.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.2vw, 1.8rem);
  border: 1px solid rgba(102, 219, 224, 0.35);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  background:
    radial-gradient(650px 260px at 10% 0%, rgba(69, 196, 195, 0.22), transparent),
    linear-gradient(135deg, rgba(6, 24, 35, 0.95), rgba(10, 46, 64, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  overflow: hidden;
  visibility: hidden;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  z-index: 1;
}

.hero-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35);
  border-color: rgba(102, 219, 224, 0.6);
}

.hero-slide--iam {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(106, 191, 255, 0.18), transparent),
    linear-gradient(135deg, rgba(7, 22, 32, 0.96), rgba(16, 44, 65, 0.93));
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.55rem;
}

.hero-slide h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.18;
  max-width: none;
  text-align: left;
}

.hero-slide p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.9vw, 1.08rem);
  max-width: none;
  text-align: left;
}

.hero-cta-inline {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text);
}

.hero-highlights {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-highlights span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-carousel-dots {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.hero-carousel-dots button {
  appearance: none;
  width: 58px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s ease;
}

.hero-carousel-dots button.is-active {
  background: rgba(255, 255, 255, 0.2);
}

.hero-carousel-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-carousel-dots button.is-active::after {
  animation: hero-progress var(--hero-progress-duration) linear forwards;
}

@keyframes hero-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.product-hero {
  border-top: 0;
  padding-top: 5.4rem;
  padding-bottom: 3.2rem;
  background-image:
    linear-gradient(to bottom, rgba(7, 22, 32, 0.4), rgba(7, 22, 32, 0.82)),
    url("./media/sec1_bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.product-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.product-icon-wrap {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.product-icon-wrap img {
  width: 100%;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}

.product-title h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.product-title p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 760px;
  margin-inline: auto;
}

.product-content-section {
  padding-top: 0;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: start;
}

.product-content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.product-content-card p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.product-content-card p strong {
  color: var(--text);
}

.product-content-card a {
  color: var(--accent-2);
  text-underline-offset: 2px;
}

.product-content-card a:hover {
  color: var(--text);
}

.product-content-card ul {
  margin: 0.1rem 0 1rem 1.1rem;
  padding: 0;
  color: var(--muted);
}

.product-content-card li {
  margin-bottom: 0.42rem;
}

.product-side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.product-side-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

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

.product-side-card .product-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.product-side-card .button-link {
  width: 100%;
  justify-content: space-between;
}

.f_btn,
.t_btn,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  min-height: 46px;
  padding: 0 1.2rem;
  background: rgba(69, 196, 195, 0.14);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.f_btn:hover,
.t_btn:hover,
.button-link:hover {
  transform: translateY(-1px);
  background: rgba(69, 196, 195, 0.24);
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.logos-wrap,
.customers-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.logos-wrap a,
.customers-wrap a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-wrap img,
.customers-wrap img {
  max-height: 52px;
  width: auto;
}

.logos-wrap .uniarts-logo {
  max-height: 44px;
}

.logos-wrap .diak-logo,
.customers-wrap .diak-logo {
  max-height: 34px;
  filter: invert(1) brightness(1.08);
}

.logos-wrap .uef-logo,
.customers-wrap .uef-logo {
  max-height: 34px;
  filter: invert(1) brightness(1.08);
}

.banner-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.solutions-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.solution-tabs {
  display: grid;
  gap: 0.5rem;
  position: sticky;
  top: 90px;
}

.solution-tabs button {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}

.solution-tabs button[aria-selected="true"] {
  color: var(--text);
  border-color: rgba(69, 196, 195, 0.75);
  background: rgba(69, 196, 195, 0.16);
}

.solution-panel {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.solution-panel.is-active {
  display: block;
}

.solution-panel h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.solution-panel p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

section[id="3"] .cards-grid {
  align-items: stretch;
}

section[id="3"] .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

section[id="3"] .card .button-link {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.card h5,
.card h6 {
  margin: 0;
  font-size: 1.04rem;
}

.card p,
.card span {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

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

.about-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.team-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.team-item img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 0.65rem;
}

.team-item a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.contact-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}

.contact-list img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.send-msg-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}

.send-msg-form h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.form-row {
  display: grid;
  gap: 0.6rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem 0.82rem;
  font: inherit;
}

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

.form-submit {
  margin-top: 0.45rem;
}

.form-status {
  margin: 0 0 0.8rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.form-status.ok {
  border-color: rgba(69, 196, 195, 0.65);
  background: rgba(69, 196, 195, 0.13);
}

.form-status.error {
  border-color: rgba(255, 146, 146, 0.7);
  background: rgba(255, 100, 100, 0.14);
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

footer {
  padding: 1.4rem 0 2.1rem;
  border-top: 1px solid var(--line);
}

.footer-navigation {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-socials {
  display: inline-flex;
  align-items: center;
}

.footer-socials img {
  width: 24px;
  height: 24px;
}

.footer-copyright {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copyright a {
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 920px) {
  :root {
    --hero-frame-height: 30rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 27, 39, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

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

  .nav-list {
    width: 100%;
    display: grid;
    gap: 0.25rem;
  }

  .nav-list a {
    display: block;
  }

  .language {
    margin-top: 0.2rem;
  }

  .solutions-layout {
    grid-template-columns: 1fr;
  }

  .solution-tabs {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

  .product-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --hero-frame-height: 36rem;
  }

  .section {
    padding: 4.3rem 0;
  }

  .cards-grid,
  .knowledge-grid,
  .about-team,
  .solution-tabs {
    grid-template-columns: 1fr;
  }

  .logos-wrap a,
  .customers-wrap a {
    width: calc(50% - 0.5rem);
  }

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

  .product-icon-wrap {
    width: 88px;
    height: 88px;
  }
}
