
/* =========================================
   MAS AVIATION - OUR SERVICES PAGE
========================================= */

/* PAGE HERO */

.services-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 410px;
  display: flex;
  align-items: center;

  background:
    radial-gradient(
      circle at 85% 35%,
      rgba(188, 195, 206, 0.38),
      transparent 38%
    ),
    linear-gradient(
      120deg,
      #ffffff 0%,
      #f4f5f7 60%,
      #e8edf4 100%
    );

  border-bottom: 3px solid #c71930;
}

.services-hero::before {
  content: "";
  position: absolute;
  z-index: -1;

  width: 520px;
  height: 520px;
  right: -100px;
  top: -280px;

  border: 1px solid rgba(6, 22, 50, 0.10);
  border-radius: 50%;
}

.services-hero::after {
  content: "";
  position: absolute;
  z-index: -1;

  width: 750px;
  height: 750px;
  right: -260px;
  top: -385px;

  border: 1px dashed rgba(199, 25, 48, 0.20);
  border-radius: 50%;
}

.services-hero-inner {
  padding: 85px 0;
}

.services-eyebrow {
  display: block;
  margin-bottom: 20px;

  color: #c71930;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.services-hero h1 {
  color: #061632;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.1;
}

.services-hero h1 span {
  color: #c71930;
}

.services-hero p {
  max-width: 650px;
  margin-top: 23px;

  color: #49566a;
  font-size: 17px;
  line-height: 1.85;
}

.services-explore {
  display: inline-flex;
  gap: 22px;
  align-items: center;

  margin-top: 28px;
  padding: 14px 23px;

  background: #061632;
  color: #ffffff;
  border-radius: 7px;

  font-size: 13px;
  font-weight: 700;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.services-explore:hover {
  background: #c71930;
  transform: translateY(-3px);
}

/* SERVICE CARD AREA */

.services-container {
  padding: 100px 0;
  background: #f4f5f7;
}

.service-card {
  display: flex;
  align-items: stretch;

  width: 100%;
  margin-bottom: 38px;

  background: #ffffff;
  border: 1px solid #e2e7ee;
  border-radius: 17px;

  overflow: hidden;
  box-shadow: 0 16px 45px rgba(6, 22, 50, 0.045);

  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-card:hover {
  border-color: rgba(199, 25, 48, 0.25);
  box-shadow: 0 22px 55px rgba(6, 22, 50, 0.09);
}

/* Alternate image and text placement */

.service-card:nth-child(even) {
  flex-direction: row-reverse;
}

/* SERVICE IMAGE */

.service-visual {
  position: relative;
  flex: 0 0 39%;
  min-height: 410px;
  overflow: hidden;
  background: #e6eaf0;
}

.service-visual img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.65s ease;
}

.service-card:hover .service-visual img {
  transform: scale(1.055);
}

/* Image dark gradient for the number */

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(6, 22, 50, 0.25),
    transparent 35%,
    transparent 75%,
    rgba(6, 22, 50, 0.12)
  );
  pointer-events: none;
}

/* SERVICE NUMBER */

.service-index {
  position: absolute;
  top: 23px;
  left: 23px;
  z-index: 2;

  padding: 9px 14px;

  color: white;
  background: rgba(6, 22, 50, 0.82);
  backdrop-filter: blur(8px);

  border-radius: 6px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* SERVICE DESCRIPTION */

.service-copy {
  flex: 1;
  min-width: 0;
  padding: clamp(32px, 4vw, 55px);
}

.service-eyebrow {
  display: block;
  margin-bottom: 15px;

  color: #c71930;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.1px;
}

.service-copy h2 {
  max-width: 690px;

  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 800;
  letter-spacing: -1.2px;

  color: #061632;
  line-height: 1.22;
}

.service-copy p {
  margin-top: 21px;

  color: #49566a;
  font-size: 15px;
  line-height: 1.9;
}

.service-copy h3 {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 29px;
  margin-bottom: 18px;

  color: #061632;
  font-size: 16px;
  font-weight: 800;
}

.service-copy h3::before {
  content: "";
  display: block;

  width: 4px;
  height: 22px;

  background: #c71930;
  border-radius: 3px;
}

/* SERVICE BULLET LIST */

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;

  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  position: relative;
  min-width: 0;

  padding: 11px 12px 11px 27px;

  background: #f4f5f7;
  color: #263c58;

  border: 1px solid #edf0f4;
  border-radius: 7px;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 19px;

  width: 6px;
  height: 6px;

  background: #c71930;
  border-radius: 50%;
}

.services-list li:hover {
  background: #ffffff;
  border-color: rgba(199, 25, 48, 0.3);
}

/* RESPONSIVE - TABLETS */

@media (max-width: 950px) {

  .services-container {
    padding: 65px 0;
  }

  .service-card,
  .service-card:nth-child(even) {
    flex-direction: column;
  }

  .service-visual {
    flex: none;
    width: 100%;
    min-height: 0;
    height: 310px;
  }

  .service-copy {
    padding: 35px;
  }
}

/* RESPONSIVE - MOBILE */

@media (max-width: 600px) {

  .services-hero {
    min-height: 355px;
  }

  .services-hero-inner {
    padding: 65px 0;
  }

  .services-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .services-hero h1 {
    font-size: 52px;
    letter-spacing: -2px;
  }

  .services-hero p {
    font-size: 15px;
  }

  .services-container {
    padding: 40px 0 65px;
  }

  .service-card {
    margin-bottom: 25px;
    border-radius: 12px;
  }

  .service-visual {
    height: 240px;
  }

  .service-copy {
    padding: 27px 22px;
  }

  .service-copy h2 {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .service-copy p {
    font-size: 14px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .services-list li {
    font-size: 13px;
  }
}
