:root {
  --c-primary: #0094ff;
  --c-dark: #0b1c2b;
  --c-light-blue: #c4d9ec;
  --c-sub-hover: #e0eefa;
  --c-border: #e1e5e9;
  --bs-primary: #0094ff;
  --bs-primary-rgb: 0, 148, 255;
  --bs-body-font-family: 'Poppins', sans-serif;
  --bs-body-color: #0b1c2b;
}

html { overflow-x: hidden; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--c-dark);
  background: #fff;
  overflow-x: hidden;
}
.partners { overflow: hidden; }

.container { max-width: 1320px; }
@media (min-width: 1400px) { .container { padding-left: 0; padding-right: 0; } }

h1, h2, h3, h4 { font-weight: 500; }
a { text-decoration: none; }

/* Buttons */
.btn {
  --bs-btn-font-size: 18px;
  --bs-btn-font-weight: 500;
  --bs-btn-padding-x: 35px;
  --bs-btn-padding-y: 15px;
  --bs-btn-border-radius: 100px;
  --bs-btn-line-height: 1.35;
}
.btn-primary {
  --bs-btn-bg: var(--c-primary);
  --bs-btn-border-color: var(--c-primary);
  --bs-btn-hover-bg: #0080dd;
  --bs-btn-hover-border-color: #0080dd;
  --bs-btn-active-bg: #0072c4;
  --bs-btn-active-border-color: #0072c4;
}
.btn-outline-primary {
  --bs-btn-color: var(--c-dark);
  --bs-btn-border-color: var(--c-primary);
  --bs-btn-hover-bg: var(--c-primary);
  --bs-btn-hover-border-color: var(--c-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--c-primary);
  --bs-btn-active-border-color: var(--c-primary);
}
.btn-lg { --bs-btn-font-size: 22px; }
/* newsletter "Prenumeruoti": white on hover */
.newsletter .btn-primary {
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: var(--c-dark);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
  --bs-btn-active-color: var(--c-dark);
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}
.site-header .navbar { padding: 30px 0; --bs-navbar-nav-link-padding-x: 0; }
.site-header .navbar-expand-lg .navbar-nav .nav-link { padding-left: 0; padding-right: 0; }
.navbar-brand { padding: 0; margin-right: 30px; }
.main-nav { flex: 1 1 auto; align-items: center; }
.navbar-brand img { height: 60px; width: auto; display: block; }
.navbar-nav { gap: 30px; }
.navbar-nav .nav-link,
.nav-lang {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-dark);
  padding: 0;
  white-space: nowrap;
  transition: color .2s;
}
.navbar-nav .nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link,
.nav-lang:hover { color: var(--c-primary); }
.nav-item.dropdown { position: relative; }
.navbar-nav .dropdown-toggle::after { display: none; }
/* language flags (right side, same width as logo so the nav stays centred) */
.lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 181px;
  flex-shrink: 0;
}
.lang__flag {
  display: block;
  width: 25px;
  height: 25px;
  padding: 2px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: border-color .2s;
}
.lang__flag svg { display: block; width: 100%; height: 100%; border-radius: 100px; }
.lang__flag:hover,
.lang__flag.active { border-color: var(--c-primary); }
/* hover indicator bar at top of header (shown while the item or its submenu is hovered) */
@media (min-width: 992px) {
  .nav-item { position: relative; }
  .nav-item > .nav-link { position: relative; display: inline-block; }
  .nav-item > .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -49px; /* header is 120px tall, link row starts at ~49px */
    height: 4px;
    background: var(--c-primary);
    transform: scaleX(0);
    transform-origin: 50% 50%;
    transition: transform .2s ease;
  }
  .nav-item:hover > .nav-link::before,
  .nav-item.open > .nav-link::before,
  .nav-item:focus-within > .nav-link::before { transform: scaleX(1); }
  .dropdown-menu {
    --bs-dropdown-min-width: 187px;
    --bs-dropdown-padding-x: 10px;
    --bs-dropdown-padding-y: 10px;
    --bs-dropdown-border-radius: 5px;
    --bs-dropdown-border-color: transparent;
    --bs-dropdown-item-padding-x: 5px;
    --bs-dropdown-item-padding-y: 0;
    --bs-dropdown-link-color: var(--c-dark);
    --bs-dropdown-link-hover-color: var(--c-dark);
    --bs-dropdown-link-hover-bg: var(--c-sub-hover);
    --bs-dropdown-link-active-color: var(--c-dark);
    --bs-dropdown-link-active-bg: var(--c-sub-hover);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    box-shadow: 0 5px 9.5px rgba(0, 0, 0, .1);
  }
  /* invisible bridge over the 10px gap so the menu stays open while moving the cursor down */
  .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
  }
  .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    line-height: 32px;
    border-radius: 4px;
  }
  /* open on hover (desktop) */
  .nav-item.dropdown:hover > .dropdown-menu,
  .nav-item.dropdown.open > .dropdown-menu,
  .nav-item.dropdown:focus-within > .dropdown-menu { display: block; }
}
/* Mobile header (M: Landing) */
.menu-btn {
  display: none;
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 100px;
  background: var(--c-primary);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-btn svg { display: block; }
@media (max-width: 991.98px) {
  .site-header .navbar { padding: 15px 0; }
  .site-header .navbar .container { justify-content: flex-start; gap: 20px; }
  .menu-btn { display: flex; }
  .navbar-brand { margin: 0; }
  .navbar-brand img { height: 50px; }
}

/* Mobile off-canvas menu (M: Meniu) */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1050;
  width: 330px;
  max-width: 92vw;
  background: #fff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .25s ease;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-overlay { opacity: 1; visibility: visible; }
body.menu-open .mobile-menu { transform: none; }
.mobile-menu__top {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu__close {
  height: 55px;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-dark);
  padding: 0 15px;
}
.mobile-menu__lang { width: auto; padding: 0 15px; height: 55px; }
.mobile-menu__close { width: 55px; justify-content: center; padding: 0; border-left: 1px solid var(--c-border); }
.mobile-menu__items { list-style: none; margin: 0; padding: 0; }
.mobile-menu__item { border-bottom: 1px solid var(--c-border); }
.mobile-menu__item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-dark);
}
.mobile-menu__chev {
  display: none; /* arrows hidden on plain items; only the Katalogai accordion keeps one */
  width: 16px;
  height: 8px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8' fill='none'%3E%3Cpath d='M1 1l7 6 7-6' stroke='%230b1c2b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-90deg);
  transition: transform .2s;
}
.mobile-menu__item--has-sub > a { padding-top: 20px; }
.mobile-menu__item--has-sub > a .mobile-menu__chev { display: block; }
.mobile-menu__item--has-sub.open > a { color: var(--c-primary); }
.mobile-menu__item--has-sub.open > a .mobile-menu__chev {
  transform: rotate(0deg); /* right (-90deg) -> down: 90deg of travel */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8' fill='none'%3E%3Cpath d='M1 1l7 6 7-6' stroke='%230094ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.mobile-menu__sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 5px 15px 10px;
}
.mobile-menu__item--has-sub.open > .mobile-menu__sub { display: block; }
.mobile-menu__sub a {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 15px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: var(--c-dark);
}
.mobile-menu__sub a:hover,
.mobile-menu__sub a.active { background: var(--c-sub-hover); color: var(--c-primary); }

