/* =========================================================
   05. Offshore Drupal Expertise
   ========================================================= */

.offshore-expertise-section {
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(13, 110, 253, 0.04),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

/* =========================================================
   Section Heading
   ========================================================= */

.offshore-expertise-head {
  max-width: 1180px;
}

.offshore-expertise-kicker {
  color: #ff5a00;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offshore-expertise-line {
  position: relative;
  width: 34px;
  height: 2px;
  flex-shrink: 0;
  background: #ff5a00;
}

.offshore-expertise-line::before,
.offshore-expertise-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff5a00;
  transform: translateY(-50%);
}

.offshore-expertise-line::before {
  left: 0;
}

.offshore-expertise-line::after {
  right: 0;
}

.offshore-expertise-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.offshore-expertise-head h2 span {
  color: #ff5a00;
}

.offshore-expertise-head p {
  color: #34405c;
  font-size: 18px;
  line-height: 1.5;
}

/* =========================================================
   Main Layout
   ========================================================= */

.offshore-expertise-layout {
  position: relative;
}

.offshore-expertise-layout > .row {
  align-items: stretch;
}

/*
 * IMPORTANT:
 * Side cards are controlled here instead of using nested
 * Bootstrap .row.h-100. This prevents the second row of
 * cards from stretching/overlapping the support section.
 */

.offshore-expertise-side {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  gap: 16px;
}

/* =========================================================
   Expertise Cards
   ========================================================= */

.offshore-expertise-card {
  --expertise-color: #ff5a00;
  --expertise-soft: #fff4ec;

  position: relative;
  width: calc(50% - 8px);
  min-width: 0;
  min-height: 290px;
  padding: 24px 21px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.055);
}

.offshore-expertise-orange {
  --expertise-color: #ff5a00;
  --expertise-soft: #fff3eb;
}

.offshore-expertise-purple {
  --expertise-color: #7b2ee8;
  --expertise-soft: #f5efff;
}

.offshore-expertise-pink {
  --expertise-color: #ed1b67;
  --expertise-soft: #fff0f5;
}

.offshore-expertise-yellow {
  --expertise-color: #f59a00;
  --expertise-soft: #fff6e7;
}

.offshore-expertise-green {
  --expertise-color: #128758;
  --expertise-soft: #edf8f3;
}

.offshore-expertise-blue {
  --expertise-color: #176ee0;
  --expertise-soft: #edf4ff;
}

.offshore-expertise-teal {
  --expertise-color: #139593;
  --expertise-soft: #edf8f7;
}

/* Card Icon */

.offshore-expertise-icon {
  width: 68px;
  min-width: 68px;
  height: 68px;
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 86, 180, 0.1);
  border-radius: 50%;
  color: var(--expertise-color);
  background: var(--expertise-soft);
  font-size: 31px;
}

.offshore-expertise-icon i {
  display: block;
  line-height: 1;
}

.offshore-expertise-card h3 {
  min-height: 52px;
  color: #071333;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: break-word;
}

.offshore-expertise-card p {
  margin-bottom: 0;
  color: #34405c;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.offshore-expertise-arrow {
  width: 36px;
  height: 36px;
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  color: var(--expertise-color);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.offshore-expertise-arrow:hover {
  color: var(--expertise-color);
  transform: translateX(4px);
}

/* Decorative dots */

.offshore-expertise-dots {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 90px;
  height: 90px;
  opacity: 0.13;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    var(--expertise-color) 1.5px,
    transparent 1.8px
  );
  background-size: 10px 10px;
  mask-image: radial-gradient(circle, #000 20%, transparent 75%);
}

/* Center illustration */

.offshore-expertise-center-visual {
  position: relative;
  min-height: 285px;
  flex-shrink: 0;
}

.offshore-expertise-drupal {
  position: relative;
  z-index: 5;
  width: 94px;
  height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 67px;
  filter: drop-shadow(0 0 9px rgba(0, 139, 255, 0.8))
    drop-shadow(0 0 24px rgba(0, 102, 255, 0.55));
}

.offshore-expertise-platform {
  position: relative;
  width: 230px;
  height: 185px;
  margin: -3px auto 0;
}

.offshore-expertise-platform-layer {
  position: absolute;
  left: 50%;
  width: 178px;
  height: 72px;
  border: 1px solid #137fea;
  background: linear-gradient(
    145deg,
    rgba(10, 93, 198, 0.8),
    rgba(4, 37, 84, 0.95)
  );
  transform: translateX(-50%) rotate(30deg) skewX(-30deg) scaleY(0.86);
  box-shadow:
    0 0 20px rgba(0, 103, 255, 0.18),
    inset 0 0 18px rgba(0, 126, 255, 0.18);
}

.offshore-layer-one {
  top: 92px;
}

.offshore-layer-two {
  top: 69px;
}

.offshore-layer-three {
  top: 46px;
}

.offshore-expertise-platform-core {
  position: absolute;
  top: 25px;
  left: 50%;
  z-index: 5;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #40d7ff;
  background: radial-gradient(
    circle,
    rgba(31, 218, 255, 0.45),
    rgba(0, 92, 255, 0.15)
  );
  font-size: 37px;
  transform: translateX(-50%) rotate(30deg);
  box-shadow: 0 0 35px rgba(0, 169, 255, 0.55);
}

.offshore-expertise-platform-core i {
  transform: rotate(-30deg);
}

/* Center quote */

.offshore-expertise-center-copy {
  width: 100%;
  max-width: 290px;
  margin: 2px auto 18px;
}

.offshore-expertise-center-copy > .d-flex {
  min-width: 0;
}

.offshore-expertise-center-copy i {
  flex-shrink: 0;
  color: #ff5a00;
  font-size: 34px;
}

.offshore-expertise-center-copy p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
}

