@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

/* Базова типографіка */
html,body {
  height: 100%;
  font-size: 16px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  display: flex;
  flex-direction: column;
}
/* Структура сторінки */
.wrapper {
  flex: 1 0 auto;
}
.spacer-header {
  height: 80px;
}
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}
main {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  text-align: justify;
}
.navbar-brand{padding-top: 10px; padding-bottom: 10px;}
/* Заголовки */
h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #616161;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}
h1 > .logo-color {
  color: #0197c0;
  font-weight: 700;
}
h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #616161;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}
/* Посилання */
a:link,
a:visited {
  color: #014dc0;
}
a:hover,
a:visited:hover {
  color: #C00;
}
a:focus {
  outline: 0;
}
a:link.underline,
a:visited.underline {
  text-decoration: none;
  border-bottom: 1px solid #699ce8;
}
a:hover.underline {
  border-bottom: 1px solid #f0b2b2 !important;
}

/* Картки з вакансіями */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}
.image-caption {
  margin-top: 15px;
  margin-bottom: 30px;
}
.hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card-hover {
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}
.card-hover:hover {
  transform: scale(1.03);
}
.card-hover img {
  transition: transform 0.3s ease;
}
.card-hover:hover img {
  transform: scale(1.05);
}
.card-hover .image-caption a {
  transition: color 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover .image-caption a {
  color: #C00;
  border-bottom: 1px solid #f0b2b2;
}
.requirements {
        margin: 30px 3px;
        padding: 15px 20px 15px 20px;
        border: 1px solid #999;
        /* border-radius: 10px;
        -moz-border-radius: 10px 10px 10px 10px; */
        box-shadow: 2px 2px 3px #999;
        -moz-box-shadow: 2px 2px 3px #999;
        -webkit-box-shadow: #999 2px 2px 3px;
        background-position: 20px 50%;
        text-align: justify;
        background-color:rgb(252, 252, 222)
    }
.requirements > h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0197c0;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.5;
}

a.cta-btn {
  text-decoration: none;
  color: #fff;
  background: #0197c0;
  border-radius: 100px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-weight: 700;
  font-size: 15px;
  margin: 50px auto;
  border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s;
}
a.cta-btn:hover { background: #00a3d0; }
a.cta-btn:hover > span { color: #fff; }
a.cta-btn:active { transform: scale(0.95); }
a.cta-btn > svg {
  width: 34px;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}
a.cta-btn:hover svg { transform: translateX(5px); }

/* Футер */
footer {
  flex-shrink: 0;
}
footer.navbar {
  margin-top: auto;
  margin-bottom: 0 !important;
  border-top: 1px solid #e7e7e7;
  padding: 0 !important;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-text {
  text-align: center;
}

/* Адаптація для мобільних */
@media (max-width: 767px) {
  body,
  .container,
  .navbar-header,
  .navbar-nav {
    padding-right: 15px;
  }
  .navbar-toggle {
    margin-right: 10px;
  }
  .responsive-img-container {
    padding-right: 10px;
  }
}

/* Центрування карток на планшетах/мобільних */
@media (max-width: 991px) {
  .row-centered {
    text-align: center;
  }
  .row-centered .col-md-4 {
    float: none;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
  }
}