/* Hero */
.hero {
  position: relative;
  min-height: 779px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__media,
.hero__overlay { position: absolute; inset: 0; }
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  background: rgba(0, 13, 22, .2);
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
}
.hero__inner { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero__txt { max-width: 562px; }                     /* lg: left of container, vertically centred by .hero */
.hero__txt h1 {
  color: #FFF;
  font-family: Poppins;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: 65px; /* 101.563% */
  margin-bottom: 30px;
}

@media (max-width: 991.98px) {
  .hero { min-height: 0; }
}
@media (max-width: 767.98px) {
  .hero { min-height: 420px; }
  .hero__inner { padding-top: 40px; padding-bottom: 40px; }
  .hero__inner .row { justify-content: center; }     /* xs: centred both ways */
  .hero__txt { max-width: none; margin: 0 auto; text-align: center; }
  .hero__txt h1 { font-size: 36px; line-height: 40px; margin-bottom: 20px; }
  }

/* Mobile shared (M: Landing) */
@media (max-width: 767.98px) {
  .container { --bs-gutter-x: 45px; }
  .site-header .container { --bs-gutter-x: 30px; }
  .btn { --bs-btn-font-size: 17px; --bs-btn-padding-y: 10px; }
  .btn-lg { --bs-btn-font-size: 17px; }
  h2.section-title { font-size: 25px; line-height: normal; margin-bottom: 20px; }
}

/* Sections shared */
.section-title {
  font-size: 40px;
  line-height: 54px;
  text-align: center;
  margin-bottom: 50px;
}
.process .section-title {
	margin-bottom: 15px;
}
.divider {
  display: block;
  width: 100px;
  height: 2px;
  background: var(--c-primary);
}
.section-vector {
  position: absolute;
  left: -206px;
  top: -725px;
  width: 2352px;
  pointer-events: none;
}
.section-vector img { width: 100%; height: auto; display: block; }
.section-vector--gallery { top: -746px; }

/* Slick shared: outside arrows */
.slider-wrap { position: relative; }
.slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff url("../assets/arrow.svg") center / 100% no-repeat;
  font-size: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity .2s;
}
.slick-arrow:hover { opacity: .8; }
.slick-next { right: -82px; }
.slick-prev { left: -82px; transform: translateY(-50%) rotate(180deg); }
.slick-disabled { opacity: .35; cursor: default; }
@media (max-width: 1499.98px) {
  .slick-next { right: -22px; }
  .slick-prev { left: -22px; }
}
@media (max-width: 575.98px) {
  .slick-arrow { width: 36px; height: 36px; }
  .slick-next { right: -8px; }
  .slick-prev { left: -8px; }
}

