/* COLORS */
:root {
  --main-color: #02B6F8;
  --hover-color: #E49750;
  --modal-bg-color: #F5FCFF;
  --text-color: #4A5264;
  --black-color: #000000;
  --white-color: #FFFFFF;
}

html {
  font-family: 'PT Sans';
  font-style: normal;
  font-size: 100%;

  scroll-behavior: smooth;
  overflow-y: scroll;
}
::-webkit-input-placeholder {
  font-family: 'PT Sans';
}
:-moz-placeholder {
  font-family: 'PT Sans';
}
::-moz-placeholder {
  font-family: 'PT Sans';
}
:-ms-input-placeholder {
  font-family: 'PT Sans';
}

body {
  padding-top: 155px;
}

* {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p {
  margin: 0;
}

a {
  text-decoration: none;
}

.button {
  display: block;
  padding: 10px 0px;

  min-width: 245px;

  background: #018ABB;
  border: none;
  border-radius: 30px;
  color: #FFFFFF;
  transition: color 0.3s;
}

.button:hover {
  background: #02B6F8;
}

.button.disabled {
  background: #4A5264;
  cursor: not-allowed;
}

.OSW__cta {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4375;
  letter-spacing: 0.03em;
  text-align: left;
  color: var(--text-color);

  cursor: pointer;
}

.OSW__cta:before,
.OSW__cta:after {
  display: block;
  width: 45px;
  height: 45px;
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='45' height='45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 27L27 19M27 19H19M27 19V27' stroke='white'/%3E%3C/svg%3E");
  
  z-index: 2;
}

.OSW__cta:before {
  transform: translateY(30px) translateX(-30px);
  opacity: 0
}

.OSW__cta:hover:before {
  transform: translate(0, 0);
  opacity: 1;
  transition: all .5s cubic-bezier(.23, 1, .32, 1) .2s
}

.OSW__cta:hover:after {
  transform: translateY(-30px) translateX(30px);
  opacity: 0;
  transition: all .5s cubic-bezier(.23, 1, .32, 1) .2s
}

.OSW__cta:disabled {
  color: rgba(0, 0, 0, 0.2);
}



#OSW__menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 195px;

  width: 100%;
  top: 0;

  z-index: 3;
}

#OSW__menu-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 39px;
}

.OSW__menu-button {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#OSW__menu-modal {
  z-index: 3;
  position: fixed;
  top: 150px;
  left: 0;
  width: 100%;

  background-color: var(--modal-bg-color);

  transition: opacity 0.3s;
}

.OSW__services-cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 129px;
}

.OSW__services-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 30.625rem;
  height: 30.625rem;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

  z-index: 2;
}

.OSW__services-card:first-child {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("../img/offrecms.jpg");
  background-size: cover;
  background-position: center;
}

.OSW__services-card:first-child::after {
  position: absolute;
  content: '';
  top: -61px;
  left: -61px;
  width: 30.625rem;
  height: 30.625rem;
  border: 61px solid rgba(2, 182, 248, 0.05);
  border-radius: 50%;
  background-color: transparent;
  transition: top 0.3s, left 0.3s, border 0.3s;
}

.OSW__services-card:first-child:hover::after {
  top: -82px;
  left: -82px;
  border: 82px solid rgba(2, 182, 248, 0.05);
}

.OSW__services-card:last-child {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/offrecustom.jpg");
  background-size: cover;
  background-position: center;
}

.OSW__services-card:last-child::after {
  position: absolute;
  content: '';
  top: -16px;
  left: -16px;
  width: 30.625rem;
  height: 30.625rem;
  border: 16px solid rgba(2, 182, 248, 0.05);
  border-radius: 50%;
  background-color: transparent;
}

.OSW__services-card:first-child svg {
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.OSW__services-card:first-child:hover svg {
  transform: translateY(0px);
  opacity: 1;
}

.OSW__services-card h2 {
  font-weight: 700;
  font-size: 2.8125rem;
  line-height: 3.625rem;
  letter-spacing: 0.03em;

  color: var(--white-color);
}

.OSW__services-card p {
  width: 250px;
  padding-top: 15px;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.3125rem;
  text-align: center;

  color: var(--white-color);
}

.OSW__services-card h3 {
  padding-top: 15px;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4375rem;
  letter-spacing: 0.03em;

  color: var(--white-color);
}

.OSW__cta-banner {
  padding: 60px 195px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 150px;
  overflow: hidden;

  background: #01384C;
}

.OSW__cta-banner-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.OSW__cta-banner-content h1 {
  width: 400px;
  font-weight: 700;
  font-size: 5rem;
  line-height: 130%;

  color: var(--white-color);
}

.OSW__cta-banner-content p {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 150%;

  color: var(--white-color);
}

.OSW__cta-banner-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 50%;
  width: 31.375rem;
  height: 31.375rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4375rem;
  letter-spacing: 0.03em;
  color: var(--white-color);
  transition: transform 0.3s;
}

.OSW__cta-banner:hover .OSW__cta-banner-button {
  transform: scale(1.03);
}

.OSW__cta-banner-circle {
  position: absolute;
  right: -395px;
  width: 950px;
  height: 950px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s, bottom 0.3s;
}

.OSW__cta-banner:hover .OSW__cta-banner-circle {
  right: -300px;
}

footer {
  padding: 128px 0px 60px 0px;
}

.OSW__footer-container {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 140px 195px;
}

.OSW__footer-main {
  display: flex;
  flex-direction: row;
  gap: 120px;
  flex-wrap: wrap-reverse;
}

.OSW__footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
}

.OSW__footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.OSW__footer-contact-details-line {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.OSW__footer-contact-details h1 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.625rem;
}

.OSW__footer-contact-details h2 {
  min-width: 60px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3125rem;
}

