/* Set colours and fonts etc in :root if style changes are needed! */

.offshore-block {
  --navy: #002a3a;
  --green: #64a70b;
  --grey: #f1f1f1;
  --text: #002a3a;
  --font: "droid-sans", "Droid Sans", "Open Sans", Helvetica, Arial, sans-serif;
}
.offshore-block *,
.offshore-block *::before,
.offshore-block *::after {
  box-sizing: border-box;
}
.offshore-block html {
  scroll-behavior: smooth;
}
.offshore-block body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  background: #fff;
}
.offshore-block a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.offshore-block a:hover {
  text-decoration: underline;
}

.offshore-block .container {
  max-width: 1080px;
  width: 92%;
  margin: 0 auto;
}

/* Page title */
.offshore-block .page-title {
  padding: 20px 0 28px;
}
.offshore-block .page-title h1 {
  margin: 0;
  padding-bottom: 10px;
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  color: #333;
}
.offshore-block .page-title h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 22px;
  background: var(--green);
}

/* Overview diagram */
.offshore-block .overview {
  background: var(--grey);
  padding: 60px 0 40px;
  border-radius: 15px;
  max-width: 1080px;
  width: 92%;
  margin: 0 auto;
}
.offshore-block .overview .container {
  max-width: 812px;
}
.offshore-block .banner {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8;
  padding: 0 5px;
  margin-bottom: 22px;
  clip-path: polygon(95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%, 5% 0);
}
.offshore-block .banner h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
}
.offshore-block .banner p {
  margin: 0;
}
.offshore-block .banner .banner-mobile {
  display: none;
}

.offshore-block .blobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 45px;
  padding: 20px 0;
}
.offshore-block .blob {
  display: block;
  text-align: center;
  text-decoration: none !important;
  color: var(--navy);
  border: 3px solid var(--navy);
  border-radius: 15px;
  padding: 20px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8;
  transition: transform 0.3s;
}
.offshore-block .blob.green {
  border-color: var(--green);
}
.offshore-block .blob:hover {
  transform: scale(1.05);
}
.offshore-block .blob h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.2;
}
.offshore-block .blob p {
  margin: 0;
}

/* Phase sections */
.offshore-block .phase {
  padding: 50px 0 0;
  scroll-margin-top: 20px;
}
.offshore-block .phase:last-of-type {
  padding-bottom: 50px;
}
.offshore-block .phase-card {
  background: var(--navy);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.offshore-block .phase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 8px 20px;
}
.offshore-block .phase-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
}
.offshore-block .to-top {
  display: inline-flex;
  color: var(--green);
}
.offshore-block .to-top svg {
  width: 30px;
  height: 30px;
}
.offshore-block .phase-body {
  background: #fff;
  color: var(--navy);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.8;
  border: 2px solid #333;
  border-top: 0;
  padding: 12px 12px 0;
}
.offshore-block .phase-body p {
  margin: 0;
  padding-bottom: 18px;
}
.offshore-block .phase-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  background: var(--navy);
  color: #fff;
  padding: 15px 20px 10px;
}
.offshore-block .phase-lists:has(> div:only-child) {
  grid-template-columns: 1fr;
}
.offshore-block .phase-lists h2 {
  margin: 0;
  padding-bottom: 10px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}
.offshore-block .phase-lists ul {
  margin: 0;
  padding: 0 0 18px 18px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.8;
}
.offshore-block .phase-lists li p {
  margin: 0;
}

/* Scroll-in animation */
.offshore-block .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.offshore-block .reveal.in-view {
  opacity: 1;
  transform: none;
}
.offshore-block .blob.reveal.in-view {
  transition:
    opacity 0.7s ease var(--delay, 0s),
    transform 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .offshore-block html {
    scroll-behavior: auto;
  }
  .offshore-block .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1160px) {
  .offshore-block .blob h2 {
    font-size: 17px;
  }
}
@media (max-width: 980px) {
  .offshore-block .page-title h1 {
    font-size: 40px;
  }
}
@media (max-width: 767px) {
  .offshore-block .page-title h1 {
    font-size: 30px;
  }
  .offshore-block .banner {
    clip-path: none;
    background: none;
    color: var(--navy);
  }
  .offshore-block .banner h2 {
    display: none;
  }
  .offshore-block .banner .banner-desktop {
    display: none;
  }
  .offshore-block .banner .banner-mobile {
    display: block;
  }
  .offshore-block .banner .banner-mobile h2 {
    display: block;
    color: var(--navy);
  }
  .offshore-block .banner .banner-mobile p {
    color: var(--navy);
  }
  .offshore-block .blobs {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .offshore-block .phase-lists {
    grid-template-columns: 1fr;
  }
  .offshore-block .phase-head h2 {
    font-size: 21px;
  }
  .offshore-block .phase-body,
  .offshore-block .phase-lists ul,
  .offshore-block .phase-lists h2 {
    font-size: 16px;
  }
  .offshore-block .phase-lists h2 {
    font-size: 21px;
  }
}

.offshore-block .development-process-title {
  margin-top: 140px;
}

.guide__copyright {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--anrt-color-grey-dark-bb);
  margin-block-start: var(--anrt-spacing-100);
  padding-block-start: var(--anrt-spacing-100);
  text-align: center;
  justify-content: center;
}

.guide__copyright svg {
  max-width: 250px;
  height: auto;
}

.guide__copyright p {
  width: 100%;
}