/* Center footer features */

.offshore-expertise-center-features {
  width: 100%;
  margin-top: auto;
}

.offshore-expertise-center-feature {
  min-height: 86px;
  padding: 9px 8px;
  border-right: 1px solid rgba(136, 170, 218, 0.2);
}

.offshore-expertise-center-features
  .col-4:last-child
  .offshore-expertise-center-feature {
  border-right: 0;
}

.offshore-expertise-center-feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(62, 137, 228, 0.25);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(13, 69, 137, 0.35);
  font-size: 24px;
}

.offshore-expertise-center-feature span {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

/* =========================================================
   Bottom Support Strip
   ========================================================= */

.offshore-expertise-support {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid #d5e3f5;
  border-radius: 17px;
  background:
    radial-gradient(circle at left, rgba(13, 110, 253, 0.07), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 30px rgba(17, 40, 80, 0.045);
}

/* Support introduction */

.offshore-expertise-support-intro {
  min-height: 150px;
  padding: 20px 30px;
}

.offshore-expertise-support-visual {
  position: relative;
  width: 185px;
  min-width: 185px;
  height: 110px;
}

.offshore-expertise-support-visual img {
  position: relative;
  z-index: 4;
  width: 106px;
  height: 106px;
  display: block;
  object-fit: cover;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(17, 40, 80, 0.14);
}

.offshore-expertise-support-circle {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.offshore-support-blue {
  top: 12px;
  right: 20px;
  z-index: 2;
  width: 72px;
  height: 72px;
  background: #0d6efd;
}

.offshore-support-dark {
  right: 0;
  bottom: 2px;
  z-index: 1;
  width: 58px;
  height: 58px;
  background: #075be8;
}

.offshore-expertise-support-content {
  min-width: 0;
}

.offshore-expertise-support-content h3 {
  color: #071333;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.offshore-expertise-support-content p {
  color: #34405c;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* Support feature items */

.offshore-expertise-support-item {
  min-height: 150px;
  padding: 27px 18px;
  border-left: 1px solid #d5dfeb;
}

.offshore-expertise-support-item > i {
  width: 38px;
  min-width: 38px;
  flex-shrink: 0;
  color: #176ee0;
  font-size: 33px;
  line-height: 1;
  text-align: center;
}

.offshore-expertise-support-item > div {
  min-width: 0;
}

.offshore-expertise-support-item h4 {
  color: #071333;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
  overflow-wrap: break-word;
}

.offshore-expertise-support-item p {
  color: #34405c;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* =========================================================
   Offshore Drupal Expertise Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .offshore-expertise-kicker {
    font-size: 14px;
  }

  .offshore-expertise-head h2 {
    font-size: 32px;
  }

  .offshore-expertise-head p {
    font-size: 15px;
  }

  .offshore-expertise-side {
    gap: 14px;
  }

  .offshore-expertise-card {
    width: calc(50% - 7px);
    min-height: 265px;
    padding: 21px 17px 18px;
  }

  .offshore-expertise-icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
    margin-bottom: 17px;
    font-size: 26px;
  }

  .offshore-expertise-card h3 {
    min-height: 42px;
    font-size: 17px;
  }

  .offshore-expertise-card p {
    font-size: 14px;
  }

  .offshore-expertise-center-visual {
    min-height: 258px;
  }

  .offshore-expertise-drupal {
    width: 78px;
    height: 78px;
    font-size: 57px;
  }

  .offshore-expertise-platform {
    height: 170px;
    transform: scale(0.88);
    transform-origin: top center;
  }

  .offshore-expertise-center-copy {
    margin-top: -4px;
  }

  .offshore-expertise-center-copy p {
    font-size: 14px;
  }

  .offshore-expertise-center-feature-icon {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .offshore-expertise-center-feature span {
    font-size: 12px;
  }

  .offshore-expertise-support-content h3 {
    font-size: 17px;
  }

  .offshore-expertise-support-content p {
    font-size: 14px;
  }

  .offshore-expertise-support-item {
    padding-right: 12px;
    padding-left: 12px;
  }

  .offshore-expertise-support-item > i {
    width: 30px;
    min-width: 30px;
    font-size: 27px;
  }

  .offshore-expertise-support-item h4 {
    font-size: 12px;
  }

  .offshore-expertise-support-item p {
    font-size: 11px;
  }
}

@media (max-width: 1199px) {
  .offshore-expertise-side {
    height: auto;
  }

  .offshore-expertise-card {
    min-height: 265px;
  }

  .offshore-expertise-support-intro {
    justify-content: center;
    border-bottom: 1px solid #d5dfeb;
  }

  .offshore-expertise-support-item:first-child {
    border-left: 0;
  }
}

@media (max-width: 991px) {
  .offshore-expertise-card {
    min-height: 250px;
  }

  .offshore-expertise-support-item {
    border-bottom: 1px solid #d5dfeb;
  }

  .offshore-expertise-support
    .col-sm-6:nth-child(2n)
    .offshore-expertise-support-item {
    border-left: 0;
  }

  .offshore-expertise-support
    .col-sm-6:nth-last-child(-n + 2)
    .offshore-expertise-support-item {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .offshore-expertise-kicker {
    gap: 10px !important;
    font-size: 12px;
  }

  .offshore-expertise-line {
    width: 34px;
  }

  .offshore-expertise-head h2 {
    font-size: 22px;
  }

  .offshore-expertise-head p {
    font-size: 15px;
  }

  .offshore-expertise-side {
    gap: 14px;
  }

  .offshore-expertise-card {
    width: calc(50% - 7px);
    min-height: 0;
    padding: 19px 16px;
  }

  .offshore-expertise-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;
    margin-bottom: 15px;
    font-size: 24px;
  }

  .offshore-expertise-card h3 {
    min-height: 0;
    font-size: 16px;
  }

  .offshore-expertise-card p {
    font-size: 13px;
  }

  .offshore-expertise-arrow {
    margin-top: 14px;
    padding-top: 0;
  }

  .offshore-expertise-center-visual {
    min-height: 250px;
  }

  .offshore-expertise-center-copy p {
    font-size: 14px;
  }

  .offshore-expertise-support-intro {
    align-items: center !important;
    padding: 20px 18px;
  }

  .offshore-expertise-support-visual {
    width: 135px;
    min-width: 135px;
  }

  .offshore-expertise-support-content h3 {
    font-size: 18px;
  }

  .offshore-expertise-support-content p {
    font-size: 14px;
  }

  .offshore-expertise-support-item {
    min-height: 125px;
    padding: 20px 16px;
  }

  .offshore-expertise-support-item h4 {
    font-size: 14px;
  }

  .offshore-expertise-support-item p {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .offshore-expertise-kicker .offshore-expertise-line:last-child {
    display: none;
  }

  .offshore-expertise-side {
    display: flex;
    flex-direction: column;
  }

  .offshore-expertise-card {
    width: 100%;
  }

  .offshore-expertise-center-feature-icon {
    width: 45px;
    height: 45px;
    font-size: 19px;
  }

  .offshore-expertise-center-feature span {
    font-size: 11px;
  }

  .offshore-expertise-support-intro {
    flex-direction: column;
    text-align: center;
  }

  .offshore-expertise-support-visual {
    margin: 0 auto;
  }

  .offshore-expertise-support .col-sm-6 {
    width: 100%;
  }

  .offshore-expertise-support-item {
    border-left: 0 !important;
    border-bottom: 1px solid #d5dfeb !important;
  }

  .offshore-expertise-support
    .col-sm-6:last-child
    .offshore-expertise-support-item {
    border-bottom: 0 !important;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}