.OSW__footer-contact-details p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.3125rem;
}

.OSW__footer-contact-details>p {
  color: rgba(0, 0, 0, 0.3);
}

.OSW__footer-contact-details a {
  color: var(--text-color);
  transition: color 0.3s;
}

.OSW__footer-contact-details a:hover {
  color: var(--hover-color);
}

.OSW__footer-contact-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.OSW__footer-contact-socials path {
  transition: fill 0.2s, fill-opacity 0.2s;
}

.OSW__footer-contact-socials a:hover path {
  fill: #FF9533;
  fill-opacity: 1;
}

.OSW__footer-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
}

.OSW__footer-links-line {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 15px;
}

.OSW__footer-links-line p {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3125rem;
  color: rgba(0, 0, 0, 0.15);
}

.OSW__footer-links-line a {
  padding-left: 5px;
  font-weight: 400;
  font-size: 3.9375rem;
  line-height: 3rem;
  color: var(--black-color);
}

.OSW__footer-links-line>svg {
  margin-bottom: 4px;
}

.OSW__footer-links-line>a>svg {
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.OSW__footer-links-line>a:hover>svg {
  transform: translateY(0px);
  opacity: 1;
}

.OSW__footer-secondary {
  flex: initial;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 20px;
}

.OSW__footer-secondary a {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.3125rem;
  color: var(--black-color);
  transition: color 0.2s
}

.OSW__footer-secondary a:hover {
  color: #FF9533;
}

.slide-right {
  transform: translateX(-100px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.slide-right.active {
  transform: translateX(0%);
  opacity: 1;
}

.slide-up {
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.slide-up.active {
  transform: translateY(0%);
  opacity: 1;
}

@media only screen and (min-width: 1920px) {
  body, #OSW__menu, .OSW__footer-container {
    max-width: 1920px;
    margin: auto;
  }
}

@media only screen and (max-width: 1458px) {
  .OSW__footer-container {
    padding: 80px 140px;
  }
}

@media only screen and (max-width: 1441px) {
  .OSW__cta-banner {
    flex-direction: column;
  }

  .OSW__cta-banner-content {
    text-align: center;
  }

  .OSW__cta-banner-content h1 {
    width: fit-content;
  }

  .OSW__cta-banner-circle {
    bottom: -570px;
    right: auto;
  }

  .OSW__cta-banner:hover .OSW__cta-banner-circle {
    bottom: -500px;
    right: auto;
  }
}

@media only screen and (max-width: 1348px) {
  .OSW__footer-main {
    gap: 30px;
    justify-content: space-between;
    width: 100%;
  }

  .OSW__footer-links-line a {
    font-size: 38px;
    line-height: 38px;
  }

  .OSW__footer-container {
    padding: 80px 100px;
  }
}

@media only screen and (max-width: 1024px) {
  body {
    padding-top: 80px;
  }

  #OSW__menu {
    padding: 0px 100px;
  }

  #OSW__menu>a>svg {
    height: 80px;
  }

  #OSW__menu-modal {
    top: 80px;
  }

  #OSW__menu-modal .OSW__footer-contact, #OSW__menu-modal .OSW__footer-secondary {
    display: none;
  }

  .OSW__cta-banner {
    padding: 60px 100px;
  }

  footer {
    padding: 88px 0px 40px 0px;
  }

  .OSW__footer-main {
    gap: 100px;
  }

  .OSW__footer-links-line>a>svg {
    height: 30px;
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 90%;
  }

  .OSW__cta-banner-circle {
    bottom: -660px;
  }

  #OSW__menu {
    padding: 0px 20px;
  }

  .OSW__services-card {
    width: 26rem;
    height: 26rem;
  }

  .OSW__services-card:first-child::after {
    top: -20px;
    left: -20px;
    width: 26rem;
    height: 26rem;
    border: 20px solid rgba(2, 182, 248, 0.05);
  }

  .OSW__services-card:first-child:hover::after {
    top: -28px;
    left: -28px;
    border: 28px solid rgba(2, 182, 248, 0.05);
  }

  .OSW__services-card:last-child::after {
    width: 26rem;
    height: 26rem;
  }

  .OSW__cta-banner {
    padding: 60px 20px;
  }

  .OSW__cta-banner-content h1 {
    font-size: 4rem;
    line-height: 5rem;
  }

  .OSW__cta-banner-button {
    width: 26rem;
    height: 26rem;
  }

  footer {
    padding: 48px 0px 20px 0px;
  }

  .OSW__footer-container {
    padding: 80px 20px;
  }

  .OSW__footer-links-line>a>svg {
    display: none;
  }
}

@media only screen and (max-width: 425px) {
  html {
    font-size: 80%;
  }

  #OSW__menu-group {
    gap: 10px;
  }

  #OSW__menu-group>.OSW__cta {
    display: none;
  }

  .OSW__cta svg {
    width: 30px;
    height: 30px;
  }

  .OSW__cta:before,
  .OSW__cta:after {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='30' height='30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 19L19 11M19 11H11M19 11V19' stroke='white'/%3E%3C/svg%3E");
  }

  .OSW__cta-banner-content h1 {
    font-size: 3.5rem;
    line-height: 4rem;
  }

  .OSW__cta-banner-button {
    width: 22rem;
    height: 22rem;
  }

  .OSW__services-card {
    width: 22rem;
    height: 22rem;
  }

  .OSW__services-card h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .OSW__services-card:first-child::after {
    width: 22rem;
    height: 22rem;
  }

  .OSW__services-card:last-child::after {
    width: 22rem;
    height: 22rem;
  }

  .OSW__footer-links-line {
    gap: 10px;
  }

  .OSW__footer-contact-details-line {
    gap: 10px;
  }
}