/* ==========================================================================
   GOALS & DOCTOR CARDS
========================================================================== */

.goals-doctor-cards {
  width: 100%;

  margin: 100px 0;

  background: #ffffff;

  box-sizing: border-box;
}

/* ==========================================================================
   CONTAINER
========================================================================== */

.goals-doctor-container {
  width: 100%;

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 12px;

  box-sizing: border-box;
}

/* ==========================================================================
   GRID
========================================================================== */

.goals-doctor-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;
}

/* ==========================================================================
   CARD
========================================================================== */

.goals-doctor-card {
  position: relative;

  width: 100%;

  min-height: 500px;

  display: flex;

  overflow: hidden;

  background-color: #101010;

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  box-sizing: border-box;

  isolation: isolate;
}

/* ==========================================================================
   OVERLAY
========================================================================== */

.goals-doctor-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.04) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );

  pointer-events: none;
}

/* ==========================================================================
   CONTENT
========================================================================== */

.goals-doctor-content {
  position: relative;

  z-index: 2;

  width: 100%;

  min-height: 500px;

  padding: 28px 30px 30px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  align-items: flex-start;

  box-sizing: border-box;
}

/* ==========================================================================
   TITLE
========================================================================== */

.goals-doctor-title {
  max-width: 500px;

  margin: 0;

  color: #ffffff;

  font-size: clamp(1.5rem, 2vw, 2rem);

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: -0.02em;

  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   ACTION AREA
========================================================================== */

.goals-doctor-action {
  display: flex;

  align-items: center;

  justify-content: flex-start;
}

/* ==========================================================================
   BUTTON
========================================================================== */

.goals-doctor-btn {
  min-height: 48px;

  padding: 13px 24px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border: 1px solid rgba(255, 255, 255, 0.9);

  border-radius: 50px;

  background: #ffffff;

  color: #111111;

  text-decoration: none;

  font-size: 15px;

  font-weight: 600;

  line-height: 1;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.goals-doctor-btn:hover {
  transform: translateY(-2px);

  background: #f5f5f5;

  color: #111111;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   ARROW
========================================================================== */

.goals-doctor-arrow {
  display: inline-block;

  font-size: 18px;

  line-height: 1;

  transition: transform 0.25s ease;
}

.goals-doctor-btn:hover .goals-doctor-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   TABLET
========================================================================== */

@media (max-width: 1024px) {
  .goals-doctor-cards {
    margin: 80px 0;
  }

  .goals-doctor-container {
    padding: 0 20px;
  }

  .goals-doctor-card,
  .goals-doctor-content {
    min-height: 440px;
  }

  .goals-doctor-content {
    padding: 24px;
  }
}

/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 768px) {
  .goals-doctor-cards {
    margin: 60px 0;
  }

  .goals-doctor-container {
    padding: 0 16px;
  }

  .goals-doctor-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .goals-doctor-card,
  .goals-doctor-content {
    min-height: 420px;
  }

  .goals-doctor-content {
    padding: 22px;
  }

  .goals-doctor-title {
    font-size: 1.55rem;
  }

  .goals-doctor-btn {
    min-height: 46px;

    padding: 13px 22px;

    font-size: 14px;
  }
}

/* ==========================================================================
   SMALL MOBILE
========================================================================== */

@media (max-width: 480px) {
  .goals-doctor-cards {
    margin: 50px 0;
  }

  .goals-doctor-container {
    padding: 0 12px;
  }

  .goals-doctor-card,
  .goals-doctor-content {
    min-height: 380px;
  }

  .goals-doctor-content {
    padding: 20px;
  }

  .goals-doctor-title {
    font-size: 1.4rem;
  }

  .goals-doctor-btn {
    padding: 12px 20px;
  }
}