/* Partners */
.partners { padding: 70px 0 100px; background: #fff; }
.partners__title {
  font-size: 24px;
  color: var(--bs-heading-color);
  text-align: center;
  margin-bottom: 50px;
}
.partners__slider { margin: 0 38px; }
.partner {
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.partner img { max-height: 50px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 767.98px) {
  .partners { padding: 20px 0; }
  .partners__title { font-size: 18px; margin-bottom: 20px; }
  .partners__slider { margin: 0; }
  .partners .slick-arrow { display: none !important; }
  /* xs: 2 logos per view, scaled to the slide width */
  .partner { height: 60px; padding: 0 10px; }
  .partner img { width: auto; height: auto; max-width: 100%; max-height: 60px; }
}

/* About */
.about {
  background: var(--c-dark);
  color: #fff;
  display: flex;
  overflow: hidden;
}
.about__bg { flex: 0 0 50%; width: 50%; min-height: 575px; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__txt {
  flex: 0 0 50%;
  width: 50%;
  padding: 70px 100px 70px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}
.about__txt h2 { font-size: 40px; line-height: 54px; margin: 0; }
.about__txt p { font-size: 18px; font-weight: 300; line-height: 29px; margin: 0; text-align: center; }
@media (max-width: 1399.98px) {
  .about__txt { padding: 60px 40px; }
}
@media (max-width: 991.98px) {
  .about { flex-direction: column; }
  .about__bg { min-height: 320px; height: 320px; flex: none; width: 100%; }
  .about__txt { width: 100%; flex: none; padding: 50px 24px; }
  .about__txt h2 { font-size: 32px; line-height: 40px; }
}
@media (max-width: 767.98px) {
  .about__bg { min-height: 0; height: auto; aspect-ratio: 131 / 80; }   /* xs image is 768x469 */
  .about__txt { padding: 20px 25px; gap: 20px; }
  .about__txt h2 { font-size: 25px; line-height: normal; }
  .about__txt .divider { margin-top: -10px; }
  .about__txt p { font-size: 16px; line-height: 24px; }
}

/* Process */
.process {
  position: relative;
  background: #c4d9ec3d;
  padding: 70px;
  overflow: hidden;
}
.process .container-fluid { position: relative; padding: 0; }
.process__items { display: flex; gap: 10px; align-items: flex-start; }
.process__col { flex: 1 0 0; min-width: 1px; }
.card-item {
  background: #fff;
  border-radius: 15px;
  padding: 10px;
  height: 100%;
}
.card-item__img {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.card-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-item__body { padding: 7px 10px 10px; text-align: center; }
.card-item__body h3 { font-size: 24px; margin-bottom: 5px; }
.card-item__body p { font-size: 15px; font-weight: 300; line-height: 24px; margin: 0; }
@media (max-width: 1199.98px) {
  .process { padding: 60px 30px; }
  .process__items { gap: 20px; }
  .card-item__img { height: 240px; }
}
@media (max-width: 991.98px) {
  .process { padding: 60px 40px; }
  .process__items { flex-wrap: wrap; gap: 20px; }
  .process__col { flex: 1 0 calc(50% - 10px); }
}
@media (max-width: 767.98px) {
  .process { padding: 20px 0px; }
  .process__items { flex-direction: column; gap: 10px; }
  .process__col { flex: none; width: 100%; }
  .card-item__img { height: auto; aspect-ratio: 137 / 104; }   /* xs images are 768x583 */
  .card-item__body h3 { font-size: 22px; }
}

/* Gallery */
.gallery {
  position: relative;
  background: #fff;
  padding: 70px 0;
  overflow: hidden;
}
.gallery .container { position: relative; }
.gallery__slider { margin-bottom: 50px; }
.gallery__item { padding: 0 10px; }
.gallery__item a { display: block; }
.gallery__item a:hover img { opacity: .85; }
.gallery__item img {
  width: 100%;
  max-width: 283px;
  height: 370px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
@media (max-width: 767.98px) {
  .gallery { padding: 20px 0; }
  .gallery__slider { margin-bottom: 20px; }
  .gallery__item { padding: 5px; }
  .gallery__item img { max-width: none; height: auto; aspect-ratio: 744 / 974; }
  .gallery .slick-list { margin: 0 -5px; }
  .gallery .slick-slide > div { display: flex; gap: 0; }
  .gallery .slick-slide > div + div { margin-top: 0; }
  /* arrows vertically centred on the 2x2 grid, at the edges (as in M: Landing) */
  .gallery .slick-arrow { top: 50%; width: 44px; height: 44px; transform: translateY(-50%); border: 1px solid var(--c-border); }
  .gallery .slick-prev { left: 0; transform: translateY(-50%) rotate(180deg); }
  .gallery .slick-next { right: 0; }
}

/* Newsletter */
.newsletter {
  position: relative;
  background: var(--c-dark);
  color: #fff;
  padding: 70px 0;
  overflow: hidden;
}
.newsletter__vector {
  position: absolute;
  left: 50%;
  top: -881px;
  width: 1781px;
  transform: translateX(-50%);
  pointer-events: none;
}
.newsletter__vector img { width: 100%; height: auto; display: block; }
.newsletter .container { position: relative; }
.newsletter__txt {
  max-width: 906px;
  margin: 0 auto;
  text-align: center;
}
.newsletter__txt h2 { font-size: 40px; line-height: 54px; margin-bottom: 20px; }
.newsletter__txt p { font-size: 18px; font-weight: 300; line-height: 29px; margin-bottom: 30px; }
@media (max-width: 767.98px) {
  .newsletter { min-height: 290px; padding: 30px 0; display: flex; align-items: center; }
  .newsletter .container { width: 100%; }
  .newsletter__vector { width: 1980px; top: -982px; left: calc(50% - 342px); }
  .newsletter__txt h2 { font-size: 22px; line-height: 28px; margin-bottom: 10px; }
  .newsletter__txt p { font-size: 16px; line-height: 24px; margin-bottom: 20px; }
}

/* Footer */
.footer { padding: 50px 0 30px; background: #fff; }
.footer__logo { height: 60px; width: auto; }
.footer h4 { font-size: 18px; margin-bottom: 5px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links a,
.footer__mail {
  display: block;
  font-size: 14px;
  font-weight: 300;
  line-height: 32px;
  color: var(--c-dark);
  transition: color .2s;
}
.footer__links a:hover,
.footer__mail:hover,
.footer__phone:hover { color: var(--c-primary); }
.footer__phone {
  display: block;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-dark);
  transition: color .2s;
}
.footer__bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--c-border);
}
.footer__bottom p { font-size: 12px; font-weight: 300; margin: 0; }
@media (max-width: 767.98px) {
  .footer { padding: 30px 0 20px; text-align: center; }
  .footer .row { --bs-gutter-y: 20px; }
  .footer .row > [class*="col-"] { width: 100%; flex: 0 0 100%; }
  .footer__logo { height: 60px; }
  .footer__bottom { margin-top: 20px; padding-top: 20px; }
}
